@napp/dti-client 3.0.2 → 3.0.7

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/adapter.d.ts +8 -8
  2. package/package.json +2 -2
package/adapter.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Dti } from "@napp/dti-core";
2
2
  export interface ODtiClientAdapter {
3
3
  caller: <RES, PQ, PB>(meta: Dti<RES, PQ, PB>, param: {
4
- q: PQ;
5
- b: PB;
4
+ q?: PQ;
5
+ b?: PB;
6
6
  }) => Promise<RES>;
7
7
  }
8
8
  export declare class DtiClientAdapter {
@@ -17,15 +17,15 @@ export declare class DtiClient<RES, PQ, PB> {
17
17
  private caller;
18
18
  private meta;
19
19
  constructor(caller: (param: {
20
- q: PQ;
21
- b: PB;
20
+ q?: PQ;
21
+ b?: PB;
22
22
  }) => Promise<RES>, meta: Dti<RES, PQ, PB>);
23
23
  check(param: {
24
- q: PQ;
25
- b: PB;
24
+ q?: PQ;
25
+ b?: PB;
26
26
  }): void;
27
27
  call(param: {
28
- q: PQ;
29
- b: PB;
28
+ q?: PQ;
29
+ b?: PB;
30
30
  }, checkIgnore?: boolean): Promise<RES>;
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@napp/dti-client",
3
- "version": "3.0.2",
3
+ "version": "3.0.7",
4
4
  "description": "data transaction interface client library",
5
5
  "types": "index.d.ts",
6
6
  "main": "index.js",
@@ -12,6 +12,6 @@
12
12
  "author": "Farcek <farcek@gmail.com>",
13
13
  "license": "ISC",
14
14
  "dependencies": {
15
- "@napp/dti-core": "3.0.2"
15
+ "@napp/dti-core": "3.0.7"
16
16
  }
17
17
  }