@0xsequence/api 0.0.0-20230315214030 → 0.0.0-20230321200348
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,7 +18,7 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-api v0.4.0
|
|
21
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
22
22
|
// --
|
|
23
23
|
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
@@ -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 = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -546,15 +546,6 @@ class API {
|
|
|
546
546
|
});
|
|
547
547
|
});
|
|
548
548
|
};
|
|
549
|
-
this.paperSessionSecret = (args, headers) => {
|
|
550
|
-
return this.fetch(this.url('PaperSessionSecret'), createHTTPRequest(args, headers)).then(res => {
|
|
551
|
-
return buildResponse(res).then(_data => {
|
|
552
|
-
return {
|
|
553
|
-
secret: _data.secret
|
|
554
|
-
};
|
|
555
|
-
});
|
|
556
|
-
});
|
|
557
|
-
};
|
|
558
549
|
this.hostname = hostname;
|
|
559
550
|
this.fetch = (input, init) => fetch(input, init);
|
|
560
551
|
}
|
|
@@ -18,7 +18,7 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-api v0.4.0
|
|
21
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
22
22
|
// --
|
|
23
23
|
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
@@ -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 = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -546,15 +546,6 @@ class API {
|
|
|
546
546
|
});
|
|
547
547
|
});
|
|
548
548
|
};
|
|
549
|
-
this.paperSessionSecret = (args, headers) => {
|
|
550
|
-
return this.fetch(this.url('PaperSessionSecret'), createHTTPRequest(args, headers)).then(res => {
|
|
551
|
-
return buildResponse(res).then(_data => {
|
|
552
|
-
return {
|
|
553
|
-
secret: _data.secret
|
|
554
|
-
};
|
|
555
|
-
});
|
|
556
|
-
});
|
|
557
|
-
};
|
|
558
549
|
this.hostname = hostname;
|
|
559
550
|
this.fetch = (input, init) => fetch(input, init);
|
|
560
551
|
}
|
|
@@ -14,7 +14,7 @@ function _extends() {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/* eslint-disable */
|
|
17
|
-
// sequence-api v0.4.0
|
|
17
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
18
18
|
// --
|
|
19
19
|
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
20
20
|
//
|
|
@@ -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 = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
31
31
|
|
|
32
32
|
//
|
|
33
33
|
// Types
|
|
@@ -542,15 +542,6 @@ class API {
|
|
|
542
542
|
});
|
|
543
543
|
});
|
|
544
544
|
};
|
|
545
|
-
this.paperSessionSecret = (args, headers) => {
|
|
546
|
-
return this.fetch(this.url('PaperSessionSecret'), createHTTPRequest(args, headers)).then(res => {
|
|
547
|
-
return buildResponse(res).then(_data => {
|
|
548
|
-
return {
|
|
549
|
-
secret: _data.secret
|
|
550
|
-
};
|
|
551
|
-
});
|
|
552
|
-
});
|
|
553
|
-
};
|
|
554
545
|
this.hostname = hostname;
|
|
555
546
|
this.fetch = (input, init) => fetch(input, init);
|
|
556
547
|
}
|
|
@@ -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 = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
4
4
|
export declare enum SmartRampOrderStatus {
|
|
5
5
|
UNKNOWN = "UNKNOWN",
|
|
6
6
|
RUNNING_CHECKS = "RUNNING_CHECKS",
|
|
@@ -294,7 +294,6 @@ export interface API {
|
|
|
294
294
|
internalClaimAccessCode(args: InternalClaimAccessCodeArgs, headers?: object): Promise<InternalClaimAccessCodeReturn>;
|
|
295
295
|
walletRecover(args: WalletRecoverArgs, headers?: object): Promise<WalletRecoverReturn>;
|
|
296
296
|
blockNumberAtTime(args: BlockNumberAtTimeArgs, headers?: object): Promise<BlockNumberAtTimeReturn>;
|
|
297
|
-
paperSessionSecret(args: PaperSessionSecretArgs, headers?: object): Promise<PaperSessionSecretReturn>;
|
|
298
297
|
}
|
|
299
298
|
export interface PingArgs {
|
|
300
299
|
}
|
|
@@ -650,15 +649,6 @@ export interface BlockNumberAtTimeArgs {
|
|
|
650
649
|
export interface BlockNumberAtTimeReturn {
|
|
651
650
|
blocks: Array<number>;
|
|
652
651
|
}
|
|
653
|
-
export interface PaperSessionSecretArgs {
|
|
654
|
-
chainName: string;
|
|
655
|
-
contractAddress: string;
|
|
656
|
-
paramsJson: string;
|
|
657
|
-
contractType: string;
|
|
658
|
-
}
|
|
659
|
-
export interface PaperSessionSecretReturn {
|
|
660
|
-
secret: string;
|
|
661
|
-
}
|
|
662
652
|
export declare class API implements API {
|
|
663
653
|
protected hostname: string;
|
|
664
654
|
protected fetch: Fetch;
|
|
@@ -717,7 +707,6 @@ export declare class API implements API {
|
|
|
717
707
|
internalClaimAccessCode: (args: InternalClaimAccessCodeArgs, headers?: object | undefined) => Promise<InternalClaimAccessCodeReturn>;
|
|
718
708
|
walletRecover: (args: WalletRecoverArgs, headers?: object | undefined) => Promise<WalletRecoverReturn>;
|
|
719
709
|
blockNumberAtTime: (args: BlockNumberAtTimeArgs, headers?: object | undefined) => Promise<BlockNumberAtTimeReturn>;
|
|
720
|
-
paperSessionSecret: (args: PaperSessionSecretArgs, headers?: object | undefined) => Promise<PaperSessionSecretReturn>;
|
|
721
710
|
}
|
|
722
711
|
export interface WebRPCError extends Error {
|
|
723
712
|
code: string;
|
package/package.json
CHANGED
package/src/api.gen.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-api v0.4.0
|
|
2
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
3
3
|
// --
|
|
4
4
|
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
5
5
|
//
|
|
@@ -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 = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3"
|
|
16
16
|
|
|
17
17
|
//
|
|
18
18
|
// Types
|
|
@@ -341,7 +341,6 @@ export interface API {
|
|
|
341
341
|
internalClaimAccessCode(args: InternalClaimAccessCodeArgs, headers?: object): Promise<InternalClaimAccessCodeReturn>
|
|
342
342
|
walletRecover(args: WalletRecoverArgs, headers?: object): Promise<WalletRecoverReturn>
|
|
343
343
|
blockNumberAtTime(args: BlockNumberAtTimeArgs, headers?: object): Promise<BlockNumberAtTimeReturn>
|
|
344
|
-
paperSessionSecret(args: PaperSessionSecretArgs, headers?: object): Promise<PaperSessionSecretReturn>
|
|
345
344
|
}
|
|
346
345
|
|
|
347
346
|
export interface PingArgs {
|
|
@@ -748,16 +747,6 @@ export interface BlockNumberAtTimeArgs {
|
|
|
748
747
|
export interface BlockNumberAtTimeReturn {
|
|
749
748
|
blocks: Array<number>
|
|
750
749
|
}
|
|
751
|
-
export interface PaperSessionSecretArgs {
|
|
752
|
-
chainName: string
|
|
753
|
-
contractAddress: string
|
|
754
|
-
paramsJson: string
|
|
755
|
-
contractType: string
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
export interface PaperSessionSecretReturn {
|
|
759
|
-
secret: string
|
|
760
|
-
}
|
|
761
750
|
|
|
762
751
|
|
|
763
752
|
|
|
@@ -1423,18 +1412,6 @@ export class API implements API {
|
|
|
1423
1412
|
})
|
|
1424
1413
|
}
|
|
1425
1414
|
|
|
1426
|
-
paperSessionSecret = (args: PaperSessionSecretArgs, headers?: object): Promise<PaperSessionSecretReturn> => {
|
|
1427
|
-
return this.fetch(
|
|
1428
|
-
this.url('PaperSessionSecret'),
|
|
1429
|
-
createHTTPRequest(args, headers)).then((res) => {
|
|
1430
|
-
return buildResponse(res).then(_data => {
|
|
1431
|
-
return {
|
|
1432
|
-
secret: <string>(_data.secret)
|
|
1433
|
-
}
|
|
1434
|
-
})
|
|
1435
|
-
})
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
1415
|
}
|
|
1439
1416
|
|
|
1440
1417
|
|