@blotoutio/providers-pinterest-sdk 0.32.0 → 0.34.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/index.cjs.js +2 -1
- package/index.js +2 -1
- package/index.mjs +2 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -35,6 +35,7 @@ const init = ({ manifest }) => {
|
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
37
|
window.pintrk('load', manifest.variables['pixelId']);
|
|
38
|
+
window.pintrk('page');
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
const getPinterestEventName = (name) => {
|
|
@@ -144,7 +145,7 @@ const prepareData = (data, idMapping) => {
|
|
|
144
145
|
return payload;
|
|
145
146
|
};
|
|
146
147
|
const tag = ({ data, eventName, manifestVariables, eventId, executionContext, }) => {
|
|
147
|
-
const result = { sdkVersion: "0.
|
|
148
|
+
const result = { sdkVersion: "0.34.0" };
|
|
148
149
|
if (executionContext.get('pixelFired')) {
|
|
149
150
|
return result;
|
|
150
151
|
}
|
package/index.js
CHANGED
|
@@ -36,6 +36,7 @@ var ProvidersPinterestSdk = (function () {
|
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
window.pintrk('load', manifest.variables['pixelId']);
|
|
39
|
+
window.pintrk('page');
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
const getPinterestEventName = (name) => {
|
|
@@ -145,7 +146,7 @@ var ProvidersPinterestSdk = (function () {
|
|
|
145
146
|
return payload;
|
|
146
147
|
};
|
|
147
148
|
const tag = ({ data, eventName, manifestVariables, eventId, executionContext, }) => {
|
|
148
|
-
const result = { sdkVersion: "0.
|
|
149
|
+
const result = { sdkVersion: "0.34.0" };
|
|
149
150
|
if (executionContext.get('pixelFired')) {
|
|
150
151
|
return result;
|
|
151
152
|
}
|
package/index.mjs
CHANGED
|
@@ -33,6 +33,7 @@ const init = ({ manifest }) => {
|
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
35
35
|
window.pintrk('load', manifest.variables['pixelId']);
|
|
36
|
+
window.pintrk('page');
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
const getPinterestEventName = (name) => {
|
|
@@ -142,7 +143,7 @@ const prepareData = (data, idMapping) => {
|
|
|
142
143
|
return payload;
|
|
143
144
|
};
|
|
144
145
|
const tag = ({ data, eventName, manifestVariables, eventId, executionContext, }) => {
|
|
145
|
-
const result = { sdkVersion: "0.
|
|
146
|
+
const result = { sdkVersion: "0.34.0" };
|
|
146
147
|
if (executionContext.get('pixelFired')) {
|
|
147
148
|
return result;
|
|
148
149
|
}
|