@hydranium/protocol 1.0.0-next.225 → 1.0.0-next.227

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
@@ -60,6 +60,7 @@ names, a worked example — is in
60
60
  @hydranium/protocol # transfer documents, references, RPC machinery
61
61
  @hydranium/protocol/data # DataServerProtocol / DataClientProtocol
62
62
  @hydranium/protocol/client # the host-neutral client tier
63
+ @hydranium/protocol/messages # every message it raises, by code
63
64
  @hydranium/protocol/node # process memory and heap-snapshot helpers
64
65
  @hydranium/protocol/testing # test doubles, waiters, catalogue audit
65
66
  @hydranium/protocol/testing/node # the Node-only doubles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydranium/protocol",
3
- "version": "1.0.0-next.225",
3
+ "version": "1.0.0-next.227",
4
4
  "description": "Generic, language-agnostic types, constants, and pure utilities for the hydranium framework.",
5
5
  "keywords": [
6
6
  "hydranium",
package/src/rpc/README.md CHANGED
@@ -43,8 +43,8 @@ data-server head ships with `'data-server/'` by default; adopters that
43
43
  combine the data-server with their own protocol head under one prefix pass
44
44
  their adopter namespace (e.g. `'myapp/'`) on both sides.
45
45
 
46
- Trailing-slash discipline is the adopter's responsibility — `'foo'` is a
47
- literal prefix, not interpreted as a namespace segment.
46
+ A namespace ends in `/` or is empty: `bindRpcMethods` and `createRpcProxy`
47
+ throw a `TypeError` for `'foo'`.
48
48
 
49
49
  ### Notification discrimination: `isNotification`
50
50