@blotoutio/providers-tiktok-sdk 0.24.1 → 0.25.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.
Files changed (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -60,6 +60,7 @@ var ProvidersTiktokSdk = (function () {
60
60
  };
61
61
  };
62
62
  const init = ({ manifest, userId }) => {
63
+ var _a, _b;
63
64
  if (!manifest.variables || manifest.variables['enableBrowser'] !== '1') {
64
65
  return;
65
66
  }
@@ -69,7 +70,7 @@ var ProvidersTiktokSdk = (function () {
69
70
  }
70
71
  window.ttq.load(manifest.variables['pixelId']);
71
72
  window.ttq._partner = 'Blotout';
72
- window.ttq.instance(manifest.variables['pixelId']).identify({
73
+ (_b = (_a = window.ttq.instance(manifest.variables['pixelId'])) === null || _a === void 0 ? void 0 : _a.identify) === null || _b === void 0 ? void 0 : _b.call(_a, {
73
74
  external_id: userId,
74
75
  });
75
76
  };
@@ -165,7 +166,7 @@ var ProvidersTiktokSdk = (function () {
165
166
  });
166
167
  }
167
168
  return {
168
- sdkVersion: "0.24.1" ,
169
+ sdkVersion: "0.25.0" ,
169
170
  };
170
171
  };
171
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-tiktok-sdk",
3
- "version": "0.24.1",
3
+ "version": "0.25.0",
4
4
  "description": "Tiktok Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",