From a1142515e5fcfb301335616ba14d765b61b2102c Mon Sep 17 00:00:00 2001 From: martindonadieu Date: Thu, 25 Nov 2021 03:13:40 +0000 Subject: [PATCH] fix: remove deprecated --- package.json | 2 +- src/web.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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'