@meteora-ag/dlmm 1.3.17-rc.7 → 1.3.17-rc.8

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 CHANGED
@@ -8749,7 +8749,8 @@ var DLMM = class {
8749
8749
  * @returns a Promise that resolves to the transaction.
8750
8750
  */
8751
8751
  async setPairStatusPermissionless(enable, creator) {
8752
- const tx = await this.program.methods.setPairStatusPermissionless(Number(enable)).accounts({
8752
+ const status = enable ? 0 : 1;
8753
+ const tx = await this.program.methods.setPairStatusPermissionless(status).accounts({
8753
8754
  lbPair: this.pubkey,
8754
8755
  creator
8755
8756
  }).transaction();