diff --git a/package.json b/package.json index ddd365a..bfbb12b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "capacitor-crisp", - "version": "1.0.13", + "version": "1.0.14", "description": "Crisp native SDK for capacitor", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/src/web.ts b/src/web.ts index ed8df88..50439fb 100644 --- a/src/web.ts +++ b/src/web.ts @@ -15,10 +15,7 @@ export class CapacitorCrispWeb extends WebPlugin implements CapacitorCrispPlugin { constructor() { - super({ - name: 'CapacitorCrisp', - platforms: ['web'], - }); + super(); window.$crisp = [] const s = document.createElement('script') s.src = 'https://client.crisp.chat/l.js'