New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blotoutio/edgetag-sdk-js

Package Overview
Dependencies
Maintainers
0
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blotoutio/edgetag-sdk-js - npm Package Compare versions

Comparing version 0.60.0 to 0.60.1

26

index.cjs.js

@@ -280,2 +280,3 @@ 'use strict';

const cookieKey = 'tag_user_id';
const fallbackSessionKey = 'fallback_tag_user_id';

@@ -552,3 +553,3 @@ const getMessage = (error) => {

locale: getLocale(),
sdkVersion: "0.60.0" ,
sdkVersion: "0.60.1" ,
...(payload || {}),

@@ -1101,2 +1102,22 @@ };

}
let fallbackId;
try {
fallbackId = preferences.fallbackUserId;
if (!fallbackId) {
const fallbackSessionValue = sessionStorage.getItem(fallbackSessionKey);
if (!fallbackSessionValue) {
const randomId = crypto.randomUUID();
if (randomId) {
fallbackId = `${randomId}-${Date.now()}`;
sessionStorage.setItem(fallbackSessionKey, fallbackId);
}
}
else {
fallbackId = fallbackSessionValue;
}
}
}
catch {
// do nothing
}
if (preferences.afterManifestEvents) {

@@ -1116,2 +1137,5 @@ setSetting(preferences.edgeURL, {

}
if (fallbackId) {
url.searchParams.set('fallbackUserId', fallbackId);
}
getRequest(url.href)

@@ -1118,0 +1142,0 @@ .then((result) => {

@@ -45,2 +45,3 @@ import { ProvidersConfig } from '@blotoutio/cdn/types'

userId?: string
fallbackUserId?: string
providers?: ProviderInit[]

@@ -47,0 +48,0 @@ afterManifestEvents?: Stub[]

2

package.json
{
"name": "@blotoutio/edgetag-sdk-js",
"version": "0.60.0",
"version": "0.60.1",
"description": "JS SDK for EdgeTag",

@@ -5,0 +5,0 @@ "author": "Blotout",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc