@blotoutio/providers-google-analytics-4-sdk 0.21.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 +4 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -227,7 +227,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
227
227
  eventData['debug_mode'] = true;
228
228
  }
229
229
  }
230
- window.gtag('event', event, Object.assign(Object.assign({}, eventData), { app: 'blotout' }));
230
+ window.gtag('event', event, { ...eventData, app: 'blotout' });
231
231
  };
232
232
 
233
233
  const getCookieValue = (key) => {
@@ -249,7 +249,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
249
249
  }
250
250
  return '';
251
251
  }
252
- catch (_a) {
252
+ catch {
253
253
  return '';
254
254
  }
255
255
  };
@@ -261,7 +261,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
261
261
  }
262
262
  return {
263
263
  loaded: isLoaded,
264
- sdkVersion: "0.21.0" ,
264
+ sdkVersion: "0.22.0" ,
265
265
  };
266
266
  };
267
267
 
@@ -278,7 +278,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
278
278
  window.edgetagProviders.push(data);
279
279
  }
280
280
  }
281
- catch (_a) {
281
+ catch {
282
282
  // No window
283
283
  }
284
284
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-google-analytics-4-sdk",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Google Analytics 4 Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",