@delight-rpc/piscina 0.3.1 → 0.3.2

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
@@ -68,6 +68,7 @@ function createServer<IAPI extends object>(
68
68
  version?: `${number}.${number}.${number}`
69
69
  channel?: string
70
70
  ownPropsOnly?: boolean
71
+ channel?: string | RegExp | AnyChannel
71
72
  }
72
73
  ): (req: unknown) => Promise<unknown>
73
74
  ```
package/lib/server.d.ts CHANGED
@@ -2,6 +2,6 @@ import * as DelightRPC from 'delight-rpc';
2
2
  export declare function createServer<IAPI extends object>(api: DelightRPC.ImplementationOf<IAPI>, { parameterValidators, version, channel, ownPropsOnly }?: {
3
3
  parameterValidators?: DelightRPC.ParameterValidators<IAPI>;
4
4
  version?: `${number}.${number}.${number}`;
5
- channel?: string;
5
+ channel?: string | RegExp | typeof DelightRPC.AnyChannel;
6
6
  ownPropsOnly?: boolean;
7
7
  }): (req: unknown) => Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delight-rpc/piscina",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
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",
@@ -47,17 +47,17 @@
47
47
  "rimraf": "^3.0.2",
48
48
  "standard-version": "^9.5.0",
49
49
  "ts-jest": "^27.1.4",
50
- "ts-node": "^10.7.0",
50
+ "ts-node": "^10.8.1",
51
51
  "ts-patch": "^2.0.1",
52
- "typescript": "^4.6.4",
52
+ "typescript": "^4.7.4",
53
53
  "typescript-transform-paths": "^3.3.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "delight-rpc": "^4.1.0",
56
+ "delight-rpc": "^4.2.1",
57
57
  "piscina": "^3.2.0"
58
58
  },
59
59
  "dependencies": {
60
- "@blackglory/prelude": "^0.1.1",
60
+ "@blackglory/prelude": "^0.1.2",
61
61
  "@delight-rpc/protocol": "^2.2.0"
62
62
  }
63
63
  }