@delight-rpc/child-process 0.4.2 → 0.4.3

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
@@ -94,7 +94,7 @@ function createServer<IAPI extends object>(
94
94
  , options?: {
95
95
  parameterValidators?: DelightRPC.ParameterValidators<IAPI>
96
96
  version?: `${number}.${number}.${number}`
97
- channel?: string
97
+ channel?: string | RegExp | AnyChannel
98
98
  ownPropsOnly?: boolean
99
99
  }
100
100
  ): () => void
package/lib/client.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import * as DelightRPC from 'delight-rpc';
3
4
  import { ChildProcess } from 'child_process';
4
5
  import { CustomError } from '@blackglory/errors';
package/lib/server.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import * as DelightRPC from 'delight-rpc';
3
4
  import { ChildProcess } from 'child_process';
4
5
  export declare function createServer<IAPI extends object>(api: DelightRPC.ImplementationOf<IAPI>, process: ChildProcess | NodeJS.Process, { parameterValidators, version, channel, ownPropsOnly }?: {
5
6
  parameterValidators?: DelightRPC.ParameterValidators<IAPI>;
6
7
  version?: `${number}.${number}.${number}`;
7
- channel?: string;
8
+ channel?: string | RegExp | typeof DelightRPC.AnyChannel;
8
9
  ownPropsOnly?: boolean;
9
10
  }): () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delight-rpc/child-process",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "files": [
@@ -30,15 +30,15 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@blackglory/jest-matchers": "^0.3.1",
33
- "@commitlint/cli": "^17.0.0",
34
- "@commitlint/config-conventional": "^17.0.0",
33
+ "@commitlint/cli": "^17.0.2",
34
+ "@commitlint/config-conventional": "^17.0.2",
35
35
  "@types/jest": "^27.5.1",
36
36
  "@types/node": "14",
37
- "@typescript-eslint/eslint-plugin": "^5.25.0",
38
- "@typescript-eslint/parser": "^5.25.0",
37
+ "@typescript-eslint/eslint-plugin": "^5.29.0",
38
+ "@typescript-eslint/parser": "^5.29.0",
39
39
  "cross-env": "^7.0.3",
40
- "delight-rpc": "^4.1.0",
41
- "eslint": "8.16.0",
40
+ "delight-rpc": "^4.2.1",
41
+ "eslint": "8.18.0",
42
42
  "husky": "4",
43
43
  "jest": "^27.5.1",
44
44
  "npm-run-all": "^4.1.5",
@@ -46,18 +46,18 @@
46
46
  "rimraf": "^3.0.2",
47
47
  "standard-version": "^9.5.0",
48
48
  "ts-jest": "^27.1.4",
49
- "ts-node": "^10.7.0",
49
+ "ts-node": "^10.8.1",
50
50
  "ts-patch": "^2.0.1",
51
- "typescript": "^4.6.4",
51
+ "typescript": "^4.7.4",
52
52
  "typescript-transform-paths": "^3.3.1"
53
53
  },
54
54
  "dependencies": {
55
55
  "@blackglory/errors": "^2.2.1",
56
- "@blackglory/prelude": "^0.1.1",
56
+ "@blackglory/prelude": "^0.1.2",
57
57
  "@delight-rpc/protocol": "^2.2.0",
58
- "extra-promise": "^2.0.0"
58
+ "extra-promise": "^2.2.0"
59
59
  },
60
60
  "peerDependencies": {
61
- "delight-rpc": "^4.1.0"
61
+ "delight-rpc": "^4.2.1"
62
62
  }
63
63
  }