@astrale-os/kernel-client 0.6.0-beta.60 → 0.6.0-beta.62

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.
@@ -33,7 +33,8 @@ export class BundleDiscovery {
33
33
  const immutable = href === bundleUrl(publication.identity.issuer, publication.schema.bundle.ref);
34
34
  const response = await runAcquisition(operation, 'bundle', 'unknown', 'Kernel bundle could not be retrieved.', (signal) => this.options.fetch(href, {
35
35
  headers: { accept: publication.schema.bundle.ref.mediaType },
36
- cache: immutable ? 'default' : 'no-cache',
36
+ // Omitting `cache` is the browser default; Workers reject the DOM-only 'default' mode.
37
+ cache: immutable ? undefined : 'no-cache',
37
38
  redirect: 'manual',
38
39
  signal,
39
40
  }));
@@ -17,6 +17,7 @@ export function rootViewCatalog(publication, artifact, policy) {
17
17
  href: binding.href,
18
18
  handshake: binding.handshake,
19
19
  ...(binding.iframe === undefined ? {} : { iframe: binding.iframe }),
20
+ ...(binding.host === undefined ? {} : { host: binding.host }),
20
21
  issuer: publication.identity.issuer,
21
22
  etag: publication.etag,
22
23
  revision: publication.schema.revision,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/kernel-client",
3
- "version": "0.6.0-beta.60",
3
+ "version": "0.6.0-beta.62",
4
4
  "description": "Universal Client — protocol-first, transport-agnostic",
5
5
  "keywords": [
6
6
  "astrale",
@@ -65,14 +65,14 @@
65
65
  "access": "public"
66
66
  },
67
67
  "dependencies": {
68
- "@astrale-os/kernel-core": "0.9.0-beta.46",
68
+ "@astrale-os/kernel-core": "0.9.0-beta.47",
69
69
  "@astrale-os/kernel-dsl": "0.2.0-beta.33",
70
- "@astrale-os/kernel-protocol": "0.5.0-beta.51",
70
+ "@astrale-os/kernel-protocol": "0.5.0-beta.53",
71
71
  "@tanstack/pacer": "0.20.1",
72
72
  "msgpackr": "^2.0.5"
73
73
  },
74
74
  "devDependencies": {
75
- "@astrale-os/kernel-server": "0.5.0-beta.53",
75
+ "@astrale-os/kernel-server": "0.5.0-beta.55",
76
76
  "@astrale/typescript-config": "npm:@jsr/astrale__typescript-config@~1.1.0",
77
77
  "@types/node": "^22.0.0",
78
78
  "typescript": "7.0.2",
@@ -81,7 +81,7 @@
81
81
  "scripts": {
82
82
  "build": "tsc",
83
83
  "dev": "tsc --watch",
84
- "typecheck": "tsc --noEmit",
84
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.workers.json",
85
85
  "test": "vitest run",
86
86
  "test:boundary:protocol": "vitest run --config vitest.protocol-boundary.config.ts",
87
87
  "test:boundary:server": "vitest run --config vitest.server-boundary.config.ts",