Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nftx/types

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nftx/types - npm Package Compare versions

Comparing version 1.11.1 to 1.14.0

13

CHANGELOG.md

@@ -6,2 +6,15 @@ # Change Log

# [1.14.0](https://github.com/NFTX-project/nftxjs/compare/v1.13.2...v1.14.0) (2024-02-01)
### Features
* add full range flag to positions ([c4e7fef](https://github.com/NFTX-project/nftxjs/commit/c4e7fef35607624a2fa6bfde6ddc918b08f511e6))
* include poolName, tick, and tickValue in liquidity position ([ba6814c](https://github.com/NFTX-project/nftxjs/commit/ba6814c38dccffa7085c2ca8541671b9604da7bb))
* include tickValue in liquidity pool - this is the eth price for the current tick ([0d44ee8](https://github.com/NFTX-project/nftxjs/commit/0d44ee8875f6ced71cd019c9ada7b0a914ffc60a))
## [1.11.1](https://github.com/NFTX-project/nftxjs/compare/v1.11.0...v1.11.1) (2024-01-19)

@@ -8,0 +21,0 @@

2

dist/ts/pools.d.ts

@@ -24,2 +24,4 @@ import type { Token } from './tokens';

tick: bigint;
/** The current tick price */
tickValue: bigint;
totalLiquidity: bigint;

@@ -26,0 +28,0 @@ activeLiquidity: bigint;

@@ -10,2 +10,3 @@ import type { Address, TokenId } from './web3';

vaultAddress: Address;
poolName: string;
/** The upper boundary of the position range */

@@ -15,2 +16,8 @@ tickUpper: bigint;

tickLower: bigint;
/** The current tick of the pool */
tick: bigint;
/** Whether the position is an infinite range */
isFullRange: boolean;
/** The current tick price */
tickValue: bigint;
/** The upper tick in ETH */

@@ -17,0 +24,0 @@ tickUpperValue: bigint;

4

dist/ts/quotes.d.ts

@@ -21,3 +21,3 @@ import { CreatePoolFeatures, CreatePoolFees } from './pools';

wethMin: bigint;
infiniteRange: boolean;
fullRange: boolean;
};

@@ -131,3 +131,3 @@ export type CreateVaultQuote = {

ethToPair: bigint;
infiniteRange: boolean;
fullRange: boolean;
};

@@ -134,0 +134,0 @@ tokenIds: [TokenId, number][];

{
"name": "@nftx/types",
"version": "1.11.1",
"version": "1.14.0",
"description": " ",

@@ -30,3 +30,3 @@ "homepage": "https://github.com/NFTX-project/nftxjs#readme",

"dependencies": {
"@nftx/constants": "^1.11.1",
"@nftx/constants": "^1.14.0",
"abitype": "0.9.8",

@@ -33,0 +33,0 @@ "viem": "^1.16.6"

@@ -25,2 +25,4 @@ import type { Token } from './tokens';

tick: bigint;
/** The current tick price */
tickValue: bigint;
totalLiquidity: bigint;

@@ -27,0 +29,0 @@ activeLiquidity: bigint;

@@ -11,2 +11,3 @@ import type { Address, TokenId } from './web3';

vaultAddress: Address;
poolName: string;
/** The upper boundary of the position range */

@@ -16,2 +17,8 @@ tickUpper: bigint;

tickLower: bigint;
/** The current tick of the pool */
tick: bigint;
/** Whether the position is an infinite range */
isFullRange: boolean;
/** The current tick price */
tickValue: bigint;
/** The upper tick in ETH */

@@ -18,0 +25,0 @@ tickUpperValue: bigint;

@@ -22,3 +22,3 @@ import { CreatePoolFeatures, CreatePoolFees } from './pools';

wethMin: bigint;
infiniteRange: boolean;
fullRange: boolean;
};

@@ -140,3 +140,3 @@

ethToPair: bigint;
infiniteRange: boolean;
fullRange: boolean;
};

@@ -143,0 +143,0 @@ tokenIds: [TokenId, number][];

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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