Skip to content

Commit

Permalink
feat: dappkit fixes (#918)
Browse files Browse the repository at this point in the history
* fix: modify call signature

* fix: typo

* feat: implement sync function and abstract provider internal wallet

* feat: release 1.0.0-beta.7

* fix: typo

---------

Co-authored-by: Fabio Rigamonti <[email protected]>
  • Loading branch information
rodolfopietro97 and fabiorigam authored May 29, 2024
1 parent 2dba152 commit 7f5d4c8
Show file tree
Hide file tree
Showing 24 changed files with 970 additions and 796 deletions.
6 changes: 3 additions & 3 deletions apps/sdk-hardhat-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"deploy-testnet": "npx hardhat run scripts/deploy.ts --network vechain_testnet"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-beta.6",
"@vechain/sdk-hardhat-plugin": "1.0.0-beta.6",
"@vechain/sdk-logging": "1.0.0-beta.6",
"@vechain/sdk-core": "1.0.0-beta.7",
"@vechain/sdk-hardhat-plugin": "1.0.0-beta.7",
"@vechain/sdk-logging": "1.0.0-beta.7",
"@openzeppelin/contracts": "^5.0.2"
},
"devDependencies": {
Expand Down
111 changes: 51 additions & 60 deletions apps/sdk-hardhat-integration/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -964,60 +964,60 @@
dependencies:
"@types/node" "*"

"@vechain/[email protected].6":
version "1.0.0-beta.6"
resolved "https://registry.yarnpkg.com/@vechain/sdk-core/-/sdk-core-1.0.0-beta.6.tgz#026ec059dde4dd28538f287db7fc9875d03353ef"
integrity sha512-oy306FPZ5vdnMqkqn4QismEicHyFleYubbH/DL8cqB0UTaLxSFddZQeYKEmdN+oF93J7BlkVXQFZt1e1XIFxag==
"@vechain/[email protected].7":
version "1.0.0-beta.7"
resolved "https://registry.yarnpkg.com/@vechain/sdk-core/-/sdk-core-1.0.0-beta.7.tgz#e65d0c8b5ee27fb271be9cd16bb85c81b1706265"
integrity sha512-Tt/XHYBel5al4lj5wsPCLhDeSCQTWCT+f78M8v2+HFbhxbS+OMvb3eJV35rj0R4RnfGQu82u8Uh+9gpXBVRkBw==
dependencies:
"@ethereumjs/rlp" "^5.0.2"
"@scure/bip32" "^1.4.0"
"@scure/bip39" "^1.3.0"
"@types/elliptic" "^6.4.18"
"@vechain/sdk-errors" "1.0.0-beta.6"
"@vechain/sdk-logging" "1.0.0-beta.6"
"@vechain/sdk-errors" "1.0.0-beta.7"
"@vechain/sdk-logging" "1.0.0-beta.7"
bignumber.js "^9.1.2"
blakejs "^1.2.1"
elliptic "^6.5.5"
ethers "6.12.1"
fast-json-stable-stringify "^2.1.0"

"@vechain/[email protected].6":
version "1.0.0-beta.6"
resolved "https://registry.yarnpkg.com/@vechain/sdk-errors/-/sdk-errors-1.0.0-beta.6.tgz#bde1a1abddaf2bb176b38566950923db41cb23f8"
integrity sha512-IOT52YeAH4JA8qIdyrQNTntMDhai8CczXkzICDWUVgTqNDziJf1iRBQnQDEv8ubH2WblQKdcfa597bVIEnjXLw==
"@vechain/[email protected].7":
version "1.0.0-beta.7"
resolved "https://registry.yarnpkg.com/@vechain/sdk-errors/-/sdk-errors-1.0.0-beta.7.tgz#699c71de6694770a56196bdcd3aab2ae34383da8"
integrity sha512-TKQaUiC6eeUrva0oy80BfeXbmzW7MQlXQRQfxqaHngWfgbNIFUKtyHN40wvbv3V1gPyTTA8WE2X13LK/zsRaFw==

"@vechain/[email protected].6":
version "1.0.0-beta.6"
resolved "https://registry.yarnpkg.com/@vechain/sdk-ethers-adapter/-/sdk-ethers-adapter-1.0.0-beta.6.tgz#20ac41c4c0f4a8e62b557949fa562a8e11ac3381"
integrity sha512-3tsJBhnkynXxh0V3bJGQnXN1UcGwt+0PL4og/+r2mjTINWV/COvyMgKUvJJ59HC9biQQKMaM+SHzBTEEgfuFnQ==
"@vechain/[email protected].7":
version "1.0.0-beta.7"
resolved "https://registry.yarnpkg.com/@vechain/sdk-ethers-adapter/-/sdk-ethers-adapter-1.0.0-beta.7.tgz#12561ec49be5b56902a15e92e6219692b827ccd3"
integrity sha512-t/ZmIl/mZaMdzIMITiNlsw/F7L5qUlVxoB8J7yPhxISppKxRBWR2wksl/Hv0SQnz2c+xUMvyxQZFuwtF8/LLsQ==
dependencies:
"@vechain/sdk-core" "1.0.0-beta.6"
"@vechain/sdk-network" "1.0.0-beta.6"
"@vechain/sdk-core" "1.0.0-beta.7"
"@vechain/sdk-network" "1.0.0-beta.7"

"@vechain/[email protected].6":
version "1.0.0-beta.6"
resolved "https://registry.yarnpkg.com/@vechain/sdk-hardhat-plugin/-/sdk-hardhat-plugin-1.0.0-beta.6.tgz#8ba1071234f7fe4193c8ede3376d210212d792a6"
integrity sha512-L9BaL4kB2rC3qYjPR+ZD8/sE0IX8q3z/8gbGATefv5olltgG7nXgfZbt+Im7x9zk/kZ8SmHjMq7AGj63EzWwZQ==
"@vechain/[email protected].7":
version "1.0.0-beta.7"
resolved "https://registry.yarnpkg.com/@vechain/sdk-hardhat-plugin/-/sdk-hardhat-plugin-1.0.0-beta.7.tgz#b9b686b1d1409b3520868efbeaa2c0d726444fb9"
integrity sha512-H0DLLGSZrhQzE07/goJ0BTG9yutGLoyGVYqmyGGT+Hp4DPy3HP3+m+yZC77jk381tkpzHdQvasse/qm0dME2XA==
dependencies:
"@vechain/sdk-ethers-adapter" "1.0.0-beta.6"
"@vechain/sdk-network" "1.0.0-beta.6"
"@vechain/sdk-ethers-adapter" "1.0.0-beta.7"
"@vechain/sdk-network" "1.0.0-beta.7"

"@vechain/[email protected].6":
version "1.0.0-beta.6"
resolved "https://registry.yarnpkg.com/@vechain/sdk-logging/-/sdk-logging-1.0.0-beta.6.tgz#358eba506fc38bb28da1580798de8c7552ff372f"
integrity sha512-57eF6tetAl7GMT8f6Lu0iGJMcoNbS/z/w+VUON4ssYhWjvgkUi/YfNJupc1kAArKEc5OglgL4fs9gak0ppD9/Q==
"@vechain/[email protected].7":
version "1.0.0-beta.7"
resolved "https://registry.yarnpkg.com/@vechain/sdk-logging/-/sdk-logging-1.0.0-beta.7.tgz#1ab2b8fd976cb69d59df15b5538e6f06711357c3"
integrity sha512-ZHvcLj+vmCQ2qEmx6/UglgxIMxGHzcOVp4+KnYIy+CHirh13GDK0QL4eNLHPcPyzgS4VWMi+XmhtgwDDJuLTSw==
dependencies:
"@vechain/sdk-errors" "1.0.0-beta.6"
"@vechain/sdk-errors" "1.0.0-beta.7"

"@vechain/[email protected].6":
version "1.0.0-beta.6"
resolved "https://registry.yarnpkg.com/@vechain/sdk-network/-/sdk-network-1.0.0-beta.6.tgz#b5594eb30baedb4ff1ef6b5c6bdb51dc0e8ad6b1"
integrity sha512-zCkO32OVApuvobfqRsQSq0jmyGmZXzbRwVrSsVdh9OuoNHSVB477YnSowDfkcH6pF2bMnXDpEpzJ+TDBCFKQwg==
"@vechain/[email protected].7":
version "1.0.0-beta.7"
resolved "https://registry.yarnpkg.com/@vechain/sdk-network/-/sdk-network-1.0.0-beta.7.tgz#b4cbc72564f2ba2fec8231d2fe46c9945a0ff308"
integrity sha512-EcU96mifHYCPmD2XNA8Ja/dJa2lUAcOkAK/S7uovPAgoCF8pvwIHTM+/GOKWlt9Csk1fv26KVTGEgybVygdm2w==
dependencies:
"@types/ws" "^8.5.10"
"@vechain/sdk-core" "1.0.0-beta.6"
"@vechain/sdk-errors" "1.0.0-beta.6"
"@vechain/sdk-logging" "1.0.0-beta.6"
"@vechain/sdk-core" "1.0.0-beta.7"
"@vechain/sdk-errors" "1.0.0-beta.7"
"@vechain/sdk-logging" "1.0.0-beta.7"
axios "^1.7.2"

abbrev@1:
Expand Down Expand Up @@ -1071,9 +1071,9 @@ aggregate-error@^3.0.0:
indent-string "^4.0.0"

ajv@^8.0.1:
version "8.13.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.13.0.tgz#a3939eaec9fb80d217ddf0c3376948c023f28c91"
integrity sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==
version "8.14.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.14.0.tgz#f514ddfd4756abb200e1704414963620a625ebbb"
integrity sha512-oYs1UUtO97ZO2lJ4bwnWeQW8/zvOIQLGKcvPTsWmvc2SYgBb+upuNS5NxoLaMU4h8Ju3Nbj6Cq8mD2LQoqVKFA==
dependencies:
fast-deep-equal "^3.1.3"
json-schema-traverse "^1.0.0"
Expand Down Expand Up @@ -1213,16 +1213,7 @@ at-least-node@^1.0.0:
resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==

axios@^1.5.1:
version "1.6.8"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.8.tgz#66d294951f5d988a00e87a0ffb955316a619ea66"
integrity sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==
dependencies:
follow-redirects "^1.15.6"
form-data "^4.0.0"
proxy-from-env "^1.1.0"

axios@^1.7.2:
axios@^1.5.1, axios@^1.7.2:
version "1.7.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621"
integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==
Expand Down Expand Up @@ -1307,12 +1298,12 @@ brace-expansion@^2.0.1:
dependencies:
balanced-match "^1.0.0"

braces@^3.0.2, braces@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
braces@^3.0.3, braces@~3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
dependencies:
fill-range "^7.0.1"
fill-range "^7.1.1"

brorand@^1.1.0:
version "1.1.0"
Expand Down Expand Up @@ -2025,10 +2016,10 @@ fastq@^1.6.0:
dependencies:
reusify "^1.0.4"

fill-range@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
fill-range@^7.1.1:
version "7.1.1"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
dependencies:
to-regex-range "^5.0.1"

Expand Down Expand Up @@ -2768,11 +2759,11 @@ micro-ftch@^0.3.1:
integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==

micromatch@^4.0.4:
version "4.0.5"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6"
integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==
version "4.0.7"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5"
integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==
dependencies:
braces "^3.0.2"
braces "^3.0.3"
picomatch "^2.3.1"

[email protected]:
Expand Down
4 changes: 2 additions & 2 deletions apps/sdk-nextjs-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-beta.6",
"@vechain/sdk-network": "1.0.0-beta.6",
"@vechain/sdk-core": "1.0.0-beta.7",
"@vechain/sdk-network": "1.0.0-beta.7",
"install": "^0.13.0",
"next": "14",
"react": "^18",
Expand Down
Loading

0 comments on commit 7f5d4c8

Please sign in to comment.