@smoud/playable-sdk 1.0.24 → 1.1.0

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
@@ -410,6 +410,7 @@ Get started quickly with our template projects:
410
410
  - [Google HTML5 Validator](https://h5validator.appspot.com/adwords/asset)
411
411
  - [IronSource - Submit an HTML asset for review](https://developers.is.com/ironsource-mobile/general/html-upload/)
412
412
  - [Mintegral Testing Tool](https://www.playturbo.com/review)
413
+ - Moloco - Test your creatives [Info](https://help.moloco.com/hc/en-us/articles/22553113373335-Test-your-creatives) / [iOS](https://apps.apple.com/us/app/creative-lab/id6474686021) / [Android](https://play.google.com/store/apps/details?id=com.moloco.peeker&pli=1)
413
414
 
414
415
  ## Issues
415
416
 
package/dist/esm/index.js CHANGED
@@ -509,13 +509,9 @@ var _sdk = class _sdk {
509
509
  */
510
510
  static install() {
511
511
  if (!_sdk.isFinished) {
512
- _sdk.isFinished = true;
513
512
  let timeout = 0;
514
- if ("tapjoy" === AD_NETWORK && isTapjoy()) {
515
- finishTapjoy();
516
- timeout = 300;
517
- }
518
- emitEvent("finish");
513
+ if ("tapjoy" === AD_NETWORK) timeout = 300;
514
+ _sdk.finish();
519
515
  setTimeout(function() {
520
516
  _sdk.install();
521
517
  }, timeout);
@@ -653,7 +649,7 @@ var _sdk = class _sdk {
653
649
  }
654
650
  };
655
651
  /** Current version of the SDK */
656
- _sdk.version = "1.0.24";
652
+ _sdk.version = "1.1.0";
657
653
  /** Current maximum width of the playable ad container in pixels */
658
654
  _sdk.maxWidth = Math.floor(window.innerWidth);
659
655
  /** Current maximum height of the playable ad container in pixels */
@@ -511,13 +511,9 @@
511
511
  */
512
512
  static install() {
513
513
  if (!_sdk.isFinished) {
514
- _sdk.isFinished = true;
515
514
  let timeout = 0;
516
- if ("tapjoy" === AD_NETWORK && isTapjoy()) {
517
- finishTapjoy();
518
- timeout = 300;
519
- }
520
- emitEvent("finish");
515
+ if ("tapjoy" === AD_NETWORK) timeout = 300;
516
+ _sdk.finish();
521
517
  setTimeout(function() {
522
518
  _sdk.install();
523
519
  }, timeout);
@@ -655,7 +651,7 @@
655
651
  }
656
652
  };
657
653
  /** Current version of the SDK */
658
- _sdk.version = "1.0.24";
654
+ _sdk.version = "1.1.0";
659
655
  /** Current maximum width of the playable ad container in pixels */
660
656
  _sdk.maxWidth = Math.floor(window.innerWidth);
661
657
  /** Current maximum height of the playable ad container in pixels */
package/dist/index.js CHANGED
@@ -536,13 +536,9 @@ var _sdk = class _sdk {
536
536
  */
537
537
  static install() {
538
538
  if (!_sdk.isFinished) {
539
- _sdk.isFinished = true;
540
539
  let timeout = 0;
541
- if ("tapjoy" === AD_NETWORK && isTapjoy()) {
542
- finishTapjoy();
543
- timeout = 300;
544
- }
545
- emitEvent("finish");
540
+ if ("tapjoy" === AD_NETWORK) timeout = 300;
541
+ _sdk.finish();
546
542
  setTimeout(function() {
547
543
  _sdk.install();
548
544
  }, timeout);
@@ -680,7 +676,7 @@ var _sdk = class _sdk {
680
676
  }
681
677
  };
682
678
  /** Current version of the SDK */
683
- _sdk.version = "1.0.24";
679
+ _sdk.version = "1.1.0";
684
680
  /** Current maximum width of the playable ad container in pixels */
685
681
  _sdk.maxWidth = Math.floor(window.innerWidth);
686
682
  /** 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.24",
3
+ "version": "1.1.0",
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",