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
265
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 16.7.0-beta.0 to 16.7.0-beta.1

4

package.json
{
"name": "@lifi/types",
"description": "Types for the LI.FI stack",
"version": "16.7.0-beta.0",
"version": "16.7.0-beta.1",
"files": [

@@ -46,2 +46,2 @@ "src",

]
}
}

@@ -24,3 +24,3 @@ <div align="center">

```bash
yarn add @lifi/types
pnpm add @lifi/types
```

@@ -41,3 +41,3 @@

```bash
yarn release
pnpm release
```

@@ -44,0 +44,0 @@

@@ -48,3 +48,2 @@ "use strict";

ChainKey["ABS"] = "abs";
ChainKey["SON"] = "son";
ChainKey["SOL"] = "sol";

@@ -102,3 +101,2 @@ ChainKey["TER"] = "ter";

ChainId[ChainId["ABS"] = 2741] = "ABS";
ChainId[ChainId["SON"] = 146] = "SON";
ChainId[ChainId["SOL"] = 1151111081099710] = "SOL";

@@ -105,0 +103,0 @@ ChainId[ChainId["TER"] = 1161011141099710] = "TER";

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./Chain.js"), exports);
tslib_1.__exportStar(require("./EVMChain.js"), exports);
tslib_1.__exportStar(require("./SolanaChain.js"), exports);
tslib_1.__exportStar(require("./UTXOChain.js"), exports);
tslib_1.__exportStar(require("./base.js"), exports);
__exportStar(require("./Chain.js"), exports);
__exportStar(require("./EVMChain.js"), exports);
__exportStar(require("./SolanaChain.js"), exports);
__exportStar(require("./UTXOChain.js"), exports);
__exportStar(require("./base.js"), exports);
//# sourceMappingURL=index.js.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./api.js"), exports);
tslib_1.__exportStar(require("./bridges.js"), exports);
tslib_1.__exportStar(require("./chains/index.js"), exports);
tslib_1.__exportStar(require("./errors.js"), exports);
tslib_1.__exportStar(require("./exchanges.js"), exports);
tslib_1.__exportStar(require("./step.js"), exports);
tslib_1.__exportStar(require("./tokens/index.js"), exports);
__exportStar(require("./api.js"), exports);
__exportStar(require("./bridges.js"), exports);
__exportStar(require("./chains/index.js"), exports);
__exportStar(require("./errors.js"), exports);
__exportStar(require("./exchanges.js"), exports);
__exportStar(require("./step.js"), exports);
__exportStar(require("./tokens/index.js"), exports);
//# sourceMappingURL=index.js.map

@@ -33,3 +33,2 @@ "use strict";

CoinKey["LSK"] = "LSK";
CoinKey["S"] = "S";
CoinKey["SOL"] = "SOL";

@@ -68,4 +67,3 @@ CoinKey["WSOL"] = "wSOL";

CoinKey["WCRO"] = "WCRO";
CoinKey["wS"] = "wS";
})(CoinKey || (exports.CoinKey = CoinKey = {}));
//# sourceMappingURL=base.js.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./base.js"), exports);
tslib_1.__exportStar(require("./token.js"), exports);
__exportStar(require("./base.js"), exports);
__exportStar(require("./token.js"), exports);
//# sourceMappingURL=index.js.map

@@ -46,3 +46,2 @@ export var ChainKey;

ChainKey["ABS"] = "abs";
ChainKey["SON"] = "son";
// None-EVM

@@ -102,3 +101,2 @@ ChainKey["SOL"] = "sol";

ChainId[ChainId["ABS"] = 2741] = "ABS";
ChainId[ChainId["SON"] = 146] = "SON";
// None-EVM (IDs are made up by the LI.FI team)

@@ -105,0 +103,0 @@ ChainId[ChainId["SOL"] = 1151111081099710] = "SOL";

@@ -30,3 +30,2 @@ export var CoinKey;

CoinKey["LSK"] = "LSK";
CoinKey["S"] = "S";
// Solana

@@ -69,4 +68,3 @@ CoinKey["SOL"] = "SOL";

CoinKey["WCRO"] = "WCRO";
CoinKey["wS"] = "wS";
})(CoinKey || (CoinKey = {}));
//# sourceMappingURL=base.js.map

@@ -540,3 +540,6 @@ import type { BridgeDefinition } from './bridges.js';

}
export interface GetStepRequest {
stepId: string;
}
export {};
//# sourceMappingURL=api.d.ts.map

@@ -44,3 +44,2 @@ export declare enum ChainKey {

ABS = "abs",
SON = "son",
SOL = "sol",

@@ -97,3 +96,2 @@ TER = "ter",

ABS = 2741,
SON = 146,
SOL = 1151111081099710,

@@ -100,0 +98,0 @@ TER = 1161011141099710,

@@ -82,2 +82,17 @@ import type { Substatus, TransactionRequest } from './api.js';

};
type StepInformationBase = {
tool: string;
type: string;
action: Action;
estimate: Estimate;
};
export type StepInformation = StepInformationBase & {
createdAt: Date;
gasLimit: string;
stepId: string;
transactionId: string;
intermediateActions: StepInformationBase[];
integrator?: string;
relatedLifiSteps?: string[];
};
export interface StepBase {

@@ -130,2 +145,3 @@ id: string;

export declare function isCustomStep(step: Step): step is CustomStep;
export {};
//# sourceMappingURL=step.d.ts.map

@@ -29,3 +29,2 @@ export declare enum CoinKey {

LSK = "LSK",// Lisk Token
S = "S",// Sonic Token
SOL = "SOL",

@@ -63,5 +62,4 @@ WSOL = "wSOL",

WBNB = "WBNB",// Wrapped BNB Token
WCRO = "WCRO",// Wrapped CRO Token
wS = "wS"
WCRO = "WCRO"
}
//# sourceMappingURL=base.d.ts.map

@@ -717,1 +717,5 @@ import type { BridgeDefinition } from './bridges.js'

extends PaginatedResponse<TransferSummary> {}
export interface GetStepRequest {
stepId: string
}

@@ -45,3 +45,2 @@ export enum ChainKey {

ABS = 'abs',
SON = 'son',

@@ -103,3 +102,2 @@ // None-EVM

ABS = 2741,
SON = 146,

@@ -106,0 +104,0 @@ // None-EVM (IDs are made up by the LI.FI team)

@@ -122,2 +122,19 @@ import type { Substatus, TransactionRequest } from './api.js'

type StepInformationBase = {
tool: string
type: string
action: Action
estimate: Estimate
}
export type StepInformation = StepInformationBase & {
createdAt: Date
gasLimit: string
stepId: string
transactionId: string
intermediateActions: StepInformationBase[]
integrator?: string
relatedLifiSteps?: string[]
}
export interface StepBase {

@@ -124,0 +141,0 @@ id: string

@@ -29,3 +29,2 @@ export enum CoinKey {

LSK = 'LSK', // Lisk Token
S = 'S', // Sonic Token

@@ -72,3 +71,2 @@ // Solana

WCRO = 'WCRO', // Wrapped CRO Token
wS = 'wS', // Wrapped Sonic Token
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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