@pancakeswap/infinity-sdk 1.0.8 → 1.0.9
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/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -6724,10 +6724,10 @@ var addBinLiquidityMulticall = ({
|
|
|
6724
6724
|
if (!isInitialized) {
|
|
6725
6725
|
calls.push(encodeBinPositionManagerInitializePoolCalldata(poolKey, activeIdDesired));
|
|
6726
6726
|
}
|
|
6727
|
-
if (token0Permit2Signature) {
|
|
6727
|
+
if (token0Permit2Signature && token0Permit2Signature.signature !== "0x") {
|
|
6728
6728
|
calls.push(encodePermit2(owner, token0Permit2Signature));
|
|
6729
6729
|
}
|
|
6730
|
-
if (token1Permit2Signature) {
|
|
6730
|
+
if (token1Permit2Signature && token1Permit2Signature.signature !== "0x") {
|
|
6731
6731
|
calls.push(encodePermit2(owner, token1Permit2Signature));
|
|
6732
6732
|
}
|
|
6733
6733
|
const shape = getLiquidityShape({
|
|
@@ -7256,10 +7256,10 @@ var addCLLiquidityMulticall = ({
|
|
|
7256
7256
|
if (!isInitialized) {
|
|
7257
7257
|
calls.push(encodeCLPositionManagerInitializePoolCalldata(positionConfig.poolKey, sqrtPriceX96));
|
|
7258
7258
|
}
|
|
7259
|
-
if (token0Permit2Signature) {
|
|
7259
|
+
if (token0Permit2Signature && token0Permit2Signature.signature !== "0x") {
|
|
7260
7260
|
calls.push(encodePermit2(owner, token0Permit2Signature));
|
|
7261
7261
|
}
|
|
7262
|
-
if (token1Permit2Signature) {
|
|
7262
|
+
if (token1Permit2Signature && token1Permit2Signature.signature !== "0x") {
|
|
7263
7263
|
calls.push(encodePermit2(owner, token1Permit2Signature));
|
|
7264
7264
|
}
|
|
7265
7265
|
if (typeof tokenId === "undefined") {
|
package/dist/index.mjs
CHANGED
|
@@ -6718,10 +6718,10 @@ var addBinLiquidityMulticall = ({
|
|
|
6718
6718
|
if (!isInitialized) {
|
|
6719
6719
|
calls.push(encodeBinPositionManagerInitializePoolCalldata(poolKey, activeIdDesired));
|
|
6720
6720
|
}
|
|
6721
|
-
if (token0Permit2Signature) {
|
|
6721
|
+
if (token0Permit2Signature && token0Permit2Signature.signature !== "0x") {
|
|
6722
6722
|
calls.push(encodePermit2(owner, token0Permit2Signature));
|
|
6723
6723
|
}
|
|
6724
|
-
if (token1Permit2Signature) {
|
|
6724
|
+
if (token1Permit2Signature && token1Permit2Signature.signature !== "0x") {
|
|
6725
6725
|
calls.push(encodePermit2(owner, token1Permit2Signature));
|
|
6726
6726
|
}
|
|
6727
6727
|
const shape = getLiquidityShape({
|
|
@@ -7250,10 +7250,10 @@ var addCLLiquidityMulticall = ({
|
|
|
7250
7250
|
if (!isInitialized) {
|
|
7251
7251
|
calls.push(encodeCLPositionManagerInitializePoolCalldata(positionConfig.poolKey, sqrtPriceX96));
|
|
7252
7252
|
}
|
|
7253
|
-
if (token0Permit2Signature) {
|
|
7253
|
+
if (token0Permit2Signature && token0Permit2Signature.signature !== "0x") {
|
|
7254
7254
|
calls.push(encodePermit2(owner, token0Permit2Signature));
|
|
7255
7255
|
}
|
|
7256
|
-
if (token1Permit2Signature) {
|
|
7256
|
+
if (token1Permit2Signature && token1Permit2Signature.signature !== "0x") {
|
|
7257
7257
|
calls.push(encodePermit2(owner, token1Permit2Signature));
|
|
7258
7258
|
}
|
|
7259
7259
|
if (typeof tokenId === "undefined") {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.9",
|
|
8
8
|
"description": "⚒️ An SDK for building applications on top of Pancakeswap Infinity",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"bignumber.js": "^9.0.0",
|
|
22
22
|
"tiny-invariant": "^1.3.3",
|
|
23
23
|
"viem": "2.37.13",
|
|
24
|
-
"@pancakeswap/chains": "0.
|
|
24
|
+
"@pancakeswap/chains": "0.9.0",
|
|
25
25
|
"@pancakeswap/swap-sdk-core": "1.6.0",
|
|
26
|
-
"@pancakeswap/v3-sdk": "3.10.
|
|
27
|
-
"@pancakeswap/permit2-sdk": "1.2.
|
|
26
|
+
"@pancakeswap/v3-sdk": "3.10.1",
|
|
27
|
+
"@pancakeswap/permit2-sdk": "1.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"tsup": "^6.7.0",
|
|
31
|
-
"@pancakeswap/swap-sdk-evm": "1.2.
|
|
32
|
-
"@pancakeswap/utils": "8.0.
|
|
31
|
+
"@pancakeswap/swap-sdk-evm": "1.2.1",
|
|
32
|
+
"@pancakeswap/utils": "8.0.3"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=10"
|