@blotoutio/providers-app-lovin-sdk 1.33.1 → 1.34.1
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/index.cjs.js +4 -4
- package/index.js +4 -4
- package/index.mjs +4 -4
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ const packageName = 'appLovin';
|
|
|
4
4
|
|
|
5
5
|
const t = [
|
|
6
6
|
'https://s.axon.ai/pixel.js',
|
|
7
|
-
'https://
|
|
7
|
+
'https://res4.applovin.com/p/l/loader.iife.js',
|
|
8
8
|
];
|
|
9
9
|
const snippet = (axonEventKey) => {
|
|
10
10
|
if (!window || !document || window.axon) {
|
|
@@ -228,9 +228,9 @@ const getEventData = ({ eventName, userId, data, defaultCategory, categoryMappin
|
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
-
const tag = ({ data, eventName, manifestVariables, userId }) => {
|
|
231
|
+
const tag = ({ data, eventName, eventId, manifestVariables, userId, }) => {
|
|
232
232
|
const payload = {
|
|
233
|
-
sdkVersion: "1.
|
|
233
|
+
sdkVersion: "1.34.1" ,
|
|
234
234
|
};
|
|
235
235
|
if (window.axon && manifestVariables['enableBrowser'] === '1') {
|
|
236
236
|
try {
|
|
@@ -247,7 +247,7 @@ const tag = ({ data, eventName, manifestVariables, userId }) => {
|
|
|
247
247
|
logger.log(`[${packageName}] ${eventName} not supported`);
|
|
248
248
|
return;
|
|
249
249
|
}
|
|
250
|
-
window.axon('track', event.name, event.data);
|
|
250
|
+
window.axon('track', event.name, event.data, { dedupe_id: eventId });
|
|
251
251
|
}
|
|
252
252
|
catch (e) {
|
|
253
253
|
logger.error(e);
|
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var ProvidersAppLovinSdk = (function () {
|
|
|
5
5
|
|
|
6
6
|
const t = [
|
|
7
7
|
'https://s.axon.ai/pixel.js',
|
|
8
|
-
'https://
|
|
8
|
+
'https://res4.applovin.com/p/l/loader.iife.js',
|
|
9
9
|
];
|
|
10
10
|
const snippet = (axonEventKey) => {
|
|
11
11
|
if (!window || !document || window.axon) {
|
|
@@ -229,9 +229,9 @@ var ProvidersAppLovinSdk = (function () {
|
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
|
|
232
|
-
const tag = ({ data, eventName, manifestVariables, userId }) => {
|
|
232
|
+
const tag = ({ data, eventName, eventId, manifestVariables, userId, }) => {
|
|
233
233
|
const payload = {
|
|
234
|
-
sdkVersion: "1.
|
|
234
|
+
sdkVersion: "1.34.1" ,
|
|
235
235
|
};
|
|
236
236
|
if (window.axon && manifestVariables['enableBrowser'] === '1') {
|
|
237
237
|
try {
|
|
@@ -248,7 +248,7 @@ var ProvidersAppLovinSdk = (function () {
|
|
|
248
248
|
logger.log(`[${packageName}] ${eventName} not supported`);
|
|
249
249
|
return;
|
|
250
250
|
}
|
|
251
|
-
window.axon('track', event.name, event.data);
|
|
251
|
+
window.axon('track', event.name, event.data, { dedupe_id: eventId });
|
|
252
252
|
}
|
|
253
253
|
catch (e) {
|
|
254
254
|
logger.error(e);
|
package/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ const packageName = 'appLovin';
|
|
|
2
2
|
|
|
3
3
|
const t = [
|
|
4
4
|
'https://s.axon.ai/pixel.js',
|
|
5
|
-
'https://
|
|
5
|
+
'https://res4.applovin.com/p/l/loader.iife.js',
|
|
6
6
|
];
|
|
7
7
|
const snippet = (axonEventKey) => {
|
|
8
8
|
if (!window || !document || window.axon) {
|
|
@@ -226,9 +226,9 @@ const getEventData = ({ eventName, userId, data, defaultCategory, categoryMappin
|
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
-
const tag = ({ data, eventName, manifestVariables, userId }) => {
|
|
229
|
+
const tag = ({ data, eventName, eventId, manifestVariables, userId, }) => {
|
|
230
230
|
const payload = {
|
|
231
|
-
sdkVersion: "1.
|
|
231
|
+
sdkVersion: "1.34.1" ,
|
|
232
232
|
};
|
|
233
233
|
if (window.axon && manifestVariables['enableBrowser'] === '1') {
|
|
234
234
|
try {
|
|
@@ -245,7 +245,7 @@ const tag = ({ data, eventName, manifestVariables, userId }) => {
|
|
|
245
245
|
logger.log(`[${packageName}] ${eventName} not supported`);
|
|
246
246
|
return;
|
|
247
247
|
}
|
|
248
|
-
window.axon('track', event.name, event.data);
|
|
248
|
+
window.axon('track', event.name, event.data, { dedupe_id: eventId });
|
|
249
249
|
}
|
|
250
250
|
catch (e) {
|
|
251
251
|
logger.error(e);
|