@delight-rpc/piscina 0.4.0 → 0.4.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.
package/README.md CHANGED
@@ -50,13 +50,13 @@ function createClient<IAPI extends object>(
50
50
 
51
51
  ### createBatchClient
52
52
  ```ts
53
- function createBatchClient(
53
+ function createBatchClient<DataType>(
54
54
  piscina: Piscina
55
55
  , options?: {
56
56
  expectedVersion?: string
57
57
  channel?: string
58
58
  }
59
- ): DelightRPC.BatchClient
59
+ ): DelightRPC.BatchClient<DataType>
60
60
  ```
61
61
 
62
62
  ### createServer
package/lib/client.d.ts CHANGED
@@ -5,7 +5,7 @@ export declare function createClient<IAPI extends object>(piscina: Piscina, { pa
5
5
  expectedVersion?: string;
6
6
  channel?: string;
7
7
  }): DelightRPC.ClientProxy<IAPI>;
8
- export declare function createBatchClient(piscina: Piscina, { expectedVersion, channel }?: {
8
+ export declare function createBatchClient<DataType>(piscina: Piscina, { expectedVersion, channel }?: {
9
9
  expectedVersion?: string;
10
10
  channel?: string;
11
11
  }): DelightRPC.BatchClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delight-rpc/piscina",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "files": [
@@ -30,7 +30,6 @@
30
30
  }
31
31
  },
32
32
  "devDependencies": {
33
- "@blackglory/jest-matchers": "^0.5.0",
34
33
  "@commitlint/cli": "^17.3.0",
35
34
  "@commitlint/config-conventional": "^17.3.0",
36
35
  "@types/jest": "^29.2.4",