Comparing version 1.0.2 to 1.0.3
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3859
5
0
2