Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sitecore-cloudsdk/core

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitecore-cloudsdk/core - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

10

dist/cjs/package.json
{
"name": "@sitecore-cloudsdk/core",
"version": "0.1.4",
"version": "0.1.5",
"license": "Apache-2.0",

@@ -19,3 +19,3 @@ "main": "dist/cjs/src/index.js",

"dependencies": {
"@sitecore-cloudsdk/utils": "^0.2.0"
"@sitecore-cloudsdk/utils": "^0.1.3"
},

@@ -30,7 +30,3 @@ "scripts": {

"README.md"
],
"engines": {
"node": ">=18",
"npm": ">=9"
}
]
}

@@ -7,3 +7,3 @@ export { createCookie } from './lib/cookie/create-cookie';

export { handleServerCookie } from './lib/cookie/handle-server-cookie';
export { getBrowserId } from './lib/cookie/get-browser-id';
export { getBrowserId } from './lib/init/get-browser-id';
export { fetchBrowserIdFromEdgeProxy } from './lib/init/fetch-browser-id-from-edge-proxy';

@@ -10,0 +10,0 @@ export { getGuestId } from './lib/init/get-guest-id';

@@ -17,3 +17,3 @@ "use strict";

Object.defineProperty(exports, "handleServerCookie", { enumerable: true, get: function () { return handle_server_cookie_1.handleServerCookie; } });
var get_browser_id_1 = require("./lib/cookie/get-browser-id");
var get_browser_id_1 = require("./lib/init/get-browser-id");
Object.defineProperty(exports, "getBrowserId", { enumerable: true, get: function () { return get_browser_id_1.getBrowserId; } });

@@ -20,0 +20,0 @@ var fetch_browser_id_from_edge_proxy_1 = require("./lib/init/fetch-browser-id-from-edge-proxy");

@@ -23,12 +23,3 @@ "use strict";

if (timeout !== undefined) {
payload = await (0, utils_1.fetchWithTimeout)(url, timeout, fetchOptions)
.then((response) => {
return (response && response.json()) || null;
})
.catch((err) => {
if (err.message.includes('IV-0006') || err.message.includes('IE-0002')) {
throw new Error(err.message);
}
return null;
});
payload = await (0, utils_1.fetchWithTimeout)(url, timeout, fetchOptions);
}

@@ -38,2 +29,3 @@ else {

.then((res) => res.json())
.then((data) => data)
.catch(() => undefined);

@@ -40,0 +32,0 @@ }

{
"name": "@sitecore-cloudsdk/core",
"version": "0.1.4",
"version": "0.1.5",
"license": "Apache-2.0",

@@ -19,3 +19,3 @@ "main": "dist/cjs/src/index.js",

"dependencies": {
"@sitecore-cloudsdk/utils": "^0.2.0"
"@sitecore-cloudsdk/utils": "^0.1.3"
},

@@ -30,7 +30,3 @@ "scripts": {

"README.md"
],
"engines": {
"node": ">=18",
"npm": ">=9"
}
]
}

@@ -7,3 +7,3 @@ export { createCookie } from './lib/cookie/create-cookie';

export { handleServerCookie } from './lib/cookie/handle-server-cookie';
export { getBrowserId } from './lib/cookie/get-browser-id';
export { getBrowserId } from './lib/init/get-browser-id';
export { fetchBrowserIdFromEdgeProxy } from './lib/init/fetch-browser-id-from-edge-proxy';

@@ -10,0 +10,0 @@ export { getGuestId } from './lib/init/get-guest-id';

@@ -8,3 +8,3 @@ // © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.

export { handleServerCookie } from './lib/cookie/handle-server-cookie';
export { getBrowserId } from './lib/cookie/get-browser-id';
export { getBrowserId } from './lib/init/get-browser-id';
export { fetchBrowserIdFromEdgeProxy } from './lib/init/fetch-browser-id-from-edge-proxy';

@@ -11,0 +11,0 @@ export { getGuestId } from './lib/init/get-guest-id';

@@ -20,12 +20,3 @@ // © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.

if (timeout !== undefined) {
payload = await fetchWithTimeout(url, timeout, fetchOptions)
.then((response) => {
return (response && response.json()) || null;
})
.catch((err) => {
if (err.message.includes('IV-0006') || err.message.includes('IE-0002')) {
throw new Error(err.message);
}
return null;
});
payload = await fetchWithTimeout(url, timeout, fetchOptions);
}

@@ -35,2 +26,3 @@ else {

.then((res) => res.json())
.then((data) => data)
.catch(() => undefined);

@@ -37,0 +29,0 @@ }

{
"name": "@sitecore-cloudsdk/core",
"version": "0.1.4",
"version": "0.1.5",
"license": "Apache-2.0",

@@ -19,3 +19,3 @@ "main": "dist/cjs/src/index.js",

"dependencies": {
"@sitecore-cloudsdk/utils": "^0.2.0"
"@sitecore-cloudsdk/utils": "^0.1.3"
},

@@ -30,7 +30,3 @@ "scripts": {

"README.md"
],
"engines": {
"node": ">=18",
"npm": ">=9"
}
]
}

Sorry, the diff of this file is not supported yet

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