@0xsequence/guard 0.28.0 → 0.34.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @0xsequence/guard
|
|
2
2
|
|
|
3
|
+
## 0.34.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- - upgrade deps
|
|
8
|
+
|
|
9
|
+
## 0.31.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- - upgrading to ethers v5.5
|
|
14
|
+
|
|
15
|
+
## 0.30.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- - upgrade most deps
|
|
20
|
+
|
|
21
|
+
## 0.29.8
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- update api
|
|
26
|
+
|
|
3
27
|
## 0.28.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export declare const WebRPCVersion = "v1";
|
|
2
|
-
export declare const WebRPCSchemaVersion = "v0.1.0";
|
|
3
|
-
export declare const WebRPCSchemaHash = "8d4d548d0af400f36ef39a21c29927fe65f9396c";
|
|
4
|
-
export interface Request {
|
|
5
|
-
chainId: number;
|
|
6
|
-
msg: string;
|
|
7
|
-
auxData: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GuarddService {
|
|
10
|
-
sign(args: SignArgs, headers?: object): Promise<SignReturn>;
|
|
11
|
-
}
|
|
12
|
-
export interface SignArgs {
|
|
13
|
-
request: Request;
|
|
14
|
-
}
|
|
15
|
-
export interface SignReturn {
|
|
16
|
-
sig: string;
|
|
17
|
-
}
|
|
18
|
-
export declare class GuarddService implements GuarddService {
|
|
19
|
-
protected hostname: string;
|
|
20
|
-
protected fetch: Fetch;
|
|
21
|
-
protected path: string;
|
|
22
|
-
constructor(hostname: string, fetch: Fetch);
|
|
23
|
-
private url;
|
|
24
|
-
sign: (args: SignArgs, headers?: object | undefined) => Promise<SignReturn>;
|
|
25
|
-
}
|
|
26
|
-
export interface WebRPCError extends Error {
|
|
27
|
-
code: string;
|
|
28
|
-
msg: string;
|
|
29
|
-
status: number;
|
|
30
|
-
}
|
|
31
|
-
export declare type Fetch = (input: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
1
|
+
export declare const WebRPCVersion = "v1";
|
|
2
|
+
export declare const WebRPCSchemaVersion = "v0.1.0";
|
|
3
|
+
export declare const WebRPCSchemaHash = "8d4d548d0af400f36ef39a21c29927fe65f9396c";
|
|
4
|
+
export interface Request {
|
|
5
|
+
chainId: number;
|
|
6
|
+
msg: string;
|
|
7
|
+
auxData: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GuarddService {
|
|
10
|
+
sign(args: SignArgs, headers?: object): Promise<SignReturn>;
|
|
11
|
+
}
|
|
12
|
+
export interface SignArgs {
|
|
13
|
+
request: Request;
|
|
14
|
+
}
|
|
15
|
+
export interface SignReturn {
|
|
16
|
+
sig: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class GuarddService implements GuarddService {
|
|
19
|
+
protected hostname: string;
|
|
20
|
+
protected fetch: Fetch;
|
|
21
|
+
protected path: string;
|
|
22
|
+
constructor(hostname: string, fetch: Fetch);
|
|
23
|
+
private url;
|
|
24
|
+
sign: (args: SignArgs, headers?: object | undefined) => Promise<SignReturn>;
|
|
25
|
+
}
|
|
26
|
+
export interface WebRPCError extends Error {
|
|
27
|
+
code: string;
|
|
28
|
+
msg: string;
|
|
29
|
+
status: number;
|
|
30
|
+
}
|
|
31
|
+
export declare type Fetch = (input: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './guard.gen';
|
|
1
|
+
export * from './guard.gen';
|
package/package.json
CHANGED