@adobe/alloy 2.30.1-beta.0 → 2.30.1-beta.10

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.
@@ -49,7 +49,7 @@ const DOM_ACTION_COLLECT_INTERACTIONS = exports.DOM_ACTION_COLLECT_INTERACTIONS
49
49
  var _default = () => {
50
50
  return {
51
51
  [DOM_ACTION_SET_HTML]: (0, _action.createAction)(_setHtml.default, true),
52
- [DOM_ACTION_CUSTOM_CODE]: (0, _action.createAction)(_prependHtml.default),
52
+ [DOM_ACTION_CUSTOM_CODE]: (0, _action.createAction)(_prependHtml.default, true),
53
53
  [DOM_ACTION_SET_TEXT]: (0, _action.createAction)(_setText.default, true),
54
54
  [DOM_ACTION_SET_ATTRIBUTE]: (0, _action.createAction)(_setAttributes.default, true),
55
55
  [DOM_ACTION_SET_IMAGE_SOURCE]: (0, _action.createAction)(_swapImage.default, true),
@@ -81,7 +81,7 @@ var _default = async ({
81
81
  throw new Error("Cannot send tracking call. " + field.errorField + " is missing.");
82
82
  }
83
83
  }
84
- const url = "https://" + edgeDomain + "/" + edgeBasePath + "/v1/interact?configId=" + datastreamId;
84
+ const url = "https://" + edgeDomain + "/" + edgeBasePath + "/v1/interact?configId=" + datastreamId + "&requestId=" + (0, _uuid.default)();
85
85
 
86
86
  /** @type {TrackingDataPayload} */
87
87
  const payload = {
@@ -14,4 +14,4 @@ governing permissions and limitations under the License.
14
14
  */
15
15
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
16
16
  // see babel-plugin-version
17
- var _default = exports.default = "2.30.1-beta.0";
17
+ var _default = exports.default = "2.30.1-beta.10";
@@ -13,4 +13,5 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA
13
13
  OF ANY KIND, either express or implied. See the License for the specific language
14
14
  governing permissions and limitations under the License.
15
15
  */
16
+ // eslint-disable-next-line import/no-unresolved
16
17
  var _default = exports.default = _uuid.v4;
@@ -46,7 +46,7 @@ export const DOM_ACTION_COLLECT_INTERACTIONS = "collectInteractions";
46
46
  export default () => {
47
47
  return {
48
48
  [DOM_ACTION_SET_HTML]: createAction(setHtml, true),
49
- [DOM_ACTION_CUSTOM_CODE]: createAction(prependHtml),
49
+ [DOM_ACTION_CUSTOM_CODE]: createAction(prependHtml, true),
50
50
  [DOM_ACTION_SET_TEXT]: createAction(setText, true),
51
51
  [DOM_ACTION_SET_ATTRIBUTE]: createAction(setAttributes, true),
52
52
  [DOM_ACTION_SET_IMAGE_SOURCE]: createAction(swapImage, true),
@@ -82,7 +82,7 @@ export default async ({
82
82
  throw new Error(`Cannot send tracking call. ${field.errorField} is missing.`);
83
83
  }
84
84
  }
85
- const url = `https://${edgeDomain}/${edgeBasePath}/v1/interact?configId=${datastreamId}`;
85
+ const url = `https://${edgeDomain}/${edgeBasePath}/v1/interact?configId=${datastreamId}&requestId=${uuidv4()}`;
86
86
 
87
87
  /** @type {TrackingDataPayload} */
88
88
  const payload = {
@@ -13,4 +13,4 @@ governing permissions and limitations under the License.
13
13
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
14
14
  // see babel-plugin-version
15
15
 
16
- export default "2.30.1-beta.0";
16
+ export default "2.30.1-beta.10";
@@ -10,5 +10,6 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
+ // eslint-disable-next-line import/no-unresolved
13
14
  import { v4 as uuidv4 } from "uuid";
14
15
  export default uuidv4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.30.1-beta.0",
3
+ "version": "2.30.1-beta.10",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "type": "module",
6
6
  "main": "libEs5/index.js",
@@ -43,7 +43,7 @@
43
43
  "test:functional:build:int": "rollup -c --environment BASE_CODE_MIN,STANDALONE,NPM_PACKAGE_LOCAL",
44
44
  "test:functional:build:prod": "rollup -c --environment BASE_CODE_MIN,NPM_PACKAGE_PROD",
45
45
  "test:scripts": "vitest run --config=./scripts/specs/vitest.config.js",
46
- "dev": "REACT_APP_NONCE=123 pnpm run --filter @adobe/alloy-sandbox-browser start",
46
+ "dev": "concurrently --names build,sandbox \"rollup -c -w --environment SANDBOX_SERVICE_WORKER\" \"REACT_APP_NONCE=123 pnpm run --filter @adobe/alloy-sandbox-browser start\"",
47
47
  "build": "pnpm run clean && rollup -c --environment BASE_CODE_MIN,STANDALONE,STANDALONE_MIN,SERVICE_WORKER,SERVICE_WORKER_MIN,BUNDLESIZE && echo \"Base Code:\" && cat distTest/baseCode.min.js",
48
48
  "build:watch": "pnpm run clean && rollup -c --watch --environment BASE_CODE_MIN,STANDALONE",
49
49
  "build:custom": "node scripts/alloyBuilder.js",
@@ -73,56 +73,60 @@
73
73
  "author": "Adobe Inc.",
74
74
  "license": "Apache-2.0",
75
75
  "dependencies": {
76
+ "@adobe/aep-rules-engine": "^3.1.1",
77
+ "@adobe/reactor-query-string": "^2.0.0",
76
78
  "@babel/core": "^7.28.5",
77
79
  "@babel/plugin-transform-template-literals": "^7.27.1",
78
80
  "@babel/preset-env": "^7.28.5",
79
81
  "@inquirer/prompts": "^7.9.0",
80
82
  "@rollup/plugin-babel": "^6.1.0",
81
- "@rollup/plugin-commonjs": "^28.0.9",
83
+ "@rollup/plugin-commonjs": "^29.0.0",
82
84
  "@rollup/plugin-node-resolve": "^16.0.3",
83
85
  "@rollup/plugin-terser": "^0.4.4",
84
86
  "commander": "^14.0.2",
87
+ "js-cookie": "3.0.5",
85
88
  "rollup": "^4.52.5",
86
- "rollup-plugin-license": "^3.6.0"
89
+ "rollup-plugin-license": "^3.6.0",
90
+ "uuid": "^13.0.0"
87
91
  },
88
92
  "devDependencies": {
89
- "@adobe/alloy": "2.30.0",
93
+ "@adobe/alloy": "next",
90
94
  "@babel/cli": "^7.28.3",
91
95
  "@babel/plugin-transform-modules-commonjs": "^7.27.1",
92
96
  "@eslint/js": "^9.38.0",
93
- "@octokit/rest": "^22.0.0",
97
+ "@octokit/rest": "^22.0.1",
94
98
  "@types/node": "^24.9.1",
95
- "@vitest/browser-playwright": "^4.0.3",
96
- "@vitest/coverage-v8": "^4.0.3",
97
- "@vitest/eslint-plugin": "^1.3.24",
99
+ "@vitest/browser-playwright": "^4.0.6",
100
+ "@vitest/coverage-v8": "^4.0.6",
101
+ "@vitest/eslint-plugin": "^1.4.0",
98
102
  "chalk": "^5.6.2",
99
103
  "concurrently": "^9.2.1",
100
104
  "date-fns": "^4.1.0",
101
- "eslint": "^9.38.0",
105
+ "eslint": "^9.39.0",
102
106
  "eslint-config-prettier": "^10.1.8",
103
107
  "eslint-plugin-compat": "^6.0.2",
104
108
  "eslint-plugin-import": "^2.32.0",
105
109
  "eslint-plugin-prettier": "^5.5.4",
106
110
  "eslint-plugin-react": "^7.37.5",
107
111
  "glob": "^11.0.3",
108
- "globals": "^16.4.0",
112
+ "globals": "^16.5.0",
109
113
  "handlebars": "^4.7.8",
110
114
  "husky": "^9.1.7",
111
115
  "lint-staged": "^16.2.6",
112
- "minimatch": "^10.0.3",
116
+ "minimatch": "^10.1.1",
113
117
  "msw": "^2.11.6",
114
118
  "playwright": "^1.56.1",
115
119
  "prettier": "^3.6.2",
116
120
  "read-cache": "^1.0.0",
117
121
  "recursive-readdir": "^2.2.3",
118
- "rimraf": "^6.0.1",
122
+ "rimraf": "^6.1.0",
119
123
  "semver": "^7.7.3",
120
124
  "staged-git-files": "^1.3.0",
121
125
  "testcafe": "^3.7.2",
122
126
  "testcafe-browser-provider-playwright": "^1.1.0",
123
127
  "typescript": "^5.9.3",
124
128
  "url-exists-nodejs": "^0.2.4",
125
- "vitest": "^4.0.3"
129
+ "vitest": "^4.0.6"
126
130
  },
127
131
  "optionalDependencies": {
128
132
  "@rollup/rollup-linux-x64-gnu": "^4.52.5"
@@ -1 +1 @@
1
- {"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../packages/core/src/utils/uuid.js"],"names":[],"mappings":";6BAY6B,MAAM"}
1
+ {"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../packages/core/src/utils/uuid.js"],"names":[],"mappings":";6BAa6B,MAAM"}