@astrale-os/adapter-cloudflare 0.5.0-beta.134 → 0.5.0-beta.136

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.
@@ -14,8 +14,8 @@ function isInstanceHost(host: string): boolean {
14
14
  ? ''
15
15
  : `
16
16
  routeSubrequest: (url, env) => {
17
- const labels = url.hostname.split('.')
18
- if (env.DISPATCHER && labels[1] === 'svc') return env.DISPATCHER.get(labels[0]!)
17
+ // Services own their public ingress, including retirement and private-route isolation.
18
+ if (url.hostname.split('.')[1] === 'svc') return null
19
19
  if (env.${router.binding} && isInstanceHost(url.hostname)) return env.${router.binding}
20
20
  return null
21
21
  },`;
@@ -14,9 +14,6 @@ export interface CloudflareAdapterBindings {
14
14
  readonly IDENTITY_ISS?: string;
15
15
  readonly ASSETS?: Fetcher;
16
16
  readonly SELF?: Fetcher;
17
- readonly DISPATCHER?: {
18
- get(name: string): Fetcher;
19
- };
20
17
  }
21
18
  export interface CloudflareWorkerConfig<RuntimeValue extends Runtime, Bindings extends CloudflareAdapterBindings, Environment, Material = BuildMaterial> {
22
19
  /** Generated frontend evidence available without restoring the execution Build. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/adapter-cloudflare",
3
- "version": "0.5.0-beta.134",
3
+ "version": "0.5.0-beta.136",
4
4
  "description": "Deploy an Astrale application through Cloudflare Workers",
5
5
  "keywords": [
6
6
  "adapter",
@@ -53,7 +53,7 @@
53
53
  "registry": "https://registry.npmjs.org/"
54
54
  },
55
55
  "dependencies": {
56
- "@astrale-os/sdk": "0.5.0-beta.131",
56
+ "@astrale-os/sdk": "0.5.0-beta.133",
57
57
  "@noble/hashes": "2.3.0",
58
58
  "hono": "^4.6.20",
59
59
  "jose": "^6.1.3",