@kavo/sse 0.17.3 → 0.18.0

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
@@ -92,11 +92,11 @@ unconditional `"deleted"`-event bypass.
92
92
 
93
93
  Once `subscribableFields` is configured for an entity, it bounds every
94
94
  outgoing `item` **unconditionally** — not only when a subscriber names
95
- `fields` — the same way `allowlists.selectable`
95
+ `fields` — the same way `allowed.selectable`
96
96
  bounds a REST response whether or not the caller asked for a subset. An
97
97
  optional `fields` query param (comma-separated) narrows further within
98
98
  that bound; a field outside it (or outside `subscribableFields`, when no
99
- `fields` param is given) gets a `400` the same way `allowlists.selectable`
99
+ `fields` param is given) gets a `400` the same way `allowed.selectable`
100
100
  rejects an unlisted field over REST.
101
101
 
102
102
  A connection that cannot keep up with its publish rate (the writable
@@ -5,7 +5,7 @@ import type { EntityMetadata, RealtimeFieldSelector, RealtimeTransport, Resolved
5
5
  * string for one entity — the same two pieces `DefaultFilterParser` and
6
6
  * `Filter.parse` already need for REST: `metadata` for column-kind-aware
7
7
  * value coercion, `config` for the `filterable` allowlist and the
8
- * `query.maxFilterDepth`/`maxInValues` limits. `@kavo/sse` has no config
8
+ * `limits.filterDepth`/`limits.inValues` limits. `@kavo/sse` has no config
9
9
  * resolution of its own (same reason `subscribableFields` is a callback,
10
10
  * not a lookup this package performs itself), so the host app supplies
11
11
  * both — typically `service.engine.metadata`/`service.engine.config` off
@@ -36,14 +36,14 @@ export interface SseTransportOptions {
36
36
  * app already configured via `createCrud` — this package has no config
37
37
  * resolution of its own, so the caller supplies the lookup. A request
38
38
  * naming a `fields` query param outside the allowlist is rejected with
39
- * `400` before the stream opens, the same way `allowlists.selectable`
39
+ * `400` before the stream opens, the same way `allowed.selectable`
40
40
  * rejects an unlisted field over REST. Returning `undefined` (including
41
41
  * when the callback itself is omitted) means no allowlist is configured
42
42
  * for that entity, so any requested field is accepted.
43
43
  *
44
44
  * Once configured, this allowlist is also enforced **unconditionally** on
45
45
  * every outgoing `item` for that entity — not only when a subscriber
46
- * names `fields` — the same way `allowlists.selectable` bounds a REST
46
+ * names `fields` — the same way `allowed.selectable` bounds a REST
47
47
  * response whether or not the caller asked for a subset. A `fields`
48
48
  * query param narrows further *within* that bound; it can never widen
49
49
  * past it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kavo/sse",
3
- "version": "0.17.3",
3
+ "version": "0.18.0",
4
4
  "description": "Kavo SSE realtime transport — implements @kavo/core's RealtimeTransport over Server-Sent Events, plain HTTP with no required peer library.",
5
5
  "license": "Apache-2.0",
6
6
  "engines": {
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@kavo/core": "^0.17.3"
30
+ "@kavo/core": "^0.18.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsc -b"