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

arc-rpc

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arc-rpc - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

2

package.json
{
"name": "arc-rpc",
"version": "1.0.2",
"version": "1.1.0",
"description": "Asynchronous Remote Classes make RPC simple",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,4 @@ # Arc RPC

console.log("Remotely called by server, calling server method.")
await rpc.genClass().shit()
let server = rpc.genClass()
await server.serverTest()
console.log("Called remote server method!")

@@ -51,5 +52,6 @@ }

rpcMaster.on("client", (clientRpc) => {
console.log("Got new client, remotely calling client test.")
let client = clientRpc.genClass()
await client.clientTest()
console.log("Done!")
console.log("Remotely called client test!")
})

@@ -56,0 +58,0 @@ ```

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