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
27
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.2 to 0.4.3

6

dist/cjs/package.json
{
"name": "@sitecore-cloudsdk/events",
"version": "0.4.2",
"version": "0.4.3",
"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.2",
"@sitecore-cloudsdk/utils": "^0.4.2"
"@sitecore-cloudsdk/core": "^0.4.3",
"@sitecore-cloudsdk/utils": "^0.4.3"
},

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

@@ -13,2 +13,3 @@ export declare const EVENTS_NAMESPACE = "sitecore-cloudsdk:events";

IE_0005 = "[IE-0005] You must first initialize the \"events/server\" module. Run the \"init\" function.",
IE_0008 = "[IE-0008] You must first initialize the \"core\" package. Run the \"init\" function.",
IE_0014 = "[IE-0014] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/browser\" and import \"@sitecore-cloudsdk/events/browser\". Then, run \"CloudSDK().addEvents().initialize()\".",

@@ -15,0 +16,0 @@ IE_0015 = "[IE-0015] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/server\" and import \"@sitecore-cloudsdk/events/server\". Then, run \"await CloudSDK().addEvents().initialize()\".",

"use strict";
// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -7,6 +8,5 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

exports.ErrorMessages = exports.X_CLIENT_SOFTWARE_ID = exports.PACKAGE_INITIALIZER_METHOD_NAME = exports.PACKAGE_NAME = exports.PACKAGE_VERSION = exports.EVENTS_NAMESPACE = void 0;
// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.
/* eslint-disable @typescript-eslint/naming-convention */
const package_json_1 = __importDefault(require("../../package.json"));
const consts_1 = require("./events/consts");
const package_json_1 = __importDefault(require("../../package.json"));
exports.EVENTS_NAMESPACE = 'sitecore-cloudsdk:events';

@@ -26,2 +26,3 @@ exports.PACKAGE_VERSION = package_json_1.default.version;

ErrorMessages["IE_0005"] = "[IE-0005] You must first initialize the \"events/server\" module. Run the \"init\" function.";
ErrorMessages["IE_0008"] = "[IE-0008] You must first initialize the \"core\" package. Run the \"init\" function.";
ErrorMessages["IE_0014"] = "[IE-0014] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/browser\" and import \"@sitecore-cloudsdk/events/browser\". Then, run \"CloudSDK().addEvents().initialize()\".";

@@ -28,0 +29,0 @@ ErrorMessages["IE_0015"] = "[IE-0015] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/server\" and import \"@sitecore-cloudsdk/events/server\". Then, run \"await CloudSDK().addEvents().initialize()\".";

import { CloudSDKBrowserInitializer } from '@sitecore-cloudsdk/core/browser';
import { event } from '../../events/custom-event/event';
import { form } from '../../events/custom-event/form';
import { identity } from '../../events/identity/identity';
import { pageView } from '../../events/page-view/page-view';
import { addToEventQueue } from '../../eventStorage/addToEventQueue';
import { clearEventQueue } from '../../eventStorage/clearEventQueue';
import { processEventQueue } from '../../eventStorage/processEventQueue';
export declare function sideEffects(): Promise<void>;

