New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lifi/types

Package Overview
Dependencies
Maintainers
1
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lifi/types - npm Package Compare versions

Comparing version 1.21.0 to 1.22.0

8

CHANGELOG.md

@@ -5,2 +5,10 @@ # Changelog

## [1.22.0](https://github.com/lifinance/types/compare/v1.21.0...v1.22.0) (2023-02-06)
### Features
* add opt allowDestCall flag to /routes,/quote ([#122](https://github.com/lifinance/types/issues/122)) ([a899bf2](https://github.com/lifinance/types/commit/a899bf2fee112de6fff002ee0c737f3325f71efa))
* make properties of Interface GetStatusRequest optional ([f2be836](https://github.com/lifinance/types/commit/f2be8362c4cad7227dba9ff4d4d9d885b9de4bc5))
## [1.21.0](https://github.com/lifinance/types/compare/v1.20.0...v1.21.0) (2023-01-26)

@@ -7,0 +15,0 @@

9

dist/api.d.ts
import { TransactionRequest } from '@ethersproject/providers';
import { BridgeDefinition, ChainId, ExchangeDefinition, Step, Token, Chain } from '.';
import { BridgeDefinition, Chain, ChainId, ExchangeDefinition, Step, Token } from '.';
import { ToolError } from './apiErrors';

@@ -22,2 +22,3 @@ export declare const Orders: readonly ["RECOMMENDED", "FASTEST", "CHEAPEST", "SAFEST"];

integrator?: string;
allowDestinationCall?: boolean;
referrer?: string;

@@ -111,2 +112,3 @@ bridges?: AllowDenyPrefer;

fee?: number | string;
allowDestinationCall?: boolean;
}

@@ -130,2 +132,3 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {

fee?: number | string;
allowDestinationCall?: boolean;
}

@@ -170,4 +173,4 @@ export interface ContractCallQuotesRequest extends ToolConfiguration {

bridge?: string;
fromChain: number | string;
toChain: number | string;
fromChain?: number | string;
toChain?: number | string;
}

@@ -174,0 +177,0 @@ export interface TransactionInfo {

import { TransactionRequest } from '@ethersproject/providers';
import { BridgeDefinition, ChainId, ExchangeDefinition, Step, Token, Chain } from '.';
import { BridgeDefinition, Chain, ChainId, ExchangeDefinition, Step, Token } from '.';
import { ToolError } from './apiErrors';

@@ -22,2 +22,3 @@ export declare const Orders: readonly ["RECOMMENDED", "FASTEST", "CHEAPEST", "SAFEST"];

integrator?: string;
allowDestinationCall?: boolean;
referrer?: string;

@@ -111,2 +112,3 @@ bridges?: AllowDenyPrefer;

fee?: number | string;
allowDestinationCall?: boolean;
}

@@ -130,2 +132,3 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {

fee?: number | string;
allowDestinationCall?: boolean;
}

@@ -170,4 +173,4 @@ export interface ContractCallQuotesRequest extends ToolConfiguration {

bridge?: string;
fromChain: number | string;
toChain: number | string;
fromChain?: number | string;
toChain?: number | string;
}

@@ -174,0 +177,0 @@ export interface TransactionInfo {

{
"name": "@lifi/types",
"version": "1.21.0",
"version": "1.22.0",
"description": "Types for the LI.FI stack",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc