Skip to content

Commit

Permalink
fix: remove deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Nov 25, 2021
1 parent e063558 commit a114251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 1 addition & 4 deletions src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a114251

Please sign in to comment.