edusynch-zendesk
Usage
import InjectZendesk from "@edusynch/edusynch-zendesk"; const key = "YOUR_ZENDESK_LIVE_CHAT_KEY"; const state = "show"; // or "hide"; const scriptElement = InjectZendesk(key, state);
How to test
Open ./index.html
insert your zendesk live chat "key" and "state" (optional) as param of the function InjectZendesk at ./index.html
Publish new version
- Run npm
npm run build
; - Set a new npm version package.json;
- Commit the changes and push to main;
- Run
npm publish
;