@toa.io/extensions.realtime 1.0.0-alpha.303 → 1.0.0-alpha.305

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.
@@ -46,4 +46,7 @@ stash: ~
46
46
  exposition:
47
47
  /:key:
48
48
  auth:id: key
49
- GET: create
49
+ GET:
50
+ endpoint: create
51
+ # an effect: opening a stream is not a read, and `GET` is the method a client opens one with
52
+ io:readonly: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/extensions.realtime",
3
- "version": "1.0.0-alpha.303",
3
+ "version": "1.0.0-alpha.305",
4
4
  "type": "module",
5
5
  "description": "Toa Realtime",
6
6
  "author": "temich <tema.gurtovoy@gmail.com>",
@@ -26,14 +26,14 @@
26
26
  "!**/.env*"
27
27
  ],
28
28
  "dependencies": {
29
- "@toa.io/core": "1.0.0-alpha.303",
30
- "@toa.io/definitions": "1.0.0-alpha.303",
31
- "@toa.io/generic": "1.0.0-alpha.301",
32
- "openspan": "1.0.0-alpha.303"
29
+ "@toa.io/core": "1.0.0-alpha.305",
30
+ "@toa.io/definitions": "1.0.0-alpha.305",
31
+ "@toa.io/generic": "1.0.0-alpha.304",
32
+ "openspan": "1.0.0-alpha.305"
33
33
  },
34
34
  "scripts": {
35
35
  "transpile": "npx tsc && npx tsc -p ./components/realtime.streams",
36
36
  "features": "TSX_TSCONFIG_PATH=features/steps/tsconfig.json NODE_OPTIONS=--import=tsx cucumber-js"
37
37
  },
38
- "gitHead": "b8e9dd89f6d49756944687a95dfc786f12947286"
38
+ "gitHead": "6a28476303826e2484cc2ea6306efee6f19fb594"
39
39
  }
package/readme.md CHANGED
@@ -106,10 +106,14 @@ Realtime extension, and are
106
106
  accessible via the `/realtime/streams/:key/` resource with
107
107
  the [`auth:id: key`](/extensions/exposition/documentation/access.md#id) authorization rule.
108
108
 
109
+ Opening a stream is not a read, and `GET` is the method a client opens one with, so the route
110
+ declares [`io:readonly: false`](/extensions/exposition/documentation/io.md#readonly).
111
+
109
112
  Refer to the [Exposition extension](/extensions/exposition) for more details:
110
113
 
111
114
  - [Multipart responses](/extensions/exposition/documentation/protocol.md#multipart-types)
112
115
  - [Access authorization](/extensions/exposition/documentation/access.md)
116
+ - [Readonly chains](/documentation/readonly.md)
113
117
 
114
118
  ## Resources management
115
119