Skip to content

Commit

Permalink
Update dependencies (#198)
Browse files Browse the repository at this point in the history
* update dependencies with vulnerabilities

* update few more dependencies, revert pnpm overrides
  • Loading branch information
tatomir-streamflow authored Sep 18, 2024
1 parent 5189092 commit 234546e
Show file tree
Hide file tree
Showing 7 changed files with 749 additions and 385 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": "6.4.2",
"version": "6.4.3",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint": "^8.56.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lerna": "7.1.4",
"lerna": "7.4.2",
"lint-staged": "^13.1.0",
"ts-jest": "^29.1.1",
"typedoc": "0.25.11",
Expand Down
8 changes: 4 additions & 4 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/common",
"version": "6.4.2",
"version": "6.4.3",
"description": "Common utilities and types used by streamflow packages.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/index.js",
Expand Down Expand Up @@ -34,12 +34,12 @@
"typescript": "^4.9.5"
},
"dependencies": {
"@coral-xyz/borsh": "^0.29.0",
"@coral-xyz/borsh": "0.30.1",
"@solana/buffer-layout": "4.0.1 ",
"@solana/spl-token": "0.3.6",
"@solana/wallet-adapter-base": "0.9.19",
"@solana/web3.js": "1.70.1",
"aptos": "1.4.0",
"@solana/web3.js": "1.90.2",
"aptos": "1.21.0",
"bn.js": "5.2.1",
"borsh": "^2.0.0",
"bs58": "5.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/common/solana/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function getProgramAccounts(
offset: number,
programId: PublicKey,
): Promise<Account[]> {
return connection?.getProgramAccounts(programId, {
const programAccounts = await connection?.getProgramAccounts(programId, {
filters: [
{
memcmp: {
Expand All @@ -67,6 +67,8 @@ export async function getProgramAccounts(
},
],
});

return [...programAccounts];
}

/**
Expand Down
6 changes: 3 additions & 3 deletions packages/distributor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/distributor",
"version": "6.4.2",
"version": "6.4.3",
"description": "JavaScript SDK to interact with Streamflow Airdrop protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/index.js",
Expand Down Expand Up @@ -33,11 +33,11 @@
"typescript": "^4.9.5"
},
"dependencies": {
"@coral-xyz/borsh": "^0.29.0",
"@coral-xyz/borsh": "0.30.1",
"@solana/buffer-layout": "4.0.1 ",
"@solana/spl-token": "0.3.6",
"@solana/wallet-adapter-base": "0.9.19",
"@solana/web3.js": "1.70.1",
"@solana/web3.js": "1.90.2",
"@streamflow/common": "workspace:*",
"bn.js": "5.2.1",
"borsh": "^2.0.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/stream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/stream",
"version": "6.4.2",
"version": "6.4.3",
"description": "JavaScript SDK to interact with Streamflow protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/index.js",
Expand Down Expand Up @@ -47,16 +47,16 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@coral-xyz/borsh": "^0.29.0",
"@manahippo/aptos-wallet-adapter": "1.0.6",
"@mysten/sui.js": "^0.45.1",
"@coral-xyz/borsh": "0.30.1",
"@manahippo/aptos-wallet-adapter": "1.0.10",
"@mysten/sui.js": "0.54.1",
"@solana/buffer-layout": "4.0.1 ",
"@solana/spl-token": "0.3.6",
"@solana/wallet-adapter-base": "0.9.19",
"@solana/web3.js": "1.70.1",
"@solana/web3.js": "1.90.2",
"@streamflow/common": "workspace:*",
"@suiet/wallet-kit": "0.2.22",
"aptos": "1.4.0",
"aptos": "1.21.0",
"bn.js": "5.2.1",
"borsh": "^2.0.0",
"bs58": "5.0.0",
Expand Down
Loading

0 comments on commit 234546e

Please sign in to comment.