Releases: vgerbot-libraries/web-rpc
Releases · vgerbot-libraries/web-rpc
@vgerbot/web-rpc@3.0.1
Patch Changes
- 3aa2354: Resolve proxy object method lookup issues
@vgerbot/web-rpc@3.0.0
Major Changes
-
999189a: Align message schema with JSON-RPC 2.0.
-
Message structure now follows JSON-RPC 2.0 terminology and semantics
- Rename
invocationId→id(string identifier) - Add
_webrpcmeta object; moveactionandtimestampinto it - Rename
args→params - Remove
status; determine outcome by property existence:'result' in messageor'error' in message
- Rename
-
Error handling
ErrorInfo.codeadded withJSONRPCErrorCodeunion covering -32700, -32600..-32603, -32000..-32099 (with comments)
-
Identifier constraints
-clientIdandportIdmust not contain/BREAKING CHANGES
-
Schema changes:
invocationId→id;args→params;statusremoved;action/timestampmoved under_webrpc -
IDs must not contain
/in their client and port segmentsIMPORTANT
-
Both ends of communication must use the same version to ensure protocol compatibility
-
This is an internal protocol change; ensure all connected clients and servers are updated together
-
@vgerbot/web-rpc@2.0.1
Patch Changes
- 5e268c5: add CDN installation support and restructure README documentation
@vgerbot/web-rpc@2.0.0
Major Changes
- b48bce6: Initial release of web-rpc library with complete RPC functionality