From 1a263a9096b69e38388b3b19c6bf4dede37ddc9c Mon Sep 17 00:00:00 2001 From: Zach Ferland Date: Thu, 10 Sep 2020 13:38:22 -0400 Subject: [PATCH 1/5] chore: ipfslog and orbitdb@25 up --- package-lock.json | 1358 ++++++++++++++++++++++++++++++++++++++++++--- package.json | 4 +- 2 files changed, 1272 insertions(+), 90 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9fe5252d..b339f27e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "3box", - "version": "1.20.3", + "version": "1.21.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -40,6 +40,32 @@ "base-x": "^3.0.8", "buffer": "^5.5.0" } + }, + "orbit-db": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/orbit-db/-/orbit-db-0.24.2.tgz", + "integrity": "sha512-F9QPHVHvDDI8qwkzt5KuYOCCVBS4woHU3lUeZkxtQ4yXVlEhsJYshTZo8z3CLkJcT7Wbx76JZ94GbtdE0FtZiA==", + "requires": { + "cids": "^0.7.1", + "ipfs-pubsub-1on1": "~0.0.6", + "is-node": "^1.0.2", + "localstorage-down": "^0.6.7", + "logplease": "^1.2.14", + "multihashes": "^0.4.12", + "orbit-db-access-controllers": "^0.2.2", + "orbit-db-cache": "~0.3.0", + "orbit-db-counterstore": "~1.9.0", + "orbit-db-docstore": "~1.9.0", + "orbit-db-eventstore": "~1.9.0", + "orbit-db-feedstore": "~1.9.0", + "orbit-db-identity-provider": "~0.3.0", + "orbit-db-io": "~0.2.0", + "orbit-db-keystore": "~0.3.0", + "orbit-db-kvstore": "~1.9.0", + "orbit-db-pubsub": "~0.5.5", + "orbit-db-storage-adapter": "~0.5.3", + "orbit-db-store": "~3.3.0" + } } } }, @@ -1686,6 +1712,89 @@ "elliptic": "6.5.3" } }, + "@ethersproject/solidity": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.0.3.tgz", + "integrity": "sha512-a6ni4OIj1e+JrvDiuLVqygYmAh53Ljk5iErkjzPgFBY8dz9xQfDxhpASjOZY0lzCf+N125yeK9N7Vm3HI7OLzQ==", + "requires": { + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/sha2": "^5.0.3", + "@ethersproject/strings": "^5.0.3" + }, + "dependencies": { + "@ethersproject/bignumber": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.0.6.tgz", + "integrity": "sha512-fLilYOSH3DJXBrimx7PwrJdY/zAI5MGp229Mvhtcur76Lgt4qNWu9HTiwMGHP01Tkm3YP5gweF83GrQrA2tYUA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "bn.js": "^4.4.0" + } + }, + "@ethersproject/bytes": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.0.4.tgz", + "integrity": "sha512-9R6A6l9JN8x1U4s1dJCR+9h3MZTT3xQofr/Xx8wbDvj6NnY4CbBB0o8ZgHXvR74yV90pY2EzCekpkMBJnRzkSw==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/constants": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.0.3.tgz", + "integrity": "sha512-iN7KBrA0zNFybDyrkcAPOcyU3CHXYFMd+KM2Jr07Kjg+DVB5wPpEXsOdd/K1KWFsFtGfNdPZ7QP8siLtCePXrQ==", + "requires": { + "@ethersproject/bignumber": "^5.0.6" + } + }, + "@ethersproject/keccak256": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.0.3.tgz", + "integrity": "sha512-VhW3mgZMBZlETV6AyOmjNeNG+Pg68igiKkPpat8/FZl0CKnfgQ+KZQZ/ee1vT+X0IUM8/djqnei6btmtbA27Ug==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "js-sha3": "0.5.7" + } + }, + "@ethersproject/logger": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.0.5.tgz", + "integrity": "sha512-gJj72WGzQhUtCk6kfvI8elTaPOQyMvrMghp/nbz0ivTo39fZ7IjypFh/ySDeUSdBNplAwhzWKKejQhdpyefg/w==" + }, + "@ethersproject/sha2": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.0.3.tgz", + "integrity": "sha512-B1U9UkgxhUlC1J4sFUL2GwTo33bM2i/aaD3aiYdTh1FEXtGfqYA89KN1DJ83n+Em8iuvyiBRk6u30VmgqlHeHA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "hash.js": "1.1.3" + } + }, + "@ethersproject/strings": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.3.tgz", + "integrity": "sha512-8kEx3+Z6cMn581yh093qnaSa8H7XzmLn6g8YFDHUpzXM7+bvXvnL2ciHrJ+EbvaMQZpej6nNtl0nm7XF4PmQHA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/logger": "^5.0.5" + } + }, + "hash.js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + } + } + }, "@ethersproject/strings": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.1.tgz", @@ -1712,6 +1821,49 @@ "@ethersproject/signing-key": "^5.0.0" } }, + "@ethersproject/units": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.0.3.tgz", + "integrity": "sha512-PyQ066mFczUy0CSJJrc/VK+1ATh1bsI8EkzAVT7GQ0IPJlNDcXnGNtlH5EQGHzuXA3GDQNV23poB0Cy/WDb2zg==", + "requires": { + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/logger": "^5.0.5" + }, + "dependencies": { + "@ethersproject/bignumber": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.0.6.tgz", + "integrity": "sha512-fLilYOSH3DJXBrimx7PwrJdY/zAI5MGp229Mvhtcur76Lgt4qNWu9HTiwMGHP01Tkm3YP5gweF83GrQrA2tYUA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "bn.js": "^4.4.0" + } + }, + "@ethersproject/bytes": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.0.4.tgz", + "integrity": "sha512-9R6A6l9JN8x1U4s1dJCR+9h3MZTT3xQofr/Xx8wbDvj6NnY4CbBB0o8ZgHXvR74yV90pY2EzCekpkMBJnRzkSw==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/constants": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.0.3.tgz", + "integrity": "sha512-iN7KBrA0zNFybDyrkcAPOcyU3CHXYFMd+KM2Jr07Kjg+DVB5wPpEXsOdd/K1KWFsFtGfNdPZ7QP8siLtCePXrQ==", + "requires": { + "@ethersproject/bignumber": "^5.0.6" + } + }, + "@ethersproject/logger": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.0.5.tgz", + "integrity": "sha512-gJj72WGzQhUtCk6kfvI8elTaPOQyMvrMghp/nbz0ivTo39fZ7IjypFh/ySDeUSdBNplAwhzWKKejQhdpyefg/w==" + } + } + }, "@ethersproject/wallet": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.0.2.tgz", @@ -8222,9 +8374,9 @@ "dev": true }, "err-code": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz", - "integrity": "sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA=" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" }, "errno": { "version": "0.1.7", @@ -9452,10 +9604,33 @@ "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "dev": true, "requires": { - "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b", "ethereumjs-util": "^5.1.1" }, "dependencies": { + "ethereumjs-abi": { + "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b", + "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b", + "requires": { + "bn.js": "^4.11.8", + "ethereumjs-util": "^6.0.0" + }, + "dependencies": { + "ethereumjs-util": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz", + "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==", + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + } + } + }, "ethereumjs-util": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", @@ -9766,15 +9941,6 @@ "secp256k1": "^3.7.1" } }, - "ethereumjs-abi": { - "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b", - "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git", - "dev": true, - "requires": { - "bn.js": "^4.11.8", - "ethereumjs-util": "^6.0.0" - } - }, "ethereumjs-account": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-3.0.0.tgz", @@ -13168,18 +13334,456 @@ } }, "ipfs-log": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/ipfs-log/-/ipfs-log-4.6.1.tgz", - "integrity": "sha512-jcmubdL0hhhIyGb25lFU8rz0UtNai5iA5LbJimB92UDBOk6mnqy6mY7p8YdVl+B8gPIVPxODDbeSyfi7Ow7YCQ==", + "version": "4.6.5", + "resolved": "https://registry.npmjs.org/ipfs-log/-/ipfs-log-4.6.5.tgz", + "integrity": "sha512-FJN5yd1LCbVvG3+fVkqfB42TOMtvbTqSYvkd4LWj4tFtF16uh2T76LkRJud6CXJChPynRqS6zsjAvLNAZKwp6g==", "requires": { "json-stringify-deterministic": "^1.0.1", - "multihashing-async": "^0.7.0", - "orbit-db-identity-provider": "~0.3.0", + "multihashing-async": "^2.0.1", + "orbit-db-identity-provider": "~0.3.1", "orbit-db-io": "~0.2.0", "p-do-whilst": "^1.1.0", "p-each-series": "^2.1.0", - "p-map": "^1.1.1", - "p-whilst": "^1.0.0" + "p-map": "^4.0.0", + "p-whilst": "^2.1.0" + }, + "dependencies": { + "@ethersproject/abi": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.4.tgz", + "integrity": "sha512-T8woaIQHCJMZDAQim1vSp8ycsP2h1/TlnBHzQqR9atKknoqLiT26Wxr9AkhW1aufexkWrZTHbf2837469uS6Eg==", + "requires": { + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.3" + } + }, + "@ethersproject/abstract-provider": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.0.3.tgz", + "integrity": "sha512-0dVq0IcJd6/qTjT+bhJw6ooJuCJDNWTL8SKRFBnqr4OgDW7p1AXX2l7lQd7vX9RpbnDzurSM+fTBKCVWjdm3Vw==", + "requires": { + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/networks": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/web": "^5.0.4" + } + }, + "@ethersproject/abstract-signer": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.0.3.tgz", + "integrity": "sha512-uhHXqmcJcxWYD+hcvsp/pu8iSgqQzgSXHJtFGUYBBkWGpCp5kF95nSRlFnyVu9uAqZxwynBtOrPZBd1ACGBQBQ==", + "requires": { + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3" + } + }, + "@ethersproject/address": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.0.3.tgz", + "integrity": "sha512-LMmLxL1wTNtvwgm/eegcaxtG/W7vHXKzHGUkK9KZEI9W+SfHrpT7cGX+hBcatcUXPANjS3TmOaQ+mq5JU5sGTw==", + "requires": { + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/rlp": "^5.0.3", + "bn.js": "^4.4.0" + } + }, + "@ethersproject/base64": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.0.3.tgz", + "integrity": "sha512-sFq+/UwGCQsLxMvp7yO7yGWni87QXoV3C3IfjqUSY2BHkbZbCDm+PxZviUkiKf+edYZ2Glp0XnY7CgKSYUN9qw==", + "requires": { + "@ethersproject/bytes": "^5.0.4" + } + }, + "@ethersproject/basex": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.0.3.tgz", + "integrity": "sha512-EvoER+OXsMAZlvbC0M/9UTxjvbBvTccYCI+uCAhXw+eS1+SUdD4v7ekAFpVX78rPLrLZB1vChKMm6vPHIu3WRA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/properties": "^5.0.3" + } + }, + "@ethersproject/bignumber": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.0.6.tgz", + "integrity": "sha512-fLilYOSH3DJXBrimx7PwrJdY/zAI5MGp229Mvhtcur76Lgt4qNWu9HTiwMGHP01Tkm3YP5gweF83GrQrA2tYUA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "bn.js": "^4.4.0" + } + }, + "@ethersproject/bytes": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.0.4.tgz", + "integrity": "sha512-9R6A6l9JN8x1U4s1dJCR+9h3MZTT3xQofr/Xx8wbDvj6NnY4CbBB0o8ZgHXvR74yV90pY2EzCekpkMBJnRzkSw==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/constants": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.0.3.tgz", + "integrity": "sha512-iN7KBrA0zNFybDyrkcAPOcyU3CHXYFMd+KM2Jr07Kjg+DVB5wPpEXsOdd/K1KWFsFtGfNdPZ7QP8siLtCePXrQ==", + "requires": { + "@ethersproject/bignumber": "^5.0.6" + } + }, + "@ethersproject/contracts": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.0.3.tgz", + "integrity": "sha512-60H7UJx6qsp3JP5q3jFjzVNGUygRfz+XzfRwx/VeCKjHBUpFxPEIO2S30SMjYKPqw6JsgxbOjxFFZgOfQiNesw==", + "requires": { + "@ethersproject/abi": "^5.0.3", + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3" + } + }, + "@ethersproject/hash": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.0.3.tgz", + "integrity": "sha512-KSnJyL0G9lxbOK0UPrUcaYTc/RidrX8c+kn7xnEpTmSGxqlndw4BzvQcRgYt31bOIwuFtwlWvOo6AN2tJgdQtA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/strings": "^5.0.3" + } + }, + "@ethersproject/hdnode": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.0.3.tgz", + "integrity": "sha512-+VQj0gRxfwRPHH7J32fTU8Ouk9CBFBIqvl937I0swO5PghNXBy/1U+o8gZMOitLIId1P3Wr6QcaDHkusi7OQXw==", + "requires": { + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/basex": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/pbkdf2": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/sha2": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/wordlists": "^5.0.3" + } + }, + "@ethersproject/json-wallets": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.0.5.tgz", + "integrity": "sha512-g2kdOY5l+TDE5rIE9BLK+S7fiQMIIsM+KTxxVu4H2COROFwCSMeEb5uMCkccXc3iDX1sOBF653h8kTXCaFY03Q==", + "requires": { + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/hdnode": "^5.0.3", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/pbkdf2": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/random": "^5.0.3", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "@ethersproject/keccak256": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.0.3.tgz", + "integrity": "sha512-VhW3mgZMBZlETV6AyOmjNeNG+Pg68igiKkPpat8/FZl0CKnfgQ+KZQZ/ee1vT+X0IUM8/djqnei6btmtbA27Ug==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "js-sha3": "0.5.7" + } + }, + "@ethersproject/logger": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.0.5.tgz", + "integrity": "sha512-gJj72WGzQhUtCk6kfvI8elTaPOQyMvrMghp/nbz0ivTo39fZ7IjypFh/ySDeUSdBNplAwhzWKKejQhdpyefg/w==" + }, + "@ethersproject/networks": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.0.3.tgz", + "integrity": "sha512-Gjpejul6XFetJXyvHCd37IiCC00203kYGU9sMaRMZcAcYKszCkbOeo/Q7Mmdr/fS7YBbB5iTOahDJWiRLu/b7A==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/pbkdf2": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.0.3.tgz", + "integrity": "sha512-asc+YgJn7v7GKWYXGz3GM1d9XYI2HvdCw1cLEow2niEC9BfYA29rr1exz100zISk95GIU1YP2zV//zHsMtWE5Q==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/sha2": "^5.0.3" + } + }, + "@ethersproject/properties": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.0.3.tgz", + "integrity": "sha512-wLCSrbywkQgTO6tIF9ZdKsH9AIxPEqAJF/z5xcPkz1DK4mMAZgAXRNw1MrKYhyb+7CqNHbj3vxenNKFavGY/IA==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/providers": { + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.0.7.tgz", + "integrity": "sha512-lT+w/w2PKX9oyddX0DTBYl2CVHJTJONZP5HLJ3MzVvSA5dTOdiJ9Sx5rpqR7Tw+mxVA9xPjanoNCaPPIT7cykQ==", + "requires": { + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/basex": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/networks": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/random": "^5.0.3", + "@ethersproject/rlp": "^5.0.3", + "@ethersproject/sha2": "^5.0.3", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/web": "^5.0.4", + "bech32": "1.1.4", + "ws": "7.2.3" + } + }, + "@ethersproject/random": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.0.3.tgz", + "integrity": "sha512-pEhWRbgNeAY1oYk4nIsEtCTh9TtLsivIDbOX11n+DLZLYM3c8qCLxThXtsHwVsMs1JHClZr5auYC4YxtVVzO/A==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/rlp": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.0.3.tgz", + "integrity": "sha512-Hz4yyA/ilGafASAqtTlLWkA/YqwhQmhbDAq2LSIp1AJNx+wtbKWFAKSckpeZ+WG/xZmT+fw5OFKK7a5IZ4DR5g==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/sha2": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.0.3.tgz", + "integrity": "sha512-B1U9UkgxhUlC1J4sFUL2GwTo33bM2i/aaD3aiYdTh1FEXtGfqYA89KN1DJ83n+Em8iuvyiBRk6u30VmgqlHeHA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "hash.js": "1.1.3" + } + }, + "@ethersproject/signing-key": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.0.4.tgz", + "integrity": "sha512-I6pJoga1IvhtjYK5yXzCjs4ZpxrVbt9ZRAlpEw0SW9UuV020YfJH5EIVEGR2evdRceS3nAQIggqbsXSkP8Y1Dg==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "elliptic": "6.5.3" + } + }, + "@ethersproject/strings": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.3.tgz", + "integrity": "sha512-8kEx3+Z6cMn581yh093qnaSa8H7XzmLn6g8YFDHUpzXM7+bvXvnL2ciHrJ+EbvaMQZpej6nNtl0nm7XF4PmQHA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/transactions": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.0.4.tgz", + "integrity": "sha512-QvS5CzxmL46D9Y3OlddurYgEIi5mb0eAgrKm5pM074Uz/1qxCYr+Ah12I4hpaciZtCq4Fe12YWZqUFb1vGcH6Q==", + "requires": { + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/rlp": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4" + } + }, + "@ethersproject/wallet": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.0.3.tgz", + "integrity": "sha512-Nouwfh1HlpxaeRRi4+UDVsfrd9fitBHUvw35bTMSwJLFsZTb9xPd0LGWdX4llwVlAP/CXb6qDc0zwYy6uLp7Lw==", + "requires": { + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/hdnode": "^5.0.3", + "@ethersproject/json-wallets": "^5.0.5", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/random": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/wordlists": "^5.0.3" + } + }, + "@ethersproject/web": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.0.5.tgz", + "integrity": "sha512-3lffVNOKv/ypW42eY0xhc+UXF+lFUgP1QfIZhWDTJ4xSY6tuNayXKXYq+AqjLXwxwIHzD0TOpe4j46IXJx2NXA==", + "requires": { + "@ethersproject/base64": "^5.0.3", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.3" + } + }, + "@ethersproject/wordlists": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.0.3.tgz", + "integrity": "sha512-Asro9CcBJqxtMnmKrsg79GMmH02p0JmdOwhEdRHRbr51UMRqAfV5RjiidYk21aMsTflv4VY3HgFs6q6FtRJs+w==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.3" + } + }, + "deferred-leveldown": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.1.0.tgz", + "integrity": "sha512-PvDY+BT2ONu2XVRgxHb77hYelLtMYxKSGuWuJJdVRXh9ntqx9GYTFJno/SKAz5xcd+yjQwyQeIZrUPjPvA52mg==", + "requires": { + "abstract-leveldown": "~6.0.0", + "inherits": "^2.0.3" + } + }, + "ethers": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.0.12.tgz", + "integrity": "sha512-mgF1ZLd1y5r+hS1IPATKwKx5k/PCSqz4PEQjMR+er+Hhu6IefVVcoYATUMjmK4FG+3PAkorRMA9rJ4Y/fdW0UA==", + "requires": { + "@ethersproject/abi": "^5.0.3", + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/base64": "^5.0.3", + "@ethersproject/basex": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/contracts": "^5.0.3", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/hdnode": "^5.0.3", + "@ethersproject/json-wallets": "^5.0.5", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/networks": "^5.0.3", + "@ethersproject/pbkdf2": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/providers": "^5.0.6", + "@ethersproject/random": "^5.0.3", + "@ethersproject/rlp": "^5.0.3", + "@ethersproject/sha2": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4", + "@ethersproject/solidity": "^5.0.3", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/units": "^5.0.3", + "@ethersproject/wallet": "^5.0.3", + "@ethersproject/web": "^5.0.4", + "@ethersproject/wordlists": "^5.0.3" + } + }, + "hash.js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "levelup": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.1.0.tgz", + "integrity": "sha512-+Qhe2/jb5affN7BeFgWUUWVdYoGXO2nFS3QLEZKZynnQyP9xqA+7wgOz3fD8SST2UKpHQuZgjyJjTcB2nMl2dQ==", + "requires": { + "deferred-leveldown": "~5.1.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~4.0.0", + "xtend": "~4.0.0" + } + }, + "orbit-db-identity-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/orbit-db-identity-provider/-/orbit-db-identity-provider-0.3.1.tgz", + "integrity": "sha512-kR6uUCovNecTTPTDsCkm07VEEg1nozx5bz0/ZUO7Oo+0EhCACPO9DZ3g5Wy9bPBHyaaRYqcocQfqAvTdfwyWLQ==", + "requires": { + "ethers": "^5.0.8", + "orbit-db-keystore": "~0.3.5" + } + }, + "orbit-db-keystore": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/orbit-db-keystore/-/orbit-db-keystore-0.3.5.tgz", + "integrity": "sha512-oyu8BndnGnX+7tEHfkXBxiSPMSeztLweIUUY4OwyKysXaqd5CWvNDGT3tVZ4jq8dJ13LNmfQzdr20PjIRcBVig==", + "requires": { + "elliptic": "^6.5.3", + "level": "~5.0.1", + "leveldown": "~5.1.1", + "levelup": "~4.1.0", + "libp2p-crypto": "^0.16.0", + "libp2p-crypto-secp256k1": "^0.3.0", + "lru": "^3.1.0", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1" + } + }, + "ws": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.3.tgz", + "integrity": "sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ==" + } } }, "ipfs-pubsub-1on1": { @@ -18209,14 +18813,17 @@ "socket.io": "^2.3.0", "socket.io-client": "^2.3.0", "stream-to-it": "^0.2.0", - "streaming-iterables": "^4.1.0", - "webrtcsupport": "github:ipfs/webrtcsupport#0a7099ff04fd36227a32e16966dbb3cca7002378" + "streaming-iterables": "^4.1.0" }, "dependencies": { "err-code": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" + }, + "webrtcsupport": { + "version": "github:ipfs/webrtcsupport#0a7099ff04fd36227a32e16966dbb3cca7002378", + "from": "github:ipfs/webrtcsupport#0a7099ff04fd36227a32e16966dbb3cca7002378" } } }, @@ -19160,22 +19767,41 @@ } }, "multihashing-async": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.7.0.tgz", - "integrity": "sha512-SCbfl3f+DzJh+/5piukga9ofIOxwfT05t8R4jfzZIJ88YE9zU9+l3K2X+XB19MYyxqvyK9UJRNWbmQpZqQlbRA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-2.0.1.tgz", + "integrity": "sha512-LZcH8PqW4iEKymaJ3RpsgpSJhXF29kAvO02ccqbysiXkQhZpVce8rrg+vzRKWO89hhyIBnQHI2e/ZoRVxmiJ2Q==", "requires": { "blakejs": "^1.1.0", - "buffer": "^5.2.1", - "err-code": "^1.1.2", - "js-sha3": "~0.8.0", - "multihashes": "~0.4.13", - "murmurhash3js-revisited": "^3.0.0" + "err-code": "^2.0.0", + "js-sha3": "^0.8.0", + "multihashes": "^3.0.1", + "murmurhash3js-revisited": "^3.0.0", + "uint8arrays": "^1.0.0" }, "dependencies": { "js-sha3": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + }, + "multibase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.0.0.tgz", + "integrity": "sha512-fuB+zfRbF5zWV4L+CPM0dgA0gX7DHG/IMyzwhVi2RxbRVWn41Wk7SkKW8cxYDGOg6TVh7XgyoesjOAYrB1HBAA==", + "requires": { + "base-x": "^3.0.8", + "web-encoding": "^1.0.2" + } + }, + "multihashes": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-3.0.1.tgz", + "integrity": "sha512-fFY67WOtb0359IjDZxaCU3gJILlkwkFbxbwrK9Bej5+NqNaYztzLOj8/NgMNMg/InxmhK+Uu8S/U4EcqsHzB7Q==", + "requires": { + "multibase": "^3.0.0", + "uint8arrays": "^1.0.0", + "varint": "^5.0.0" + } } } }, @@ -19769,16 +20395,16 @@ } }, "orbit-db": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/orbit-db/-/orbit-db-0.24.2.tgz", - "integrity": "sha512-F9QPHVHvDDI8qwkzt5KuYOCCVBS4woHU3lUeZkxtQ4yXVlEhsJYshTZo8z3CLkJcT7Wbx76JZ94GbtdE0FtZiA==", + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/orbit-db/-/orbit-db-0.25.1.tgz", + "integrity": "sha512-yjn8zce2gPHH59fKOu61X5ocdGIu7eSYmoxrLWd6mvRM9l+q9JLwiuGnpUi1MonucmWJnfuI/Kvn/hBcqPySBg==", "requires": { - "cids": "^0.7.1", + "cids": "^1.0.0", "ipfs-pubsub-1on1": "~0.0.6", "is-node": "^1.0.2", "localstorage-down": "^0.6.7", "logplease": "^1.2.14", - "multihashes": "^0.4.12", + "multihashes": "~3.0.1", "orbit-db-access-controllers": "^0.2.2", "orbit-db-cache": "~0.3.0", "orbit-db-counterstore": "~1.9.0", @@ -19791,7 +20417,60 @@ "orbit-db-kvstore": "~1.9.0", "orbit-db-pubsub": "~0.5.5", "orbit-db-storage-adapter": "~0.5.3", - "orbit-db-store": "~3.3.0" + "orbit-db-store": "~3.3.1" + }, + "dependencies": { + "cids": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cids/-/cids-1.0.0.tgz", + "integrity": "sha512-HEBCIElSiXlkgZq3dgHJc3eDcnFteFp96N8/1/oqX5lkxBtB66sZ12jqEP3g7Ut++jEk6kIUGifQ1Qrya1jcNQ==", + "requires": { + "class-is": "^1.1.0", + "multibase": "^3.0.0", + "multicodec": "^2.0.0", + "multihashes": "^3.0.1", + "uint8arrays": "^1.0.0" + } + }, + "multibase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.0.0.tgz", + "integrity": "sha512-fuB+zfRbF5zWV4L+CPM0dgA0gX7DHG/IMyzwhVi2RxbRVWn41Wk7SkKW8cxYDGOg6TVh7XgyoesjOAYrB1HBAA==", + "requires": { + "base-x": "^3.0.8", + "web-encoding": "^1.0.2" + } + }, + "multicodec": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.0.1.tgz", + "integrity": "sha512-YDYeWn9iGa76hOHAyyZa0kbt3tr5FLg1ZXUHrZUJltjnxxdbTIbHnxWLd2zTcMOjdT3QyO+Xs4bQgJUcC2RWUA==", + "requires": { + "uint8arrays": "1.0.0", + "varint": "^5.0.0" + }, + "dependencies": { + "uint8arrays": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.0.0.tgz", + "integrity": "sha512-14tqEVujDREW7YwonSZZwLvo7aFDfX7b6ubvM/U7XvZol+CC/LbhaX/550VlWmhddAL9Wou1sxp0Of3tGqXigg==", + "requires": { + "multibase": "^3.0.0", + "web-encoding": "^1.0.2" + } + } + } + }, + "multihashes": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-3.0.1.tgz", + "integrity": "sha512-fFY67WOtb0359IjDZxaCU3gJILlkwkFbxbwrK9Bej5+NqNaYztzLOj8/NgMNMg/InxmhK+Uu8S/U4EcqsHzB7Q==", + "requires": { + "multibase": "^3.0.0", + "uint8arrays": "^1.0.0", + "varint": "^5.0.0" + } + } } }, "orbit-db-access-controllers": { @@ -19821,9 +20500,9 @@ } }, "orbit-db-docstore": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/orbit-db-docstore/-/orbit-db-docstore-1.9.0.tgz", - "integrity": "sha512-V54UXdjCUXvmdXHLi2ovLjWhZcnkEpBrcbLrfwFj+09DhHYEllNXVHf/HuDhe9NeXwB/GfzKamPifuRrXBKrBg==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/orbit-db-docstore/-/orbit-db-docstore-1.9.1.tgz", + "integrity": "sha512-ORnro7C5+n6lnkvZdQ9xMHLoiEC8I0DlRGkR6PSTW64JcjH9qbuSDUBdaqb0a6Ay3CREN7u84z4xyzRK8XvShg==", "requires": { "orbit-db-store": "~3.3.0", "p-map": "~1.1.1" @@ -19936,62 +20615,541 @@ } }, "orbit-db-store": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/orbit-db-store/-/orbit-db-store-3.3.0.tgz", - "integrity": "sha512-3+f/GtzeLyxJ/2CJb/0gyOFS9UvDBBAS+/vKyJR9ZvE3AfPI4ffraMBkedp5MZjsb4Hqr0q5wdkB7vu1hxWunw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/orbit-db-store/-/orbit-db-store-3.3.1.tgz", + "integrity": "sha512-u9yunvxP3a80n2pX5OyS9yQNbrGLlaYsgw040SWohXM78mu6EMokm7wiQ7MNYnj5zx0SdD/cmU9BTeKSSWu8wA==", "requires": { - "ipfs-log": "~4.6.0", - "it-to-stream": "^0.1.1", + "ipfs-log": "~4.6.2", + "it-to-stream": "^0.1.2", "logplease": "^1.2.14", "orbit-db-io": "~0.2.0", - "p-each-series": "^1.0.0", - "p-map": "^3.0.0", - "p-queue": "^6.2.1", - "readable-stream": "~2.3.5" + "p-each-series": "^2.1.0", + "p-map": "^4.0.0", + "p-queue": "^6.6.1", + "readable-stream": "~3.6.0" }, "dependencies": { - "p-each-series": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz", - "integrity": "sha1-kw89Et0fUOdDRFeiLNbwSsatf3E=", + "@ethersproject/abi": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.4.tgz", + "integrity": "sha512-T8woaIQHCJMZDAQim1vSp8ycsP2h1/TlnBHzQqR9atKknoqLiT26Wxr9AkhW1aufexkWrZTHbf2837469uS6Eg==", "requires": { - "p-reduce": "^1.0.0" + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.3" } }, - "p-map": { + "@ethersproject/abstract-provider": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.0.3.tgz", + "integrity": "sha512-0dVq0IcJd6/qTjT+bhJw6ooJuCJDNWTL8SKRFBnqr4OgDW7p1AXX2l7lQd7vX9RpbnDzurSM+fTBKCVWjdm3Vw==", + "requires": { + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/networks": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/web": "^5.0.4" + } + }, + "@ethersproject/abstract-signer": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.0.3.tgz", + "integrity": "sha512-uhHXqmcJcxWYD+hcvsp/pu8iSgqQzgSXHJtFGUYBBkWGpCp5kF95nSRlFnyVu9uAqZxwynBtOrPZBd1ACGBQBQ==", + "requires": { + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3" + } + }, + "@ethersproject/address": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.0.3.tgz", + "integrity": "sha512-LMmLxL1wTNtvwgm/eegcaxtG/W7vHXKzHGUkK9KZEI9W+SfHrpT7cGX+hBcatcUXPANjS3TmOaQ+mq5JU5sGTw==", + "requires": { + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/rlp": "^5.0.3", + "bn.js": "^4.4.0" + } + }, + "@ethersproject/base64": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.0.3.tgz", + "integrity": "sha512-sFq+/UwGCQsLxMvp7yO7yGWni87QXoV3C3IfjqUSY2BHkbZbCDm+PxZviUkiKf+edYZ2Glp0XnY7CgKSYUN9qw==", + "requires": { + "@ethersproject/bytes": "^5.0.4" + } + }, + "@ethersproject/basex": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.0.3.tgz", + "integrity": "sha512-EvoER+OXsMAZlvbC0M/9UTxjvbBvTccYCI+uCAhXw+eS1+SUdD4v7ekAFpVX78rPLrLZB1vChKMm6vPHIu3WRA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/properties": "^5.0.3" + } + }, + "@ethersproject/bignumber": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.0.6.tgz", + "integrity": "sha512-fLilYOSH3DJXBrimx7PwrJdY/zAI5MGp229Mvhtcur76Lgt4qNWu9HTiwMGHP01Tkm3YP5gweF83GrQrA2tYUA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "bn.js": "^4.4.0" + } + }, + "@ethersproject/bytes": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.0.4.tgz", + "integrity": "sha512-9R6A6l9JN8x1U4s1dJCR+9h3MZTT3xQofr/Xx8wbDvj6NnY4CbBB0o8ZgHXvR74yV90pY2EzCekpkMBJnRzkSw==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/constants": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.0.3.tgz", + "integrity": "sha512-iN7KBrA0zNFybDyrkcAPOcyU3CHXYFMd+KM2Jr07Kjg+DVB5wPpEXsOdd/K1KWFsFtGfNdPZ7QP8siLtCePXrQ==", + "requires": { + "@ethersproject/bignumber": "^5.0.6" + } + }, + "@ethersproject/contracts": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.0.3.tgz", + "integrity": "sha512-60H7UJx6qsp3JP5q3jFjzVNGUygRfz+XzfRwx/VeCKjHBUpFxPEIO2S30SMjYKPqw6JsgxbOjxFFZgOfQiNesw==", + "requires": { + "@ethersproject/abi": "^5.0.3", + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3" + } + }, + "@ethersproject/hash": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.0.3.tgz", + "integrity": "sha512-KSnJyL0G9lxbOK0UPrUcaYTc/RidrX8c+kn7xnEpTmSGxqlndw4BzvQcRgYt31bOIwuFtwlWvOo6AN2tJgdQtA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/strings": "^5.0.3" + } + }, + "@ethersproject/hdnode": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.0.3.tgz", + "integrity": "sha512-+VQj0gRxfwRPHH7J32fTU8Ouk9CBFBIqvl937I0swO5PghNXBy/1U+o8gZMOitLIId1P3Wr6QcaDHkusi7OQXw==", + "requires": { + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/basex": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/pbkdf2": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/sha2": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/wordlists": "^5.0.3" + } + }, + "@ethersproject/json-wallets": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.0.5.tgz", + "integrity": "sha512-g2kdOY5l+TDE5rIE9BLK+S7fiQMIIsM+KTxxVu4H2COROFwCSMeEb5uMCkccXc3iDX1sOBF653h8kTXCaFY03Q==", + "requires": { + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/hdnode": "^5.0.3", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/pbkdf2": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/random": "^5.0.3", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "@ethersproject/keccak256": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.0.3.tgz", + "integrity": "sha512-VhW3mgZMBZlETV6AyOmjNeNG+Pg68igiKkPpat8/FZl0CKnfgQ+KZQZ/ee1vT+X0IUM8/djqnei6btmtbA27Ug==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "js-sha3": "0.5.7" + }, + "dependencies": { + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + } + } + }, + "@ethersproject/logger": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.0.5.tgz", + "integrity": "sha512-gJj72WGzQhUtCk6kfvI8elTaPOQyMvrMghp/nbz0ivTo39fZ7IjypFh/ySDeUSdBNplAwhzWKKejQhdpyefg/w==" + }, + "@ethersproject/networks": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.0.3.tgz", + "integrity": "sha512-Gjpejul6XFetJXyvHCd37IiCC00203kYGU9sMaRMZcAcYKszCkbOeo/Q7Mmdr/fS7YBbB5iTOahDJWiRLu/b7A==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/pbkdf2": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.0.3.tgz", + "integrity": "sha512-asc+YgJn7v7GKWYXGz3GM1d9XYI2HvdCw1cLEow2niEC9BfYA29rr1exz100zISk95GIU1YP2zV//zHsMtWE5Q==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/sha2": "^5.0.3" + } + }, + "@ethersproject/properties": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.0.3.tgz", + "integrity": "sha512-wLCSrbywkQgTO6tIF9ZdKsH9AIxPEqAJF/z5xcPkz1DK4mMAZgAXRNw1MrKYhyb+7CqNHbj3vxenNKFavGY/IA==", + "requires": { + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/providers": { + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.0.7.tgz", + "integrity": "sha512-lT+w/w2PKX9oyddX0DTBYl2CVHJTJONZP5HLJ3MzVvSA5dTOdiJ9Sx5rpqR7Tw+mxVA9xPjanoNCaPPIT7cykQ==", + "requires": { + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/basex": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/networks": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/random": "^5.0.3", + "@ethersproject/rlp": "^5.0.3", + "@ethersproject/sha2": "^5.0.3", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/web": "^5.0.4", + "bech32": "1.1.4", + "ws": "7.2.3" + } + }, + "@ethersproject/random": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.0.3.tgz", + "integrity": "sha512-pEhWRbgNeAY1oYk4nIsEtCTh9TtLsivIDbOX11n+DLZLYM3c8qCLxThXtsHwVsMs1JHClZr5auYC4YxtVVzO/A==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/rlp": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.0.3.tgz", + "integrity": "sha512-Hz4yyA/ilGafASAqtTlLWkA/YqwhQmhbDAq2LSIp1AJNx+wtbKWFAKSckpeZ+WG/xZmT+fw5OFKK7a5IZ4DR5g==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/sha2": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.0.3.tgz", + "integrity": "sha512-B1U9UkgxhUlC1J4sFUL2GwTo33bM2i/aaD3aiYdTh1FEXtGfqYA89KN1DJ83n+Em8iuvyiBRk6u30VmgqlHeHA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "hash.js": "1.1.3" + } + }, + "@ethersproject/signing-key": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.0.4.tgz", + "integrity": "sha512-I6pJoga1IvhtjYK5yXzCjs4ZpxrVbt9ZRAlpEw0SW9UuV020YfJH5EIVEGR2evdRceS3nAQIggqbsXSkP8Y1Dg==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "elliptic": "6.5.3" + } + }, + "@ethersproject/strings": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.3.tgz", + "integrity": "sha512-8kEx3+Z6cMn581yh093qnaSa8H7XzmLn6g8YFDHUpzXM7+bvXvnL2ciHrJ+EbvaMQZpej6nNtl0nm7XF4PmQHA==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/logger": "^5.0.5" + } + }, + "@ethersproject/transactions": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.0.4.tgz", + "integrity": "sha512-QvS5CzxmL46D9Y3OlddurYgEIi5mb0eAgrKm5pM074Uz/1qxCYr+Ah12I4hpaciZtCq4Fe12YWZqUFb1vGcH6Q==", + "requires": { + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/rlp": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4" + } + }, + "@ethersproject/wallet": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.0.3.tgz", + "integrity": "sha512-Nouwfh1HlpxaeRRi4+UDVsfrd9fitBHUvw35bTMSwJLFsZTb9xPd0LGWdX4llwVlAP/CXb6qDc0zwYy6uLp7Lw==", + "requires": { + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/hdnode": "^5.0.3", + "@ethersproject/json-wallets": "^5.0.5", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/random": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/wordlists": "^5.0.3" + } + }, + "@ethersproject/web": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.0.5.tgz", + "integrity": "sha512-3lffVNOKv/ypW42eY0xhc+UXF+lFUgP1QfIZhWDTJ4xSY6tuNayXKXYq+AqjLXwxwIHzD0TOpe4j46IXJx2NXA==", + "requires": { + "@ethersproject/base64": "^5.0.3", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.3" + } + }, + "@ethersproject/wordlists": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.0.3.tgz", + "integrity": "sha512-Asro9CcBJqxtMnmKrsg79GMmH02p0JmdOwhEdRHRbr51UMRqAfV5RjiidYk21aMsTflv4VY3HgFs6q6FtRJs+w==", + "requires": { + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/strings": "^5.0.3" + } + }, + "deferred-leveldown": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.1.0.tgz", + "integrity": "sha512-PvDY+BT2ONu2XVRgxHb77hYelLtMYxKSGuWuJJdVRXh9ntqx9GYTFJno/SKAz5xcd+yjQwyQeIZrUPjPvA52mg==", + "requires": { + "abstract-leveldown": "~6.0.0", + "inherits": "^2.0.3" + } + }, + "err-code": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" + }, + "ethers": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.0.12.tgz", + "integrity": "sha512-mgF1ZLd1y5r+hS1IPATKwKx5k/PCSqz4PEQjMR+er+Hhu6IefVVcoYATUMjmK4FG+3PAkorRMA9rJ4Y/fdW0UA==", + "requires": { + "@ethersproject/abi": "^5.0.3", + "@ethersproject/abstract-provider": "^5.0.3", + "@ethersproject/abstract-signer": "^5.0.3", + "@ethersproject/address": "^5.0.3", + "@ethersproject/base64": "^5.0.3", + "@ethersproject/basex": "^5.0.3", + "@ethersproject/bignumber": "^5.0.6", + "@ethersproject/bytes": "^5.0.4", + "@ethersproject/constants": "^5.0.3", + "@ethersproject/contracts": "^5.0.3", + "@ethersproject/hash": "^5.0.3", + "@ethersproject/hdnode": "^5.0.3", + "@ethersproject/json-wallets": "^5.0.5", + "@ethersproject/keccak256": "^5.0.3", + "@ethersproject/logger": "^5.0.5", + "@ethersproject/networks": "^5.0.3", + "@ethersproject/pbkdf2": "^5.0.3", + "@ethersproject/properties": "^5.0.3", + "@ethersproject/providers": "^5.0.6", + "@ethersproject/random": "^5.0.3", + "@ethersproject/rlp": "^5.0.3", + "@ethersproject/sha2": "^5.0.3", + "@ethersproject/signing-key": "^5.0.4", + "@ethersproject/solidity": "^5.0.3", + "@ethersproject/strings": "^5.0.3", + "@ethersproject/transactions": "^5.0.3", + "@ethersproject/units": "^5.0.3", + "@ethersproject/wallet": "^5.0.3", + "@ethersproject/web": "^5.0.4", + "@ethersproject/wordlists": "^5.0.3" + } + }, + "hash.js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "ipfs-log": { + "version": "4.6.5", + "resolved": "https://registry.npmjs.org/ipfs-log/-/ipfs-log-4.6.5.tgz", + "integrity": "sha512-FJN5yd1LCbVvG3+fVkqfB42TOMtvbTqSYvkd4LWj4tFtF16uh2T76LkRJud6CXJChPynRqS6zsjAvLNAZKwp6g==", + "requires": { + "json-stringify-deterministic": "^1.0.1", + "multihashing-async": "^2.0.1", + "orbit-db-identity-provider": "~0.3.1", + "orbit-db-io": "~0.2.0", + "p-do-whilst": "^1.1.0", + "p-each-series": "^2.1.0", + "p-map": "^4.0.0", + "p-whilst": "^2.1.0" + } + }, + "js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + }, + "levelup": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.1.0.tgz", + "integrity": "sha512-+Qhe2/jb5affN7BeFgWUUWVdYoGXO2nFS3QLEZKZynnQyP9xqA+7wgOz3fD8SST2UKpHQuZgjyJjTcB2nMl2dQ==", + "requires": { + "deferred-leveldown": "~5.1.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~4.0.0", + "xtend": "~4.0.0" + } + }, + "multibase": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", - "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.0.0.tgz", + "integrity": "sha512-fuB+zfRbF5zWV4L+CPM0dgA0gX7DHG/IMyzwhVi2RxbRVWn41Wk7SkKW8cxYDGOg6TVh7XgyoesjOAYrB1HBAA==", "requires": { - "aggregate-error": "^3.0.0" + "base-x": "^3.0.8", + "web-encoding": "^1.0.2" } }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "multihashes": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-3.0.1.tgz", + "integrity": "sha512-fFY67WOtb0359IjDZxaCU3gJILlkwkFbxbwrK9Bej5+NqNaYztzLOj8/NgMNMg/InxmhK+Uu8S/U4EcqsHzB7Q==", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "multibase": "^3.0.0", + "uint8arrays": "^1.0.0", + "varint": "^5.0.0" } }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "multihashing-async": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-2.0.1.tgz", + "integrity": "sha512-LZcH8PqW4iEKymaJ3RpsgpSJhXF29kAvO02ccqbysiXkQhZpVce8rrg+vzRKWO89hhyIBnQHI2e/ZoRVxmiJ2Q==", + "requires": { + "blakejs": "^1.1.0", + "err-code": "^2.0.0", + "js-sha3": "^0.8.0", + "multihashes": "^3.0.1", + "murmurhash3js-revisited": "^3.0.0", + "uint8arrays": "^1.0.0" + } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "orbit-db-identity-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/orbit-db-identity-provider/-/orbit-db-identity-provider-0.3.1.tgz", + "integrity": "sha512-kR6uUCovNecTTPTDsCkm07VEEg1nozx5bz0/ZUO7Oo+0EhCACPO9DZ3g5Wy9bPBHyaaRYqcocQfqAvTdfwyWLQ==", "requires": { - "safe-buffer": "~5.1.0" + "ethers": "^5.0.8", + "orbit-db-keystore": "~0.3.5" + } + }, + "orbit-db-keystore": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/orbit-db-keystore/-/orbit-db-keystore-0.3.5.tgz", + "integrity": "sha512-oyu8BndnGnX+7tEHfkXBxiSPMSeztLweIUUY4OwyKysXaqd5CWvNDGT3tVZ4jq8dJ13LNmfQzdr20PjIRcBVig==", + "requires": { + "elliptic": "^6.5.3", + "level": "~5.0.1", + "leveldown": "~5.1.1", + "levelup": "~4.1.0", + "libp2p-crypto": "^0.16.0", + "libp2p-crypto-secp256k1": "^0.3.0", + "lru": "^3.1.0", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1" + } + }, + "p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "p-queue": { + "version": "6.6.1", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.1.tgz", + "integrity": "sha512-miQiSxLYPYBxGkrldecZC18OTLjdUqnlRebGzPRiVxB8mco7usCmm7hFuxiTvp93K18JnLtE4KMMycjAu/cQQg==", + "requires": { + "eventemitter3": "^4.0.4", + "p-timeout": "^3.1.0" } + }, + "p-whilst": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-whilst/-/p-whilst-2.1.0.tgz", + "integrity": "sha512-uzp1HPgqzokEmZN+VpfQ9PO4YY5xm+jpLJeL9FN1NPU4d4IZh8eEV+mtQXd+/22R1P7C5j19b7Y//oUc7k0+RQ==" + }, + "ws": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.3.tgz", + "integrity": "sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ==" } } }, @@ -20093,9 +21251,12 @@ } }, "p-map": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", - "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "requires": { + "aggregate-error": "^3.0.0" + } }, "p-map-series": { "version": "1.0.0", @@ -20193,9 +21354,9 @@ } }, "p-whilst": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-whilst/-/p-whilst-1.0.0.tgz", - "integrity": "sha1-VGaOrX+TR5n8APHlIw/Wrd645+Y=" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-whilst/-/p-whilst-2.1.0.tgz", + "integrity": "sha512-uzp1HPgqzokEmZN+VpfQ9PO4YY5xm+jpLJeL9FN1NPU4d4IZh8eEV+mtQXd+/22R1P7C5j19b7Y//oUc7k0+RQ==" }, "package-json": { "version": "6.5.0", @@ -23978,6 +25139,26 @@ "dev": true, "optional": true }, + "uint8arrays": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz", + "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==", + "requires": { + "multibase": "^3.0.0", + "web-encoding": "^1.0.2" + }, + "dependencies": { + "multibase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.0.0.tgz", + "integrity": "sha512-fuB+zfRbF5zWV4L+CPM0dgA0gX7DHG/IMyzwhVi2RxbRVWn41Wk7SkKW8cxYDGOg6TVh7XgyoesjOAYrB1HBAA==", + "requires": { + "base-x": "^3.0.8", + "web-encoding": "^1.0.2" + } + } + } + }, "underscore": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz", @@ -24570,6 +25751,11 @@ "chokidar": "^2.1.8" } }, + "web-encoding": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.0.3.tgz", + "integrity": "sha512-Ajn64qJ0Z3oMwOIwBtxajFPA+4guB12n4EfmY1Mtlgb9296WJxwH1q/ykedmQrBNpjcKCM207S5OM2wpJfl4VA==" + }, "web3-provider-engine": { "version": "15.0.12", "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-15.0.12.tgz", @@ -25177,10 +26363,6 @@ } } }, - "webrtcsupport": { - "version": "github:ipfs/webrtcsupport#0a7099ff04fd36227a32e16966dbb3cca7002378", - "from": "github:ipfs/webrtcsupport" - }, "whatwg-encoding": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", diff --git a/package.json b/package.json index 3b641c20..52b2362c 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "https-did-resolver": "^1.0.0", "ipfs": "^0.46.0", "ipfs-did-document": "^1.2.3", - "ipfs-log": "^4.6.1", + "ipfs-log": "^4.6.5", "ipfs-pubsub-room": "^2.0.1", "ipfs-repo": "^3.0.2", "is-ipfs": "^1.0.3", @@ -69,7 +69,7 @@ "lodash.merge": "^4.6.2", "muport-did-resolver": "^1.0.2", "node-fetch": "^2.6.0", - "orbit-db": "^0.24.2", + "orbit-db": "^0.25.1", "orbit-db-cache": "^0.3.0", "orbit-db-identity-provider": "^0.3.0", "orbit-db-storage-adapter": "^0.5.3", From cc2acc9c6f777afd45afe05ba5773508e393ecd6 Mon Sep 17 00:00:00 2001 From: Zach Ferland Date: Fri, 11 Sep 2020 13:19:33 -0400 Subject: [PATCH 2/5] fix: fix logout, cleanup all state --- src/3box.js | 16 ++++++++++++++-- src/3id/index.js | 2 ++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/3box.js b/src/3box.js index 4399d8fb..ec7d60c6 100644 --- a/src/3box.js +++ b/src/3box.js @@ -48,6 +48,7 @@ class Box extends BoxApi { super() this._provider = provider this._ipfs = ipfs + this._opts = opts this._serverUrl = opts.addressServer || ADDRESS_SERVER_URL /** * @property {KeyValueStore} public access the profile store of the users 3Box @@ -560,10 +561,21 @@ class Box extends BoxApi { */ async logout () { if (!this._3id) throw new Error('logout: auth required') + await this.close() this._3id.logout() - const address = await this._3id.getAddress() - localstorage.remove('linkConsent_' + address) + + delete this._3idEthAddress + delete this.replicator + delete this._3id + + this.public = null + this.private = null + this.spaces = {} + this.syncDone = null + this.hasPublishedLink = {} + + await this._init(this._opts) } /** diff --git a/src/3id/index.js b/src/3id/index.js index 33717f59..f71fb727 100644 --- a/src/3id/index.js +++ b/src/3id/index.js @@ -283,6 +283,8 @@ class ThreeId { } logout () { + this._rootDID = null + this._subDIDs = {} localstorage.remove(STORAGE_KEY + this.managementAddress) this.stopUpdatePolling() } From f35672c97f33cff25455af813833eb6c2718c8da Mon Sep 17 00:00:00 2001 From: Zach Ferland Date: Fri, 11 Sep 2020 13:38:23 -0400 Subject: [PATCH 3/5] chore: depracate isLoggedIn --- src/3box.js | 2 +- src/__tests__/3box.test.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/3box.js b/src/3box.js index ec7d60c6..fb5f1ae1 100644 --- a/src/3box.js +++ b/src/3box.js @@ -1,4 +1,3 @@ -const localstorage = require('store') const IPFS = require('ipfs') const multiaddr = require('multiaddr') const { createLink, validateLink } = require('3id-blockchain-utils') @@ -585,6 +584,7 @@ class Box extends BoxApi { * @return {Boolean} true if the user is logged in */ static isLoggedIn (address) { + console.warn('Box.isLoggedIn: function no longer supported, simply call auth and it will not prompt user again if they have already authenticated') return ThreeId.isLoggedIn(address) } diff --git a/src/__tests__/3box.test.js b/src/__tests__/3box.test.js index a5986d23..9bee47d3 100644 --- a/src/__tests__/3box.test.js +++ b/src/__tests__/3box.test.js @@ -435,7 +435,6 @@ describe('3Box', () => { const box = await Box.openBox('0x12345', 'web3prov', boxOpts) await box.logout() expect(mocked3id.logoutFn).toHaveBeenCalledTimes(1) - return box.close() }) it('should be logged out', async () => { @@ -443,7 +442,6 @@ describe('3Box', () => { await box.logout() const isLoggedIn = Box.isLoggedIn('0xabcde') expect(isLoggedIn).toEqual(false) - return box.close() }) it('should verify profiles correctly', async () => { From 3c17a11f6b4409ba3242f455c5fbb912683a85f2 Mon Sep 17 00:00:00 2001 From: Zach Ferland Date: Fri, 11 Sep 2020 14:02:00 -0400 Subject: [PATCH 4/5] fix: another datastore path, for upgrade, key not found fix --- src/3box.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/3box.js b/src/3box.js index fb5f1ae1..d4e8f728 100644 --- a/src/3box.js +++ b/src/3box.js @@ -630,9 +630,13 @@ async function initIPFSRepo (iframeCache) { ipfsRootPath = 'ipfs/root/' + sessionID const levelInstance = new LevelStore(ipfsRootPath) + const ipfsDatastorePath = 'ipfs/datastore' // path name level-js-ipfs/datastore + const levelDatastore = new LevelStore(ipfsDatastorePath) + repoOpts = { storageBackends: { - root: () => levelInstance + root: () => levelInstance, + datastore: () => levelDatastore } } From 08670ca5cef954f694a16290b9d0c6bffb3d7c85 Mon Sep 17 00:00:00 2001 From: Zach Ferland Date: Mon, 14 Sep 2020 13:16:41 -0400 Subject: [PATCH 5/5] release v1.22.0 --- RELEASE-NOTES.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index e9de1cdb..c6ee0104 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,12 @@ # Release Notes +## v1.22.0 - 2020-09-14 + +* chore: upgrade orbit-db@0.25.1 +* fix: logout, clean up prior login state +* chore: deprecate isLoggedIn, simply call auth, will return existing user if available +* fix: another datastore path, resolves "key not found error" + ## v1.21.0 - 2020-08-06 * feat: shared ipfs and orbitdb iframe cache for faster auth/openbox and syncs diff --git a/package.json b/package.json index 52b2362c..e97872b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "3box", - "version": "1.21.0", + "version": "1.22.0", "description": "Interact with user data", "main": "lib/3box.js", "directories": {