alkanesjs 1.2.1 → 1.2.3

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
@@ -45384,6 +45384,7 @@ var AlkanesRpcProvider = class {
45384
45384
  ]);
45385
45385
  }
45386
45386
  async alkanes_simulate(req) {
45387
+ await this.provider.pacer.waitForPacer();
45387
45388
  const currentHeight = consumeOrThrow(
45388
45389
  await this.alkanes_metashrewHeight().call()
45389
45390
  );
@@ -45391,7 +45392,7 @@ var AlkanesRpcProvider = class {
45391
45392
  alkanes: req.alkanes ?? [],
45392
45393
  transaction: req.transaction ?? "0x",
45393
45394
  block: "0x",
45394
- height: "908474",
45395
+ height: currentHeight,
45395
45396
  txindex: req.txindex ?? 0,
45396
45397
  target: {
45397
45398
  block: req.target?.block?.toString() ?? "0",
@@ -45402,7 +45403,7 @@ var AlkanesRpcProvider = class {
45402
45403
  refundPointer: req.refundPointer ?? 0,
45403
45404
  vout: req.vout ?? 0
45404
45405
  };
45405
- console.log(merged);
45406
+ await this.provider.pacer.waitForPacer();
45406
45407
  const res = await this.rpc(
45407
45408
  "alkanes_simulate",
45408
45409
  [merged]