@0xsequence/api 0.37.1 → 0.38.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.
@@ -27,7 +27,7 @@ function _extends() {
27
27
  }
28
28
 
29
29
  /* eslint-disable */
30
- // sequence-api v0.4.0 25195370e01c380f47c1df5bd8e0ffe51160bec8
30
+ // sequence-api v0.4.0 5bceb4017bb362196d400b1e8cf74bcdf0823f33
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 = "25195370e01c380f47c1df5bd8e0ffe51160bec8"; //
39
+ const WebRPCSchemaHash = "5bceb4017bb362196d400b1e8cf74bcdf0823f33"; //
40
40
  // Types
41
41
  //
42
42
 
@@ -27,7 +27,7 @@ function _extends() {
27
27
  }
28
28
 
29
29
  /* eslint-disable */
30
- // sequence-api v0.4.0 25195370e01c380f47c1df5bd8e0ffe51160bec8
30
+ // sequence-api v0.4.0 5bceb4017bb362196d400b1e8cf74bcdf0823f33
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 = "25195370e01c380f47c1df5bd8e0ffe51160bec8"; //
39
+ const WebRPCSchemaHash = "5bceb4017bb362196d400b1e8cf74bcdf0823f33"; //
40
40
  // Types
41
41
  //
42
42
 
@@ -19,7 +19,7 @@ function _extends() {
19
19
  }
20
20
 
21
21
  /* eslint-disable */
22
- // sequence-api v0.4.0 25195370e01c380f47c1df5bd8e0ffe51160bec8
22
+ // sequence-api v0.4.0 5bceb4017bb362196d400b1e8cf74bcdf0823f33
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 = "25195370e01c380f47c1df5bd8e0ffe51160bec8"; //
31
+ const WebRPCSchemaHash = "5bceb4017bb362196d400b1e8cf74bcdf0823f33"; //
32
32
  // Types
33
33
  //
34
34
 
@@ -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 = "25195370e01c380f47c1df5bd8e0ffe51160bec8";
3
+ export declare const WebRPCSchemaHash = "5bceb4017bb362196d400b1e8cf74bcdf0823f33";
4
4
  export declare enum SortOrder {
5
5
  DESC = "DESC",
6
6
  ASC = "ASC"
@@ -78,9 +78,9 @@ export interface InviteInfo {
78
78
  export interface ContractCall {
79
79
  signature: string;
80
80
  function: string;
81
- args: Array<ContractCallArg>;
81
+ args: Array<TupleComponent>;
82
82
  }
83
- export interface ContractCallArg {
83
+ export interface TupleComponent {
84
84
  name?: string;
85
85
  type: string;
86
86
  value: any;
@@ -117,10 +117,17 @@ export interface Token {
117
117
  contractAddress: string;
118
118
  tokenId?: string;
119
119
  }
120
+ export interface Price {
121
+ value: number;
122
+ currency: string;
123
+ }
120
124
  export interface TokenPrice {
121
125
  token: Token;
122
- usd?: number;
123
- usd24hChange?: number;
126
+ price?: Price;
127
+ price24hChange?: Price;
128
+ floorPrice: Price;
129
+ buyPrice: Price;
130
+ sellPrice: Price;
124
131
  updatedAt: string;
125
132
  }
126
133
  export interface ExchangeRate {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/api",
3
- "version": "0.37.1",
3
+ "version": "0.38.0",
4
4
  "description": "api sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/api",
6
6
  "source": "src/index.ts",
package/src/api.gen.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // sequence-api v0.4.0 25195370e01c380f47c1df5bd8e0ffe51160bec8
2
+ // sequence-api v0.4.0 5bceb4017bb362196d400b1e8cf74bcdf0823f33
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 = "25195370e01c380f47c1df5bd8e0ffe51160bec8"
14
+ export const WebRPCSchemaHash = "5bceb4017bb362196d400b1e8cf74bcdf0823f33"
15
15
 
16
16
 
17
17
  //
@@ -110,10 +110,10 @@ export interface InviteInfo {
110
110
  export interface ContractCall {
111
111
  signature: string
112
112
  function: string
113
- args: Array<ContractCallArg>
113
+ args: Array<TupleComponent>
114
114
  }
115
115
 
116
- export interface ContractCallArg {
116
+ export interface TupleComponent {
117
117
  name?: string
118
118
  type: string
119
119
  value: any
@@ -156,10 +156,18 @@ export interface Token {
156
156
  tokenId?: string
157
157
  }
158
158
 
159
+ export interface Price {
160
+ value: number
161
+ currency: string
162
+ }
163
+
159
164
  export interface TokenPrice {
160
165
  token: Token
161
- usd?: number
162
- usd24hChange?: number
166
+ price?: Price
167
+ price24hChange?: Price
168
+ floorPrice: Price
169
+ buyPrice: Price
170
+ sellPrice: Price
163
171
  updatedAt: string
164
172
  }
165
173