@adobe/aio-commerce-lib-app 1.11.0-alpha-20260817121031 → 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.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -10
  2. package/dist/cjs/actions/app-config/index.cjs +3 -3
  3. package/dist/cjs/actions/app-config/index.d.cts +1 -1
  4. package/dist/cjs/actions/installation/index.cjs +236 -920
  5. package/dist/cjs/actions/installation/index.d.cts +4 -5
  6. package/dist/cjs/{app-B6NbKRr4.d.cts → app-CSqkACEm.d.cts} +0 -2
  7. package/dist/cjs/commands/index.cjs +123 -160
  8. package/dist/cjs/commands/templates/admin-ui/web-src/index.html +1 -1
  9. package/dist/cjs/config/index.browser.d.cts +1 -1
  10. package/dist/cjs/config/index.node.cjs +2 -2
  11. package/dist/cjs/config/index.node.d.cts +2 -4
  12. package/dist/{es/define-1_BUUPMg.d.mts → cjs/define-BuploXfU.d.cts} +1 -1
  13. package/dist/{es/index-DX8HwLbC.d.mts → cjs/index-NxK_-lg1.d.cts} +154 -361
  14. package/dist/cjs/index.cjs +1 -1
  15. package/dist/cjs/{index.node-tYWB-tuZ.cjs → index.node-DOJpf00H.cjs} +1 -1
  16. package/dist/cjs/management/index.cjs +1 -1
  17. package/dist/cjs/management/index.d.cts +2 -2
  18. package/dist/cjs/{management-adJMNYeZ.cjs → management-BeVfzKuc.cjs} +216 -405
  19. package/dist/cjs/{openapi-C_y_Y5YX.cjs → openapi-OeedZiaW.cjs} +1 -1
  20. package/dist/cjs/{utils-3iW2-JiF.cjs → utils-CGZGfXuy.cjs} +1 -1
  21. package/dist/cjs/{validate-JFPMmboE.cjs → validate-D0MtmDu5.cjs} +44 -1
  22. package/dist/es/actions/app-config/index.d.mts +1 -1
  23. package/dist/es/actions/app-config/index.mjs +3 -3
  24. package/dist/es/actions/installation/index.d.mts +4 -5
  25. package/dist/es/actions/installation/index.mjs +236 -920
  26. package/dist/es/{app-B6NbKRr4.d.mts → app-CSqkACEm.d.mts} +0 -2
  27. package/dist/es/commands/index.mjs +123 -159
  28. package/dist/es/commands/templates/admin-ui/web-src/index.html +1 -1
  29. package/dist/es/config/index.browser.d.mts +1 -1
  30. package/dist/es/config/index.node.d.mts +2 -4
  31. package/dist/es/config/index.node.mjs +2 -2
  32. package/dist/{cjs/define-CnCtE1d2.d.cts → es/define-DzMn3tWf.d.mts} +1 -1
  33. package/dist/{cjs/index-BuGtjZBT.d.cts → es/index-DsHq4q57.d.mts} +154 -361
  34. package/dist/es/index.mjs +1 -1
  35. package/dist/es/{index.node-BeMjO8aw.mjs → index.node-DNuu7iVd.mjs} +1 -1
  36. package/dist/es/management/index.d.mts +2 -2
  37. package/dist/es/management/index.mjs +1 -1
  38. package/dist/es/{management-BKYmP9N8.mjs → management-CfYDBXqP.mjs} +217 -328
  39. package/dist/es/{openapi-Brn9plmt.mjs → openapi-BPfnmdpl.mjs} +1 -1
  40. package/dist/es/{utils-BnmDHPW2.mjs → utils-D0O4r9jr.mjs} +1 -1
  41. package/dist/es/{validate-DIayUTra.mjs → validate-8S9d1BDo.mjs} +34 -3
  42. package/package.json +53 -53
package/CHANGELOG.md CHANGED
@@ -1,23 +1,29 @@
1
1
  # @adobe/aio-commerce-lib-app
2
2
 
3
- ## 1.11.0-alpha-20260817121031
4
- ### Minor Changes
5
-
6
-
7
-
8
- - [#613](https://github.com/adobe/aio-commerce-sdk/pull/613) [`f688120`](https://github.com/adobe/aio-commerce-sdk/commit/f68812028514db4afb81b3b016dc5af1d1d57e62) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Generalize the workflow engine to lifecycle-neutral names (`LifecycleContext`, `WorkflowData`, `WorkflowError`, `WorkflowRunState` and its variants, `WorkflowStateMetadata`, `WorkflowHooks`) so it can be reused across lifecycle modules. The previous installation-branded type names remain exported as `@deprecated` aliases.
9
-
3
+ ## 1.11.0
10
4
 
5
+ ### Minor Changes
11
6
 
12
- - [#623](https://github.com/adobe/aio-commerce-sdk/pull/623) [`240cf23`](https://github.com/adobe/aio-commerce-sdk/commit/240cf236e56cef18257db10cb812896c413a73b3) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Add automatic and manual post-deployment upgrade orchestration.
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`.
13
8
 
9
+ ### Patch Changes
14
10
 
11
+ - Updated dependencies [[`f3ea3a6`](https://github.com/adobe/aio-commerce-sdk/commit/f3ea3a64ac59c978f28865274fa282ec991ea529)]:
12
+ - @adobe/aio-commerce-lib-config@1.7.0
15
13
 
16
- - [#621](https://github.com/adobe/aio-commerce-sdk/pull/621) [`03c4cc3`](https://github.com/adobe/aio-commerce-sdk/commit/03c4cc3958ccd9425f55c891b352d9804a466269) Thanks [@obarcelonap](https://github.com/obarcelonap)! - Add upgrade planning support for webhook additions and removals: the webhooks step now diffs the baseline snapshot against the target configuration to add newly configured webhooks and remove ones dropped from it.
14
+ ## 1.10.1
17
15
 
16
+ ### Patch Changes
18
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).
19
19
 
20
- - [#614](https://github.com/adobe/aio-commerce-sdk/pull/614) [`01d5013`](https://github.com/adobe/aio-commerce-sdk/commit/01d5013015cac472220b6c69dcb25f101a682c33) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Use `isConfigured` when defining lifecycle steps to identify whether their domain is present in app configuration. The deprecated `when` predicate remains supported for compatibility.
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
21
27
 
22
28
  ## 1.10.0
23
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-JFPMmboE.cjs');
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-C_y_Y5YX.cjs"));
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-alpha-20260817121031:${[...domains].sort().join(",")}:2.0.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-B6NbKRr4.cjs";
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. */