@0xsequence/api 1.9.22 → 1.9.23
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 bf0b49647d9c2d313cd614a7e6a04e5acf5c4134
|
|
22
22
|
// --
|
|
23
23
|
// Code generated by webrpc-gen@v0.18.1 with typescript@v0.10.0 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 = 'bf0b49647d9c2d313cd614a7e6a04e5acf5c4134';
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -271,7 +271,7 @@ class API {
|
|
|
271
271
|
return this.fetch(this.url('GetSardineNFTCheckoutToken'), createHTTPRequest(args, headers)).then(res => {
|
|
272
272
|
return buildResponse(res).then(_data => {
|
|
273
273
|
return {
|
|
274
|
-
|
|
274
|
+
resp: _data.resp
|
|
275
275
|
};
|
|
276
276
|
});
|
|
277
277
|
});
|
|
@@ -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 bf0b49647d9c2d313cd614a7e6a04e5acf5c4134
|
|
22
22
|
// --
|
|
23
23
|
// Code generated by webrpc-gen@v0.18.1 with typescript@v0.10.0 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 = 'bf0b49647d9c2d313cd614a7e6a04e5acf5c4134';
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
@@ -271,7 +271,7 @@ class API {
|
|
|
271
271
|
return this.fetch(this.url('GetSardineNFTCheckoutToken'), createHTTPRequest(args, headers)).then(res => {
|
|
272
272
|
return buildResponse(res).then(_data => {
|
|
273
273
|
return {
|
|
274
|
-
|
|
274
|
+
resp: _data.resp
|
|
275
275
|
};
|
|
276
276
|
});
|
|
277
277
|
});
|
|
@@ -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 bf0b49647d9c2d313cd614a7e6a04e5acf5c4134
|
|
18
18
|
// --
|
|
19
19
|
// Code generated by webrpc-gen@v0.18.1 with typescript@v0.10.0 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 = 'bf0b49647d9c2d313cd614a7e6a04e5acf5c4134';
|
|
31
31
|
|
|
32
32
|
//
|
|
33
33
|
// Types
|
|
@@ -267,7 +267,7 @@ class API {
|
|
|
267
267
|
return this.fetch(this.url('GetSardineNFTCheckoutToken'), createHTTPRequest(args, headers)).then(res => {
|
|
268
268
|
return buildResponse(res).then(_data => {
|
|
269
269
|
return {
|
|
270
|
-
|
|
270
|
+
resp: _data.resp
|
|
271
271
|
};
|
|
272
272
|
});
|
|
273
273
|
});
|
|
@@ -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 = "bf0b49647d9c2d313cd614a7e6a04e5acf5c4134";
|
|
4
4
|
export declare enum SortOrder {
|
|
5
5
|
DESC = "DESC",
|
|
6
6
|
ASC = "ASC"
|
|
@@ -163,6 +163,11 @@ export interface NftCheckoutParams {
|
|
|
163
163
|
quantity: number;
|
|
164
164
|
decimals?: number;
|
|
165
165
|
}
|
|
166
|
+
export interface NftCheckout {
|
|
167
|
+
token: string;
|
|
168
|
+
expiresAt: string;
|
|
169
|
+
orderId: string;
|
|
170
|
+
}
|
|
166
171
|
export interface API {
|
|
167
172
|
ping(headers?: object): Promise<PingReturn>;
|
|
168
173
|
version(headers?: object): Promise<VersionReturn>;
|
|
@@ -368,7 +373,7 @@ export interface GetSardineNFTCheckoutTokenArgs {
|
|
|
368
373
|
params: NftCheckoutParams;
|
|
369
374
|
}
|
|
370
375
|
export interface GetSardineNFTCheckoutTokenReturn {
|
|
371
|
-
|
|
376
|
+
resp: NftCheckout;
|
|
372
377
|
}
|
|
373
378
|
export interface ResolveENSAddressArgs {
|
|
374
379
|
ens: 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 bf0b49647d9c2d313cd614a7e6a04e5acf5c4134
|
|
3
3
|
// --
|
|
4
4
|
// Code generated by webrpc-gen@v0.18.1 with typescript@v0.10.0 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 = 'bf0b49647d9c2d313cd614a7e6a04e5acf5c4134'
|
|
16
16
|
|
|
17
17
|
//
|
|
18
18
|
// Types
|
|
@@ -202,6 +202,12 @@ export interface NftCheckoutParams {
|
|
|
202
202
|
decimals?: number
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
export interface NftCheckout {
|
|
206
|
+
token: string
|
|
207
|
+
expiresAt: string
|
|
208
|
+
orderId: string
|
|
209
|
+
}
|
|
210
|
+
|
|
205
211
|
export interface API {
|
|
206
212
|
ping(headers?: object): Promise<PingReturn>
|
|
207
213
|
version(headers?: object): Promise<VersionReturn>
|
|
@@ -424,7 +430,7 @@ export interface GetSardineNFTCheckoutTokenArgs {
|
|
|
424
430
|
}
|
|
425
431
|
|
|
426
432
|
export interface GetSardineNFTCheckoutTokenReturn {
|
|
427
|
-
|
|
433
|
+
resp: NftCheckout
|
|
428
434
|
}
|
|
429
435
|
export interface ResolveENSAddressArgs {
|
|
430
436
|
ens: string
|
|
@@ -844,7 +850,7 @@ export class API implements API {
|
|
|
844
850
|
return this.fetch(this.url('GetSardineNFTCheckoutToken'), createHTTPRequest(args, headers)).then(res => {
|
|
845
851
|
return buildResponse(res).then(_data => {
|
|
846
852
|
return {
|
|
847
|
-
|
|
853
|
+
resp: <NftCheckout>_data.resp
|
|
848
854
|
}
|
|
849
855
|
})
|
|
850
856
|
})
|