@blotoutio/providers-tiktok-sdk 0.20.0 → 0.22.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 +6 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -160,10 +160,13 @@ var ProvidersTiktokSdk = (function () {
160
160
  const tag = ({ data, eventName, manifestVariables, eventId }) => {
161
161
  if (window.ttq && manifestVariables['enableBrowser'] === '1') {
162
162
  const tiktokEventName = getEventName(eventName, manifestVariables);
163
- window.ttq.instance(manifestVariables['pixelId']).track(tiktokEventName, Object.assign(Object.assign({}, prepareData(data)), { event_id: eventId }));
163
+ window.ttq.instance(manifestVariables['pixelId']).track(tiktokEventName, {
164
+ ...prepareData(data),
165
+ event_id: eventId,
166
+ });
164
167
  }
165
168
  return {
166
- sdkVersion: "0.20.0" ,
169
+ sdkVersion: "0.22.0" ,
167
170
  };
168
171
  };
169
172
 
@@ -181,7 +184,7 @@ var ProvidersTiktokSdk = (function () {
181
184
  window.edgetagProviders.push(data);
182
185
  }
183
186
  }
184
- catch (_a) {
187
+ catch {
185
188
  // No window
186
189
  }
187
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-tiktok-sdk",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Tiktok Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",