@adobe/aio-commerce-lib-app 2.0.0-alpha-20260820093849 → 2.0.0-alpha-20260820102237
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.
- package/CHANGELOG.md +3 -3
- package/dist/cjs/actions/app-config/index.cjs +2 -2
- package/dist/cjs/actions/installation/index.cjs +62 -514
- package/dist/cjs/actions/scope-tree/index.cjs +2 -3
- package/dist/cjs/commands/index.cjs +5 -3
- package/dist/cjs/common-CVOXs0zA.cjs +606 -0
- package/dist/cjs/{logging-QTsrSwPc.cjs → logging-Br3xfBNe.cjs} +16 -0
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/{management-CvrcMyyN.cjs → management-D8p_JAq9.cjs} +5 -6
- package/dist/cjs/{openapi-BnfxfJyc.cjs → openapi-CILoc0By.cjs} +16 -3
- package/dist/es/actions/app-config/index.mjs +2 -2
- package/dist/es/actions/installation/index.mjs +12 -464
- package/dist/es/actions/scope-tree/index.mjs +1 -2
- package/dist/es/commands/index.mjs +5 -3
- package/dist/es/common-C9bR8qrJ.mjs +487 -0
- package/dist/{cjs/constants-tQUzmimN.cjs → es/logging-CXesop3u.mjs} +18 -6
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-ftGWTW91.mjs → management-Dc6Cgaxl.mjs} +1 -2
- package/dist/es/{openapi-BpHb57jc.mjs → openapi-C1HKPLlq.mjs} +16 -3
- package/package.json +3 -3
- package/dist/es/constants-CSQsZaDP.mjs +0 -25
- package/dist/es/logging-DbJHXSKh.mjs +0 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @adobe/aio-commerce-lib-app
|
|
2
2
|
|
|
3
|
-
## 2.0.0-alpha-
|
|
3
|
+
## 2.0.0-alpha-20260820102237
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
### Minor Changes
|
|
12
12
|
|
|
13
|
-
- [#627](https://github.com/adobe/aio-commerce-sdk/pull/627) [`
|
|
13
|
+
- [#627](https://github.com/adobe/aio-commerce-sdk/pull/627) [`4de1bb5`](https://github.com/adobe/aio-commerce-sdk/commit/4de1bb571d8500a84f07f790ae40853e64a377ae) Thanks [@obarcelonap](https://github.com/obarcelonap)! - Apply webhook configuration changes during upgrades when fields, conditions, headers, or other mutable settings change without changing webhook identity.
|
|
14
14
|
|
|
15
15
|
- [#624](https://github.com/adobe/aio-commerce-sdk/pull/624) [`4b42092`](https://github.com/adobe/aio-commerce-sdk/commit/4b420929c221a850a4416507bd9bebb8cb6010ec) Thanks [@oshmyheliuk](https://github.com/oshmyheliuk)! - Add upgrade `plan`/`apply` support to the eventing domain. During an app upgrade the Commerce and external event leaves now diff the installed baseline against the target config and converge Adobe I/O Events and Commerce state: adding and removing providers, event metadata, registrations and Commerce subscriptions, and updating registrations whose event set changed.
|
|
16
16
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
- [#639](https://github.com/adobe/aio-commerce-sdk/pull/639) [`74b9a3b`](https://github.com/adobe/aio-commerce-sdk/commit/74b9a3b6274215ba2e97fa56a94e737c62e2b8bb) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Ensure CLI commands find the project root before generating files or updating project configuration.
|
|
30
30
|
|
|
31
|
-
- [#627](https://github.com/adobe/aio-commerce-sdk/pull/627) [`
|
|
31
|
+
- [#627](https://github.com/adobe/aio-commerce-sdk/pull/627) [`0e17aff`](https://github.com/adobe/aio-commerce-sdk/commit/0e17affde83894bd81f5dd5adf4b979777dc29a4) Thanks [@obarcelonap](https://github.com/obarcelonap)! - Prune app-owned Commerce webhooks that are absent from the target configuration during upgrades.
|
|
32
32
|
|
|
33
33
|
## 1.10.1
|
|
34
34
|
|
|
@@ -29,7 +29,7 @@ let crypto = require("crypto");
|
|
|
29
29
|
* Loads the committed OpenAPI spec via dynamic import so it
|
|
30
30
|
* lands in its own chunk and is not parsed on every cold start.
|
|
31
31
|
*/
|
|
32
|
-
const importOpenApi = () => Promise.resolve().then(() => require("../../openapi-
|
|
32
|
+
const importOpenApi = () => Promise.resolve().then(() => require("../../openapi-CILoc0By.cjs"));
|
|
33
33
|
/** Matches component schema `$ref` strings, capturing the schema name. */
|
|
34
34
|
const SCHEMA_REF_PATTERN = /"#\/components\/schemas\/(\w+)"/g;
|
|
35
35
|
/**
|
|
@@ -80,7 +80,7 @@ function pruneUnusedTags(spec) {
|
|
|
80
80
|
* @param domains - The active config domains.
|
|
81
81
|
*/
|
|
82
82
|
function getOpenApiCacheKey(domains) {
|
|
83
|
-
const input = `2.0.0-alpha-
|
|
83
|
+
const input = `2.0.0-alpha-20260820102237:${[...domains].sort().join(",")}:3.0.0`;
|
|
84
84
|
return (0, crypto.createHash)("sha256").update(input).digest("hex").slice(0, 8);
|
|
85
85
|
}
|
|
86
86
|
/** Returns the server URL to be set in the OpenAPI spec, based on the current namespace. */
|