@@ -17,3 +24,10 @@ /**

version: string;
pageView?: typeof pageView;
identity?: typeof identity;
form?: typeof form;
event?: typeof event;
addToEventQueue?: typeof addToEventQueue;
processEventQueue?: typeof processEventQueue;
clearEventQueue?: typeof clearEventQueue;
}
}

@@ -8,2 +8,9 @@ "use strict";

const consts_1 = require("../../consts");
const event_1 = require("../../events/custom-event/event");
const form_1 = require("../../events/custom-event/form");
const identity_1 = require("../../events/identity/identity");
const page_view_1 = require("../../events/page-view/page-view");
const addToEventQueue_1 = require("../../eventStorage/addToEventQueue");
const clearEventQueue_1 = require("../../eventStorage/clearEventQueue");
const processEventQueue_1 = require("../../eventStorage/processEventQueue");
async function sideEffects() {

@@ -13,2 +20,9 @@ window.scCloudSDK = {

events: {
addToEventQueue: addToEventQueue_1.addToEventQueue,
clearEventQueue: clearEventQueue_1.clearEventQueue,
event: event_1.event,
form: form_1.form,
identity: identity_1.identity,
pageView: page_view_1.pageView,
processEventQueue: processEventQueue_1.processEventQueue,
version: consts_1.PACKAGE_VERSION

@@ -15,0 +29,0 @@ }

{
"name": "@sitecore-cloudsdk/events",
"version": "0.4.2",
"version": "0.4.3",
"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.2",
"@sitecore-cloudsdk/utils": "^0.4.2"
"@sitecore-cloudsdk/core": "^0.4.3",
"@sitecore-cloudsdk/utils": "^0.4.3"
},

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

@@ -13,2 +13,3 @@ export declare const EVENTS_NAMESPACE = "sitecore-cloudsdk:events";

IE_0005 = "[IE-0005] You must first initialize the \"events/server\" module. Run the \"init\" function.",
IE_0008 = "[IE-0008] You must first initialize the \"core\" package. Run the \"init\" function.",
IE_0014 = "[IE-0014] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/browser\" and import \"@sitecore-cloudsdk/events/browser\". Then, run \"CloudSDK().addEvents().initialize()\".",

@@ -15,0 +16,0 @@ IE_0015 = "[IE-0015] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/server\" and import \"@sitecore-cloudsdk/events/server\". Then, run \"await CloudSDK().addEvents().initialize()\".",

// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.
/* eslint-disable @typescript-eslint/naming-convention */
import packageJson from '../../package.json';
import { MAX_EXT_ATTRIBUTES } from './events/consts';
import packageJson from '../../package.json';
export const EVENTS_NAMESPACE = 'sitecore-cloudsdk:events';

@@ -19,2 +19,3 @@ export const PACKAGE_VERSION = packageJson.version;

ErrorMessages["IE_0005"] = "[IE-0005] You must first initialize the \"events/server\" module. Run the \"init\" function.";
ErrorMessages["IE_0008"] = "[IE-0008] You must first initialize the \"core\" package. Run the \"init\" function.";
ErrorMessages["IE_0014"] = "[IE-0014] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/browser\" and import \"@sitecore-cloudsdk/events/browser\". Then, run \"CloudSDK().addEvents().initialize()\".";

@@ -21,0 +22,0 @@ ErrorMessages["IE_0015"] = "[IE-0015] You must first initialize the Cloud SDK and the \"events\" package. First, import \"CloudSDK\" from \"@sitecore-cloudsdk/core/server\" and import \"@sitecore-cloudsdk/events/server\". Then, run \"await CloudSDK().addEvents().initialize()\".";

import { CloudSDKBrowserInitializer } from '@sitecore-cloudsdk/core/browser';
import { event } from '../../events/custom-event/event';
import { form } from '../../events/custom-event/form';
import { identity } from '../../events/identity/identity';
import { pageView } from '../../events/page-view/page-view';
import { addToEventQueue } from '../../eventStorage/addToEventQueue';
import { clearEventQueue } from '../../eventStorage/clearEventQueue';
import { processEventQueue } from '../../eventStorage/processEventQueue';
export declare function sideEffects(): Promise<void>;

@@ -17,3 +24,10 @@ /**

version: string;
pageView?: typeof pageView;
identity?: typeof identity;
form?: typeof form;
event?: typeof event;
addToEventQueue?: typeof addToEventQueue;
processEventQueue?: typeof processEventQueue;
clearEventQueue?: typeof clearEventQueue;
}
}

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

import { EVENTS_NAMESPACE, PACKAGE_NAME, PACKAGE_VERSION } from '../../consts';
import { event } from '../../events/custom-event/event';
import { form } from '../../events/custom-event/form';
import { identity } from '../../events/identity/identity';
import { pageView } from '../../events/page-view/page-view';
import { addToEventQueue } from '../../eventStorage/addToEventQueue';
import { clearEventQueue } from '../../eventStorage/clearEventQueue';
import { processEventQueue } from '../../eventStorage/processEventQueue';
export async function sideEffects() {

@@ -10,2 +17,9 @@ window.scCloudSDK = {

events: {
addToEventQueue,
clearEventQueue,
event,
form,
identity,
pageView,
processEventQueue,
version: PACKAGE_VERSION

@@ -12,0 +26,0 @@ }

{
"name": "@sitecore-cloudsdk/events",
"version": "0.4.2",
"version": "0.4.3",
"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.2",
"@sitecore-cloudsdk/utils": "^0.4.2"
"@sitecore-cloudsdk/core": "^0.4.3",
"@sitecore-cloudsdk/utils": "^0.4.3"
},

@@ -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