@0xsequence/api 0.43.27 → 0.43.29
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.
|
@@ -18,11 +18,11 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-api v0.4.0
|
|
21
|
+
// sequence-api v0.4.0 e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b
|
|
22
22
|
// --
|
|
23
|
-
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
23
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript@v0.10.0 generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
25
|
-
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
25
|
+
// webrpc-gen -schema=api.ridl -target=typescript@v0.10.0 -client -out=./clients/api.gen.ts
|
|
26
26
|
|
|
27
27
|
// WebRPC description and code-gen version
|
|
28
28
|
const WebRPCVersion = "v1";
|
|
@@ -31,7 +31,7 @@ const WebRPCVersion = "v1";
|
|
|
31
31
|
const WebRPCSchemaVersion = "v0.4.0";
|
|
32
32
|
|
|
33
33
|
// Schema hash generated from your RIDL schema
|
|
34
|
-
const WebRPCSchemaHash = "
|
|
34
|
+
const WebRPCSchemaHash = "e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b";
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -555,6 +555,15 @@ class API {
|
|
|
555
555
|
});
|
|
556
556
|
});
|
|
557
557
|
};
|
|
558
|
+
this.paperSessionSecret2 = (args, headers) => {
|
|
559
|
+
return this.fetch(this.url('PaperSessionSecret2'), createHTTPRequest(args, headers)).then(res => {
|
|
560
|
+
return buildResponse(res).then(_data => {
|
|
561
|
+
return {
|
|
562
|
+
secret: _data.secret
|
|
563
|
+
};
|
|
564
|
+
});
|
|
565
|
+
});
|
|
566
|
+
};
|
|
558
567
|
this.hostname = hostname;
|
|
559
568
|
this.fetch = (input, init) => fetch(input, init);
|
|
560
569
|
}
|
|
@@ -18,11 +18,11 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-api v0.4.0
|
|
21
|
+
// sequence-api v0.4.0 e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b
|
|
22
22
|
// --
|
|
23
|
-
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
23
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript@v0.10.0 generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
25
|
-
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
25
|
+
// webrpc-gen -schema=api.ridl -target=typescript@v0.10.0 -client -out=./clients/api.gen.ts
|
|
26
26
|
|
|
27
27
|
// WebRPC description and code-gen version
|
|
28
28
|
const WebRPCVersion = "v1";
|
|
@@ -31,7 +31,7 @@ const WebRPCVersion = "v1";
|
|
|
31
31
|
const WebRPCSchemaVersion = "v0.4.0";
|
|
32
32
|
|
|
33
33
|
// Schema hash generated from your RIDL schema
|
|
34
|
-
const WebRPCSchemaHash = "
|
|
34
|
+
const WebRPCSchemaHash = "e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b";
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -555,6 +555,15 @@ class API {
|
|
|
555
555
|
});
|
|
556
556
|
});
|
|
557
557
|
};
|
|
558
|
+
this.paperSessionSecret2 = (args, headers) => {
|
|
559
|
+
return this.fetch(this.url('PaperSessionSecret2'), createHTTPRequest(args, headers)).then(res => {
|
|
560
|
+
return buildResponse(res).then(_data => {
|
|
561
|
+
return {
|
|
562
|
+
secret: _data.secret
|
|
563
|
+
};
|
|
564
|
+
});
|
|
565
|
+
});
|
|
566
|
+
};
|
|
558
567
|
this.hostname = hostname;
|
|
559
568
|
this.fetch = (input, init) => fetch(input, init);
|
|
560
569
|
}
|
|
@@ -14,11 +14,11 @@ function _extends() {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/* eslint-disable */
|
|
17
|
-
// sequence-api v0.4.0
|
|
17
|
+
// sequence-api v0.4.0 e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b
|
|
18
18
|
// --
|
|
19
|
-
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
19
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript@v0.10.0 generator. DO NOT EDIT.
|
|
20
20
|
//
|
|
21
|
-
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
21
|
+
// webrpc-gen -schema=api.ridl -target=typescript@v0.10.0 -client -out=./clients/api.gen.ts
|
|
22
22
|
|
|
23
23
|
// WebRPC description and code-gen version
|
|
24
24
|
const WebRPCVersion = "v1";
|
|
@@ -27,7 +27,7 @@ const WebRPCVersion = "v1";
|
|
|
27
27
|
const WebRPCSchemaVersion = "v0.4.0";
|
|
28
28
|
|
|
29
29
|
// Schema hash generated from your RIDL schema
|
|
30
|
-
const WebRPCSchemaHash = "
|
|
30
|
+
const WebRPCSchemaHash = "e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b";
|
|
31
31
|
|
|
32
32
|
//
|
|
33
33
|
// Types
|
|
@@ -551,6 +551,15 @@ class API {
|
|
|
551
551
|
});
|
|
552
552
|
});
|
|
553
553
|
};
|
|
554
|
+
this.paperSessionSecret2 = (args, headers) => {
|
|
555
|
+
return this.fetch(this.url('PaperSessionSecret2'), createHTTPRequest(args, headers)).then(res => {
|
|
556
|
+
return buildResponse(res).then(_data => {
|
|
557
|
+
return {
|
|
558
|
+
secret: _data.secret
|
|
559
|
+
};
|
|
560
|
+
});
|
|
561
|
+
});
|
|
562
|
+
};
|
|
554
563
|
this.hostname = hostname;
|
|
555
564
|
this.fetch = (input, init) => fetch(input, init);
|
|
556
565
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const WebRPCVersion = "v1";
|
|
2
2
|
export declare const WebRPCSchemaVersion = "v0.4.0";
|
|
3
|
-
export declare const WebRPCSchemaHash = "
|
|
3
|
+
export declare const WebRPCSchemaHash = "e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b";
|
|
4
4
|
export declare enum SmartRampOrderStatus {
|
|
5
5
|
UNKNOWN = "UNKNOWN",
|
|
6
6
|
RUNNING_CHECKS = "RUNNING_CHECKS",
|
|
@@ -295,6 +295,7 @@ export interface API {
|
|
|
295
295
|
walletRecover(args: WalletRecoverArgs, headers?: object): Promise<WalletRecoverReturn>;
|
|
296
296
|
blockNumberAtTime(args: BlockNumberAtTimeArgs, headers?: object): Promise<BlockNumberAtTimeReturn>;
|
|
297
297
|
paperSessionSecret(args: PaperSessionSecretArgs, headers?: object): Promise<PaperSessionSecretReturn>;
|
|
298
|
+
paperSessionSecret2(args: PaperSessionSecret2Args, headers?: object): Promise<PaperSessionSecret2Return>;
|
|
298
299
|
}
|
|
299
300
|
export interface PingArgs {
|
|
300
301
|
}
|
|
@@ -659,6 +660,15 @@ export interface PaperSessionSecretArgs {
|
|
|
659
660
|
export interface PaperSessionSecretReturn {
|
|
660
661
|
secret: string;
|
|
661
662
|
}
|
|
663
|
+
export interface PaperSessionSecret2Args {
|
|
664
|
+
chainName: string;
|
|
665
|
+
contractAddress: string;
|
|
666
|
+
paramsJson: string;
|
|
667
|
+
abi: string;
|
|
668
|
+
}
|
|
669
|
+
export interface PaperSessionSecret2Return {
|
|
670
|
+
secret: string;
|
|
671
|
+
}
|
|
662
672
|
export declare class API implements API {
|
|
663
673
|
protected hostname: string;
|
|
664
674
|
protected fetch: Fetch;
|
|
@@ -718,6 +728,7 @@ export declare class API implements API {
|
|
|
718
728
|
walletRecover: (args: WalletRecoverArgs, headers?: object | undefined) => Promise<WalletRecoverReturn>;
|
|
719
729
|
blockNumberAtTime: (args: BlockNumberAtTimeArgs, headers?: object | undefined) => Promise<BlockNumberAtTimeReturn>;
|
|
720
730
|
paperSessionSecret: (args: PaperSessionSecretArgs, headers?: object | undefined) => Promise<PaperSessionSecretReturn>;
|
|
731
|
+
paperSessionSecret2: (args: PaperSessionSecret2Args, headers?: object | undefined) => Promise<PaperSessionSecret2Return>;
|
|
721
732
|
}
|
|
722
733
|
export interface WebRPCError extends Error {
|
|
723
734
|
code: string;
|
package/package.json
CHANGED
package/src/api.gen.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-api v0.4.0
|
|
2
|
+
// sequence-api v0.4.0 e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b
|
|
3
3
|
// --
|
|
4
|
-
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
4
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript@v0.10.0 generator. DO NOT EDIT.
|
|
5
5
|
//
|
|
6
|
-
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
6
|
+
// webrpc-gen -schema=api.ridl -target=typescript@v0.10.0 -client -out=./clients/api.gen.ts
|
|
7
7
|
|
|
8
8
|
// WebRPC description and code-gen version
|
|
9
9
|
export const WebRPCVersion = "v1"
|
|
@@ -12,7 +12,7 @@ export const WebRPCVersion = "v1"
|
|
|
12
12
|
export const WebRPCSchemaVersion = "v0.4.0"
|
|
13
13
|
|
|
14
14
|
// Schema hash generated from your RIDL schema
|
|
15
|
-
export const WebRPCSchemaHash = "
|
|
15
|
+
export const WebRPCSchemaHash = "e4aaaf3a3c07a1f339226fcac3b8addcb3120c7b"
|
|
16
16
|
|
|
17
17
|
//
|
|
18
18
|
// Types
|
|
@@ -342,6 +342,7 @@ export interface API {
|
|
|
342
342
|
walletRecover(args: WalletRecoverArgs, headers?: object): Promise<WalletRecoverReturn>
|
|
343
343
|
blockNumberAtTime(args: BlockNumberAtTimeArgs, headers?: object): Promise<BlockNumberAtTimeReturn>
|
|
344
344
|
paperSessionSecret(args: PaperSessionSecretArgs, headers?: object): Promise<PaperSessionSecretReturn>
|
|
345
|
+
paperSessionSecret2(args: PaperSessionSecret2Args, headers?: object): Promise<PaperSessionSecret2Return>
|
|
345
346
|
}
|
|
346
347
|
|
|
347
348
|
export interface PingArgs {
|
|
@@ -758,6 +759,16 @@ export interface PaperSessionSecretArgs {
|
|
|
758
759
|
export interface PaperSessionSecretReturn {
|
|
759
760
|
secret: string
|
|
760
761
|
}
|
|
762
|
+
export interface PaperSessionSecret2Args {
|
|
763
|
+
chainName: string
|
|
764
|
+
contractAddress: string
|
|
765
|
+
paramsJson: string
|
|
766
|
+
abi: string
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export interface PaperSessionSecret2Return {
|
|
770
|
+
secret: string
|
|
771
|
+
}
|
|
761
772
|
|
|
762
773
|
|
|
763
774
|
|
|
@@ -1435,6 +1446,18 @@ export class API implements API {
|
|
|
1435
1446
|
})
|
|
1436
1447
|
}
|
|
1437
1448
|
|
|
1449
|
+
paperSessionSecret2 = (args: PaperSessionSecret2Args, headers?: object): Promise<PaperSessionSecret2Return> => {
|
|
1450
|
+
return this.fetch(
|
|
1451
|
+
this.url('PaperSessionSecret2'),
|
|
1452
|
+
createHTTPRequest(args, headers)).then((res) => {
|
|
1453
|
+
return buildResponse(res).then(_data => {
|
|
1454
|
+
return {
|
|
1455
|
+
secret: <string>(_data.secret)
|
|
1456
|
+
}
|
|
1457
|
+
})
|
|
1458
|
+
})
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1438
1461
|
}
|
|
1439
1462
|
|
|
1440
1463
|
|