kuberpc-node 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/kuberpc.js +3 -3
  2. package/package.json +1 -1
package/dist/kuberpc.js CHANGED
@@ -18,9 +18,9 @@ const axios_1 = __importDefault(require("axios"));
18
18
  const msgpackr_1 = require("msgpackr");
19
19
  const errors_1 = require("./errors");
20
20
  // Wire format (positional arrays - avoids encoding key strings on every call):
21
- // request [method: string, args: object]
22
- // response [null, result] on success
23
- // response [errorMsg: string] on error
21
+ // request: [method: string, args: object]
22
+ // response: [null, result] on success
23
+ // response: [errorMsg: string] on error
24
24
  const DEFAULT_RPC_PORT = 7749;
25
25
  class ServiceProxy {
26
26
  constructor(name, rpc) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kuberpc-node",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Node.js SDK for kubeRPC. Register and invoke service methods over raw TCP.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",