@moveo-ai/web-client 0.123.0-true.20 → 0.123.0-true.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/752.min.js.LICENSE.txt +1 -1
- package/dist/882.min.js.LICENSE.txt +1 -1
- package/dist/929.min.js.LICENSE.txt +1 -1
- package/dist/audio-client.min.js +1 -1
- package/dist/audio-client.min.js.LICENSE.txt +1 -1
- package/dist/continue/index.html +1 -1
- package/dist/iframe.min.js +1 -1
- package/dist/iframe.min.js.LICENSE.txt +1 -1
- package/dist/index.html +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/preview.css.min.js.LICENSE.txt +1 -1
- package/dist/public/locales/ar.json +1 -0
- package/dist/public/locales/bg.json +1 -0
- package/dist/public/locales/cs.json +1 -0
- package/dist/public/locales/da.json +1 -0
- package/dist/public/locales/de.json +1 -0
- package/dist/public/locales/el.json +1 -0
- package/dist/public/locales/en.json +1 -0
- package/dist/public/locales/es.json +1 -0
- package/dist/public/locales/fr.json +1 -0
- package/dist/public/locales/id.json +1 -0
- package/dist/public/locales/it.json +1 -0
- package/dist/public/locales/ja.json +1 -0
- package/dist/public/locales/me.json +1 -0
- package/dist/public/locales/nl-be.json +1 -0
- package/dist/public/locales/nl.json +1 -0
- package/dist/public/locales/pl.json +1 -0
- package/dist/public/locales/pt-br.json +1 -0
- package/dist/public/locales/pt.json +1 -0
- package/dist/public/locales/ro.json +1 -0
- package/dist/public/locales/ru.json +1 -0
- package/dist/public/locales/sq.json +1 -0
- package/dist/public/locales/sr.json +1 -0
- package/dist/public/locales/sv.json +1 -0
- package/dist/public/locales/tl.json +1 -0
- package/dist/public/locales/tr.json +1 -0
- package/dist/public/locales/zh.json +1 -0
- package/dist/telnyx-client.min.js +1 -1
- package/dist/telnyx-client.min.js.LICENSE.txt +1 -1
- package/dist/web-client.min.js +1 -1
- package/dist/web-client.min.js.LICENSE.txt +1 -1
- package/dist/webrtc-client.min.js +1 -1
- package/dist/webrtc-client.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
- package/web-client.d.ts +5 -0
package/package.json
CHANGED
package/web-client.d.ts
CHANGED
|
@@ -147,6 +147,11 @@ export interface WidgetController {
|
|
|
147
147
|
setCSSVariables(variables: Record<string, string>): void;
|
|
148
148
|
/** Switches the widget language, e.g. `'es'`. */
|
|
149
149
|
setLocale(locale: string): void;
|
|
150
|
+
/**
|
|
151
|
+
* Passes the visitor's cookie consent for the visitor id. `false` removes the
|
|
152
|
+
* cookie and stops the widget from creating it.
|
|
153
|
+
*/
|
|
154
|
+
setVisitorConsent(granted: boolean): void;
|
|
150
155
|
destroy(): Promise<void>;
|
|
151
156
|
|
|
152
157
|
onSessionCreated(callback: (data: SessionEventData) => void): void;
|