@blotoutio/edgetag-sdk-js 0.9.1 → 0.9.3

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 CHANGED
@@ -201,9 +201,7 @@ const checkConsent = (providers) => {
201
201
  const getUserAgent = () => {
202
202
  try {
203
203
  const nav = navigator;
204
- let ua = nav.userAgent;
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
- let ua = nav.userAgent;
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
@@ -2,7 +2,6 @@ import { UserKey, Data } from './index'
2
2
 
3
3
  type Navigator = {
4
4
  userAgent: string
5
- brave: unknown
6
5
  }
7
6
 
8
7
  type TagPayload = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-js",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "JS SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",