@meteora-ag/dlmm 1.4.7 → 1.4.8-rc.0
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 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11826,9 +11826,7 @@ var DLMM = class {
|
|
|
11826
11826
|
])
|
|
11827
11827
|
]);
|
|
11828
11828
|
const [activeBin, positionsV2] = promiseResults;
|
|
11829
|
-
|
|
11830
|
-
...positionsV2.map((p) => new PositionV2Wrapper(p.publicKey, p.account))
|
|
11831
|
-
];
|
|
11829
|
+
console.log("\u{1F680} ~ DLMM ~ getPositionsByUserAndLbPair ~ positionsV2:", positionsV2);
|
|
11832
11830
|
if (!activeBin) {
|
|
11833
11831
|
throw new Error("Error fetching active bin");
|
|
11834
11832
|
}
|
|
@@ -11838,6 +11836,9 @@ var DLMM = class {
|
|
|
11838
11836
|
userPositions: []
|
|
11839
11837
|
};
|
|
11840
11838
|
}
|
|
11839
|
+
const positions = [
|
|
11840
|
+
...positionsV2.map((p) => new PositionV2Wrapper(p.publicKey, p.account))
|
|
11841
|
+
];
|
|
11841
11842
|
if (!positions) {
|
|
11842
11843
|
throw new Error("Error fetching positions");
|
|
11843
11844
|
}
|