@koine/api 1.0.79 → 1.0.83

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/createApi.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
- import { buildUrlQueryString, isFullObject } from "@koine/utils";
2
+ import { buildUrlQueryString, isFullObject, } from "@koine/utils";
3
3
  /**
4
4
  * Create api client
5
5
  *
package/package.json CHANGED
@@ -4,14 +4,15 @@
4
4
  "main": "./node/index.js",
5
5
  "typings": "./index.d.ts",
6
6
  "dependencies": {
7
- "@koine/utils": "1.0.79",
7
+ "@koine/utils": "1.0.83",
8
+ "ts-debounce": "^4.0.0",
8
9
  "date-fns-tz": "^1.3.7",
9
10
  "swr": "^2.0.0-beta.6",
10
11
  "next": "^12.2.5",
11
12
  "tslib": "^2.4.0"
12
13
  },
13
14
  "peerDependencies": {},
14
- "version": "1.0.79",
15
+ "version": "1.0.83",
15
16
  "module": "./index.js",
16
17
  "types": "./index.d.ts"
17
18
  }
package/typings.d.ts CHANGED
@@ -224,14 +224,11 @@ declare namespace Koine.Api {
224
224
 
225
225
  type RequestMethod = "get" | "post" | "put" | "patch" | "delete";
226
226
 
227
- type RequestJson = undefined | null | Record<string | number, unknown>;
227
+ type RequestJson = unknown;
228
228
 
229
- type RequestQuery = undefined | null | Record<string | number, unknown>;
229
+ type RequestQuery = unknown;
230
230
 
231
- type RequestParams =
232
- | undefined
233
- | null
234
- | Record<string | number, string | number>;
231
+ type RequestParams = unknown;
235
232
 
236
233
  /**
237
234
  * Request options