koilib 5.2.3 → 5.3.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.
package/dist/koinos.js CHANGED
@@ -11222,7 +11222,7 @@ class Signer {
11222
11222
  async sendTransaction(transaction, options) {
11223
11223
  var _a;
11224
11224
  if (!transaction.signatures || !((_a = transaction.signatures) === null || _a === void 0 ? void 0 : _a.length))
11225
- transaction = await this.signTransaction(transaction);
11225
+ transaction = await this.signTransaction(transaction, options === null || options === void 0 ? void 0 : options.abis);
11226
11226
  if (!this.provider)
11227
11227
  throw new Error("provider is undefined");
11228
11228
  const opts = {
@@ -11230,7 +11230,7 @@ class Signer {
11230
11230
  ...options,
11231
11231
  };
11232
11232
  if (opts.beforeSend) {
11233
- await opts.beforeSend(transaction);
11233
+ await opts.beforeSend(transaction, options);
11234
11234
  }
11235
11235
  return this.provider.sendTransaction(transaction, opts.broadcast);
11236
11236
  }