Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@matrixai/rpc

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matrixai/rpc - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

12

dist/middleware.d.ts

@@ -23,4 +23,4 @@ /// <reference types="node" />

declare function timeoutMiddlewareServer(ctx: ContextTimed, _cancel: (reason?: any) => void, _meta: Record<string, JSONValue> | undefined): {
forward: TransformStream<JSONRPCRequest<import("./types").JSONRPCRequestParams<import("./types").JSONObject, import("./types").JSONObject>>, JSONRPCRequest<import("./types").JSONRPCRequestParams<import("./types").JSONObject, import("./types").JSONObject>>>;
reverse: TransformStream<JSONRPCResponse<import("./types").JSONRPCResponseResult<import("./types").JSONObject, import("./types").JSONObject>>, JSONRPCResponse<import("./types").JSONRPCResponseResult<import("./types").JSONObject, import("./types").JSONObject>>>;
forward: TransformStream<JSONRPCRequest, JSONRPCRequest>;
reverse: TransformStream<JSONRPCResponse, JSONRPCResponse>;
};

@@ -35,4 +35,4 @@ /**

declare function timeoutMiddlewareClient(ctx: ContextTimed, _cancel: (reason?: any) => void, _meta: Record<string, JSONValue> | undefined): {
forward: TransformStream<JSONRPCRequest<import("./types").JSONRPCRequestParams<import("./types").JSONObject, import("./types").JSONObject>>, JSONRPCRequest<import("./types").JSONRPCRequestParams<import("./types").JSONObject, import("./types").JSONObject>>>;
reverse: TransformStream<JSONRPCResponse<JSONRPCResponse<import("./types").JSONRPCResponseResult<import("./types").JSONObject, import("./types").JSONObject>>>, JSONRPCResponse<JSONRPCResponse<import("./types").JSONRPCResponseResult<import("./types").JSONObject, import("./types").JSONObject>>>>;
forward: TransformStream<JSONRPCRequest, JSONRPCRequest>;
reverse: TransformStream<JSONRPCResponse<JSONRPCResponse>, JSONRPCResponse<JSONRPCResponse>>;
};

@@ -44,4 +44,4 @@ /**

declare function defaultMiddleware(): {
forward: TransformStream<JSONRPCRequest<import("./types").JSONRPCRequestParams<import("./types").JSONObject, import("./types").JSONObject>>, JSONRPCRequest<import("./types").JSONRPCRequestParams<import("./types").JSONObject, import("./types").JSONObject>>>;
reverse: TransformStream<JSONRPCResponse<import("./types").JSONRPCResponseResult<import("./types").JSONObject, import("./types").JSONObject>>, JSONRPCResponse<import("./types").JSONRPCResponseResult<import("./types").JSONObject, import("./types").JSONObject>>>;
forward: TransformStream<JSONRPCRequest, JSONRPCRequest>;
reverse: TransformStream<JSONRPCResponse, JSONRPCResponse>;
};

@@ -48,0 +48,0 @@ /**

{
"name": "@matrixai/rpc",
"version": "0.4.2",
"version": "0.4.3",
"author": "Matrix AI",

@@ -11,2 +11,5 @@ "contributors": [

"name": "Roger Qiu"
},
{
"name": "Amy Yan"
}

@@ -34,37 +37,37 @@ ],

},
"dependencies": {
"@matrixai/async-init": "^1.10.0",
"@matrixai/contexts": "^1.2.0",
"@matrixai/errors": "^1.2.0",
"@matrixai/events": "^3.2.3",
"@matrixai/logger": "^3.1.2",
"@streamparser/json": "^0.0.17"
},
"devDependencies": {
"@swc/core": "^1.3.62",
"@swc/jest": "^0.2.26",
"@types/jest": "^28.1.3",
"@types/node": "^18.15.0",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.1",
"@fast-check/jest": "^1.1.0",
"@swc/core": "1.3.82",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.2",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"benny": "^3.7.1",
"common-tags": "^1.8.2",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.1",
"jest-extended": "^3.0.1",
"jest-junit": "^14.0.0",
"prettier": "^2.6.2",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0-alpha.2",
"ix": "^5.0.0",
"jest": "^29.6.2",
"jest-extended": "^4.0.0",
"jest-junit": "^16.0.0",
"prettier": "^3.0.0",
"shx": "^0.3.4",
"systeminformation": "^5.18.5",
"ts-jest": "^28.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.9.0",
"typedoc": "^0.23.21",
"typescript": "^4.9.3",
"@fast-check/jest": "^1.1.0"
},
"dependencies": {
"@matrixai/async-init": "^1.9.4",
"@matrixai/contexts": "^1.2.0",
"@matrixai/logger": "^3.1.0",
"@matrixai/errors": "^1.2.0",
"@matrixai/events": "^3.2.0",
"@streamparser/json": "^0.0.17",
"ix": "^5.0.0"
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
}
}

@@ -524,4 +524,1 @@ # js-rpc

```
Domains Diagram:
![diagram_encapuslated.svg](images%2Fdiagram_encapuslated.svg)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc