Comparing version 1.0.2 to 1.1.0
{ | ||
"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 @@ ``` |
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
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
9140
60