@kubun/http-client 0.7.0 → 0.8.0
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/lib/index.d.ts +2 -7
- package/lib/index.js +1 -1
- package/package.json +6 -6
package/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
import type { Logger } from '@kubun/logger';
|
|
4
|
-
export type ClientParams = {
|
|
5
|
-
identity: SigningIdentity;
|
|
6
|
-
logger?: Logger;
|
|
7
|
-
serverID?: string;
|
|
1
|
+
import { type ClientParams as BaseClientParams, KubunClient } from '@kubun/client';
|
|
2
|
+
export type ClientParams = Omit<BaseClientParams, 'transport'> & {
|
|
8
3
|
url: string;
|
|
9
4
|
};
|
|
10
5
|
export declare class HTTPClient extends KubunClient {
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ClientTransport as t}from"@enkaku/http-client-transport";import{KubunClient as
|
|
1
|
+
import{ClientTransport as t}from"@enkaku/http-client-transport";import{KubunClient as e}from"@kubun/client";export class HTTPClient extends e{constructor(e){let{url:r,...n}=e,o=new t({url:r});super({...n,transport:o})}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubun/http-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"license": "see LICENSE.md",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"type": "module",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
],
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@enkaku/http-client-transport": "^0.14.
|
|
19
|
-
"@kubun/client": "^0.
|
|
18
|
+
"@enkaku/http-client-transport": "^0.14.3",
|
|
19
|
+
"@kubun/client": "^0.8.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@enkaku/token": "0.14.
|
|
23
|
-
"@kubun/
|
|
24
|
-
"@kubun/
|
|
22
|
+
"@enkaku/token": "0.14.1",
|
|
23
|
+
"@kubun/protocol": "^0.8.0",
|
|
24
|
+
"@kubun/logger": "^0.8.0"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build:clean": "del lib",
|