@koine/api 1.0.21 → 1.0.22
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/package.json +2 -2
- package/typings.d.ts +4 -1
package/package.json
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"typings": "./index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@koine/utils": "1.0.
|
|
7
|
+
"@koine/utils": "1.0.22",
|
|
8
8
|
"next": "^12.1.6",
|
|
9
9
|
"swr": "^2.0.0-beta.3",
|
|
10
10
|
"tslib": "^2.4.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {},
|
|
13
|
-
"version": "1.0.
|
|
13
|
+
"version": "1.0.22",
|
|
14
14
|
"module": "./index.js",
|
|
15
15
|
"types": "./index.d.ts"
|
|
16
16
|
}
|
package/typings.d.ts
CHANGED
|
@@ -274,7 +274,10 @@ declare namespace Koine.Api {
|
|
|
274
274
|
data: TResponse;
|
|
275
275
|
};
|
|
276
276
|
|
|
277
|
-
type Result<
|
|
277
|
+
type Result<
|
|
278
|
+
TResponseOk extends ResponseOk,
|
|
279
|
+
TResponseFail extends ResponseFail
|
|
280
|
+
> =
|
|
278
281
|
// FIXME: without the type duplication below the following two lines do not
|
|
279
282
|
// work as they do not narrow the type when checking for the boolean values
|
|
280
283
|
// truthiness
|