Skip to content

Commit

Permalink
fix: webpack error
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizgar91 committed Jul 2, 2024
1 parent 0d075a8 commit 34fa0f7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nevermined-io/sdk",
"version": "3.0.16-rc2",
"version": "3.0.16-rc3",
"description": "Javascript SDK for connecting with Nevermined Data Platform ",
"main": "./dist/node/sdk.js",
"typings": "./dist/node/sdk.d.ts",
Expand Down Expand Up @@ -55,7 +55,7 @@
"@turnkey/viem": "0.4.16",
"@zerodev/ecdsa-validator": "5.2.3",
"@zerodev/sdk": "5.2.11",
"@zerodev/session-key": "^5.3.0",
"@zerodev/session-key": "5.3.0",
"assert": "^2.0.0",
"cross-fetch": "^4.0.0",
"crypto-browserify": "^3.12.0",
Expand All @@ -79,6 +79,7 @@
"url": "^0.11.0",
"uuid": "^9.0.1",
"viem": "2.9.31",
"vm-browserify": "^1.1.2",
"whatwg-url": "^14.0.0"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
assert: require.resolve('assert/'),
path: require.resolve('path-browserify'),
stream: require.resolve('stream-browserify'),
vm: require.resolve("vm-browserify"),
zlib: false,
fs: false,
},
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11260,6 +11260,11 @@ [email protected]:
isows "1.0.3"
ws "8.13.0"

vm-browserify@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==

vscode-oniguruma@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz#439bfad8fe71abd7798338d1cd3dc53a8beea94b"
Expand Down

0 comments on commit 34fa0f7

Please sign in to comment.