@blotoutio/edgetag-sdk-js 0.9.2 → 0.9.4
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.
- package/index.cjs +1 -3
- package/index.esm.js +1 -3
- package/internal.d.ts +0 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -201,9 +201,7 @@ const checkConsent = (providers) => {
|
|
|
201
201
|
const getUserAgent = () => {
|
|
202
202
|
try {
|
|
203
203
|
const nav = navigator;
|
|
204
|
-
|
|
205
|
-
ua += nav.brave ? `${ua} Brave` : '';
|
|
206
|
-
return ua;
|
|
204
|
+
return nav.userAgent;
|
|
207
205
|
}
|
|
208
206
|
catch (_a) {
|
|
209
207
|
return '';
|
package/index.esm.js
CHANGED
|
@@ -179,9 +179,7 @@ const checkConsent = (providers) => {
|
|
|
179
179
|
const getUserAgent = () => {
|
|
180
180
|
try {
|
|
181
181
|
const nav = navigator;
|
|
182
|
-
|
|
183
|
-
ua += nav.brave ? `${ua} Brave` : '';
|
|
184
|
-
return ua;
|
|
182
|
+
return nav.userAgent;
|
|
185
183
|
}
|
|
186
184
|
catch (_a) {
|
|
187
185
|
return '';
|
package/internal.d.ts
CHANGED