From 08187365d2ed2ec74cc63e418b2dfc5908b5424a Mon Sep 17 00:00:00 2001 From: Yolley Date: Wed, 13 Mar 2024 04:45:45 +0100 Subject: [PATCH] fix prepareWithdrawInstructions typo (#141) --- lerna.json | 2 +- package-lock.json | 2 +- packages/stream/package.json | 2 +- packages/stream/solana/StreamClient.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lerna.json b/lerna.json index 58180738..d473adcc 100644 --- a/lerna.json +++ b/lerna.json @@ -2,6 +2,6 @@ "packages": [ "packages/*" ], - "version": "5.11.1", + "version": "5.11.2", "$schema": "node_modules/lerna/schemas/lerna-schema.json" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 772c53fc..62f83ee3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22131,7 +22131,7 @@ }, "packages/stream": { "name": "@streamflow/stream", - "version": "5.11.1", + "version": "5.11.2", "dependencies": { "@manahippo/aptos-wallet-adapter": "1.0.6", "@mysten/sui.js": "^0.45.1", diff --git a/packages/stream/package.json b/packages/stream/package.json index 8dbe6ae9..0684ef97 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -1,6 +1,6 @@ { "name": "@streamflow/stream", - "version": "5.11.1", + "version": "5.11.2", "description": "JavaScript SDK to interact with Streamflow protocol.", "homepage": "https://github.com/streamflow-finance/js-sdk/", "main": "dist/index.js", diff --git a/packages/stream/solana/StreamClient.ts b/packages/stream/solana/StreamClient.ts index af3f998b..886c6118 100644 --- a/packages/stream/solana/StreamClient.ts +++ b/packages/stream/solana/StreamClient.ts @@ -547,7 +547,7 @@ export default class SolanaStreamClient extends BaseStreamClient { { id, amount = WITHDRAW_AVAILABLE_AMOUNT }: IWithdrawData, extParams: IInteractStreamSolanaExt ): Promise { - const ixs: TransactionInstruction[] = await this.prepareWithdawInstructions( + const ixs: TransactionInstruction[] = await this.prepareWithdrawInstructions( { id, amount }, extParams ); @@ -565,7 +565,7 @@ export default class SolanaStreamClient extends BaseStreamClient { /** * Creates Transaction Instructions for withdrawal */ - public async prepareWithdawInstructions( + public async prepareWithdrawInstructions( { id, amount = WITHDRAW_AVAILABLE_AMOUNT }: IWithdrawData, { invoker, checkTokenAccounts, computePrice, computeLimit }: IInteractStreamSolanaExt ): Promise {