Skip to content

Commit

Permalink
revert squadsx hack (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolley committed Nov 21, 2023
1 parent 5ced08e commit d096953
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 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.6.4-alpha.0",
"version": "5.6.4",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
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.6.4-alpha.0",
"version": "5.6.4",
"description": "JavaScript SDK to interact with Streamflow protocol.",
"main": "dist/index.js",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
Expand Down
9 changes: 1 addition & 8 deletions packages/stream/solana/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,7 @@ export async function signAllTransactionWithRecipients(
return { tx: t.tx, recipient: t.recipient };
});
} else if (isWallet) {
const signedTxs =
sender.name === "SquadsX"
? await Promise.all(
items.map((t) => {
return sender.signTransaction(t.tx);
})
)
: await sender.signAllTransactions(items.map((t) => t.tx));
const signedTxs = await sender.signAllTransactions(items.map((t) => t.tx));
return items.map((item, index) => ({
...item,
tx: signedTxs[index],
Expand Down

0 comments on commit d096953

Please sign in to comment.