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

@sitecore-cloudsdk/events

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitecore-cloudsdk/events - npm Package Compare versions

Comparing version 0.4.0-rc.1 to 0.4.0

6

dist/cjs/package.json
{
"name": "@sitecore-cloudsdk/events",
"version": "0.4.0-rc.1",
"version": "0.4.0",
"license": "Apache-2.0",

@@ -19,4 +19,4 @@ "homepage": "https://doc.sitecore.com/xmc/en/developers/sdk/latest/cloud-sdk/index.html",

"dependencies": {
"@sitecore-cloudsdk/core": "^0.4.0-rc.1",
"@sitecore-cloudsdk/utils": "^0.4.0-rc.1"
"@sitecore-cloudsdk/core": "^0.4.0",
"@sitecore-cloudsdk/utils": "^0.4.0"
},

@@ -23,0 +23,0 @@ "scripts": {

@@ -14,1 +14,6 @@ import { CloudSDKBrowserInitializer } from '@sitecore-cloudsdk/core/browser';

}
declare global {
interface Events {
version: string;
}
}

@@ -7,12 +7,8 @@ "use strict";

const internal_1 = require("@sitecore-cloudsdk/core/internal");
const utils_1 = require("@sitecore-cloudsdk/utils");
const consts_1 = require("../../consts");
async function sideEffects() {
window.Engage ?? (window.Engage = {});
window.Engage = {
...window.Engage,
getBrowserId: () => (0, utils_1.getCookieValueClientSide)((0, internal_1.getCloudSDKSettingsBrowser)().cookieSettings.name.browserId),
versions: {
...window.Engage.versions,
events: consts_1.PACKAGE_VERSION
window.scCloudSDK = {
...window.scCloudSDK,
events: {
version: consts_1.PACKAGE_VERSION
}

@@ -19,0 +15,0 @@ };

{
"name": "@sitecore-cloudsdk/events",
"version": "0.4.0-rc.1",
"version": "0.4.0",
"license": "Apache-2.0",

@@ -19,4 +19,4 @@ "homepage": "https://doc.sitecore.com/xmc/en/developers/sdk/latest/cloud-sdk/index.html",

"dependencies": {
"@sitecore-cloudsdk/core": "^0.4.0-rc.1",
"@sitecore-cloudsdk/utils": "^0.4.0-rc.1"
"@sitecore-cloudsdk/core": "^0.4.0",
"@sitecore-cloudsdk/utils": "^0.4.0"
},

@@ -23,0 +23,0 @@ "scripts": {

@@ -14,1 +14,6 @@ import { CloudSDKBrowserInitializer } from '@sitecore-cloudsdk/core/browser';

}
declare global {
interface Events {
version: string;
}
}
// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.
import { CloudSDKBrowserInitializer } from '@sitecore-cloudsdk/core/browser';
import { debug, enabledPackagesBrowser as enabledPackages, getCloudSDKSettingsBrowser as getCloudSDKSettings, PackageInitializer } from '@sitecore-cloudsdk/core/internal';
import { getCookieValueClientSide } from '@sitecore-cloudsdk/utils';
import { debug, enabledPackagesBrowser as enabledPackages, PackageInitializer } from '@sitecore-cloudsdk/core/internal';
import { EVENTS_NAMESPACE, PACKAGE_NAME, PACKAGE_VERSION } from '../../consts';
export async function sideEffects() {
window.Engage ?? (window.Engage = {});
window.Engage = {
...window.Engage,
getBrowserId: () => getCookieValueClientSide(getCloudSDKSettings().cookieSettings.name.browserId),
versions: {
...window.Engage.versions,
events: PACKAGE_VERSION
window.scCloudSDK = {
...window.scCloudSDK,
events: {
version: PACKAGE_VERSION
}

@@ -15,0 +11,0 @@ };

{
"name": "@sitecore-cloudsdk/events",
"version": "0.4.0-rc.1",
"version": "0.4.0",
"license": "Apache-2.0",

@@ -19,4 +19,4 @@ "homepage": "https://doc.sitecore.com/xmc/en/developers/sdk/latest/cloud-sdk/index.html",

"dependencies": {
"@sitecore-cloudsdk/core": "^0.4.0-rc.1",
"@sitecore-cloudsdk/utils": "^0.4.0-rc.1"
"@sitecore-cloudsdk/core": "^0.4.0",
"@sitecore-cloudsdk/utils": "^0.4.0"
},

@@ -23,0 +23,0 @@ "scripts": {

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