@delight-rpc/child-process 0.2.3 → 0.2.4

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.
package/README.md CHANGED
@@ -74,7 +74,7 @@ function createClient<IAPI extends object>(
74
74
  ### createServer
75
75
  ```ts
76
76
  function createServer<IAPI extends object>(
77
- api: IAPI
77
+ api: DelightRPC.ImplementationOf<IAPI>
78
78
  , process: ChildProcess | NodeJS.Process
79
79
  , parameterValidators?: DelightRPC.ParameterValidators<IAPI>
80
80
  ): () => void
package/lib/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /// <reference types="node" />
2
2
  import * as DelightRPC from 'delight-rpc';
3
3
  import { ChildProcess } from 'child_process';
4
- export declare function createServer<IAPI extends object>(api: IAPI, process: ChildProcess | NodeJS.Process, parameterValidators?: DelightRPC.ParameterValidators<IAPI>): () => void;
4
+ export declare function createServer<IAPI extends object>(api: DelightRPC.ImplementationOf<IAPI>, process: ChildProcess | NodeJS.Process, parameterValidators?: DelightRPC.ParameterValidators<IAPI>): () => void;
package/lib/server.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAyC;AAGzC,SAAgB,YAAY,CAC1B,GAAS,EACT,OAAsC,EACtC,mBAA0D;IAE1D,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;IAC9B,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;IAE5C,KAAK,UAAU,OAAO,CAAC,GAAQ;QAC7B,IAAI,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;YAC7B,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,mBAAmB,CAAC,CAAA;YAE7E,OAAO,CAAC,IAAK,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;AACH,CAAC;AAfD,oCAeC"}
1
+ {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,wDAAyC;AAGzC,SAAgB,YAAY,CAC1B,GAAsC,EACtC,OAAsC,EACtC,mBAA0D;IAE1D,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;IAC9B,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;IAE5C,KAAK,UAAU,OAAO,CAAC,GAAQ;QAC7B,IAAI,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;YAC7B,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,mBAAmB,CAAC,CAAA;YAE7E,OAAO,CAAC,IAAK,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;AACH,CAAC;AAfD,oCAeC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delight-rpc/child-process",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "files": [
@@ -37,12 +37,12 @@
37
37
  "@typescript-eslint/eslint-plugin": "^5.9.0",
38
38
  "@typescript-eslint/parser": "^5.9.0",
39
39
  "cross-env": "^7.0.3",
40
- "delight-rpc": "^1.2.0",
40
+ "delight-rpc": "^1.2.1",
41
41
  "eslint": "8.6.0",
42
42
  "husky": "4",
43
- "jest": "^27.4.3",
43
+ "jest": "^27.4.7",
44
44
  "npm-run-all": "^4.1.5",
45
- "return-style": "^0.12.5",
45
+ "return-style": "^0.12.6",
46
46
  "rimraf": "^3.0.2",
47
47
  "standard-version": "^9.3.2",
48
48
  "ts-jest": "^27.0.7",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@blackglory/errors": "^1.1.2",
56
- "extra-promise": "^0.21.0"
56
+ "extra-promise": "^0.21.1"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "delight-rpc": "^1.2.0"