@hiero-ledger/sdk 2.71.0 → 2.72.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/umd.js CHANGED
@@ -59024,6 +59024,12 @@
59024
59024
  this._maxTransactionFee == null
59025
59025
  ? this._defaultMaxTransactionFee.toTinybars()
59026
59026
  : this._maxTransactionFee.toTinybars(),
59027
+ maxCustomFees:
59028
+ this._customFeeLimits != null
59029
+ ? this._customFeeLimits.map((maxCustomFee) =>
59030
+ maxCustomFee._toProtobuf(),
59031
+ )
59032
+ : null,
59027
59033
  [this._getTransactionDataCase()]: this._makeTransactionData(),
59028
59034
  };
59029
59035
  }
@@ -73307,7 +73313,11 @@
73307
73313
  */
73308
73314
  setGas(gas) {
73309
73315
  this._requireNotFrozen();
73310
- this._gas = gas instanceof Long ? gas : Long.fromValue(gas);
73316
+ const gasLong = gas instanceof Long ? gas : Long.fromValue(gas);
73317
+ if (gasLong.lt(0)) {
73318
+ throw new Error("Gas must be greater than 0");
73319
+ }
73320
+ this._gas = gasLong;
73311
73321
 
73312
73322
  return this;
73313
73323
  }
@@ -97940,7 +97950,7 @@
97940
97950
 
97941
97951
  const SDK_NAME = "hiero-sdk-js";
97942
97952
  const SDK_VERSION =
97943
- "2.71.0" ;
97953
+ "2.72.0" ;
97944
97954
 
97945
97955
  // SPDX-License-Identifier: Apache-2.0
97946
97956