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
272
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 2.5.2 to 2.5.3

7

CHANGELOG.md

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

### [2.5.3](https://github.com/lifinance/types/compare/v2.5.2...v2.5.3) (2023-03-17)
### Bug Fixes
* make insurance on route optional ([f526874](https://github.com/lifinance/types/commit/f526874aa0fab83e2dfb697e45380bdbbbfc7f8b))
### [2.5.2](https://github.com/lifinance/types/compare/v2.5.1...v2.5.2) (2023-03-16)

@@ -7,0 +14,0 @@

4

dist/api.d.ts

@@ -61,3 +61,3 @@ import { TransactionRequest } from '@ethersproject/providers';

id: string;
insurance: Insurance;
insurance?: Insurance;
fromChainId: number;

@@ -217,3 +217,3 @@ fromAmountUSD: string;

export type Substatus = SubstatusPending | SubstatusDone | SubstatusFailed;
export declare const isSubstatusPending: (substatus: Substatus) => substatus is "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "REFUND_IN_PROGRESS" | "UNKNOWN_ERROR";
export declare const isSubstatusPending: (substatus: Substatus) => substatus is "UNKNOWN_ERROR" | "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "REFUND_IN_PROGRESS";
export declare const isSubstatusDone: (substatus: Substatus) => substatus is "COMPLETED" | "PARTIAL" | "REFUNDED";

@@ -220,0 +220,0 @@ export declare const isSubstatusFailed: (substatus: Substatus) => substatus is "NOT_PROCESSABLE_REFUND_NEEDED";

@@ -61,3 +61,3 @@ import { TransactionRequest } from '@ethersproject/providers';

id: string;
insurance: Insurance;
insurance?: Insurance;
fromChainId: number;

@@ -217,3 +217,3 @@ fromAmountUSD: string;

export type Substatus = SubstatusPending | SubstatusDone | SubstatusFailed;
export declare const isSubstatusPending: (substatus: Substatus) => substatus is "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "REFUND_IN_PROGRESS" | "UNKNOWN_ERROR";
export declare const isSubstatusPending: (substatus: Substatus) => substatus is "UNKNOWN_ERROR" | "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "REFUND_IN_PROGRESS";
export declare const isSubstatusDone: (substatus: Substatus) => substatus is "COMPLETED" | "PARTIAL" | "REFUNDED";

@@ -220,0 +220,0 @@ export declare const isSubstatusFailed: (substatus: Substatus) => substatus is "NOT_PROCESSABLE_REFUND_NEEDED";

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

@@ -78,11 +78,11 @@ "main": "./dist/cjs/index.js",

"@commitlint/config-conventional": "^17.4.4",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.4.3",
"lint-staged": "^13.1.2",
"jest": "^29.5.0",
"lint-staged": "^13.2.0",
"npm-run-all": "^4.1.5",

@@ -93,3 +93,3 @@ "pinst": "^3.0.0",

"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
"typescript": "^5.0.2"
},

@@ -99,3 +99,3 @@ "directories": {

},
"packageManager": "yarn@3.4.1"
"packageManager": "yarn@3.5.0"
}
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