json-rpc-engine
Advanced tools
Changelog
[6.0.0] - 2020-11-19
JsonRpcEngine
methods (#70)asMiddleware
to instance method (#69)
asMiddleware
export has been removed.JsonRpcEngine.handle()
, and error responses if they fail (#70)
method
property is not a string
. Empty strings are allowed.next
middleware callback is called with a truthy, non-function parameter.Promise.then
and .catch
internally (#70)JsonRpcEngine
methods static
(#71)Changelog
[5.3.0] - 2020-07-30
stack
propertyChangelog
[5.2.0] - 2020-07-24
engine.handle
(#55)
engine.handle(request, callback)
, you can do e.g. await engine.handle(request)
.async
and promise-to-callback
dependencies
async
/await
, which means that some operations are no longer eagerly executed.
This change may affect consumers that depend on the eager execution of middleware during request processing, outside of middleware functions and request handlers.