Skip to content

Commit

Permalink
feat: upgrade web3
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-matto committed Jun 4, 2024
1 parent 6d07cb3 commit 591cc01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/src/utils/address.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import bech32 from 'bech32';
import { isAddress, stripHexPrefix } from 'web3-utils';
import { isAddress } from 'web3-validator';
import { stripHexPrefix } from 'web3-eth-accounts';
import { Network } from '../network/network';
import { Bytes } from './bytes/bytes';
// import { toBase64 } from '@cosmjs/encoding';
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@
"randombytes": "2.1.0",
"secp256k1": "4.0.2",
"snakecase-keys": "3.2.1",
"web3": "1.5.2",
"web3-utils": "1.5.2"
"web3": "4.0.1",
"web3-eth-accounts": "4.0.1",
"web3-utils": "4.0.1",
"web3-validator": "2.0.6"
},
"devDependencies": {
"@types/bech32": "1.1.2",
Expand Down

0 comments on commit 591cc01

Please sign in to comment.