@fabrika/auth 0.9.0-cloudflare.2 → 0.9.0-cloudflare.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/rpc-http.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/auth",
3
- "version": "0.9.0-cloudflare.2",
3
+ "version": "0.9.0-cloudflare.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "zod": "^3.25.76",
31
- "@fabrika/auth-core": "0.9.0-cloudflare.2",
32
- "@fabrika/jwks": "0.9.0-cloudflare.2",
31
+ "@fabrika/auth-core": "0.9.0-cloudflare.3",
32
+ "@fabrika/jwks": "0.9.0-cloudflare.3",
33
33
  "jose": "^5.9.0"
34
34
  }
35
35
  }
package/src/rpc-http.ts CHANGED
@@ -366,7 +366,7 @@ function transportEndpoint(options: HttpIamRpcOptions, prefix: string): Transpor
366
366
  prefix,
367
367
  key: options.key,
368
368
  timeoutMs: options.timeoutMs ?? DEFAULT_TIMEOUT_MS,
369
- fetch: options.fetch ?? globalThis.fetch,
369
+ fetch: options.fetch ?? globalThis.fetch.bind(globalThis),
370
370
  }
371
371
  }
372
372