diff --git a/express_relay/examples/easy_lend/src/monitor.ts b/express_relay/examples/easy_lend/src/monitor.ts index f5b6cd2844..bc12dfbb31 100644 --- a/express_relay/examples/easy_lend/src/monitor.ts +++ b/express_relay/examples/easy_lend/src/monitor.ts @@ -3,7 +3,7 @@ import { hideBin } from "yargs/helpers"; import { checkAddress, Client, - OpportunityParams, + OpportunityCreate, } from "@pythnetwork/express-relay-js"; import type { ContractFunctionReturnType } from "viem"; import { @@ -133,7 +133,7 @@ class ProtocolMonitor { { token: this.wethContract, amount: targetCallValue }, ]; } - const opportunity: OpportunityParams = { + const opportunity: OpportunityCreate = { chainId: this.chainId, targetContract: this.vaultContract, targetCalldata: calldata, diff --git a/express_relay/sdk/js/src/types.ts b/express_relay/sdk/js/src/types.ts index a1c74c4b6e..a9adea4168 100644 --- a/express_relay/sdk/js/src/types.ts +++ b/express_relay/sdk/js/src/types.ts @@ -121,8 +121,8 @@ export type OpportunitySvm = { }; export type OpportunityCreate = - | Omit - | Omit; + | Omit + | Omit; export type Opportunity = OpportunityEvm | OpportunitySvm; /**