Skip to content

Commit

Permalink
Update VM version to 2.0.0 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Kuzyakov committed May 10, 2023
1 parent 5730b40 commit d1dac63
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 29 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"collections": "^5.1.12",
"error-polyfill": "^0.1.2",
"local-storage": "^2.0.0",
"near-api-js": "^0.45.1",
"near-social-vm": "git+https://github.com/NearSocial/VM.git#1.3.2",
"near-api-js": "^2.1.3",
"near-social-vm": "git+https://github.com/NearSocial/VM.git#2.0.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-bootstrap": "^2.5.0",
Expand Down
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ module.exports = function (env) {
stream: require.resolve("stream-browserify"),
http: require.resolve("stream-http"),
https: require.resolve("https-browserify"),
fs: false,
path: require.resolve("path-browserify"),
zlib: require.resolve("browserify-zlib"),
},
// Fix for using `yarn link "near-social-vm"`
alias: {
Expand Down
31 changes: 4 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4467,11 +4467,6 @@ bn.js@4.11.8:
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==

bn.js@5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002"
integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==

bn.js@5.2.1, bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.2.0, bn.js@^5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70"
Expand Down Expand Up @@ -8486,24 +8481,7 @@ near-abi@0.1.1:
dependencies:
"@types/json-schema" "^7.0.11"

near-api-js@^0.45.1:
version "0.45.1"
resolved "https://registry.yarnpkg.com/near-api-js/-/near-api-js-0.45.1.tgz#0f0a4b378758a2f1b32555399d7356da73d0ef27"
integrity sha512-QyPO/vjvMFlcMO1DCpsqzmnSqPIyHsjK1Qi4B5ZR1cJCIWMkqugDF/TDf8FVQ85pmlcYeYwfiTqKanKz+3IG0A==
dependencies:
bn.js "5.2.0"
borsh "^0.7.0"
bs58 "^4.0.0"
depd "^2.0.0"
error-polyfill "^0.1.3"
http-errors "^1.7.2"
js-sha256 "^0.9.0"
mustache "^4.0.0"
node-fetch "^2.6.1"
text-encoding-utf-8 "^1.0.2"
tweetnacl "^1.0.1"

near-api-js@^2.1.2:
near-api-js@^2.1.3:
version "2.1.3"
resolved "https://registry.yarnpkg.com/near-api-js/-/near-api-js-2.1.3.tgz#2e894c90cee33ef0c2101951375d15662753b443"
integrity sha512-ggCQE/oGrrbr9dEtXZ9QU7XAf6RgISs+bfD7Q5I2QsQN45XgV85IA4c8KDLzo66u7FTX39gubKz3Ghieo6D7YA==
Expand Down Expand Up @@ -8549,9 +8527,9 @@ near-seed-phrase@^0.2.0:
near-hd-key "^1.2.1"
tweetnacl "^1.0.2"

"near-social-vm@git+https://github.com/NearSocial/VM.git#1.3.2":
version "1.3.2"
resolved "git+https://github.com/NearSocial/VM.git#a3f27883314a0b67669541312de917cbad873930"
"near-social-vm@git+https://github.com/NearSocial/VM.git#2.0.0":
version "2.0.0"
resolved "git+https://github.com/NearSocial/VM.git#3b9cb91ec2ea6b2c6a5182ba8cff062104bbc123"
dependencies:
"@braintree/sanitize-url" "6.0.0"
"@radix-ui/react-accordion" "^1.1.1"
Expand Down Expand Up @@ -8597,7 +8575,6 @@ near-seed-phrase@^0.2.0:
lodash "^4.17.21"
mdast-util-find-and-replace "^2.0.0"
nanoid "^4.0.1"
near-api-js "^2.1.2"
prettier "^2.7.1"
react-bootstrap "^2.5.0"
react-bootstrap-typeahead "^6.0.0"
Expand Down

0 comments on commit d1dac63

Please sign in to comment.