@frockbot/catalog-core 0.3.1 → 0.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frockbot/catalog-core",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,7 +11,7 @@
11
11
  "typecheck": "tsc --noEmit -p tsconfig.json"
12
12
  },
13
13
  "dependencies": {
14
- "@frockbot/kernel-composition": "0.3.1"
14
+ "@frockbot/kernel-composition": "0.3.3"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/bun": "1.3.6",
package/src/index.test.ts CHANGED
@@ -324,10 +324,17 @@ describe("catalog entry decoding", () => {
324
324
  },
325
325
  });
326
326
 
327
+ // The Catalog carries a released single-page record; the manifest decoder
328
+ // migrates it forward to the one multi-page shape.
327
329
  expect(decoded.bundle?.manifest.contributions.client).toEqual({
328
330
  kind: "iframe",
329
- artifact: uiArtifact,
330
- mounts: [{ slot: "frockbot.tool-result:track_parcel" }],
331
+ pages: [
332
+ {
333
+ id: "main",
334
+ artifact: uiArtifact,
335
+ mounts: [{ slot: "frockbot.tool-result:track_parcel" }],
336
+ },
337
+ ],
331
338
  });
332
339
  });
333
340