flipmeme-sdk 1.2.21 → 1.2.23

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
@@ -2619,8 +2619,8 @@ var SolanaConnector = class {
2619
2619
  name,
2620
2620
  tokenUri,
2621
2621
  totalSupply,
2622
- new import_bn2.default(1e5),
2623
- new import_bn2.default(1e7)
2622
+ new import_bn2.default(1e4),
2623
+ new import_bn2.default(1e6)
2624
2624
  ).accountsStrict({
2625
2625
  state: SOLANA_PUBKEYS.STATE_ID,
2626
2626
  collection: collectionPda2,
@@ -2849,7 +2849,7 @@ var SolanaConnector = class {
2849
2849
  throw new Error("Program not initialized");
2850
2850
  }
2851
2851
  let merkleTreeKeyPair = new import_web35.Keypair();
2852
- let canopyDepth = maxDepth > 6 ? 4 : 3;
2852
+ let canopyDepth = maxDepth > 20 ? maxDepth - 10 : maxDepth > 10 ? 10 : Math.floor(maxDepth / 2);
2853
2853
  let accountInx = yield (0, import_spl_account_compression.createAllocTreeIx)(
2854
2854
  this.config.provider.connection,
2855
2855
  merkleTreeKeyPair.publicKey,
@@ -3166,7 +3166,10 @@ var SolanaConnector = class {
3166
3166
  }
3167
3167
  transactions.push(transaction);
3168
3168
  }
3169
- const { signatures } = yield this.sendTxnForBatch(transactions, lookupTableAccounts);
3169
+ const { signatures } = yield this.sendTxnForBatch(
3170
+ transactions,
3171
+ lookupTableAccounts
3172
+ );
3170
3173
  } catch (e) {
3171
3174
  console.log("ERRORR in ejectAllNftsOfCollection", JSON.stringify(e));
3172
3175
  throw e;