flash-sdk 2.22.1 → 2.23.0

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.
@@ -4098,7 +4098,7 @@ export declare class PerpetualsClient {
4098
4098
  instructions: TransactionInstruction[];
4099
4099
  additionalSigners: Signer[];
4100
4100
  }>;
4101
- editLimitOrder: (targetSymbol: string, collateralSymbol: string, reserveSymbol: string, side: Side, orderId: number, limitPrice: ContractOraclePrice, sizeAmount: BN, stopLossPrice: ContractOraclePrice, takeProfitPrice: ContractOraclePrice, receiveCustodyId: number, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any) => Promise<{
4101
+ editLimitOrder: (targetSymbol: string, collateralSymbol: string, reserveSymbol: string, side: Side, orderId: number, limitPrice: ContractOraclePrice, sizeAmount: BN, stopLossPrice: ContractOraclePrice, takeProfitPrice: ContractOraclePrice, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any) => Promise<{
4102
4102
  instructions: TransactionInstruction[];
4103
4103
  additionalSigners: Signer[];
4104
4104
  }>;
@@ -4106,10 +4106,6 @@ export declare class PerpetualsClient {
4106
4106
  instructions: TransactionInstruction[];
4107
4107
  additionalSigners: Signer[];
4108
4108
  }>;
4109
- executeLimitWithSwap: (userPubkey: PublicKey, targetSymbol: string, collateralSymbol: string, reserveSymbol: string, side: Side, orderId: number, poolConfig: PoolConfig, privilege: Privilege, nftTradingAccount?: PublicKey, nftReferralAccount?: PublicKey, nftRebateTokenAccount?: PublicKey) => Promise<{
4110
- instructions: TransactionInstruction[];
4111
- additionalSigners: Signer[];
4112
- }>;
4113
4109
  placeTriggerOrder: (targetSymbol: string, collateralSymbol: string, side: Side, triggerPrice: ContractOraclePrice, deltaSizeAmount: BN, isStopLoss: boolean, receiveCustodyId: number, poolConfig: PoolConfig) => Promise<{
4114
4110
  instructions: TransactionInstruction[];
4115
4111
  additionalSigners: Signer[];
@@ -4122,15 +4118,11 @@ export declare class PerpetualsClient {
4122
4118
  instructions: TransactionInstruction[];
4123
4119
  additionalSigners: Signer[];
4124
4120
  }>;
4125
- executeTriggerWithSwap: (owner: PublicKey, targetSymbol: string, collateralSymbol: string, receivingSymbol: string, side: Side, orderId: number, isStopLoss: boolean, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any) => Promise<{
4126
- instructions: TransactionInstruction[];
4127
- additionalSigners: Signer[];
4128
- }>;
4129
4121
  executeTriggerOrder: (owner: PublicKey, targetSymbol: string, collateralSymbol: string, side: Side, orderId: number, isStopLoss: boolean, poolConfig: PoolConfig, createUserATA?: boolean, ephemeralSignerPubkey?: any) => Promise<{
4130
4122
  instructions: TransactionInstruction[];
4131
4123
  additionalSigners: Signer[];
4132
4124
  }>;
4133
- migrateTriggerOrder: (owner: PublicKey, marketAccount: PublicKey, poolConfig: PoolConfig) => Promise<{
4125
+ migrateTriggerOrder: (owner: PublicKey, targetSymbol: string, collateralSymbol: string, side: Side, poolConfig: PoolConfig) => Promise<{
4134
4126
  instructions: TransactionInstruction[];
4135
4127
  additionalSigners: Signer[];
4136
4128
  }>;