fix: update 'borsh' dependency to v0.7.0 (#22425)
Fixes issue with usage of 'global' when used in the browser. Currently the web3.js distributable is built with a commonJS rollup, but if you use the npm package with another packager, it will fail when it hits the call to 'global' inside the browser. Borsh fixed this in v0.7.0
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
"@ethersproject/sha2": "^5.5.0",
|
||||
"@solana/buffer-layout": "^3.0.0",
|
||||
"bn.js": "^5.0.0",
|
||||
"borsh": "^0.4.0",
|
||||
"borsh": "^0.7.0",
|
||||
"bs58": "^4.0.1",
|
||||
"buffer": "6.0.1",
|
||||
"cross-fetch": "^3.1.4",
|
||||
|
Reference in New Issue
Block a user