@blotoutio/providers-google-ads-clicks-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 +9 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -20,7 +20,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
20
20
  }
21
21
  return '';
22
22
  }
23
- catch (_a) {
23
+ catch {
24
24
  return '';
25
25
  }
26
26
  };
@@ -31,7 +31,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
31
31
  }
32
32
  document.cookie = `${key}=${value};path=/`;
33
33
  }
34
- catch (_a) {
34
+ catch {
35
35
  return;
36
36
  }
37
37
  };
@@ -125,7 +125,11 @@ var ProvidersGoogleAdsClicksSdk = (function () {
125
125
  if (!conversionLabel) {
126
126
  return;
127
127
  }
128
- window.gtag('event', 'conversion', Object.assign(Object.assign({ send_to: conversionLabel }, eventData), { app: 'blotout' }));
128
+ window.gtag('event', 'conversion', {
129
+ send_to: conversionLabel,
130
+ ...eventData,
131
+ app: 'blotout',
132
+ });
129
133
  };
130
134
 
131
135
  const tag = ({ data, eventName, manifestVariables, eventId }) => {
@@ -136,7 +140,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
136
140
  }
137
141
  return {
138
142
  loaded: isLoaded,
139
- sdkVersion: "0.21.0" ,
143
+ sdkVersion: "0.22.1" ,
140
144
  };
141
145
  };
142
146
 
@@ -153,7 +157,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
153
157
  window.edgetagProviders.push(data);
154
158
  }
155
159
  }
156
- catch (_a) {
160
+ catch {
157
161
  // No window
158
162
  }
159
163
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-google-ads-clicks-sdk",
3
- "version": "0.21.0",
3
+ "version": "0.22.1",
4
4
  "description": "Google Ads Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",