From 90d1580745ca4795455b4dcb8d0d80a3c1f3c219 Mon Sep 17 00:00:00 2001 From: aurelticot Date: Fri, 5 Apr 2024 13:19:32 +1100 Subject: [PATCH 1/3] chore: upgrade dependencies --- package.json | 8 +- yarn.lock | 689 +++++++++++++-------------------------------------- 2 files changed, 170 insertions(+), 527 deletions(-) diff --git a/package.json b/package.json index 117d085..f058099 100644 --- a/package.json +++ b/package.json @@ -23,10 +23,10 @@ "@docusaurus/theme-search-algolia": "^2.4.3", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^5.5.0", - "@verida/account-web-vault": "^2.3.9", - "@verida/client-ts": "^2.3.9", - "@verida/types": "^2.3.1", - "@verida/verifiable-credentials": "^2.3.9", + "@verida/account-web-vault": "^3.0.2", + "@verida/client-ts": "^3.0.3", + "@verida/types": "^3.0.1", + "@verida/verifiable-credentials": "^3.0.3", "@walletconnect/client": "^1.8.0", "clsx": "^1.1.1", "crypto-browserify": "^3.12.0", diff --git a/yarn.lock b/yarn.lock index 5204e92..9a7176c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1747,22 +1747,7 @@ url-loader "^4.1.1" webpack "^5.73.0" -"@ethersproject/abi@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.5.0.tgz#fb52820e22e50b854ff15ce1647cc508d6660613" - integrity sha512-loW7I4AohP5KycATvc0MgujU6JyCHPqHdeoo9z3Nr9xEiNioxa65ccdm1+fsoJhkuhdRtfcL8cfyGamz2AxZ5w== - dependencies: - "@ethersproject/address" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/constants" "^5.5.0" - "@ethersproject/hash" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - -"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.7.0": +"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== @@ -1777,20 +1762,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/abstract-provider@5.5.1": - version "5.5.1" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.5.1.tgz#2f1f6e8a3ab7d378d8ad0b5718460f85649710c5" - integrity sha512-m+MA/ful6eKbxpr99xUYeRvLkfnlqzrF8SZ46d/xFB1A7ZVknYc/sXJG0RcufF52Qn2jeFj1hhcoQ7IXjNKUqg== - dependencies: - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/networks" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/transactions" "^5.5.0" - "@ethersproject/web" "^5.5.0" - -"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.5.0", "@ethersproject/abstract-provider@^5.7.0": +"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== @@ -1803,18 +1775,7 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/web" "^5.7.0" -"@ethersproject/abstract-signer@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.5.0.tgz#590ff6693370c60ae376bf1c7ada59eb2a8dd08d" - integrity sha512-lj//7r250MXVLKI7sVarXAbZXbv9P50lgmJQGr2/is82EwEb8r7HrxsmMqAjTsztMYy7ohrIhGMIml+Gx4D3mA== - dependencies: - "@ethersproject/abstract-provider" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - -"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.5.0", "@ethersproject/abstract-signer@^5.7.0": +"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== @@ -1825,18 +1786,7 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/address@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.5.0.tgz#bcc6f576a553f21f3dd7ba17248f81b473c9c78f" - integrity sha512-l4Nj0eWlTUh6ro5IbPTgbpT4wRbdH5l8CQf7icF7sb/SI3Nhd9Y9HzhonTSTi6CefI0necIw7LJqQPopPLZyWw== - dependencies: - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/rlp" "^5.5.0" - -"@ethersproject/address@5.7.0", "@ethersproject/address@^5.5.0", "@ethersproject/address@^5.7.0": +"@ethersproject/address@5.7.0", "@ethersproject/address@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== @@ -1847,29 +1797,14 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/rlp" "^5.7.0" -"@ethersproject/base64@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.5.0.tgz#881e8544e47ed976930836986e5eb8fab259c090" - integrity sha512-tdayUKhU1ljrlHzEWbStXazDpsx4eg1dBXUSI6+mHlYklOXoXF6lZvw8tnD6oVaWfnMxAgRSKROg3cVKtCcppA== - dependencies: - "@ethersproject/bytes" "^5.5.0" - -"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.5.0", "@ethersproject/base64@^5.7.0": +"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== dependencies: "@ethersproject/bytes" "^5.7.0" -"@ethersproject/basex@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.5.0.tgz#e40a53ae6d6b09ab4d977bd037010d4bed21b4d3" - integrity sha512-ZIodwhHpVJ0Y3hUCfUucmxKsWQA5TMnavp5j/UOuDdzZWzJlRmuOjcTMIGgHCYuZmHt36BfiSyQPSRskPxbfaQ== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - -"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.5.0", "@ethersproject/basex@^5.7.0": +"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== @@ -1877,16 +1812,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/bignumber@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.5.0.tgz#875b143f04a216f4f8b96245bde942d42d279527" - integrity sha512-6Xytlwvy6Rn3U3gKEc1vP7nR92frHkv6wtVr95LFR3jREXiCPzdWxKQ1cx4JGQBXxcguAwjA8murlYN2TSiEbg== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - bn.js "^4.11.9" - -"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.5.0", "@ethersproject/bignumber@^5.7.0": +"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== @@ -1895,51 +1821,21 @@ "@ethersproject/logger" "^5.7.0" bn.js "^5.2.1" -"@ethersproject/bytes@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.5.0.tgz#cb11c526de657e7b45d2e0f0246fb3b9d29a601c" - integrity sha512-ABvc7BHWhZU9PNM/tANm/Qx4ostPGadAuQzWTr3doklZOhDlmcBqclrQe/ZXUIj3K8wC28oYeuRa+A37tX9kog== - dependencies: - "@ethersproject/logger" "^5.5.0" - -"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.5.0", "@ethersproject/bytes@^5.7.0": +"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/constants@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.5.0.tgz#d2a2cd7d94bd1d58377d1d66c4f53c9be4d0a45e" - integrity sha512-2MsRRVChkvMWR+GyMGY4N1sAX9Mt3J9KykCsgUFd/1mwS0UH1qw+Bv9k1UJb3X3YJYFco9H20pjSlOIfCG5HYQ== - dependencies: - "@ethersproject/bignumber" "^5.5.0" - -"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.5.0", "@ethersproject/constants@^5.7.0": +"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== dependencies: "@ethersproject/bignumber" "^5.7.0" -"@ethersproject/contracts@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.5.0.tgz#b735260d4bd61283a670a82d5275e2a38892c197" - integrity sha512-2viY7NzyvJkh+Ug17v7g3/IJC8HqZBDcOjYARZLdzRxrfGlRgmYgl6xPRKVbEzy1dWKw/iv7chDcS83pg6cLxg== - dependencies: - "@ethersproject/abi" "^5.5.0" - "@ethersproject/abstract-provider" "^5.5.0" - "@ethersproject/abstract-signer" "^5.5.0" - "@ethersproject/address" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/constants" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/transactions" "^5.5.0" - -"@ethersproject/contracts@5.7.0": +"@ethersproject/contracts@5.7.0", "@ethersproject/contracts@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e" integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg== @@ -1955,21 +1851,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/transactions" "^5.7.0" -"@ethersproject/hash@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.5.0.tgz#7cee76d08f88d1873574c849e0207dcb32380cc9" - integrity sha512-dnGVpK1WtBjmnp3mUT0PlU2MpapnwWI0PibldQEq1408tQBAbZpPidkWoVVuNMOl/lISO3+4hXZWCL3YV7qzfg== - dependencies: - "@ethersproject/abstract-signer" "^5.5.0" - "@ethersproject/address" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - -"@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.5.0", "@ethersproject/hash@^5.7.0": +"@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== @@ -1984,25 +1866,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/hdnode@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.5.0.tgz#4a04e28f41c546f7c978528ea1575206a200ddf6" - integrity sha512-mcSOo9zeUg1L0CoJH7zmxwUG5ggQHU1UrRf8jyTYy6HxdZV+r0PBoL1bxr+JHIPXRzS6u/UW4mEn43y0tmyF8Q== - dependencies: - "@ethersproject/abstract-signer" "^5.5.0" - "@ethersproject/basex" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/pbkdf2" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/sha2" "^5.5.0" - "@ethersproject/signing-key" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - "@ethersproject/transactions" "^5.5.0" - "@ethersproject/wordlists" "^5.5.0" - -"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.5.0", "@ethersproject/hdnode@^5.7.0": +"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== @@ -2020,26 +1884,7 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/wordlists" "^5.7.0" -"@ethersproject/json-wallets@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.5.0.tgz#dd522d4297e15bccc8e1427d247ec8376b60e325" - integrity sha512-9lA21XQnCdcS72xlBn1jfQdj2A1VUxZzOzi9UkNdnokNKke/9Ya2xA9aIK1SC3PQyBDLt4C+dfps7ULpkvKikQ== - dependencies: - "@ethersproject/abstract-signer" "^5.5.0" - "@ethersproject/address" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/hdnode" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/pbkdf2" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/random" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - "@ethersproject/transactions" "^5.5.0" - aes-js "3.0.0" - scrypt-js "3.0.1" - -"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.5.0", "@ethersproject/json-wallets@^5.7.0": +"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== @@ -2058,15 +1903,7 @@ aes-js "3.0.0" scrypt-js "3.0.1" -"@ethersproject/keccak256@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.5.0.tgz#e4b1f9d7701da87c564ffe336f86dcee82983492" - integrity sha512-5VoFCTjo2rYbBe1l2f4mccaRFN/4VQEYFwwn04aJV2h7qf4ZvI2wFxUE1XOX+snbwCLRzIeikOqtAoPwMza9kg== - dependencies: - "@ethersproject/bytes" "^5.5.0" - js-sha3 "0.8.0" - -"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": +"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== @@ -2074,39 +1911,19 @@ "@ethersproject/bytes" "^5.7.0" js-sha3 "0.8.0" -"@ethersproject/logger@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.5.0.tgz#0c2caebeff98e10aefa5aef27d7441c7fd18cf5d" - integrity sha512-rIY/6WPm7T8n3qS2vuHTUBPdXHl+rGxWxW5okDfo9J4Z0+gRRZT0msvUdIJkE4/HS29GUMziwGaaKO2bWONBrg== - -"@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.5.0", "@ethersproject/logger@^5.7.0": +"@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== -"@ethersproject/networks@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.5.0.tgz#babec47cab892c51f8dd652ce7f2e3e14283981a" - integrity sha512-KWfP3xOnJeF89Uf/FCJdV1a2aDJe5XTN2N52p4fcQ34QhDqQFkgQKZ39VGtiqUgHcLI8DfT0l9azC3KFTunqtA== - dependencies: - "@ethersproject/logger" "^5.5.0" - -"@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.5.0", "@ethersproject/networks@^5.7.0": +"@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.7.0": version "5.7.1" resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/pbkdf2@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.5.0.tgz#e25032cdf02f31505d47afbf9c3e000d95c4a050" - integrity sha512-SaDvQFvXPnz1QGpzr6/HToLifftSXGoXrbpZ6BvoZhmx4bNLHrxDe8MZisuecyOziP1aVEwzC2Hasj+86TgWVg== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/sha2" "^5.5.0" - -"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.5.0", "@ethersproject/pbkdf2@^5.7.0": +"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== @@ -2114,45 +1931,13 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/sha2" "^5.7.0" -"@ethersproject/properties@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.5.0.tgz#61f00f2bb83376d2071baab02245f92070c59995" - integrity sha512-l3zRQg3JkD8EL3CPjNK5g7kMx4qSwiR60/uk5IVjd3oq1MZR5qUg40CNOoEJoX5wc3DyY5bt9EbMk86C7x0DNA== - dependencies: - "@ethersproject/logger" "^5.5.0" - -"@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.5.0", "@ethersproject/properties@^5.7.0": +"@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/providers@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.5.0.tgz#bc2876a8fe5e0053ed9828b1f3767ae46e43758b" - integrity sha512-xqMbDnS/FPy+J/9mBLKddzyLLAQFjrVff5g00efqxPzcAwXiR+SiCGVy6eJ5iAIirBOATjx7QLhDNPGV+AEQsw== - dependencies: - "@ethersproject/abstract-provider" "^5.5.0" - "@ethersproject/abstract-signer" "^5.5.0" - "@ethersproject/address" "^5.5.0" - "@ethersproject/basex" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/constants" "^5.5.0" - "@ethersproject/hash" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/networks" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/random" "^5.5.0" - "@ethersproject/rlp" "^5.5.0" - "@ethersproject/sha2" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - "@ethersproject/transactions" "^5.5.0" - "@ethersproject/web" "^5.5.0" - bech32 "1.1.4" - ws "7.4.6" - "@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.7.2": version "5.7.2" resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb" @@ -2179,15 +1964,7 @@ bech32 "1.1.4" ws "7.4.6" -"@ethersproject/random@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.5.0.tgz#305ed9e033ca537735365ac12eed88580b0f81f9" - integrity sha512-egGYZwZ/YIFKMHcoBUo8t3a8Hb/TKYX8BCBoLjudVCZh892welR3jOxgOmb48xznc9bTcMm7Tpwc1gHC1PFNFQ== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - -"@ethersproject/random@5.7.0", "@ethersproject/random@^5.5.0", "@ethersproject/random@^5.7.0": +"@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== @@ -2195,15 +1972,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/rlp@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.5.0.tgz#530f4f608f9ca9d4f89c24ab95db58ab56ab99a0" - integrity sha512-hLv8XaQ8PTI9g2RHoQGf/WSxBfTB/NudRacbzdxmst5VHAqd1sMibWG7SENzT5Dj3yZ3kJYx+WiRYEcQTAkcYA== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - -"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.5.0", "@ethersproject/rlp@^5.7.0": +"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== @@ -2211,16 +1980,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/sha2@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.5.0.tgz#a40a054c61f98fd9eee99af2c3cc6ff57ec24db7" - integrity sha512-B5UBoglbCiHamRVPLA110J+2uqsifpZaTmid2/7W5rbtYVz6gus6/hSDieIU/6gaKIDcOj12WnOdiymEUHIAOA== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - hash.js "1.1.7" - -"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.5.0", "@ethersproject/sha2@^5.7.0": +"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== @@ -2229,19 +1989,7 @@ "@ethersproject/logger" "^5.7.0" hash.js "1.1.7" -"@ethersproject/signing-key@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.5.0.tgz#2aa37169ce7e01e3e80f2c14325f624c29cedbe0" - integrity sha512-5VmseH7qjtNmDdZBswavhotYbWB0bOwKIlOTSlX14rKn5c11QmJwGt4GHeo7NrL/Ycl7uo9AHvEqs5xZgFBTng== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - bn.js "^4.11.9" - elliptic "6.5.4" - hash.js "1.1.7" - -"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.5.0", "@ethersproject/signing-key@^5.7.0": +"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== @@ -2253,18 +2001,6 @@ elliptic "6.5.4" hash.js "1.1.7" -"@ethersproject/solidity@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.5.0.tgz#2662eb3e5da471b85a20531e420054278362f93f" - integrity sha512-9NgZs9LhGMj6aCtHXhtmFQ4AN4sth5HuFXVvAQtzmm0jpSCNOTGtrHZJAeYTh7MBjRR8brylWZxBZR9zDStXbw== - dependencies: - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/sha2" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - "@ethersproject/solidity@5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8" @@ -2277,16 +2013,7 @@ "@ethersproject/sha2" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/strings@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.5.0.tgz#e6784d00ec6c57710755699003bc747e98c5d549" - integrity sha512-9fy3TtF5LrX/wTrBaT8FGE6TDJyVjOvXynXJz5MT5azq+E6D92zuKNx7i29sWW2FjVOaWjAsiZ1ZWznuduTIIQ== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/constants" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - -"@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.5.0", "@ethersproject/strings@^5.7.0": +"@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== @@ -2295,22 +2022,7 @@ "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/transactions@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.5.0.tgz#7e9bf72e97bcdf69db34fe0d59e2f4203c7a2908" - integrity sha512-9RZYSKX26KfzEd/1eqvv8pLauCKzDTub0Ko4LfIgaERvRuwyaNV78mJs7cpIgZaDl6RJui4o49lHwwCM0526zA== - dependencies: - "@ethersproject/address" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/constants" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/rlp" "^5.5.0" - "@ethersproject/signing-key" "^5.5.0" - -"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.5.0", "@ethersproject/transactions@^5.7.0": +"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== @@ -2325,15 +2037,6 @@ "@ethersproject/rlp" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" -"@ethersproject/units@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.5.0.tgz#104d02db5b5dc42cc672cc4587bafb87a95ee45e" - integrity sha512-7+DpjiZk4v6wrikj+TCyWWa9dXLNU73tSTa7n0TSJDxkYbV3Yf1eRh9ToMLlZtuctNYu9RDNNy2USq3AdqSbag== - dependencies: - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/constants" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/units@5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1" @@ -2343,27 +2046,6 @@ "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/wallet@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.5.0.tgz#322a10527a440ece593980dca6182f17d54eae75" - integrity sha512-Mlu13hIctSYaZmUOo7r2PhNSd8eaMPVXe1wxrz4w4FCE4tDYBywDH+bAR1Xz2ADyXGwqYMwstzTrtUVIsKDO0Q== - dependencies: - "@ethersproject/abstract-provider" "^5.5.0" - "@ethersproject/abstract-signer" "^5.5.0" - "@ethersproject/address" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/hash" "^5.5.0" - "@ethersproject/hdnode" "^5.5.0" - "@ethersproject/json-wallets" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/random" "^5.5.0" - "@ethersproject/signing-key" "^5.5.0" - "@ethersproject/transactions" "^5.5.0" - "@ethersproject/wordlists" "^5.5.0" - "@ethersproject/wallet@5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d" @@ -2385,18 +2067,7 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/wordlists" "^5.7.0" -"@ethersproject/web@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.5.0.tgz#0e5bb21a2b58fb4960a705bfc6522a6acf461e28" - integrity sha512-BEgY0eL5oH4mAo37TNYVrFeHsIXLRxggCRG/ksRIxI2X5uj5IsjGmcNiRN/VirQOlBxcUhCgHhaDLG4m6XAVoA== - dependencies: - "@ethersproject/base64" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - -"@ethersproject/web@5.7.1", "@ethersproject/web@^5.5.0", "@ethersproject/web@^5.7.0": +"@ethersproject/web@5.7.1", "@ethersproject/web@^5.7.0": version "5.7.1" resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== @@ -2407,18 +2078,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/wordlists@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.5.0.tgz#aac74963aa43e643638e5172353d931b347d584f" - integrity sha512-bL0UTReWDiaQJJYOC9sh/XcRu/9i2jMrzf8VLRmPKx58ckSlOJiohODkECCO50dtLZHcGU6MLXQ4OOrgBwP77Q== - dependencies: - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/hash" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - -"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.5.0", "@ethersproject/wordlists@^5.7.0": +"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== @@ -3299,46 +2959,46 @@ dependencies: "@types/yargs-parser" "*" -"@verida/account-web-vault@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@verida/account-web-vault/-/account-web-vault-2.3.9.tgz#e272055ab62e612d53fcdcd6e85a6eabf9bbef03" - integrity sha512-WwxYQrkfrGFT98OtzAEBQzYp71klroc/GzMEYa9xkbDTJ7UQ99Zm9vbWA5Fa1m0dbz/zMtRbDHEevTRjZIUI0g== +"@verida/account-web-vault@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/account-web-vault/-/account-web-vault-3.0.2.tgz#75676abd02175b520f50cd129458f054533e4824" + integrity sha512-LgZSNuvUnbSEoNWsxy2PmZqhcQ9Mn9xfEt1y4+jErKxwl/pIL2yTleofsaitkdPf+a5dRn00z89n7Y/NJiwatQ== dependencies: - "@verida/account" "^2.3.9" - "@verida/encryption-utils" "^2.2.3" - "@verida/keyring" "^2.3.3" - "@verida/types" "^2.3.1" + "@verida/account" "^3.0.2" + "@verida/encryption-utils" "^3.0.0" + "@verida/keyring" "^3.0.2" + "@verida/types" "^3.0.1" jsonwebtoken "^8.5.1" lodash "^4.17.21" qrcode-with-logos "^1.0.3" store "^2.0.12" -"@verida/account@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@verida/account/-/account-2.3.9.tgz#bed16d92bb01a5fca35d11a1066f59b715f34b08" - integrity sha512-xhTH9gXZdJLkfmlk8qjpKxC8mq03bVBt7CXj0LewVN/ruXZD8CKq4gNGKnvdx6bK/aLgqxjs+FhexWr5vBlklA== +"@verida/account@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/account/-/account-3.0.2.tgz#8c7bf4f237528ffbb3b6b3f0ef6a47aec1abd89b" + integrity sha512-6nN46WCdN/A0W/jfL+5QJGDnfjdVBwAlNJrIaYQt2lw56xaXQV6YYndmKhu+RMvzfF4CWTY6sYl3u4LFiwJ1mw== dependencies: - "@verida/keyring" "^2.3.3" - "@verida/storage-link" "^2.3.9" - "@verida/types" "^2.3.1" + "@verida/keyring" "^3.0.2" + "@verida/storage-link" "^3.0.2" + "@verida/types" "^3.0.1" did-jwt "^6.11.0" did-resolver "^4.0.1" lodash "^4.17.21" tweetnacl-util "^0.15.1" -"@verida/client-ts@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@verida/client-ts/-/client-ts-2.3.9.tgz#d98ef299223a79d1b9933523d1a1585d9467ae86" - integrity sha512-JKhribZJTJWZbD8g++9doIuxbp/d04A/XV2xe8m+lims+/oT9p2AKQsUjjqIGrEyauaH43pU27o4flAfNzTx3Q== - dependencies: - "@verida/account" "^2.3.9" - "@verida/did-client" "^2.3.9" - "@verida/did-document" "^2.3.3" - "@verida/encryption-utils" "^2.2.3" - "@verida/keyring" "^2.3.3" - "@verida/storage-link" "^2.3.9" - "@verida/types" "^2.3.1" - "@verida/vda-name-client" "^2.3.6" +"@verida/client-ts@^3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@verida/client-ts/-/client-ts-3.0.3.tgz#d3e6e1a60be632366e84d2632d19c25ebdc28fb1" + integrity sha512-R7W/3Rb2VWrsdRWwdL5TEnG+vN3t3aRZAXGAqWFZacsYmCfxKcu42Lae0mIWpoaCRQ0p/7HQ4kn1s5s+5u9KeQ== + dependencies: + "@verida/account" "^3.0.2" + "@verida/did-client" "^3.0.2" + "@verida/did-document" "^3.0.2" + "@verida/encryption-utils" "^3.0.0" + "@verida/keyring" "^3.0.2" + "@verida/storage-link" "^3.0.2" + "@verida/types" "^3.0.1" + "@verida/vda-name-client" "^3.0.2" ajv "^8.6.3" ajv-formats "^2.1.1" axios "^0.21.2" @@ -3353,82 +3013,83 @@ pouchdb-find "^7.2.2" uuid "^8.3.2" -"@verida/did-client@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@verida/did-client/-/did-client-2.3.9.tgz#81026bbcea88c50ee740983d87a764539cd7a943" - integrity sha512-dDe21FpqoozY9DmtfAFoq0psc9GLuJdSeZadItfyDT7F3vMRWerREiAknUcZx7NtNEyuXy7FnXC0npdVEf5k8A== - dependencies: - "@verida/did-document" "^2.3.3" - "@verida/types" "^2.3.1" - "@verida/vda-common" "^2.3.6" - "@verida/vda-did-resolver" "^2.3.9" - "@verida/web3" "^2.3.6" +"@verida/did-client@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/did-client/-/did-client-3.0.2.tgz#a994d71c945fdcbfe34ec6ac0f1e4f4b3baf6d5e" + integrity sha512-a5hFdck/qmtEXKQLpPK4bzk7/bLofwEA4MF5tUVrHNQe1QAHOzVZJgtSzezRebX01HPUM+xZ6PE0BGKcqEwzzw== + dependencies: + "@verida/did-document" "^3.0.2" + "@verida/types" "^3.0.1" + "@verida/vda-common" "^3.0.1" + "@verida/vda-did-resolver" "^3.0.2" + "@verida/web3" "^3.0.2" axios "^0.23.0" deepcopy "^2.1.0" did-resolver "^4.0.1" ethers "^5.5.1" -"@verida/did-document@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@verida/did-document/-/did-document-2.3.3.tgz#d0893b30ad8d0bb4a0377f4db1979b6ef3e43e62" - integrity sha512-TIc/JtW20yu6XhK1MnKMJtWrjX/0OBgzytE8XQYDXXxLDrewcic2PGm0J2a7P/2R9qeG7DsYgs1U3fZ0ujtfJA== +"@verida/did-document@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/did-document/-/did-document-3.0.2.tgz#42eb6410c6c76444ebe43d993db4b9bc039c18aa" + integrity sha512-lrVyJxupzcTNpv+ot9HLgPL9OWe6JxrZqiaH4VyI/zMxCOfUJ469YDBicHJfLCU6cbZNsNmM2M5ef7GA6eobyQ== dependencies: "@ethersproject/address" "^5.7.0" "@ethersproject/bignumber" "^5.7.0" "@ethersproject/transactions" "^5.7.0" - "@verida/encryption-utils" "^2.2.3" - "@verida/keyring" "^2.3.3" - "@verida/types" "^2.3.1" + "@verida/encryption-utils" "^3.0.0" + "@verida/keyring" "^3.0.2" + "@verida/types" "^3.0.1" did-resolver "^4.0.1" lodash "^4.17.21" -"@verida/encryption-utils@^2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@verida/encryption-utils/-/encryption-utils-2.2.3.tgz#625dc5d49f63f031d41a63c6769307420363809d" - integrity sha512-jYxWEsLjaOWmjb7NiOFMtSg8g93HHkg5/24VdCSbnHYRAy//r2Bj08E6gWkqU8ot6P9g1s+VCF2DeWnhcmPHpA== +"@verida/encryption-utils@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@verida/encryption-utils/-/encryption-utils-3.0.0.tgz#21434720e3c9d28a9df074e353d255959877a82d" + integrity sha512-qaCvVFeEV4QKJl5quN/XMFCKwsCHE5hzjUdQAutlp74ItnXe0YGwZzjqXUYynBKkldCyZQpRoeH16e4GFFSBSQ== dependencies: ethers "^5.5.1" json.sortify "^2.2.2" tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" -"@verida/helpers@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@verida/helpers/-/helpers-2.3.3.tgz#4bb77143d59cdb12e85bf7e2de2268606231731c" - integrity sha512-k8AwOM3lg9+J20OSlF/PWNTFLfq1fmsu9wco0EYQcg81VAGkzYuCCHXN/+6bL7Wmf9YS2Wz+t1FeaJuCCG0kow== +"@verida/helpers@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/helpers/-/helpers-3.0.2.tgz#24946e592793f8c6ea4281d34ee559ca781534dd" + integrity sha512-D1RUQ1aSfLJnsc0TUa8orSolKH9jFYZ4etPPnSuvm2Lp4p9znTYFJnweEEMK2yoVMnCbQosJsXDp0JuwZ6XqUg== dependencies: - "@verida/encryption-utils" "^2.2.3" - "@verida/types" "^2.3.1" + "@verida/encryption-utils" "^3.0.0" + "@verida/types" "^3.0.1" + axios "^1.6.2" bs58 "^5.0.0" url "^0.11.0" -"@verida/keyring@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@verida/keyring/-/keyring-2.3.3.tgz#0938b91c7d96c17b5e63256d31595392f8775b3c" - integrity sha512-KOuTOcoXBbTH8mq29GUodXmnyZaQs02Jrs8TSZzfeB53cs/tmWuoGSzZCX2ngX6rKZVs89clDf8kAvozDMr8Hg== +"@verida/keyring@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/keyring/-/keyring-3.0.2.tgz#2d606fc21f2551b4171afa917fbdee6c1f32c2c3" + integrity sha512-rAZe0vDEeMml8qMQC7iDw+eD/FYWBguz5RkwyD/bAB5xVyxCQnNGqMW7tBk6PlHBbSEKH+xkUaS9WhXBZznfLQ== dependencies: - "@verida/encryption-utils" "^2.2.3" - "@verida/types" "^2.3.1" + "@verida/encryption-utils" "^3.0.0" + "@verida/types" "^3.0.1" ethers "^5.5.1" tweetnacl "^1.0.3" uuid "^8.3.2" -"@verida/storage-link@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@verida/storage-link/-/storage-link-2.3.9.tgz#3ab77fe810bc26525ec63a42f19b393f7e996121" - integrity sha512-dmefQafXmM29c2SwZoAuU1Gy+1PdBOhQetlBYZCf6urPcUjG4uotgwEXHfUDq2UxGEuFSJcZriELUnIfte457w== +"@verida/storage-link@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/storage-link/-/storage-link-3.0.2.tgz#16222492aa8caa6c24999a26553261c69226251c" + integrity sha512-dUslfVWlPaetpT3PolJVUk/lWKAk0OW4vaant/yrkMtgg4rmiCEPJD8MRSA2l5iVCGd59Jk0fcX8L6FFyInxsQ== dependencies: - "@verida/did-client" "^2.3.9" - "@verida/did-document" "^2.3.3" - "@verida/encryption-utils" "^2.2.3" - "@verida/keyring" "^2.3.3" + "@verida/did-client" "^3.0.2" + "@verida/did-document" "^3.0.2" + "@verida/encryption-utils" "^3.0.0" + "@verida/keyring" "^3.0.2" did-resolver "^4.0.0" url-parse "^1.5.3" -"@verida/types@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@verida/types/-/types-2.3.1.tgz#7cc6ab253eb5d1bf6995b9c17c77328f5f68e8b9" - integrity sha512-gbzrVKMNIpUdNrZ/H9T3nCYRNWdYWX1B0cB8sQCMRV5Ad7Xrn4E7WlzN72pT+yWf0NiqwXab4/1jsEdT7UeexA== +"@verida/types@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@verida/types/-/types-3.0.1.tgz#3ae76af481cd32fdf5b176b7384e7bccde76a1c8" + integrity sha512-YIdX5qP1oU+aY/fqrwrgMAFuH4lz1QuzYxLmYx4olCo5rmnopryu3A8oyE+5CX2qbSOBHp6w0TjvM6Bm4iQZPw== dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/bignumber" "^5.7.0" @@ -3438,79 +3099,83 @@ did-resolver "^4.0.1" tweetnacl "^1.0.3" -"@verida/vda-common@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@verida/vda-common/-/vda-common-2.3.6.tgz#d2dee47c852b5f5a425aac02e9079916f3fa44e0" - integrity sha512-E439YHkafz58kjAvTHoZUUkSYOHg/zT5ItTXD8M9AdfQzR4IzInbEukn9LtX00b0Zupp1TtF16aMgWsRsuJRgQ== +"@verida/vda-common@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@verida/vda-common/-/vda-common-3.0.1.tgz#1acc8223e440fb64eb60dabbe2b90a404209eb20" + integrity sha512-l6fxtSiOYlTWF1ya9Iy2HothVMAdGiD1AbZ+pfq5K4QrxNzUoijeR+24CBA/8q6XkF+OMSdR0V4sPZ/azgQg8g== dependencies: - "@verida/encryption-utils" "^2.2.3" + "@verida/encryption-utils" "^3.0.0" copyfiles "^2.4.1" - ethers "5.5.1" + ethers "5.7.2" -"@verida/vda-did-resolver@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@verida/vda-did-resolver/-/vda-did-resolver-2.3.9.tgz#ed60019b69cc426e46beab4f2cb4e10861a875a0" - integrity sha512-Dd+Ia/1UFuc05g9R7DInLAK8b1xlh0LDZmKmb2YuqvaO+4S3EuPkws7hk+UhElHuvT06fa56fuhrJ69ZSEhG/g== +"@verida/vda-did-resolver@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/vda-did-resolver/-/vda-did-resolver-3.0.2.tgz#5ed9cae5e9aead7ed74fbb68ba78c77c14c25059" + integrity sha512-xW2VQ0YS+9mtkbgPIUokI4Mc3kxLCcD4E8DmRKaTITt5qZ59ezFT+Zpir9svseTRKfW2gpsAjH3kuCvxW8qEIA== dependencies: "@ethersproject/providers" "^5.7.2" - "@verida/did-document" "^2.3.3" - "@verida/encryption-utils" "^2.2.3" - "@verida/types" "^2.3.1" - "@verida/vda-common" "^2.3.6" - "@verida/vda-did" "^2.3.6" + "@verida/did-document" "^3.0.2" + "@verida/encryption-utils" "^3.0.0" + "@verida/types" "^3.0.1" + "@verida/vda-common" "^3.0.1" + "@verida/vda-did" "^3.0.2" axios "1.2.0-alpha.1" lodash "^4.17.21" -"@verida/vda-did@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@verida/vda-did/-/vda-did-2.3.6.tgz#b3c8db2fdafa00afc29168f63cf4c447207587d5" - integrity sha512-uUgKao8me8mdt6HsgNVdxWRlHHteCCgNzVwUZHGkSeVpN/1F+15xyvViCX4/f5+fLGRX8Ipq8trpIUr5eE8+sA== +"@verida/vda-did@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/vda-did/-/vda-did-3.0.2.tgz#6249533bf4995ee02b826ea2cc553731400143fd" + integrity sha512-aS881oW9VK4WcmL5cL+cISOMhO974J4a9zZ1AJLzrAjognoJLwXHrSwV65mFS5ihovpTKAdwwITpcUL1UaQAeQ== dependencies: - "@verida/did-document" "^2.3.3" - "@verida/encryption-utils" "^2.2.3" - "@verida/types" "^2.3.1" - "@verida/web3" "^2.3.6" + "@verida/did-document" "^3.0.2" + "@verida/encryption-utils" "^3.0.0" + "@verida/types" "^3.0.1" + "@verida/web3" "^3.0.2" axios "1.2.0-alpha.1" + ethers "^5.7.2" lodash "^4.17.21" -"@verida/vda-name-client@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@verida/vda-name-client/-/vda-name-client-2.3.6.tgz#65be966f5716cedbfa394a593a5815bc7b4ccdfa" - integrity sha512-Y+pAfkRi5cXk4P0Hn6mfDikF7cfubGqq5BDUmJi1/UbTvLF8LemmJcbTGOMjExD8v9QTi/KWFfKHwJZfKjGziw== +"@verida/vda-name-client@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/vda-name-client/-/vda-name-client-3.0.2.tgz#2c7f00474dd9835d2be72d76662b03633e68f99c" + integrity sha512-W8STgdouBmbPvh0yh2SRQ8VxRMIYl+nK4tAxwhYMm8e/Wkw0oJm3o8+RZHedMwtJMyrOTtSp0QCYqovUstw+cg== dependencies: "@ethersproject/providers" "^5.7.2" - "@verida/helpers" "^2.3.3" - "@verida/types" "^2.3.1" - "@verida/web3" "^2.3.6" + "@verida/helpers" "^3.0.2" + "@verida/types" "^3.0.1" + "@verida/web3" "^3.0.2" axios "^0.27.2" ethers "^5.7.0" -"@verida/verifiable-credentials@^2.3.9": - version "2.3.9" - resolved "https://registry.yarnpkg.com/@verida/verifiable-credentials/-/verifiable-credentials-2.3.9.tgz#fd18bc83b0de879d7d64314e459dc5cb14ab1375" - integrity sha512-XSbffHejWH2j79zun0rn3ZgQXcj1bz2/jwzMt/iW9F81wokAjYiMmB0LPPkGk7toHkzyTlAZLAJHRjPUczKDrA== +"@verida/verifiable-credentials@^3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@verida/verifiable-credentials/-/verifiable-credentials-3.0.3.tgz#0c6edfba2319fc8dd18575abb17bb425a8a354bf" + integrity sha512-NIEibXNhxj1gc2bZBSDL2sMhaRdOjCVPFO+qajU9+8mjyHpHbZQ5cwkGp8+kvutX4tibZjY6NmdRviv/BYe3Qg== dependencies: - "@verida/encryption-utils" "^2.2.3" - "@verida/helpers" "^2.3.3" - "@verida/types" "^2.3.1" - "@verida/vda-did-resolver" "^2.3.9" + "@verida/encryption-utils" "^3.0.0" + "@verida/helpers" "^3.0.2" + "@verida/types" "^3.0.1" + "@verida/vda-did-resolver" "^3.0.2" axios "^1.3.3" dayjs "^1.10.7" did-jwt "^6.11.0" - did-jwt-vc "^3.1.0" + did-jwt-vc "3.1.0" lodash "^4.17.21" tweetnacl-util "^0.15.1" url "^0.11.0" -"@verida/web3@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@verida/web3/-/web3-2.3.6.tgz#fd7606284fcda28b9df164a080f2c6eefbe26ef0" - integrity sha512-KNs3MLEqd7r+fHyIR2OhnZqoDrL3I82fCGO4gwAxUmE5DHlmyaq2lExXN5teqAJIfiGTqcgASWzfqkEnix8/0Q== +"@verida/web3@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@verida/web3/-/web3-3.0.2.tgz#ffaa76efdc2ccf84a1062b8633e212f0f7c9518c" + integrity sha512-HdDI5Ud10X2v408HtSaSg1+FOZu5vVrlcWD/FYZX9rKZztBjX2wWVc8T+dmcCWJsJSMbXer3Mzo1Q0CQTFZ2wQ== dependencies: - "@verida/types" "^2.3.1" - "@verida/vda-common" "^2.3.6" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/contracts" "^5.7.0" + "@ethersproject/providers" "^5.7.2" + "@verida/types" "^3.0.1" + "@verida/vda-common" "^3.0.1" axios "^1.2.3" - ethers "^5.7.0" + ethers "^5.7.2" "@walletconnect/browser-utils@^1.8.0": version "1.8.0" @@ -4155,6 +3820,15 @@ axios@^1.2.3, axios@^1.3.3: form-data "^4.0.0" proxy-from-env "^1.1.0" +axios@^1.6.2: + 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" + babel-loader@^8.2.5: version "8.3.0" resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.3.0.tgz#124936e841ba4fe8176786d6ff28add1f134d6a8" @@ -5423,7 +5097,7 @@ detect-port@^1.3.0: address "^1.0.1" debug "4" -did-jwt-vc@3.1.0, did-jwt-vc@^3.1.0: +did-jwt-vc@3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/did-jwt-vc/-/did-jwt-vc-3.1.0.tgz#aa7877c4c1f26ba11883604ac0ece30ca4fe78a4" integrity sha512-8N54No9RQpbDM4a/aMiGc/tZWubtH8bqi7DLnO6B62AdWaNVKeS9ddcuANztSS1yTuypyzlyeeEtCTqEzpYgjA== @@ -5893,43 +5567,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers@5.5.1: - version "5.5.1" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.5.1.tgz#d3259a95a42557844aa543906c537106c0406fbf" - integrity sha512-RodEvUFZI+EmFcE6bwkuJqpCYHazdzeR1nMzg+YWQSmQEsNtfl1KHGfp/FWZYl48bI/g7cgBeP2IlPthjiVngw== - dependencies: - "@ethersproject/abi" "5.5.0" - "@ethersproject/abstract-provider" "5.5.1" - "@ethersproject/abstract-signer" "5.5.0" - "@ethersproject/address" "5.5.0" - "@ethersproject/base64" "5.5.0" - "@ethersproject/basex" "5.5.0" - "@ethersproject/bignumber" "5.5.0" - "@ethersproject/bytes" "5.5.0" - "@ethersproject/constants" "5.5.0" - "@ethersproject/contracts" "5.5.0" - "@ethersproject/hash" "5.5.0" - "@ethersproject/hdnode" "5.5.0" - "@ethersproject/json-wallets" "5.5.0" - "@ethersproject/keccak256" "5.5.0" - "@ethersproject/logger" "5.5.0" - "@ethersproject/networks" "5.5.0" - "@ethersproject/pbkdf2" "5.5.0" - "@ethersproject/properties" "5.5.0" - "@ethersproject/providers" "5.5.0" - "@ethersproject/random" "5.5.0" - "@ethersproject/rlp" "5.5.0" - "@ethersproject/sha2" "5.5.0" - "@ethersproject/signing-key" "5.5.0" - "@ethersproject/solidity" "5.5.0" - "@ethersproject/strings" "5.5.0" - "@ethersproject/transactions" "5.5.0" - "@ethersproject/units" "5.5.0" - "@ethersproject/wallet" "5.5.0" - "@ethersproject/web" "5.5.0" - "@ethersproject/wordlists" "5.5.0" - -ethers@^5.5.1, ethers@^5.7.0: +ethers@5.7.2, ethers@^5.5.1, ethers@^5.7.0, ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== @@ -6219,6 +5857,11 @@ follow-redirects@^1.0.0, follow-redirects@^1.14.0, follow-redirects@^1.14.4, fol resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== +follow-redirects@^1.15.6: + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== + for-each@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" From 927a780459b4a7d06b678ab6c2f50646283a9fac Mon Sep 17 00:00:00 2001 From: aurelticot Date: Fri, 5 Apr 2024 14:16:31 +1100 Subject: [PATCH 2/3] Add environment property in account --- docs/single-sign-on-sdk/getting-started.md | 22 ++++------------------ docs/single-sign-on-sdk/web-user.md | 3 ++- docs/tutorial/SSO.mdx | 11 ++++++----- docs/tutorial/walletconnect_verida.mdx | 11 ++++++----- src/theme/ReactLiveScope/index.js | 7 +++++-- 5 files changed, 23 insertions(+), 31 deletions(-) diff --git a/docs/single-sign-on-sdk/getting-started.md b/docs/single-sign-on-sdk/getting-started.md index 7339381..55665ce 100644 --- a/docs/single-sign-on-sdk/getting-started.md +++ b/docs/single-sign-on-sdk/getting-started.md @@ -24,35 +24,21 @@ import { Network } from '@verida/client-ts'; import { EnvironmentType } from '@verida/types'; import { VaultAccount } from '@verida/account-web-vault'; -// (optional) Import WalletConnect if required -import WalletConnect from "@walletconnect/client"; - const VERIDA_ENVIRONMENT = EnvironmentType.TESTNET; const CONTEXT_NAME = 'My Application: Context Name'; -// (optional) WalletConnect configuration -// See the WalletConnect section of the documentation for details -const DEFAULT_CHAIN_ID = "eip155:1" -connector = new WalletConnect({ - bridge: 'https://bridge.walletconnect.org', -}); - -// Logo for your application -// The LOGO_URL should be a 170x170 PNG file +// Logo for your application, should be a 170x170 PNG file const LOGO_URL = "https://assets.verida.io/verida_login_request_logo_170x170.png"; const account = new VaultAccount({ request: { logoUrl: LOGO_URL, - // An optional URL that will open a browser on the user's mobile device + // openURL: An optional URL that will open a browser on the user's mobile device // after accepting the login request in the Verida Wallet mobile app openURL: window.location.href, }, - walletConnect: { - version: connector.version, - uri: connector.uri, - chainId: DEFAULT_CHAIN_ID, - }, + // environment: Indicates to the Wallet which network the identity should be on. + environment: VERIDA_ENVIRONMENT, }); const context = await Network.connect({ diff --git a/docs/single-sign-on-sdk/web-user.md b/docs/single-sign-on-sdk/web-user.md index 2661944..5b1edb1 100644 --- a/docs/single-sign-on-sdk/web-user.md +++ b/docs/single-sign-on-sdk/web-user.md @@ -29,7 +29,8 @@ export const user = new WebUser({ accountConfig: { request: { logoUrl: LOGO_URL - } + }, + environment: VERIDA_ENVIRONMENT }, clientConfig: { environment: VERIDA_ENVIRONMENT diff --git a/docs/tutorial/SSO.mdx b/docs/tutorial/SSO.mdx index 1130706..77c5594 100644 --- a/docs/tutorial/SSO.mdx +++ b/docs/tutorial/SSO.mdx @@ -7,7 +7,7 @@ keywords: [Verida, Web3, Developers, Tutorial, Verida Connect, Wallet connect] import ReactPlayer from 'react-player'; -# Sign-in with Verida Connect SDK +# Sign-in with Verida Connect SDK ## See a walk through of the code @@ -55,12 +55,13 @@ VeridaLoginExample = () => { const account = new VaultAccount({ request: { logoUrl: 'https://developers.verida.io/img/tutorial_login_request_logo_170x170.png', - }, + }, + environment: EnvironmentType.TESTNET, }); const context = await Network.connect({ client: { - environment: 'testnet' + environment: EnvironmentType.TESTNET, }, account: account, context: { @@ -71,7 +72,7 @@ VeridaLoginExample = () => { if (context) { // set the local state variable setVeridaContext(context); - } + } }; logout = async function () { @@ -96,7 +97,7 @@ VeridaLoginExample = () => { ); - } else { + } else { return (
diff --git a/docs/tutorial/walletconnect_verida.mdx b/docs/tutorial/walletconnect_verida.mdx index b47bc07..c73165f 100644 --- a/docs/tutorial/walletconnect_verida.mdx +++ b/docs/tutorial/walletconnect_verida.mdx @@ -20,7 +20,7 @@ how to use the live code : :::caution You may get an error that display : "Session is disconnected" this means you're currently logged in without a WalletConnect session. -Steps to fix this error +Steps to fix this error - Please ensure the Verida Wallet is updated to the latest version - Login again to establish a WalletConnect session @@ -90,7 +90,7 @@ VeridaLoginExample = () => { const account = new VaultAccount({ request: { logoUrl: 'https://developers.verida.io/img/tutorial_login_request_logo_170x170.png', - // Pass the WalletConnect details required for the connection. + // Pass the WalletConnect details required for the connection. // Please not that the wallet connect object is optional. walletConnect: { version: connector.version, @@ -98,6 +98,7 @@ VeridaLoginExample = () => { chainId: CHAIN_ID } }, + environment: 'testnet' }); const context = await Network.connect({ client: { @@ -141,7 +142,7 @@ VeridaLoginExample = () => { message, address ]; - // Learn more about WalletConnect personal_sign here + // Learn more about WalletConnect personal_sign here // https://docs.walletconnect.com/1.0/quick-start/dapps/client#sign-personal-message-personal_sign const result = await walletConnector.signPersonalMessage(msgParams); if(result) { @@ -192,8 +193,8 @@ VeridaLoginExample = () => { } { - walletConnector - && (processingWc ? 'Processing....' : + walletConnector + && (processingWc ? 'Processing....' : diff --git a/src/theme/ReactLiveScope/index.js b/src/theme/ReactLiveScope/index.js index c2bb947..cfabaae 100644 --- a/src/theme/ReactLiveScope/index.js +++ b/src/theme/ReactLiveScope/index.js @@ -6,6 +6,7 @@ */ import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment"; +import { EnvironmentType } from "@verida/types"; import React, { useEffect, useState } from "react"; import { store, useGlobalState } from "state-pool"; @@ -84,11 +85,12 @@ if (ExecutionEnvironment.canUseDOM) { "https://developers.verida.io/img/tutorial_login_request_logo_170x170.png", walletConnect, }, + environment: EnvironmentType.TESTNET, }); const context = await Network.connect({ client: { - environment: "testnet", + environment: EnvironmentType.TESTNET, }, account: globalAccount, context: { @@ -114,7 +116,8 @@ const ReactLiveScope = { WalletConnect, globalAccount, globalLoginFunction, - getCircularReplacer + getCircularReplacer, + EnvironmentType }; export default ReactLiveScope; From f3a49fb8589cbefae081dc5157afdeffe607405c Mon Sep 17 00:00:00 2001 From: aurelticot Date: Wed, 17 Apr 2024 11:50:51 +1000 Subject: [PATCH 3/3] Use mainnet in tutorials --- docs/tutorial/SSO.mdx | 4 ++-- src/theme/ReactLiveScope/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/tutorial/SSO.mdx b/docs/tutorial/SSO.mdx index 77c5594..e57d2e3 100644 --- a/docs/tutorial/SSO.mdx +++ b/docs/tutorial/SSO.mdx @@ -56,12 +56,12 @@ VeridaLoginExample = () => { request: { logoUrl: 'https://developers.verida.io/img/tutorial_login_request_logo_170x170.png', }, - environment: EnvironmentType.TESTNET, + environment: EnvironmentType.MAINNET, }); const context = await Network.connect({ client: { - environment: EnvironmentType.TESTNET, + environment: EnvironmentType.MAINNET, }, account: account, context: { diff --git a/src/theme/ReactLiveScope/index.js b/src/theme/ReactLiveScope/index.js index cfabaae..a464d8b 100644 --- a/src/theme/ReactLiveScope/index.js +++ b/src/theme/ReactLiveScope/index.js @@ -85,12 +85,12 @@ if (ExecutionEnvironment.canUseDOM) { "https://developers.verida.io/img/tutorial_login_request_logo_170x170.png", walletConnect, }, - environment: EnvironmentType.TESTNET, + environment: EnvironmentType.MAINNET, }); const context = await Network.connect({ client: { - environment: EnvironmentType.TESTNET, + environment: EnvironmentType.MAINNET, }, account: globalAccount, context: {