node-mole-rpc icon indicating copy to clipboard operation
node-mole-rpc copied to clipboard

Transport agnostic spec compliant JSON RPC client and server

Results 17 node-mole-rpc issues
Sort by recently updated
recently updated
newest added

I don't have time now to put this into a proper project with autotester tests, but here's PeerJS transport adapter for anyone in need. License MIT. **PeerJsTransportClient.ts** ```typescript import Peer...

If you submit invalid JSON, the parser *blows up* exits the process.

Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...

dependencies

Due to the way the `_init` check is done in [MoleClient.js](https://github.com/koorchik/node-mole-rpc/blob/master/MoleClient.js#L53) you can have it register the `onData` listener multiple times.

This library looks very cool, but it's strange how its one touted feature, custom transports, is poorly documented. I found more success look at the lib's source code than looking...

The JSON-RPC 2.0 specification allows `params` to be either an Array or an Object. However, current `MoleClient` implementation can only accept array; it would reject objects unless it has an...

The code has a bug: if the server sends an error code other than `-32601` and `-32002`, the client shows an unfriendly error: **errorBuilder is not a function**. ```shell $...

The code has a bug: the program below does not terminate right away after all requests have been processed, but has to wait for the 300-second timeout. This patch fixes...

Underscore appears to be legal first character for a method name in jsonrpc 2.0 but the implementation won't allow such method to be found - there's an explicit check against...