@zerogpu/browser-extension-sdk 0.6.0 → 0.6.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.
package/README.md CHANGED
@@ -228,9 +228,13 @@ What does not change, and what to check:
228
228
  - **`error.name` is unchanged.** A `HeroGpuError` still reports `name === 'ZeroGpuError'`,
229
229
  because code compares that string. Branch on `error.code`, or use `isHeroGpuError(error)`.
230
230
  - **Where the SDK connects.** The default registry and its WebSocket are now on `herogpu.com`.
231
- If your page sets a Content-Security-Policy `connect-src`, or your extension narrowed its
232
- `host_permissions`, add `https://*.herogpu.com` and `wss://*.herogpu.com` next to the
233
- `zerogpu.ai` entries. Model files are still served from the hosts they were served from.
231
+ From 0.6.1, when the page cannot reach `herogpu.com` (a Content-Security-Policy
232
+ `connect-src` or extension `host_permissions` that list only `zerogpu.ai`, a firewall, DNS),
233
+ the SDK falls back to the same registry on `zerogpu.ai` by itself, and the WebSocket follows.
234
+ Nothing to change for that, though adding `https://*.herogpu.com` and `wss://*.herogpu.com`
235
+ next to the `zerogpu.ai` entries saves the blocked first request (and its CSP report) on
236
+ each page load. (0.6.0 had no fallback.) Model files are still served from the hosts they
237
+ were served from.
234
238
  - **Unchanged addresses and keys.** The loader and CDN (`js-sdk.zerogpu.ai`), the end-user
235
239
  settings page (`zerogpu.ai/extension-settings`) and operator keys (`zgpu-sdk-…`) are the same.
236
240
  `vendor` adds `https://*.herogpu.com/*` to your manifest's `externally_connectable` next to
@@ -1,5 +1,5 @@
1
1
  {
2
- "sdkVersion": "0.6.0+17c3989",
2
+ "sdkVersion": "0.6.1+e3bcd17",
3
3
  "channel": "official",
4
4
  "transformersVersion": "2.17.2",
5
5
  "wllamaVersion": "2.3.5",
@@ -17,5 +17,5 @@
17
17
  "wllama/single-thread/wllama.wasm",
18
18
  "wllama/multi-thread/wllama.wasm"
19
19
  ],
20
- "builtAt": "2026-12-03T13:52:23.789Z"
20
+ "builtAt": "2026-12-04T17:01:59.420Z"
21
21
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "sdkVersion": "0.6.0+17c3989",
2
+ "sdkVersion": "0.6.1+e3bcd17",
3
3
  "channel": "official",
4
4
  "transformersVersion": "2.17.2",
5
5
  "wllamaVersion": "2.3.5",
@@ -17,5 +17,5 @@
17
17
  "wllama/single-thread/wllama.wasm",
18
18
  "wllama/multi-thread/wllama.wasm"
19
19
  ],
20
- "builtAt": "2026-12-03T13:52:23.789Z"
20
+ "builtAt": "2026-12-04T17:01:59.420Z"
21
21
  }