@splash-tech/jackpot-sdk 1.1.5 → 1.1.6
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.
|
@@ -20,7 +20,7 @@ export class WinWidget extends BaseWidget {
|
|
|
20
20
|
});
|
|
21
21
|
break;
|
|
22
22
|
case WinWidgetIframeIncomingEvent.winWidgetClose:
|
|
23
|
-
this.
|
|
23
|
+
this.destroy();
|
|
24
24
|
this.emit('close');
|
|
25
25
|
break;
|
|
26
26
|
}
|
|
@@ -123,6 +123,7 @@ export class WinWidget extends BaseWidget {
|
|
|
123
123
|
}
|
|
124
124
|
destroy() {
|
|
125
125
|
window.removeEventListener('message', this.childMessageHandler);
|
|
126
|
+
this.cleanupAnimation();
|
|
126
127
|
this.removeIframe();
|
|
127
128
|
}
|
|
128
129
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splash-tech/jackpot-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "SDK for managing jackpot widgets in iframes",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"clean": "rm -rf dist",
|
|
13
13
|
"build": "npm run clean && tsc",
|
|
14
|
-
"publish": "npm run build && npm publish",
|
|
14
|
+
"publish:npm": "npm run build && npm publish",
|
|
15
15
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|