@kaspacom/kcc20-tx-builder 0.6.0 → 0.6.1

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.
@@ -5948,6 +5948,11 @@ function createKcc20PsktBuilderEngine(options) {
5948
5948
  if (requestedMinterUtxos.length === 0) {
5949
5949
  throw new Error("active KCC20 mint-authority UTXO is required");
5950
5950
  }
5951
+ // The caller submits larger updates as sequential batches. Never truncate
5952
+ // this array: every supplied authority must be represented in the result.
5953
+ if (requestedMinterUtxos.length > 5) {
5954
+ throw new Error("Public mint availability updates support at most 5 authorities per transaction");
5955
+ }
5951
5956
  if (typeof params.active !== "boolean") {
5952
5957
  throw new Error("active must be a boolean");
5953
5958
  }