@adobe/aio-commerce-lib-app 1.11.0-alpha-20260811131926 → 1.11.0
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 +16 -6
- package/dist/cjs/actions/app-config/index.cjs +3 -3
- package/dist/cjs/actions/app-config/index.d.cts +1 -1
- package/dist/cjs/actions/installation/index.cjs +16 -741
- package/dist/cjs/actions/installation/index.d.cts +3 -3
- package/dist/cjs/{app-CAin_kvj.d.cts → app-CSqkACEm.d.cts} +0 -2
- package/dist/cjs/commands/index.cjs +121 -105
- package/dist/cjs/commands/templates/admin-ui/web-src/index.html +1 -1
- package/dist/cjs/config/index.browser.d.cts +1 -1
- package/dist/cjs/config/index.node.cjs +2 -2
- package/dist/cjs/config/index.node.d.cts +2 -4
- package/dist/{es/define-CRhoQvqV.d.mts → cjs/define-BuploXfU.d.cts} +1 -1
- package/dist/{es/index-oEOlyMb-.d.mts → cjs/index-NxK_-lg1.d.cts} +156 -379
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{index.node-B9hDU0rV.cjs → index.node-DOJpf00H.cjs} +1 -1
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/management/index.d.cts +2 -2
- package/dist/cjs/{management-CdaI8740.cjs → management-BeVfzKuc.cjs} +74 -195
- package/dist/cjs/{openapi-C_y_Y5YX.cjs → openapi-OeedZiaW.cjs} +1 -1
- package/dist/cjs/{utils-3iW2-JiF.cjs → utils-CGZGfXuy.cjs} +1 -1
- package/dist/cjs/{validate-fyt_kL1n.cjs → validate-D0MtmDu5.cjs} +44 -1
- package/dist/es/actions/app-config/index.d.mts +1 -1
- package/dist/es/actions/app-config/index.mjs +3 -3
- package/dist/es/actions/installation/index.d.mts +3 -3
- package/dist/es/actions/installation/index.mjs +16 -740
- package/dist/es/{app-CAin_kvj.d.mts → app-CSqkACEm.d.mts} +0 -2
- package/dist/es/commands/index.mjs +124 -108
- package/dist/es/commands/templates/admin-ui/web-src/index.html +1 -1
- package/dist/es/config/index.browser.d.mts +1 -1
- package/dist/es/config/index.node.d.mts +2 -4
- package/dist/es/config/index.node.mjs +2 -2
- package/dist/{cjs/define-B465PDm1.d.cts → es/define-DzMn3tWf.d.mts} +1 -1
- package/dist/{cjs/index-DD33wnhT.d.cts → es/index-DsHq4q57.d.mts} +156 -379
- package/dist/es/index.mjs +1 -1
- package/dist/es/{index.node-zgQmVfCA.mjs → index.node-DNuu7iVd.mjs} +1 -1
- package/dist/es/management/index.d.mts +2 -2
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-CRAbKyna.mjs → management-CfYDBXqP.mjs} +75 -118
- package/dist/es/{openapi-Brn9plmt.mjs → openapi-BPfnmdpl.mjs} +1 -1
- package/dist/es/{utils-BnmDHPW2.mjs → utils-D0O4r9jr.mjs} +1 -1
- package/dist/es/{validate-DIxa7JuV.mjs → validate-8S9d1BDo.mjs} +34 -3
- package/package.json +53 -53
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
# @adobe/aio-commerce-lib-app
|
|
2
2
|
|
|
3
|
-
## 1.11.0
|
|
4
|
-
### Minor Changes
|
|
5
|
-
|
|
3
|
+
## 1.11.0
|
|
6
4
|
|
|
5
|
+
### Minor Changes
|
|
7
6
|
|
|
8
|
-
- [#
|
|
7
|
+
- [#650](https://github.com/adobe/aio-commerce-sdk/pull/650) [`f3ea3a6`](https://github.com/adobe/aio-commerce-sdk/commit/f3ea3a64ac59c978f28865274fa282ec991ea529) Thanks [@jcuerdo](https://github.com/jcuerdo)! - Fix uninstallation failing for apps with a `dynamicList` Business Configuration field, caused by revalidating the recorded installation snapshot against a schema that required functions a JSON-serialized snapshot can never have. Uninstallation now validates the recorded config with `validateRecordedCommerceAppConfig`, which accepts a `dynamicList` field without `options`/`default`.
|
|
9
8
|
|
|
9
|
+
### Patch Changes
|
|
10
10
|
|
|
11
|
+
- Updated dependencies [[`f3ea3a6`](https://github.com/adobe/aio-commerce-sdk/commit/f3ea3a64ac59c978f28865274fa282ec991ea529)]:
|
|
12
|
+
- @adobe/aio-commerce-lib-config@1.7.0
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
## 1.10.1
|
|
13
15
|
|
|
16
|
+
### Patch Changes
|
|
14
17
|
|
|
18
|
+
- [#635](https://github.com/adobe/aio-commerce-sdk/pull/635) [`71bf666`](https://github.com/adobe/aio-commerce-sdk/commit/71bf66656ef1fc6dd272a0821e8b00aab5dc197e) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - The app build hooks now set `NODE_ENV` in the project `.env` so the web bundler builds for the correct environment (production on build, development on dev and run).
|
|
15
19
|
|
|
16
|
-
- [
|
|
20
|
+
- Updated dependencies [[`71bf666`](https://github.com/adobe/aio-commerce-sdk/commit/71bf66656ef1fc6dd272a0821e8b00aab5dc197e), [`71bf666`](https://github.com/adobe/aio-commerce-sdk/commit/71bf66656ef1fc6dd272a0821e8b00aab5dc197e)]:
|
|
21
|
+
- @adobe/aio-commerce-lib-admin-ui@1.0.1
|
|
22
|
+
- @adobe/aio-commerce-lib-auth@1.1.3
|
|
23
|
+
- @adobe/aio-commerce-lib-api@1.3.1
|
|
24
|
+
- @adobe/aio-commerce-lib-config@1.6.1
|
|
25
|
+
- @adobe/aio-commerce-lib-events@1.3.1
|
|
26
|
+
- @adobe/aio-commerce-lib-webhooks@1.2.1
|
|
17
27
|
|
|
18
28
|
## 1.10.0
|
|
19
29
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
16
16
|
const require_rolldown_runtime = require('../../rolldown-runtime-CDQd2xEI.cjs');
|
|
17
17
|
const require_environment = require('../../environment-B6533pAY.cjs');
|
|
18
|
-
const require_validate = require('../../validate-
|
|
18
|
+
const require_validate = require('../../validate-D0MtmDu5.cjs');
|
|
19
19
|
const require_router = require('../../router-CxDTb6r1.cjs');
|
|
20
20
|
let _adobe_aio_commerce_lib_config = require("@adobe/aio-commerce-lib-config");
|
|
21
21
|
let valibot = require("valibot");
|
|
@@ -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-OeedZiaW.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 = `1.11.0
|
|
83
|
+
const input = `1.11.0:${[...domains].sort().join(",")}:2.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. */
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import "../../index-DWEigxhy.cjs";
|
|
16
|
-
import { n as CommerceAppConfig } from "../../app-
|
|
16
|
+
import { n as CommerceAppConfig } from "../../app-CSqkACEm.cjs";
|
|
17
17
|
import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
|
|
18
18
|
//#region source/actions/app-config/router.d.ts
|
|
19
19
|
/** The arguments required to create the runtime action for the app-config action. */
|