@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.
@@ -8611,6 +8611,7 @@ var IndexerClient = class {
8611
8611
  async aggregateTransactionWithCommitment(commitment) {
8612
8612
  const logger = this.logger.withTag("aggregateTransactionWithCommitment");
8613
8613
  const { stateMachineId, consensusStateId } = this.config.source.config;
8614
+ const consensusStateIdToHex = toHex(consensusStateId);
8614
8615
  const sourceChain = this.config.source;
8615
8616
  const hyperbridge = this.config.hyperbridge;
8616
8617
  logger.trace("Querying post request with commitment hash");
@@ -8619,7 +8620,7 @@ var IndexerClient = class {
8619
8620
  logger.trace("Fetch latest stateMachineHeight");
8620
8621
  const latestStateMachineHeight = await hyperbridge.latestStateMachineHeight({
8621
8622
  stateId: parseStateMachineId(stateMachineId).stateId,
8622
- consensusStateId
8623
+ consensusStateId: consensusStateIdToHex
8623
8624
  });
8624
8625
  logger.trace("Query Request Proof from sourceChain");
8625
8626
  const proof = await sourceChain.queryProof(