@0xsequence/api 0.38.0 → 0.38.1
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.
|
@@ -27,7 +27,7 @@ function _extends() {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* eslint-disable */
|
|
30
|
-
// sequence-api v0.4.0
|
|
30
|
+
// sequence-api v0.4.0 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
31
31
|
// --
|
|
32
32
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
33
33
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -36,7 +36,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
|
|
|
36
36
|
|
|
37
37
|
const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
|
|
38
38
|
|
|
39
|
-
const WebRPCSchemaHash = "
|
|
39
|
+
const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"; //
|
|
40
40
|
// Types
|
|
41
41
|
//
|
|
42
42
|
|
|
@@ -273,8 +273,8 @@ class API {
|
|
|
273
273
|
});
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
this.
|
|
277
|
-
return this.fetch(this.url('
|
|
276
|
+
this.getCoinPrices = (args, headers) => {
|
|
277
|
+
return this.fetch(this.url('GetCoinPrices'), createHTTPRequest(args, headers)).then(res => {
|
|
278
278
|
return buildResponse(res).then(_data => {
|
|
279
279
|
return {
|
|
280
280
|
tokenPrices: _data.tokenPrices
|
|
@@ -27,7 +27,7 @@ function _extends() {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* eslint-disable */
|
|
30
|
-
// sequence-api v0.4.0
|
|
30
|
+
// sequence-api v0.4.0 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
31
31
|
// --
|
|
32
32
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
33
33
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -36,7 +36,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
|
|
|
36
36
|
|
|
37
37
|
const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
|
|
38
38
|
|
|
39
|
-
const WebRPCSchemaHash = "
|
|
39
|
+
const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"; //
|
|
40
40
|
// Types
|
|
41
41
|
//
|
|
42
42
|
|
|
@@ -273,8 +273,8 @@ class API {
|
|
|
273
273
|
});
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
this.
|
|
277
|
-
return this.fetch(this.url('
|
|
276
|
+
this.getCoinPrices = (args, headers) => {
|
|
277
|
+
return this.fetch(this.url('GetCoinPrices'), createHTTPRequest(args, headers)).then(res => {
|
|
278
278
|
return buildResponse(res).then(_data => {
|
|
279
279
|
return {
|
|
280
280
|
tokenPrices: _data.tokenPrices
|
|
@@ -19,7 +19,7 @@ function _extends() {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* eslint-disable */
|
|
22
|
-
// sequence-api v0.4.0
|
|
22
|
+
// sequence-api v0.4.0 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
23
23
|
// --
|
|
24
24
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
25
25
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -28,7 +28,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
|
|
|
28
28
|
|
|
29
29
|
const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
|
|
30
30
|
|
|
31
|
-
const WebRPCSchemaHash = "
|
|
31
|
+
const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"; //
|
|
32
32
|
// Types
|
|
33
33
|
//
|
|
34
34
|
|
|
@@ -265,8 +265,8 @@ class API {
|
|
|
265
265
|
});
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
this.
|
|
269
|
-
return this.fetch(this.url('
|
|
268
|
+
this.getCoinPrices = (args, headers) => {
|
|
269
|
+
return this.fetch(this.url('GetCoinPrices'), createHTTPRequest(args, headers)).then(res => {
|
|
270
270
|
return buildResponse(res).then(_data => {
|
|
271
271
|
return {
|
|
272
272
|
tokenPrices: _data.tokenPrices
|
|
@@ -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 = "4d2479b7b4da1f3902a2593f729835aa16931146";
|
|
4
4
|
export declare enum SortOrder {
|
|
5
5
|
DESC = "DESC",
|
|
6
6
|
ASC = "ASC"
|
|
@@ -159,7 +159,7 @@ export interface API {
|
|
|
159
159
|
userStorageFetchAll(args: UserStorageFetchAllArgs, headers?: object): Promise<UserStorageFetchAllReturn>;
|
|
160
160
|
getMoonpayLink(args: GetMoonpayLinkArgs, headers?: object): Promise<GetMoonpayLinkReturn>;
|
|
161
161
|
isUsingGoogleMail(args: IsUsingGoogleMailArgs, headers?: object): Promise<IsUsingGoogleMailReturn>;
|
|
162
|
-
|
|
162
|
+
getCoinPrices(args: GetCoinPricesArgs, headers?: object): Promise<GetCoinPricesReturn>;
|
|
163
163
|
getCollectiblePrices(args: GetCollectiblePricesArgs, headers?: object): Promise<GetCollectiblePricesReturn>;
|
|
164
164
|
getExchangeRate(args: GetExchangeRateArgs, headers?: object): Promise<GetExchangeRateReturn>;
|
|
165
165
|
getInviteInfo(headers?: object): Promise<GetInviteInfoReturn>;
|
|
@@ -308,10 +308,10 @@ export interface IsUsingGoogleMailArgs {
|
|
|
308
308
|
export interface IsUsingGoogleMailReturn {
|
|
309
309
|
yes: boolean;
|
|
310
310
|
}
|
|
311
|
-
export interface
|
|
311
|
+
export interface GetCoinPricesArgs {
|
|
312
312
|
tokens: Array<Token>;
|
|
313
313
|
}
|
|
314
|
-
export interface
|
|
314
|
+
export interface GetCoinPricesReturn {
|
|
315
315
|
tokenPrices: Array<TokenPrice>;
|
|
316
316
|
}
|
|
317
317
|
export interface GetCollectiblePricesArgs {
|
|
@@ -378,7 +378,7 @@ export declare class API implements API {
|
|
|
378
378
|
userStorageFetchAll: (args: UserStorageFetchAllArgs, headers?: object | undefined) => Promise<UserStorageFetchAllReturn>;
|
|
379
379
|
getMoonpayLink: (args: GetMoonpayLinkArgs, headers?: object | undefined) => Promise<GetMoonpayLinkReturn>;
|
|
380
380
|
isUsingGoogleMail: (args: IsUsingGoogleMailArgs, headers?: object | undefined) => Promise<IsUsingGoogleMailReturn>;
|
|
381
|
-
|
|
381
|
+
getCoinPrices: (args: GetCoinPricesArgs, headers?: object | undefined) => Promise<GetCoinPricesReturn>;
|
|
382
382
|
getCollectiblePrices: (args: GetCollectiblePricesArgs, headers?: object | undefined) => Promise<GetCollectiblePricesReturn>;
|
|
383
383
|
getExchangeRate: (args: GetExchangeRateArgs, headers?: object | undefined) => Promise<GetExchangeRateReturn>;
|
|
384
384
|
getInviteInfo: (headers?: object | undefined) => Promise<GetInviteInfoReturn>;
|
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 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
3
3
|
// --
|
|
4
4
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
5
5
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -11,7 +11,7 @@ export const WebRPCVersion = "v1"
|
|
|
11
11
|
export const WebRPCSchemaVersion = "v0.4.0"
|
|
12
12
|
|
|
13
13
|
// Schema hash generated from your RIDL schema
|
|
14
|
-
export const WebRPCSchemaHash = "
|
|
14
|
+
export const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
//
|
|
@@ -201,7 +201,7 @@ export interface API {
|
|
|
201
201
|
userStorageFetchAll(args: UserStorageFetchAllArgs, headers?: object): Promise<UserStorageFetchAllReturn>
|
|
202
202
|
getMoonpayLink(args: GetMoonpayLinkArgs, headers?: object): Promise<GetMoonpayLinkReturn>
|
|
203
203
|
isUsingGoogleMail(args: IsUsingGoogleMailArgs, headers?: object): Promise<IsUsingGoogleMailReturn>
|
|
204
|
-
|
|
204
|
+
getCoinPrices(args: GetCoinPricesArgs, headers?: object): Promise<GetCoinPricesReturn>
|
|
205
205
|
getCollectiblePrices(args: GetCollectiblePricesArgs, headers?: object): Promise<GetCollectiblePricesReturn>
|
|
206
206
|
getExchangeRate(args: GetExchangeRateArgs, headers?: object): Promise<GetExchangeRateReturn>
|
|
207
207
|
getInviteInfo(headers?: object): Promise<GetInviteInfoReturn>
|
|
@@ -370,11 +370,11 @@ export interface IsUsingGoogleMailArgs {
|
|
|
370
370
|
export interface IsUsingGoogleMailReturn {
|
|
371
371
|
yes: boolean
|
|
372
372
|
}
|
|
373
|
-
export interface
|
|
373
|
+
export interface GetCoinPricesArgs {
|
|
374
374
|
tokens: Array<Token>
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
export interface
|
|
377
|
+
export interface GetCoinPricesReturn {
|
|
378
378
|
tokenPrices: Array<TokenPrice>
|
|
379
379
|
}
|
|
380
380
|
export interface GetCollectiblePricesArgs {
|
|
@@ -703,9 +703,9 @@ export class API implements API {
|
|
|
703
703
|
})
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
|
|
706
|
+
getCoinPrices = (args: GetCoinPricesArgs, headers?: object): Promise<GetCoinPricesReturn> => {
|
|
707
707
|
return this.fetch(
|
|
708
|
-
this.url('
|
|
708
|
+
this.url('GetCoinPrices'),
|
|
709
709
|
createHTTPRequest(args, headers)).then((res) => {
|
|
710
710
|
return buildResponse(res).then(_data => {
|
|
711
711
|
return {
|