@blotoutio/providers-snapchat-sdk 0.40.0 → 0.41.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 CHANGED
@@ -58,7 +58,9 @@ const snippet = () => {
58
58
  }
59
59
  };
60
60
  const init = ({ manifest }) => {
61
- if (!manifest.variables || manifest.variables['enableBrowser'] !== '1') {
61
+ if (!manifest.variables ||
62
+ !manifest.variables['pixelId'] ||
63
+ manifest.variables['enableBrowser'] !== '1') {
62
64
  return;
63
65
  }
64
66
  snippet();
@@ -176,7 +178,7 @@ const getSnapEventName = (name) => {
176
178
  return name.toUpperCase();
177
179
  };
178
180
  const tag = ({ data, eventName, manifestVariables, eventId, executionContext, }) => {
179
- const result = { sdkVersion: "0.40.0" };
181
+ const result = { sdkVersion: "0.41.1" };
180
182
  if (executionContext.get('pixelFired')) {
181
183
  return result;
182
184
  }
package/index.js CHANGED
@@ -59,7 +59,9 @@ var ProvidersSnapchatSdk = (function () {
59
59
  }
60
60
  };
61
61
  const init = ({ manifest }) => {
62
- if (!manifest.variables || manifest.variables['enableBrowser'] !== '1') {
62
+ if (!manifest.variables ||
63
+ !manifest.variables['pixelId'] ||
64
+ manifest.variables['enableBrowser'] !== '1') {
63
65
  return;
64
66
  }
65
67
  snippet();
@@ -177,7 +179,7 @@ var ProvidersSnapchatSdk = (function () {
177
179
  return name.toUpperCase();
178
180
  };
179
181
  const tag = ({ data, eventName, manifestVariables, eventId, executionContext, }) => {
180
- const result = { sdkVersion: "0.40.0" };
182
+ const result = { sdkVersion: "0.41.1" };
181
183
  if (executionContext.get('pixelFired')) {
182
184
  return result;
183
185
  }
package/index.mjs CHANGED
@@ -56,7 +56,9 @@ const snippet = () => {
56
56
  }
57
57
  };
58
58
  const init = ({ manifest }) => {
59
- if (!manifest.variables || manifest.variables['enableBrowser'] !== '1') {
59
+ if (!manifest.variables ||
60
+ !manifest.variables['pixelId'] ||
61
+ manifest.variables['enableBrowser'] !== '1') {
60
62
  return;
61
63
  }
62
64
  snippet();
@@ -174,7 +176,7 @@ const getSnapEventName = (name) => {
174
176
  return name.toUpperCase();
175
177
  };
176
178
  const tag = ({ data, eventName, manifestVariables, eventId, executionContext, }) => {
177
- const result = { sdkVersion: "0.40.0" };
179
+ const result = { sdkVersion: "0.41.1" };
178
180
  if (executionContext.get('pixelFired')) {
179
181
  return result;
180
182
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-snapchat-sdk",
3
- "version": "0.40.0",
3
+ "version": "0.41.1",
4
4
  "description": "Snapchat Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",