From cfc70ec11fba9e40867e554a18219055842ea6af Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 25 Nov 2024 12:50:19 +0100 Subject: [PATCH] fix: import --- .../modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.ts | 2 +- .../core/modules/wasm/exec-args/ExecArgNeptuneDeposit.ts | 6 ++---- .../core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.ts | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.ts b/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.ts index 277b405a7..59e84b4df 100644 --- a/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.ts +++ b/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgCreateSpotGridStrategy.ts @@ -3,7 +3,6 @@ import { ExecArgBase, ExecDataRepresentation, } from '../ExecArgBase.js' - import { ExitType, ExitConfig, @@ -11,6 +10,7 @@ import { TrailingArithmetic, TrailingArithmeticLP, } from '../types.js' + export declare namespace ExecArgCreateSpotGridStrategy { export interface Params { subaccountId: string diff --git a/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.ts b/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.ts index 76a74956a..1d6fc1af3 100644 --- a/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.ts +++ b/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneDeposit.ts @@ -1,6 +1,6 @@ import { - dataToExecData, ExecArgBase, + dataToExecData, ExecDataRepresentation, } from '../ExecArgBase.js' @@ -17,9 +17,7 @@ export default class ExecArgNeptuneDeposit extends ExecArgBase< ExecArgNeptuneDeposit.Params, ExecArgNeptuneDeposit.Data > { - static fromJSON( - params: ExecArgNeptuneDeposit.Params, - ): ExecArgNeptuneDeposit { + static fromJSON(params: ExecArgNeptuneDeposit.Params): ExecArgNeptuneDeposit { return new ExecArgNeptuneDeposit(params) } diff --git a/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.ts b/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.ts index 2a4133fcc..2d505a5bf 100644 --- a/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.ts +++ b/packages/sdk-ts/src/core/modules/wasm/exec-args/ExecArgNeptuneWithdraw.ts @@ -5,7 +5,6 @@ import { } from '../ExecArgBase.js' import { toBase64 } from '../../../../utils' - export declare namespace ExecArgNeptuneWithdraw { export interface Params { amount: string