Skip to content

Commit

Permalink
fix prepareWithdrawInstructions typo (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolley authored Mar 13, 2024
1 parent 8ae9fa7 commit 0818736
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"packages": [
"packages/*"
],
"version": "5.11.1",
"version": "5.11.2",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/stream/solana/StreamClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ export default class SolanaStreamClient extends BaseStreamClient {
{ id, amount = WITHDRAW_AVAILABLE_AMOUNT }: IWithdrawData,
extParams: IInteractStreamSolanaExt
): Promise<ITransactionResult> {
const ixs: TransactionInstruction[] = await this.prepareWithdawInstructions(
const ixs: TransactionInstruction[] = await this.prepareWithdrawInstructions(
{ id, amount },
extParams
);
Expand All @@ -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<TransactionInstruction[]> {
Expand Down

0 comments on commit 0818736

Please sign in to comment.