@sitecore-content-sdk/core 1.4.0-canary.17 → 1.4.0-canary.18

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.
@@ -2,12 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getMetadata = getMetadata;
4
4
  const child_process_1 = require("child_process");
5
- const trackedScopes = [
6
- '@sitecore',
7
- '@sitecore-cloudsdk',
8
- '@sitecore-feaas',
9
- '@sitecore-content-sdk',
10
- ];
5
+ const trackedScopes = ['@sitecore', '@sitecore-feaas', '@sitecore-content-sdk'];
11
6
  /**
12
7
  * Get application metadata
13
8
  * @param {boolean} allowWorkspaces - Whether to allow workspaces in the metadata generation.
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.subscribeToFormSubmitEvent = exports.executeScriptElements = exports.loadForm = void 0;
7
- const browser_1 = require("@sitecore-cloudsdk/events/browser");
7
+ const browser_1 = require("@sitecore-content-sdk/events/browser");
8
8
  const client_1 = require("../client");
9
9
  const debug_1 = __importDefault(require("../debug"));
10
10
  /**
@@ -63,7 +63,7 @@ const executeScriptElements = (rootElement) => {
63
63
  };
64
64
  exports.executeScriptElements = executeScriptElements;
65
65
  /**
66
- * Subscribes to the Form event and then sends data to CloudSDK.
66
+ * Subscribes to the Form event
67
67
  * This listener captures interactions such as form views or submissions
68
68
  * @param {HTMLElement} formElement - The form element to subscribe to events on
69
69
  * @param {string} [componentId] - The unique identifier of the component
@@ -1,10 +1,5 @@
1
1
  import { execSync } from 'child_process';
2
- const trackedScopes = [
3
- '@sitecore',
4
- '@sitecore-cloudsdk',
5
- '@sitecore-feaas',
6
- '@sitecore-content-sdk',
7
- ];
2
+ const trackedScopes = ['@sitecore', '@sitecore-feaas', '@sitecore-content-sdk'];
8
3
  /**
9
4
  * Get application metadata
10
5
  * @param {boolean} allowWorkspaces - Whether to allow workspaces in the metadata generation.
@@ -1,4 +1,4 @@
1
- import { form } from '@sitecore-cloudsdk/events/browser';
1
+ import { form } from '@sitecore-content-sdk/events/browser';
2
2
  import { getEdgeProxyFormsUrl } from '../client';
3
3
  import debug from '../debug';
4
4
  /**
@@ -55,7 +55,7 @@ export const executeScriptElements = (rootElement) => {
55
55
  });
56
56
  };
57
57
  /**
58
- * Subscribes to the Form event and then sends data to CloudSDK.
58
+ * Subscribes to the Form event
59
59
  * This listener captures interactions such as form views or submissions
60
60
  * @param {HTMLElement} formElement - The form element to subscribe to events on
61
61
  * @param {string} [componentId] - The unique identifier of the component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore-content-sdk/core",
3
- "version": "1.4.0-canary.17",
3
+ "version": "1.4.0-canary.18",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -36,7 +36,7 @@
36
36
  "url": "https://github.com/sitecore/content-sdk/issues"
37
37
  },
38
38
  "devDependencies": {
39
- "@sitecore-cloudsdk/events": "^0.5.1",
39
+ "@sitecore-content-sdk/events": "1.4.0-canary.18",
40
40
  "@stylistic/eslint-plugin": "^5.2.2",
41
41
  "@types/chai": "^5.2.2",
42
42
  "@types/chai-spies": "^1.0.6",
@@ -73,7 +73,7 @@
73
73
  "typescript": "~5.8.3"
74
74
  },
75
75
  "peerDependencies": {
76
- "@sitecore-cloudsdk/events": "^0.5.1"
76
+ "@sitecore-content-sdk/events": "1.4.0-canary.17"
77
77
  },
78
78
  "dependencies": {
79
79
  "chalk": "^4.1.2",
@@ -87,7 +87,7 @@
87
87
  },
88
88
  "description": "",
89
89
  "types": "types/index.d.ts",
90
- "gitHead": "c9137ad2f4478d4fe51195b43cde55440cbfde5a",
90
+ "gitHead": "d79565aaf6fef2b194973aa3c5bb797d0e432302",
91
91
  "files": [
92
92
  "dist",
93
93
  "types",
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/editing/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AAe9B;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,eAAe,GAAE,OAAe,GAAG,QAAQ,CAgBtE"}
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/editing/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AAU9B;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,eAAe,GAAE,OAAe,GAAG,QAAQ,CAgBtE"}
@@ -15,7 +15,7 @@ export declare const loadForm: (contextId: string, formId: string, edgeUrl?: str
15
15
  */
16
16
  export declare const executeScriptElements: (rootElement: HTMLElement) => void;
17
17
  /**
18
- * Subscribes to the Form event and then sends data to CloudSDK.
18
+ * Subscribes to the Form event
19
19
  * This listener captures interactions such as form views or submissions
20
20
  * @param {HTMLElement} formElement - The form element to subscribe to events on
21
21
  * @param {string} [componentId] - The unique identifier of the component