@smoud/playable-sdk 1.2.1 → 1.2.2
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 +4 -1
- package/defines.d.ts +5 -1
- package/dist/esm/index.js +3 -1
- package/dist/iife/index.js +3 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@smoud/playable-sdk)
|
|
4
4
|
[](https://www.npmjs.com/package/@smoud/playable-sdk)
|
|
5
|
-
[](https://bundlejs.com/?q=@smoud/playable-sdk)
|
|
6
6
|
[](https://github.com/smoudjs/playable-sdk)
|
|
7
7
|
[](https://github.com/smoudjs/playable-sdk/blob/master/LICENSE)
|
|
8
8
|
|
|
@@ -49,6 +49,7 @@ It's powerful, unified SDK that seamlessly integrates multiple ad network SDKs,
|
|
|
49
49
|
- DT Exchange
|
|
50
50
|
- Aarki
|
|
51
51
|
- Bidease
|
|
52
|
+
- RevX
|
|
52
53
|
|
|
53
54
|
### Protocol Support
|
|
54
55
|
|
|
@@ -182,6 +183,7 @@ Supported **Ad Networks**:
|
|
|
182
183
|
- `digitalturbine`
|
|
183
184
|
- `aarki`
|
|
184
185
|
- `bidease`
|
|
186
|
+
- `revx`
|
|
185
187
|
|
|
186
188
|
See more details in [`GitHub repository.`](https://github.com/smoudjs/playable-scripts?tab=readme-ov-file#installation)
|
|
187
189
|
|
|
@@ -414,6 +416,7 @@ Get started quickly with our template projects:
|
|
|
414
416
|
- [Meta (Facebook) Playable Ads](https://www.facebook.com/business/help/412951382532338)
|
|
415
417
|
- [Moloco Requirements](https://help.moloco.com/hc/en-us/articles/24124525963799-Playable-and-Interactive-End-Card-IEC-creative-guide)
|
|
416
418
|
- [Mintegral Integration](https://www.playturbo.com/review/doc)
|
|
419
|
+
- [RevX Playable Requirements](https://docs.revx.io/General-Information/playable_requirements_1741786018893.md)
|
|
417
420
|
|
|
418
421
|
### Testing Tools
|
|
419
422
|
|
package/defines.d.ts
CHANGED
|
@@ -73,7 +73,8 @@ declare const AD_NETWORK:
|
|
|
73
73
|
| 'youappi'
|
|
74
74
|
| 'digitalturbine'
|
|
75
75
|
| 'aarki'
|
|
76
|
-
| 'bidease'
|
|
76
|
+
| 'bidease'
|
|
77
|
+
| 'revx';
|
|
77
78
|
|
|
78
79
|
declare const AD_PROTOCOL: 'mraid' | 'dapi' | 'nucleo' | 'none';
|
|
79
80
|
declare const GOOGLE_PLAY_URL: string;
|
|
@@ -110,6 +111,9 @@ interface Window {
|
|
|
110
111
|
initGame?: Function;
|
|
111
112
|
trackClick?: Function;
|
|
112
113
|
|
|
114
|
+
// RevX functions
|
|
115
|
+
redirect?: Function;
|
|
116
|
+
|
|
113
117
|
BIGABID_BIDTIMEMACROS?: Record<string, string>
|
|
114
118
|
INMOBI_DSPMACROS?: Record<string, string>
|
|
115
119
|
REMERGE_BIDTIMEMACROS?: Record<string, string>
|
package/dist/esm/index.js
CHANGED
|
@@ -582,6 +582,8 @@ var _sdk = class _sdk {
|
|
|
582
582
|
window.TencentGDT.clickOpen();
|
|
583
583
|
} else if ("bidease" === AD_NETWORK && window.trackClick) {
|
|
584
584
|
window.trackClick();
|
|
585
|
+
} else if ("revx" === AD_NETWORK && window.redirect) {
|
|
586
|
+
window.redirect();
|
|
585
587
|
} else if ("mraid" === AD_PROTOCOL && isMraid()) {
|
|
586
588
|
mraid.open(destinationUrl);
|
|
587
589
|
} else if ("dapi" === AD_PROTOCOL && isDapi()) {
|
|
@@ -710,7 +712,7 @@ var _sdk = class _sdk {
|
|
|
710
712
|
}
|
|
711
713
|
};
|
|
712
714
|
/** Current version of the SDK */
|
|
713
|
-
_sdk.version = "1.2.
|
|
715
|
+
_sdk.version = "1.2.2";
|
|
714
716
|
/** Current maximum width of the playable ad container in pixels */
|
|
715
717
|
_sdk.maxWidth = Math.floor(window.innerWidth);
|
|
716
718
|
/** Current maximum height of the playable ad container in pixels */
|
package/dist/iife/index.js
CHANGED
|
@@ -584,6 +584,8 @@
|
|
|
584
584
|
window.TencentGDT.clickOpen();
|
|
585
585
|
} else if ("bidease" === AD_NETWORK && window.trackClick) {
|
|
586
586
|
window.trackClick();
|
|
587
|
+
} else if ("revx" === AD_NETWORK && window.redirect) {
|
|
588
|
+
window.redirect();
|
|
587
589
|
} else if ("mraid" === AD_PROTOCOL && isMraid()) {
|
|
588
590
|
mraid.open(destinationUrl);
|
|
589
591
|
} else if ("dapi" === AD_PROTOCOL && isDapi()) {
|
|
@@ -712,7 +714,7 @@
|
|
|
712
714
|
}
|
|
713
715
|
};
|
|
714
716
|
/** Current version of the SDK */
|
|
715
|
-
_sdk.version = "1.2.
|
|
717
|
+
_sdk.version = "1.2.2";
|
|
716
718
|
/** Current maximum width of the playable ad container in pixels */
|
|
717
719
|
_sdk.maxWidth = Math.floor(window.innerWidth);
|
|
718
720
|
/** Current maximum height of the playable ad container in pixels */
|
package/dist/index.js
CHANGED
|
@@ -609,6 +609,8 @@ var _sdk = class _sdk {
|
|
|
609
609
|
window.TencentGDT.clickOpen();
|
|
610
610
|
} else if ("bidease" === AD_NETWORK && window.trackClick) {
|
|
611
611
|
window.trackClick();
|
|
612
|
+
} else if ("revx" === AD_NETWORK && window.redirect) {
|
|
613
|
+
window.redirect();
|
|
612
614
|
} else if ("mraid" === AD_PROTOCOL && isMraid()) {
|
|
613
615
|
mraid.open(destinationUrl);
|
|
614
616
|
} else if ("dapi" === AD_PROTOCOL && isDapi()) {
|
|
@@ -737,7 +739,7 @@ var _sdk = class _sdk {
|
|
|
737
739
|
}
|
|
738
740
|
};
|
|
739
741
|
/** Current version of the SDK */
|
|
740
|
-
_sdk.version = "1.2.
|
|
742
|
+
_sdk.version = "1.2.2";
|
|
741
743
|
/** Current maximum width of the playable ad container in pixels */
|
|
742
744
|
_sdk.maxWidth = Math.floor(window.innerWidth);
|
|
743
745
|
/** 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.2.
|
|
3
|
+
"version": "1.2.2",
|
|
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",
|