@blotoutio/providers-pinterest-sdk 0.21.0 → 0.22.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.
Files changed (2) hide show
  1. package/index.js +6 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -129,10 +129,13 @@ var ProvidersPinterestSdk = (function () {
129
129
  };
130
130
  const tag = ({ data, eventName, manifestVariables, eventId }) => {
131
131
  if (window.pintrk && manifestVariables['pixelId']) {
132
- window.pintrk('track', getPinterestEventName(eventName), Object.assign(Object.assign({}, prepareData(data)), { event_id: eventId.toString() }));
132
+ window.pintrk('track', getPinterestEventName(eventName), {
133
+ ...prepareData(data),
134
+ event_id: eventId.toString(),
135
+ });
133
136
  }
134
137
  return {
135
- sdkVersion: "0.21.0" ,
138
+ sdkVersion: "0.22.1" ,
136
139
  };
137
140
  };
138
141
 
@@ -149,7 +152,7 @@ var ProvidersPinterestSdk = (function () {
149
152
  window.edgetagProviders.push(data);
150
153
  }
151
154
  }
152
- catch (_a) {
155
+ catch {
153
156
  // No window
154
157
  }
155
158
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-pinterest-sdk",
3
- "version": "0.21.0",
3
+ "version": "0.22.1",
4
4
  "description": "Pinterest Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",