@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.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -6
  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 +16 -741
  5. package/dist/cjs/actions/installation/index.d.cts +3 -3
  6. package/dist/cjs/{app-CAin_kvj.d.cts → app-CSqkACEm.d.cts} +0 -2
  7. package/dist/cjs/commands/index.cjs +121 -105
  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-CRhoQvqV.d.mts → cjs/define-BuploXfU.d.cts} +1 -1
  13. package/dist/{es/index-oEOlyMb-.d.mts → cjs/index-NxK_-lg1.d.cts} +156 -379
  14. package/dist/cjs/index.cjs +1 -1
  15. package/dist/cjs/{index.node-B9hDU0rV.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-CdaI8740.cjs → management-BeVfzKuc.cjs} +74 -195
  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-fyt_kL1n.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 +3 -3
  25. package/dist/es/actions/installation/index.mjs +16 -740
  26. package/dist/es/{app-CAin_kvj.d.mts → app-CSqkACEm.d.mts} +0 -2
  27. package/dist/es/commands/index.mjs +124 -108
  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-B465PDm1.d.cts → es/define-DzMn3tWf.d.mts} +1 -1
  33. package/dist/{cjs/index-DD33wnhT.d.cts → es/index-DsHq4q57.d.mts} +156 -379
  34. package/dist/es/index.mjs +1 -1
  35. package/dist/es/{index.node-zgQmVfCA.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-CRAbKyna.mjs → management-CfYDBXqP.mjs} +75 -118
  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-DIxa7JuV.mjs → validate-8S9d1BDo.mjs} +34 -3
  42. 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-alpha-20260811131926
4
- ### Minor Changes
5
-
3
+ ## 1.11.0
6
4
 
5
+ ### Minor Changes
7
6
 
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.
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
- - [#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.
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
- - [#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
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-fyt_kL1n.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-20260811131926:${[...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-CAin_kvj.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. */