@0xsequence/api 0.0.0-20250429150836 → 0.0.0-20250430130723

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.
@@ -13,7 +13,7 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // sequence-api v0.4.0 db246758d7ea850abc8ab1cb76d5ac014944b0bd
16
+ // sequence-api v0.4.0 ab3b6841bf983fa51a24df4cee18536199f115c3
17
17
  // --
18
18
  // Code generated by webrpc-gen@v0.25.3 with typescript generator. DO NOT EDIT.
19
19
  //
@@ -29,7 +29,7 @@ const WebRPCVersion = "v1";
29
29
  const WebRPCSchemaVersion = "v0.4.0";
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = "db246758d7ea850abc8ab1cb76d5ac014944b0bd";
32
+ const WebRPCSchemaHash = "ab3b6841bf983fa51a24df4cee18536199f115c3";
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -13,7 +13,7 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // sequence-api v0.4.0 db246758d7ea850abc8ab1cb76d5ac014944b0bd
16
+ // sequence-api v0.4.0 ab3b6841bf983fa51a24df4cee18536199f115c3
17
17
  // --
18
18
  // Code generated by webrpc-gen@v0.25.3 with typescript generator. DO NOT EDIT.
19
19
  //
@@ -29,7 +29,7 @@ const WebRPCVersion = "v1";
29
29
  const WebRPCSchemaVersion = "v0.4.0";
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = "db246758d7ea850abc8ab1cb76d5ac014944b0bd";
32
+ const WebRPCSchemaHash = "ab3b6841bf983fa51a24df4cee18536199f115c3";
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -9,7 +9,7 @@ function _extends() {
9
9
  }
10
10
 
11
11
  /* eslint-disable */
12
- // sequence-api v0.4.0 db246758d7ea850abc8ab1cb76d5ac014944b0bd
12
+ // sequence-api v0.4.0 ab3b6841bf983fa51a24df4cee18536199f115c3
13
13
  // --
14
14
  // Code generated by webrpc-gen@v0.25.3 with typescript generator. DO NOT EDIT.
15
15
  //
@@ -25,7 +25,7 @@ const WebRPCVersion = "v1";
25
25
  const WebRPCSchemaVersion = "v0.4.0";
26
26
 
27
27
  // Schema hash generated from your RIDL schema
28
- const WebRPCSchemaHash = "db246758d7ea850abc8ab1cb76d5ac014944b0bd";
28
+ const WebRPCSchemaHash = "ab3b6841bf983fa51a24df4cee18536199f115c3";
29
29
  function VersionFromHeader(headers) {
30
30
  const headerValue = headers.get(WebrpcHeader);
31
31
  if (!headerValue) {
@@ -2,7 +2,7 @@ export declare const WebrpcHeader = "Webrpc";
2
2
  export declare const WebrpcHeaderValue = "webrpc@v0.25.3;gen-typescript@v0.17.0;sequence-api@v0.4.0";
3
3
  export declare const WebRPCVersion = "v1";
4
4
  export declare const WebRPCSchemaVersion = "v0.4.0";
5
- export declare const WebRPCSchemaHash = "db246758d7ea850abc8ab1cb76d5ac014944b0bd";
5
+ export declare const WebRPCSchemaHash = "ab3b6841bf983fa51a24df4cee18536199f115c3";
6
6
  type WebrpcGenVersions = {
7
7
  webrpcGenVersion: string;
8
8
  codeGenName: string;
@@ -368,7 +368,8 @@ export interface LifiToken {
368
368
  symbol: string;
369
369
  name: string;
370
370
  decimals: number;
371
- priceUsd: string;
371
+ priceUsd: number;
372
+ price?: string;
372
373
  coinKey: string;
373
374
  logoUri: string;
374
375
  }
@@ -1247,6 +1248,8 @@ export interface GetLifiTokensReturn {
1247
1248
  export interface GetLifiSwapRoutesArgs {
1248
1249
  chainId: number;
1249
1250
  toTokenAddress: string;
1251
+ toTokenAmount: string;
1252
+ walletAddress: string;
1250
1253
  }
1251
1254
  export interface GetLifiSwapRoutesReturn {
1252
1255
  routes: Array<LifiSwapRoute>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/api",
3
- "version": "0.0.0-20250429150836",
3
+ "version": "0.0.0-20250430130723",
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 db246758d7ea850abc8ab1cb76d5ac014944b0bd
2
+ // sequence-api v0.4.0 ab3b6841bf983fa51a24df4cee18536199f115c3
3
3
  // --
4
4
  // Code generated by webrpc-gen@v0.25.3 with typescript generator. DO NOT EDIT.
5
5
  //
@@ -16,7 +16,7 @@ export const WebRPCVersion = "v1"
16
16
  export const WebRPCSchemaVersion = "v0.4.0"
17
17
 
18
18
  // Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = "db246758d7ea850abc8ab1cb76d5ac014944b0bd"
19
+ export const WebRPCSchemaHash = "ab3b6841bf983fa51a24df4cee18536199f115c3"
20
20
 
21
21
  type WebrpcGenVersions = {
22
22
  webrpcGenVersion: string;
@@ -474,7 +474,8 @@ export interface LifiToken {
474
474
  symbol: string
475
475
  name: string
476
476
  decimals: number
477
- priceUsd: string
477
+ priceUsd: number
478
+ price?: string
478
479
  coinKey: string
479
480
  logoUri: string
480
481
  }
@@ -1444,6 +1445,8 @@ export interface GetLifiTokensReturn {
1444
1445
  export interface GetLifiSwapRoutesArgs {
1445
1446
  chainId: number
1446
1447
  toTokenAddress: string
1448
+ toTokenAmount: string
1449
+ walletAddress: string
1447
1450
  }
1448
1451
 
1449
1452
  export interface GetLifiSwapRoutesReturn {