@adea-ai/app-framework 0.36.0 → 0.36.1

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.
@@ -1 +1 @@
1
- {"version":"0.36.0","commit":"1debd6201aa32d22b16f10c02af9513b43a6d95d"}
1
+ {"version":"0.36.1","commit":"eef3e501b381729aecc51df31b0deefef9030808"}
@@ -93,11 +93,12 @@ async function packagedClientLayout(options, platform) {
93
93
  /**
94
94
  * Load every retained generation's client manifest while its lease is held. The
95
95
  * loads run concurrently; all of them settle before a failure releases the
96
- * leases, so no load still reads a tree that may be pruned.
96
+ * leases, so no load still reads a tree that may be pruned. A loader that
97
+ * throws synchronously is treated as a rejected load.
97
98
  */
98
99
  async function loadRetainedClientAssets(trees, clientRelative, loadManifest, release) {
99
100
  const roots = trees.map(({ tree }) => join(tree, clientRelative));
100
- const loaded = await Promise.allSettled(roots.map((root) => loadManifest(root)));
101
+ const loaded = await Promise.allSettled(roots.map((root) => Promise.resolve().then(() => loadManifest(root))));
101
102
  const failed = loaded.find((outcome) => outcome.status === "rejected");
102
103
  if (!failed) return roots.map((root, index) => ({
103
104
  root,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/app-framework",
3
- "version": "0.36.0",
3
+ "version": "0.36.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",