Ver Fonte

Bump web3.js to 2.0 (#105)

* Bump web3.js to 2.0

Removes the RC tag.

* Add changeset
Loris Leiva há 1 ano atrás
pai
commit
2898f0ffec

+ 5 - 0
.changeset/late-bottles-clap.md

@@ -0,0 +1,5 @@
+---
+"create-solana-program": patch
+---
+
+Update web3.js to ^2.0.0 (removes the RC tag)

+ 2 - 2
template/clients/js/clients/js/package.json.njk

@@ -42,12 +42,12 @@
   "homepage": "{{ repositoryUrl }}#readme",
   "license": "MIT",
   "peerDependencies": {
-    "@solana/web3.js": "2.0.0-rc.4"
+    "@solana/web3.js": "^2.0.0"
   },
   "devDependencies": {
     "@ava/typescript": "^4.1.0",
     "@solana/eslint-config-solana": "^3.0.3",
-    "@solana/web3.js": "2.0.0-rc.4",
+    "@solana/web3.js": "^2.0.0",
     "@types/node": "^20",
     "@typescript-eslint/eslint-plugin": "^7.16.1",
     "@typescript-eslint/parser": "^7.16.1",