@hyperbridge/sdk 1.5.0 → 1.5.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.
@@ -8661,6 +8661,7 @@ var IndexerClient = class {
8661
8661
  async aggregateTransactionWithCommitment(commitment) {
8662
8662
  const logger = this.logger.withTag("aggregateTransactionWithCommitment");
8663
8663
  const { stateMachineId, consensusStateId } = this.config.source.config;
8664
+ const consensusStateIdToHex = toHex(consensusStateId);
8664
8665
  const sourceChain = this.config.source;
8665
8666
  const hyperbridge = this.config.hyperbridge;
8666
8667
  logger.trace("Querying post request with commitment hash");
@@ -8669,7 +8670,7 @@ var IndexerClient = class {
8669
8670
  logger.trace("Fetch latest stateMachineHeight");
8670
8671
  const latestStateMachineHeight = await hyperbridge.latestStateMachineHeight({
8671
8672
  stateId: parseStateMachineId(stateMachineId).stateId,
8672
- consensusStateId
8673
+ consensusStateId: consensusStateIdToHex
8673
8674
  });
8674
8675
  logger.trace("Query Request Proof from sourceChain");
8675
8676
  const proof = await sourceChain.queryProof(