Skip to content

Commit

Permalink
fix: vulnerebilities in packages
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerAnsh committed Sep 7, 2024
1 parent 602931a commit c4b735a
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 46 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
"axios@>=0.8.1 <0.28.0": "^1.6.7",
"jose@>=3.0.0 <=4.15.4": ">=4.15.5",
"follow-redirects@<=1.15.5": ">=1.15.6"
"follow-redirects@<=1.15.5": ">=1.15.6",
"braces@<3.0.3": ">=3.0.3",
"ws@>=7.0.0 <7.5.10": ">=7.5.10",
"micromatch@<4.0.8": ">=4.0.8"
}
}
}
5 changes: 4 additions & 1 deletion packages/andrjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
"axios@>=0.8.1 <0.28.0": ">=0.28.0",
"jose@>=3.0.0 <=4.15.4": ">=4.15.5",
"follow-redirects@<=1.15.5": ">=1.15.6"
"follow-redirects@<=1.15.5": ">=1.15.6",
"braces@<3.0.3": ">=3.0.3",
"ws@>=7.0.0 <7.5.10": ">=7.5.10",
"micromatch@<4.0.8": ">=4.0.8"
}
}
}
3 changes: 2 additions & 1 deletion packages/andrjs/src/AndromedaClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ export default class AndromedaClient {
signer?: OfflineSigner | OfflineDirectSigner,
// Only used for Cosmos Clients
options?: SigningStargateClientOptions,
config?: Partial<ChainClient['config']>,
rpcClient?: RpcClient
) {
delete this.chainClient;

this.chainClient = createClient(addressPrefix);
this.chainClient = createClient(addressPrefix, config);

// Nibiru rpc somehow doesn't work with HttpBatchClient
if (!rpcClient && addressPrefix === 'nibi') {
Expand Down
1 change: 1 addition & 0 deletions packages/andrjs/src/clients/CosmClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ export default class CosmClient extends BaseChainClient implements ChainClient {
export const andromedaAccountParser = (account: Any) => {
switch (account.typeUrl) {
case "/injective.types.v1beta1.EthAccount":
case "/eth.types.v1.EthAccount":
case "/ethermint.types.v1.EthAccount": {
const baseAccount = ModuleAccount.decode(account.value).baseAccount;
assert(baseAccount);
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,12 @@
"tsc-alias": "^1.8.10",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.4"
},
"pnpm": {
"overrides": {
"braces@<3.0.3": ">=3.0.3",
"ws@>=7.0.0 <7.5.10": ">=7.5.10",
"micromatch@<4.0.8": ">=4.0.8"
}
}
}
7 changes: 7 additions & 0 deletions packages/gql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,12 @@
"depcheck": "^1.4.7",
"tsc-alias": "^1.8.10",
"typescript": "^5.5.4"
},
"pnpm": {
"overrides": {
"braces@<3.0.3": ">=3.0.3",
"ws@>=7.0.0 <7.5.10": ">=7.5.10",
"micromatch@<4.0.8": ">=4.0.8"
}
}
}
53 changes: 10 additions & 43 deletions pnpm-lock.yaml

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

0 comments on commit c4b735a

Please sign in to comment.