iii-browser-sdk 0.23.0-rc.2 → 0.23.0-rc.5

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/README.md +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,12 +17,14 @@ The browser SDK turns your frontend into an iii Worker enabling:
17
17
  ## Install
18
18
 
19
19
  ```bash
20
- npm install iii-browser-sdk
20
+ pnpm add iii-browser-sdk
21
21
  ```
22
22
 
23
- ## Add iii-worker-manager
23
+ ## Configure a public worker-manager listener
24
24
 
25
- For the iii instance run: `iii worker add iii-worker-manager` to connect workers that run on untrusted clients like a user's browser.
25
+ `iii-worker-manager` is engine-owned. Add an RBAC-protected `#instance` listener under
26
+ `engine.workers`, for example `iii-worker-manager#browser`; do not expose the private listener to
27
+ untrusted browser clients.
26
28
 
27
29
  Refer to the [iii-worker-manager](https://workers.iii.dev/workers/iii-worker-manager) documentation for more information.
28
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iii-browser-sdk",
3
- "version": "0.23.0-rc.2",
3
+ "version": "0.23.0-rc.5",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"