Skip to content

Commit

Permalink
common: adjust daimo pay types
Browse files Browse the repository at this point in the history
(cherry picked from commit 039cef2)
  • Loading branch information
kayleegeorge committed Oct 4, 2024
1 parent 185b387 commit da519f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/daimo-common/src/daimoPay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export type DaimoPayDehydratedOrder = {
itemsJson: string | null;
paymentOptionsJson: string;
redirectUri: string | null;
orgId: string | null;
createdAt: Date;
};

export type DaimoPayHydratedOrder = {
Expand All @@ -51,6 +53,7 @@ export type DaimoPayHydratedOrder = {
destFinalCall: OnChainCall;
destRefundAddr: Address;
destNonce: bigint;
sourceFulfillerAddr: Address | null;
sourceTokenAmount: DaimoPayTokenAmount | null;
sourceInitiateTxHash: Hex | null;
sourceStartTxHash: Hex | null;
Expand All @@ -62,6 +65,8 @@ export type DaimoPayHydratedOrder = {
itemsJson: string | null;
paymentOptionsJson: string;
redirectUri: string | null;
orgId: string | null;
createdAt: Date;
};

export type DaimoPayHydratedOrderWithoutHandoffAddr = Omit<
Expand Down

0 comments on commit da519f1

Please sign in to comment.