@lifi/types 8.7.0 → 8.7.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.
package/dist/api.d.ts CHANGED
@@ -195,7 +195,7 @@ export interface ConnectionsRequest extends ToolConfiguration {
195
195
  fromToken?: string;
196
196
  toChain?: number | string;
197
197
  toToken?: string;
198
- chainType?: ChainType;
198
+ chainTypes?: ChainType[];
199
199
  }
200
200
  export interface Connection {
201
201
  fromChainId: number;
@@ -267,14 +267,14 @@ export interface ChainsResponse {
267
267
  chains: ExtendedChain[];
268
268
  }
269
269
  export interface ChainsRequest {
270
- chainType?: ChainType;
270
+ chainTypes?: ChainType[];
271
271
  }
272
272
  export interface ToolsRequest {
273
273
  chains?: ChainId[];
274
274
  }
275
275
  export type TokensRequest = {
276
276
  chains?: ChainId[];
277
- chainType?: ChainType;
277
+ chainTypes?: ChainType[];
278
278
  };
279
279
  export type TokensResponse = {
280
280
  tokens: {
package/dist/cjs/api.d.ts CHANGED
@@ -195,7 +195,7 @@ export interface ConnectionsRequest extends ToolConfiguration {
195
195
  fromToken?: string;
196
196
  toChain?: number | string;
197
197
  toToken?: string;
198
- chainType?: ChainType;
198
+ chainTypes?: ChainType[];
199
199
  }
200
200
  export interface Connection {
201
201
  fromChainId: number;
@@ -267,14 +267,14 @@ export interface ChainsResponse {
267
267
  chains: ExtendedChain[];
268
268
  }
269
269
  export interface ChainsRequest {
270
- chainType?: ChainType;
270
+ chainTypes?: ChainType[];
271
271
  }
272
272
  export interface ToolsRequest {
273
273
  chains?: ChainId[];
274
274
  }
275
275
  export type TokensRequest = {
276
276
  chains?: ChainId[];
277
- chainType?: ChainType;
277
+ chainTypes?: ChainType[];
278
278
  };
279
279
  export type TokensResponse = {
280
280
  tokens: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "8.7.0",
3
+ "version": "8.7.1",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",