@hyperbridge/sdk 1.3.12 → 1.3.14

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.
@@ -2757,8 +2757,7 @@ declare class IntentGateway {
2757
2757
  } | {
2758
2758
  status: string;
2759
2759
  data: {
2760
- proof: `0x${string}`;
2761
- height: bigint;
2760
+ proof: IProof;
2762
2761
  failedHeight?: undefined;
2763
2762
  error?: undefined;
2764
2763
  deadline?: undefined;
@@ -2770,7 +2769,6 @@ declare class IntentGateway {
2770
2769
  currentHeight: bigint;
2771
2770
  deadline: bigint;
2772
2771
  proof?: undefined;
2773
- height?: undefined;
2774
2772
  failedHeight?: undefined;
2775
2773
  error?: undefined;
2776
2774
  };
@@ -2781,7 +2779,6 @@ declare class IntentGateway {
2781
2779
  error: string;
2782
2780
  deadline: bigint;
2783
2781
  proof?: undefined;
2784
- height?: undefined;
2785
2782
  };
2786
2783
  } | {
2787
2784
  status: string;
@@ -12368,7 +12368,7 @@ var IntentGateway = class {
12368
12368
  let destIProof;
12369
12369
  if (storedData?.destIProof) {
12370
12370
  destIProof = storedData.destIProof;
12371
- yield { status: "DESTINATION_FINALIZED", data: { proof: destIProof.proof, height: destIProof.height } };
12371
+ yield { status: "DESTINATION_FINALIZED", data: { proof: destIProof } };
12372
12372
  } else {
12373
12373
  let latestHeight = 0n;
12374
12374
  let lastFailedHeight = null;
@@ -12423,7 +12423,7 @@ var IntentGateway = class {
12423
12423
  proof: proofHex,
12424
12424
  stateMachine: destStateMachine
12425
12425
  };
12426
- yield { status: "DESTINATION_FINALIZED", data: { proof: destIProof.proof, height: destIProof.height } };
12426
+ yield { status: "DESTINATION_FINALIZED", data: { proof: destIProof } };
12427
12427
  }
12428
12428
  const getRequest = storedData?.getRequest ?? (yield { status: "AWAITING_GET_REQUEST" });
12429
12429
  if (!getRequest) throw new Error("[Cancel Order]: Get Request not provided");