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

arpc

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arpc - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

9

package.json
{
"name": "arpc",
"version": "1.0.2",
"version": "1.0.3",
"description": "a node RPC library base on socket.io",
"repository": "https://github.com/Anillc/arpc.git",
"main": "lib/rpc.js",
"repository": "https://github.com/Anillc/arpc.git",
"typings": "types/*.d.ts",
"author": "anillc",

@@ -12,3 +13,5 @@ "license": "MIT",

"client.js",
"server.js"
"server.js",
"client.d.ts",
"server.d.ts"
],

@@ -15,0 +18,0 @@ "scripts": {

@@ -54,4 +54,4 @@ # arpc

- `obj: any` the object we provide for the remote calling
- `onConnected: (object: Promise) => undefined` the function which will be called when a client connects
- `onDisconnect: (socket: Socket, reason: string) => undefined` the function which will be called when a client disconnects
- `onConnected: (object: Promise) => undefined` (optional) the function which will be called when a client connects
- `onDisconnect: (socket: Socket, reason: string) => undefined` (optional) the function which will be called when a client disconnects
- `getServer(obj = null)` creates a remote object from the server

@@ -58,0 +58,0 @@ - paramaters

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