@lifi/types 9.3.0 → 9.3.2

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.
package/dist/api.d.ts CHANGED
@@ -251,6 +251,9 @@ export interface StatusData extends BaseStatusData {
251
251
  receiving: PendingReceivingInfo;
252
252
  }
253
253
  export type StatusResponse = FullStatusData | StatusData;
254
+ interface TransferMetadata {
255
+ integrator: string;
256
+ }
254
257
  export interface FullStatusData extends StatusData {
255
258
  transactionId: string;
256
259
  sending: ExtendedTransactionInfo;
@@ -258,6 +261,7 @@ export interface FullStatusData extends StatusData {
258
261
  lifiExplorerLink: string;
259
262
  fromAddress: string;
260
263
  toAddress: string;
264
+ metadata: TransferMetadata;
261
265
  bridgeExplorerLink?: string;
262
266
  }
263
267
  export interface ExtendedChain extends Chain {
@@ -270,7 +274,7 @@ export interface ChainsRequest {
270
274
  chainTypes?: ChainType[];
271
275
  }
272
276
  export interface ToolsRequest {
273
- chains?: ChainId[];
277
+ chains?: (ChainKey | ChainId)[];
274
278
  }
275
279
  export type TokensRequest = {
276
280
  chains?: (ChainId | ChainKey)[];
package/dist/cjs/api.d.ts CHANGED
@@ -251,6 +251,9 @@ export interface StatusData extends BaseStatusData {
251
251
  receiving: PendingReceivingInfo;
252
252
  }
253
253
  export type StatusResponse = FullStatusData | StatusData;
254
+ interface TransferMetadata {
255
+ integrator: string;
256
+ }
254
257
  export interface FullStatusData extends StatusData {
255
258
  transactionId: string;
256
259
  sending: ExtendedTransactionInfo;
@@ -258,6 +261,7 @@ export interface FullStatusData extends StatusData {
258
261
  lifiExplorerLink: string;
259
262
  fromAddress: string;
260
263
  toAddress: string;
264
+ metadata: TransferMetadata;
261
265
  bridgeExplorerLink?: string;
262
266
  }
263
267
  export interface ExtendedChain extends Chain {
@@ -270,7 +274,7 @@ export interface ChainsRequest {
270
274
  chainTypes?: ChainType[];
271
275
  }
272
276
  export interface ToolsRequest {
273
- chains?: ChainId[];
277
+ chains?: (ChainKey | ChainId)[];
274
278
  }
275
279
  export type TokensRequest = {
276
280
  chains?: (ChainId | ChainKey)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "9.3.0",
3
+ "version": "9.3.2",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",