@meteora-ag/dlmm 1.1.1 → 1.1.2
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11148,7 +11148,7 @@ var DLMM = class {
|
|
|
11148
11148
|
const preActivationSwapPoint = this.lbPair.activationPoint.sub(
|
|
11149
11149
|
this.lbPair.preActivationDuration
|
|
11150
11150
|
);
|
|
11151
|
-
const activationPoint = !this.lbPair.
|
|
11151
|
+
const activationPoint = !this.lbPair.preActivationSwapAddress.equals(_web3js.PublicKey.default) && this.lbPair.preActivationSwapAddress.equals(swapInitiator) ? preActivationSwapPoint : this.lbPair.activationPoint;
|
|
11152
11152
|
if (currentPoint < activationPoint) {
|
|
11153
11153
|
return true;
|
|
11154
11154
|
}
|