@meteora-ag/dlmm 1.6.0-rc.10 → 1.6.0-rc.11

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.d.ts CHANGED
@@ -10680,7 +10680,7 @@ declare class DLMM {
10680
10680
  *
10681
10681
  * @returns An object containing the instructions to initialize new bin arrays and the instruction to rebalance the position.
10682
10682
  */
10683
- rebalancePosition(rebalancePositionResponse: RebalancePositionResponse, maxActiveBinSlippage: BN$1, rentPayer?: PublicKey, slippage?: number): Promise<any[]>;
10683
+ rebalancePosition(rebalancePositionResponse: RebalancePositionResponse, maxActiveBinSlippage: BN$1, rentPayer?: PublicKey, slippage?: number): Promise<TransactionInstruction[][]>;
10684
10684
  /**
10685
10685
  * Create an extended empty position.
10686
10686
  *
package/dist/index.js CHANGED
@@ -18518,15 +18518,12 @@ var DLMM = class {
18518
18518
  );
18519
18519
  const rebalancePositionInstruction = [
18520
18520
  setCUIX,
18521
+ ...initBinArrayInstructions,
18521
18522
  ...preInstructions,
18522
18523
  instruction,
18523
18524
  ...postInstructions
18524
18525
  ];
18525
- allInstructions.push({
18526
- initBinArrayInstructions,
18527
- rebalancePositionInstruction,
18528
- chunk
18529
- });
18526
+ allInstructions.push(rebalancePositionInstruction);
18530
18527
  }
18531
18528
  return allInstructions;
18532
18529
  }