Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/sdk/src/breeze-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class BreezeSDK {

// Transaction operations
async createDepositTransaction(options: {
/** @deprecated Use `strategyId` + `baseAsset`. See https://api.breeze.baby/openapi/sdk.json */
fundId?: string;
amount?: number;
userKey?: string;
Expand All @@ -114,6 +115,7 @@ export class BreezeSDK {
}

async createWithdrawTransaction(options: {
/** @deprecated Use `strategyId` + `baseAsset`. See https://api.breeze.baby/openapi/sdk.json */
fundId?: string;
amount?: number;
userKey?: string;
Expand Down Expand Up @@ -146,6 +148,7 @@ export class BreezeSDK {
}

async getDepositInstructions(options: {
/** @deprecated Use `strategyId` + `baseAsset`. See https://api.breeze.baby/openapi/sdk.json */
fundId?: string;
amount?: number;
userKey?: string;
Expand All @@ -170,6 +173,7 @@ export class BreezeSDK {
}

async getWithdrawInstruction(options: {
/** @deprecated Use `strategyId` + `baseAsset`. See https://api.breeze.baby/openapi/sdk.json */
fundId?: string;
amount?: number;
userKey?: string;
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/instructionsForDeposit/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type BodyForDepositInstructions = {
};

type InputForDeposit = {
/** @deprecated Use `strategy_id` + `base_asset`. See https://api.breeze.baby/openapi/sdk.json */
fund_id?: string;
amount?: number;
all?: boolean;
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/instructionsForWithdraw/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type BodyForWithdrawInstructions = {
};

type InputForWithdraw = {
/** @deprecated Use `strategy_id` + `base_asset`. See https://api.breeze.baby/openapi/sdk.json */
fund_id?: string;
amount?: number;
all?: boolean;
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/transactionForDeposit/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type BodyForTxDeposit = {
};

type InputForDeposit = {
/** @deprecated Use `strategy_id` + `base_asset`. See https://api.breeze.baby/openapi/sdk.json */
fund_id?: string;
amount?: number;
all?: boolean;
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/transactionForWithdraw/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type BodyForTxWithdraw = {
};

type InputForWithdraw = {
/** @deprecated Use `strategy_id` + `base_asset`. See https://api.breeze.baby/openapi/sdk.json */
fund_id?: string;
amount?: number;
all?: boolean;
Expand Down