@smoud/playable-sdk 1.0.6 → 1.0.7

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 CHANGED
@@ -400,7 +400,7 @@ sdk.off('eventName', [callback], [context]);
400
400
  - [Facebook Playable Preview Tool](https://developers.facebook.com/tools/playable-preview/)
401
401
  - [Google HTML5 Validator](https://h5validator.appspot.com/adwords/asset)
402
402
  - [IronSource Integration Validation](https://developers.is.com/ironsource-mobile/general/test-suite/)
403
- - [Mintegral Testing Tool](https://www.playturbo.com/review/doc)
403
+ - [Mintegral Testing Tool](https://www.playturbo.com/review)
404
404
 
405
405
  ## Issues
406
406
 
package/defines.d.ts CHANGED
@@ -65,10 +65,6 @@ declare const GOOGLE_PLAY_URL: string;
65
65
  declare const APP_STORE_URL: string;
66
66
  declare const BUILD_HASH: string;
67
67
 
68
- // Mintegral functions
69
- declare const gameStart: Function;
70
- declare const gameClose: Function;
71
-
72
68
  interface Window {
73
69
  PlayableSDK: any;
74
70
 
@@ -77,8 +73,8 @@ interface Window {
77
73
  gameEnd: Function;
78
74
  gameRetry: Function;
79
75
  install: Function;
80
- mintGameStart: Function,
81
- mintGameClose: Function
76
+ mintGameStart: Function;
77
+ mintGameClose: Function;
82
78
 
83
79
  // Tapjoy functions
84
80
  TJ_API: {
@@ -86,9 +82,9 @@ interface Window {
86
82
  playableFinished: Function;
87
83
  gameplayFinished: Function;
88
84
  setPlayableBuild: Function;
89
- setPlayableAPI: Function
85
+ setPlayableAPI: Function;
90
86
  click: Function;
91
87
  };
92
-
88
+
93
89
  openAppStore: Function;
94
90
  }
package/dist/esm/index.js CHANGED
@@ -414,7 +414,6 @@ var _sdk = class _sdk {
414
414
  */
415
415
  static retry() {
416
416
  if ("mintegral" === AD_NETWORK && isMintegral()) {
417
- window.gameRetry && window.gameRetry();
418
417
  } else if ("nucleo" === AD_PROTOCOL && isNucleo()) {
419
418
  NUC.trigger.tryAgain();
420
419
  }
@@ -573,7 +572,7 @@ var _sdk = class _sdk {
573
572
  }
574
573
  };
575
574
  /** Current version of the SDK */
576
- _sdk.version = "1.0.1";
575
+ _sdk.version = "1.0.7";
577
576
  /** Current maximum width of the playable ad container in pixels */
578
577
  _sdk.maxWidth = Math.floor(window.innerWidth);
579
578
  /** Current maximum height of the playable ad container in pixels */
@@ -416,7 +416,6 @@
416
416
  */
417
417
  static retry() {
418
418
  if ("mintegral" === AD_NETWORK && isMintegral()) {
419
- window.gameRetry && window.gameRetry();
420
419
  } else if ("nucleo" === AD_PROTOCOL && isNucleo()) {
421
420
  NUC.trigger.tryAgain();
422
421
  }
@@ -575,7 +574,7 @@
575
574
  }
576
575
  };
577
576
  /** Current version of the SDK */
578
- _sdk.version = "1.0.1";
577
+ _sdk.version = "1.0.7";
579
578
  /** Current maximum width of the playable ad container in pixels */
580
579
  _sdk.maxWidth = Math.floor(window.innerWidth);
581
580
  /** Current maximum height of the playable ad container in pixels */
package/dist/index.js CHANGED
@@ -441,7 +441,6 @@ var _sdk = class _sdk {
441
441
  */
442
442
  static retry() {
443
443
  if ("mintegral" === AD_NETWORK && isMintegral()) {
444
- window.gameRetry && window.gameRetry();
445
444
  } else if ("nucleo" === AD_PROTOCOL && isNucleo()) {
446
445
  NUC.trigger.tryAgain();
447
446
  }
@@ -600,7 +599,7 @@ var _sdk = class _sdk {
600
599
  }
601
600
  };
602
601
  /** Current version of the SDK */
603
- _sdk.version = "1.0.1";
602
+ _sdk.version = "1.0.7";
604
603
  /** Current maximum width of the playable ad container in pixels */
605
604
  _sdk.maxWidth = Math.floor(window.innerWidth);
606
605
  /** Current maximum height of the playable ad container in pixels */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smoud/playable-sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "It's unified Playable SDK that supports MRAID, Google, Facebook, Vungle, and many more Ad Networks, simplifying playable ad development with a standardized interface for seamless cross-network compatibility.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",