diff --git a/.gitignore b/.gitignore index a80c8fd3..7dfa729e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ tmp/ .DS_Store yarn.lock orbitdb -.idea \ No newline at end of file +.idea +example/build.js diff --git a/.npmignore b/.npmignore index 00994bff..a5ee5075 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,6 @@ coverage/ tmp/ +tools/ example/ orbitdb/ .circleci/ diff --git a/package-lock.json b/package-lock.json index 4733c33a..64dd6313 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "3box", - "version": "1.19.0", + "version": "1.20.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -655,6 +655,15 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, + "@babel/plugin-syntax-import-meta": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.1.tgz", + "integrity": "sha512-ypC4jwfIVF72og0dgvEcFRdOM2V9Qm1tu7RGmdZOlhsccyK0wisXmMObGuWEOd5jQ+K9wcIgSNftCpk2vkjUfQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.1" + } + }, "@babel/plugin-syntax-json-strings": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", @@ -1326,102 +1335,102 @@ "dev": true }, "@ethersproject/abi": { - "version": "5.0.0-beta.155", - "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.0-beta.155.tgz", - "integrity": "sha512-Oy00vZtb/Yr6gL9SJdKj7lmcL3e/04K5Dpd20ej52rXuRDYddCn9yHSkYWRM8/ZFFepFqeXmZ3XVN0ixLOJwcA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.0.1.tgz", + "integrity": "sha512-9fqSa3jEYV4nN8tijW+jz4UnT/Ma9/b8y4+nHlsvuWqr32E2kYsT9SCIVpk/51iM6NOud7xsA6UxCox9zBeHKg==", "requires": { - "@ethersproject/address": ">=5.0.0-beta.134", - "@ethersproject/bignumber": ">=5.0.0-beta.138", - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/constants": ">=5.0.0-beta.133", - "@ethersproject/hash": ">=5.0.0-beta.133", - "@ethersproject/keccak256": ">=5.0.0-beta.131", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140", - "@ethersproject/strings": ">=5.0.0-beta.136" + "@ethersproject/address": "^5.0.0", + "@ethersproject/bignumber": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/constants": "^5.0.0", + "@ethersproject/hash": "^5.0.0", + "@ethersproject/keccak256": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/properties": "^5.0.0", + "@ethersproject/strings": "^5.0.0" } }, "@ethersproject/abstract-provider": { - "version": "5.0.0-beta.142", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.0.0-beta.142.tgz", - "integrity": "sha512-NnSgbGb3bpArL1ygaFVtg5sQjVhODQrdw/KlGGfPhIff37xfeoQPWMdN9ZbkTn+LqMdRCAEBTh5eEPCeWVLwgQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.0.1.tgz", + "integrity": "sha512-/KOw65ayviYPtKLqFE1qozeIJJlfI1wE/tNA+iKUPUai6bU6vg2tbfLFGarRTCQe3HoWV1t7xSsD/z9T9xg74g==", "requires": { - "@ethersproject/bignumber": ">=5.0.0-beta.138", - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/networks": ">=5.0.0-beta.136", - "@ethersproject/properties": ">=5.0.0-beta.140", - "@ethersproject/transactions": ">=5.0.0-beta.135", - "@ethersproject/web": ">=5.0.0-beta.138" + "@ethersproject/bignumber": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/networks": "^5.0.0", + "@ethersproject/properties": "^5.0.0", + "@ethersproject/transactions": "^5.0.0", + "@ethersproject/web": "^5.0.0" } }, "@ethersproject/abstract-signer": { - "version": "5.0.0-beta.145", - "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.0.0-beta.145.tgz", - "integrity": "sha512-ZgowV8Zi7DVFg/eJRhaDCVNu7eCqKJVE/HiGS6M5RyKJWMyXgFcxznSF+Apawy9sfL3CmWfdciuTpdybj/KBig==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.0.1.tgz", + "integrity": "sha512-Rp8DP+cLcSNFkd1YhwPSBcgEWLRipNakitwIwHngAmhbo4zdiWgALD/OLqdQ7SKF75CufF1W4BCuXcQgiWaRow==", "requires": { - "@ethersproject/abstract-provider": ">=5.0.0-beta.139", - "@ethersproject/bignumber": ">=5.0.0-beta.138", - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140" + "@ethersproject/abstract-provider": "^5.0.0", + "@ethersproject/bignumber": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/properties": "^5.0.0" } }, "@ethersproject/address": { - "version": "5.0.0-beta.135", - "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.0.0-beta.135.tgz", - "integrity": "sha512-y9r/ajYBCDVM1ZD6kKgTRHBOxgURcQ24qTolw3oGyK373XHNrcY9ufDgZ5KR8h0OvLvczb4SGzYhahYvBnyZwA==", - "requires": { - "@ethersproject/bignumber": ">=5.0.0-beta.138", - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/keccak256": ">=5.0.0-beta.131", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/rlp": ">=5.0.0-beta.132", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.0.1.tgz", + "integrity": "sha512-kfQtXpBP2pI2TfoRRAYv8grHGiYw8U0c1KbMsC58/W33TIBy7gFSf/oAzOd94lNzdIUenKU0OuSzrHQfVcDDDA==", + "requires": { + "@ethersproject/bignumber": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/keccak256": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/rlp": "^5.0.0", "bn.js": "^4.4.0" } }, "@ethersproject/base64": { - "version": "5.0.0-beta.134", - "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.0.0-beta.134.tgz", - "integrity": "sha512-vM7GQgZ/7tShWJo91Oicq9CFv9c1VuZG1/8lGQlXkF797g12r053b9RrYaaOld2OoVLXzfbAR9Fr7I9nuISlxw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.0.1.tgz", + "integrity": "sha512-WZDa+TYl6BQfUm9EQIDDfJFL0GiuYXNZPIWoiZx3uds7P1XMsvcW3k71AyjYUxIkU5AKW7awwPbzCbBeP1uXsA==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137" + "@ethersproject/bytes": "^5.0.0" } }, "@ethersproject/basex": { - "version": "5.0.0-beta.133", - "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.0.0-beta.133.tgz", - "integrity": "sha512-erOWoHheEaQdGKuQKY/+x2cV/Mk/ZjFihZlmXo73h8RDvuNO4hT7cxetkhC3X2JGQXoVcV8ME48ICFPyUNHVNg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.0.1.tgz", + "integrity": "sha512-ssL2+p/A5bZgkZkiWy0iQDVz2mVJxZfzpf7dpw8t0sKF9VpoM3ZiMthRapH/QBhd4Rr6TNbr619pFLAGmMi9Ug==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140" + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/properties": "^5.0.0" } }, "@ethersproject/bignumber": { - "version": "5.0.0-beta.139", - "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.0.0-beta.139.tgz", - "integrity": "sha512-h1C1okCmPK3UVWwMGUbuCZykplJmD/TdknPQQHJWL/chK5MqBhyQ5o1Cay7mHXKCBnjWrR9BtwjfkAh76pYtFA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.0.1.tgz", + "integrity": "sha512-srGDO7ksT0avdDw5pBtj6F81psv5xiJMInwSSatfIKplitubFb6yVwoHGObGRd0Pp3TvrkIDfJkuskoSMj4OHQ==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/properties": "^5.0.0", "bn.js": "^4.4.0" } }, "@ethersproject/bytes": { - "version": "5.0.0-beta.138", - "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.0.0-beta.138.tgz", - "integrity": "sha512-q4vaIthv89RJQ0V6gdzh1xuluJE1uYbnfzBUYTegicaXX6jRTCjDDhyiQhyEnNi7pKrGtuOrR3v3+7WtAR8Imw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.0.1.tgz", + "integrity": "sha512-Y198536UW9Jb9RBXuqmCsCa9mYJUsxJn+5aGr2XjNMpLBc6vEn/44GHnbQXYgRCzh4rnWtJ9bTgSwDjme9Hgnw==", "requires": { - "@ethersproject/logger": ">=5.0.0-beta.137" + "@ethersproject/logger": "^5.0.0" } }, "@ethersproject/constants": { - "version": "5.0.0-beta.134", - "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.0.0-beta.134.tgz", - "integrity": "sha512-tKKL7F3ozL+XgZ4+McNmp12rnPxKf+InKr36asVVAiVLa0WxnNsO9m/+0LkW5dMFbqn2i2VJtBwKfl1OE6GInA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.0.1.tgz", + "integrity": "sha512-Xec07hFCPN4wfC3WDiRay7KipkApl2msiKTrBHCuAwNMOM8M92+mlQp8tgfEL51DPwCZkmdk1f02kArc6caVSw==", "requires": { - "@ethersproject/bignumber": ">=5.0.0-beta.138" + "@ethersproject/bignumber": "^5.0.0" } }, "@ethersproject/contracts": { @@ -1442,14 +1451,14 @@ } }, "@ethersproject/hash": { - "version": "5.0.0-beta.134", - "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.0.0-beta.134.tgz", - "integrity": "sha512-yvHyu+9Mgi4jn41DakA8tgHwngsSlTEyLBavP08GN3oS6fTiqflEMa4AXUFndztpcvk7UdGlowCOp6UupbmRVQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.0.1.tgz", + "integrity": "sha512-1ByUXYvkszrSSks07xctBtZfpFnIVmftxWlAAnguxh6Q65vKECd/EPi5uI5xVOvnrYMH9Vb8MK1SofPX/6fArQ==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/keccak256": ">=5.0.0-beta.131", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/strings": ">=5.0.0-beta.136" + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/keccak256": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/strings": "^5.0.0" } }, "@ethersproject/hdnode": { @@ -1472,84 +1481,84 @@ } }, "@ethersproject/json-wallets": { - "version": "5.0.0-beta.140", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.0.0-beta.140.tgz", - "integrity": "sha512-Wz9YcjBrxklgBYh/ae+1vn3gG5JK9oMWMVthA/uOLgqy8Uecw51o5lg8hyjAN4vXKbkkx6dX5C8vxC2JNCLlCw==", - "requires": { - "@ethersproject/abstract-signer": ">=5.0.0-beta.142", - "@ethersproject/address": ">=5.0.0-beta.134", - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/hdnode": ">=5.0.0-beta.139", - "@ethersproject/keccak256": ">=5.0.0-beta.131", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/pbkdf2": ">=5.0.0-beta.135", - "@ethersproject/properties": ">=5.0.0-beta.140", - "@ethersproject/random": ">=5.0.0-beta.135", - "@ethersproject/strings": ">=5.0.0-beta.136", - "@ethersproject/transactions": ">=5.0.0-beta.135", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.0.1.tgz", + "integrity": "sha512-QjqQCh1a0a6wRVHdnqVccCLWX0vAgxnvGZeGqpOk2NbyNE8HTzV7GpOE+4LU+iCc8oonfy1gYd4hpsf+iEUWGg==", + "requires": { + "@ethersproject/abstract-signer": "^5.0.0", + "@ethersproject/address": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/hdnode": "^5.0.0", + "@ethersproject/keccak256": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/pbkdf2": "^5.0.0", + "@ethersproject/properties": "^5.0.0", + "@ethersproject/random": "^5.0.0", + "@ethersproject/strings": "^5.0.0", + "@ethersproject/transactions": "^5.0.0", "aes-js": "3.0.0", "scrypt-js": "3.0.1", "uuid": "2.0.1" }, "dependencies": { "@ethersproject/hdnode": { - "version": "5.0.0-beta.140", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.0.0-beta.140.tgz", - "integrity": "sha512-Lqlxo0Ia+M7Q/Vxdamkp5gwgbVWpoKafbnE1fzR22U4fTM3B9ky3qnT8q9LUavIsF/SSRZttbXKmU3J44xgnmg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.0.1.tgz", + "integrity": "sha512-L2OZP4SKKxNtHUdwfK8cND09kHRH62ncxXW33WAJU9shKo8Sbz31HVqSdov84bMAGm8QfEKZbfbAJV/7DM6DjQ==", "requires": { - "@ethersproject/abstract-signer": ">=5.0.0-beta.142", - "@ethersproject/basex": ">=5.0.0-beta.132", - "@ethersproject/bignumber": ">=5.0.0-beta.138", - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/pbkdf2": ">=5.0.0-beta.135", - "@ethersproject/properties": ">=5.0.0-beta.140", - "@ethersproject/sha2": ">=5.0.0-beta.136", - "@ethersproject/signing-key": ">=5.0.0-beta.135", - "@ethersproject/strings": ">=5.0.0-beta.136", - "@ethersproject/transactions": ">=5.0.0-beta.135", - "@ethersproject/wordlists": ">=5.0.0-beta.136" + "@ethersproject/abstract-signer": "^5.0.0", + "@ethersproject/basex": "^5.0.0", + "@ethersproject/bignumber": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/pbkdf2": "^5.0.0", + "@ethersproject/properties": "^5.0.0", + "@ethersproject/sha2": "^5.0.0", + "@ethersproject/signing-key": "^5.0.0", + "@ethersproject/strings": "^5.0.0", + "@ethersproject/transactions": "^5.0.0", + "@ethersproject/wordlists": "^5.0.0" } } } }, "@ethersproject/keccak256": { - "version": "5.0.0-beta.132", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.0.0-beta.132.tgz", - "integrity": "sha512-YpkwYGV4nu1QM7Q+mhYKO1bCk/sbiV7AAU/HnHwZhDiwJZSDRwfjiFkAJQpvTbsAR02Ek9LhFEBg4OfLTEhJLg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.0.1.tgz", + "integrity": "sha512-AtFm/4qHRQUvZcG3WYmaT7zV79dz72+N01w0XphcIBaD/7UZXyW85Uf08sirVlckHmh9fvc4UDWyHiroKsBT6Q==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", + "@ethersproject/bytes": "^5.0.0", "js-sha3": "0.5.7" } }, "@ethersproject/logger": { - "version": "5.0.0-beta.137", - "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.0.0-beta.137.tgz", - "integrity": "sha512-H36iMhWOY+tco1+o2NZUdQT8Gc6Y9795RSPgvluatvjvyt3X6mHtWXes4F8Rc5N/95px++a/ODYVSkSmlr68+A==" + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.0.2.tgz", + "integrity": "sha512-NQe3O1/Nwkcp6bto6hsTvrcCeR/cOGK+RhOMn0Zi2FND6gdWsf1g+5ie8gQ1REqDX4MTGP/Y131dZas985ls/g==" }, "@ethersproject/networks": { - "version": "5.0.0-beta.137", - "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.0.0-beta.137.tgz", - "integrity": "sha512-fVdDXjKkTpFUiJP1SpNaqX+377C72RcXpsc679i42DfSsTIciYkxSzi8g7k9E6YBVW40EdcCSiC1LSWZRHHR8Q==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.0.1.tgz", + "integrity": "sha512-Pe34JCTC6Apm/DkK3z97xotvEyu9YHKIFlDIu5hGV6yFDb4/sUfY2SHKYSGdUrV0418ZZVrwYDveJtBFMmYu2Q==", "requires": { - "@ethersproject/logger": ">=5.0.0-beta.137" + "@ethersproject/logger": "^5.0.0" } }, "@ethersproject/pbkdf2": { - "version": "5.0.0-beta.136", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.0.0-beta.136.tgz", - "integrity": "sha512-pIRWfj1cBWRuFH/veaLIxunim1g8PQ1pJnr+YBYiOWzJ/47eIjVVOdkZQmLu1cR5hQ9RXadDHjZjAyK2Re+f6w==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.0.1.tgz", + "integrity": "sha512-4wc8Aov0iJmiomu6Dv1JNGOlhm3L7omITjLmChz/vgeDnW4Unv4J/nGybCeWKgY4hnjyQMVXkdkQ15BCRbkaYg==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/sha2": ">=5.0.0-beta.136" + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/sha2": "^5.0.0" } }, "@ethersproject/properties": { - "version": "5.0.0-beta.143", - "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.0.0-beta.143.tgz", - "integrity": "sha512-Stagr55S1G8g7edhv5kkHoVaaebYzwlutzYv7hWT2Ad+LPLIT7mkFf88DX8i0eWLQ8hBaSbCfKrc7uS6K7MdEw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.0.1.tgz", + "integrity": "sha512-b3VZ/NpYIf64/hFXeWNxVCbY1xoMPIYM3n6Qnu6Ayr3bLt1olFPQfAaaRB0aOsLz7tMtmkT3DrA1KG/IrOgBRw==", "requires": { - "@ethersproject/logger": ">=5.0.0-beta.137" + "@ethersproject/logger": "^5.0.0" } }, "@ethersproject/providers": { @@ -1575,30 +1584,30 @@ } }, "@ethersproject/random": { - "version": "5.0.0-beta.136", - "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.0.0-beta.136.tgz", - "integrity": "sha512-gvc/SbBgj7UevYIry1WdlnebTaimrH0wVv4iWJ8GtGeMuZTAXmArr17n9aDSnK+Veu7K18tIiU1LR+SZu995sg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.0.1.tgz", + "integrity": "sha512-nYzNhcp5Th4dCocV3yceZmh80bRmSQxqNRgND7Y/YgEgYJSSnknScpfRHACG//kgbsY8zui8ajXJeEnzS7yFbQ==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137" + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0" } }, "@ethersproject/rlp": { - "version": "5.0.0-beta.133", - "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.0.0-beta.133.tgz", - "integrity": "sha512-4zwGZov221uYuz6oXqAf2i5dk3ven7mSNkPRYvS2xdAlUn1Qy8GFUswyRuLaGzpWUGNlKIWCEnvomP5L/CtMPQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.0.1.tgz", + "integrity": "sha512-3F8XE1zS4w8w4xiK1hMtFuVs6UnhQlmrEHLT85GanqK8vG5wGi81IQmkukL9tQIu2a5jykoO46ibja+6N1fpFg==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137" + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0" } }, "@ethersproject/sha2": { - "version": "5.0.0-beta.137", - "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.0.0-beta.137.tgz", - "integrity": "sha512-g5hg44j3rmOjF0cEMX8Rzj6fupSPU3Iq4+EnOfuu9KoOFtqS805XTQmQ57VW05MdGJTPyoVM4m0/L1sdTyxNhw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.0.1.tgz", + "integrity": "sha512-5wNdULNDMJKwyzqrTH66e2TZPZTSqqluS7RNtuuuQSTP+yIALoID7ewLjDoj31g4kZyq/pqQbackKJLOXejTKw==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0", "hash.js": "1.1.3" }, "dependencies": { @@ -1614,40 +1623,40 @@ } }, "@ethersproject/signing-key": { - "version": "5.0.0-beta.136", - "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.0.0-beta.136.tgz", - "integrity": "sha512-iFIpafhDoxziOsnQaq39Hzdedji3cnuJymBHuLbO/elKZBEFrAoxPNE5YroxXdug634gncy5xDYDzmsIZ9y7mg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.0.1.tgz", + "integrity": "sha512-Z3yMPFFf4KkWltndDNi/tpese7qZh6ZWKbGu3DHd8xOX0PJqbScdAs6gCfFeMatO06qyX307Y52soc/Ayf8ZSg==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/properties": "^5.0.0", "elliptic": "6.5.2" } }, "@ethersproject/strings": { - "version": "5.0.0-beta.137", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.0-beta.137.tgz", - "integrity": "sha512-Z1xKXjoBWM5DOlc8HvjpOKO1zZ8kf4nLpf4C8zZjz+GNhaH03z74tXNNpdLf4UV6otMcHcJtO+X5ATE4TCn9Iw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.1.tgz", + "integrity": "sha512-N8LxdHGBT7GZdogkEOV5xKXYTz5PNHuNzcxLNPYfH3kpvWSyXshZBgAz8YE1a8sMZagGj+Ic6d3mHijdCTSkGA==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/constants": ">=5.0.0-beta.133", - "@ethersproject/logger": ">=5.0.0-beta.137" + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/constants": "^5.0.0", + "@ethersproject/logger": "^5.0.0" } }, "@ethersproject/transactions": { - "version": "5.0.0-beta.136", - "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.0.0-beta.136.tgz", - "integrity": "sha512-IActPKqttlerqexp0+3bVHiFAfQ5/kjaQ+kSwjM8+vdOjvncBQWLF5NHorpu2ikQM6ub1daPwTWZn1JJeKvhkA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.0.1.tgz", + "integrity": "sha512-IGc6/5hri3PrqR/ZCj89osDiq3Lt0CSrycn6vlRl8SjpBKYDdcT+Ru5xkeC7YcsnqcdBmTL+jyR3SLudU+x2Kw==", "requires": { - "@ethersproject/address": ">=5.0.0-beta.134", - "@ethersproject/bignumber": ">=5.0.0-beta.138", - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/constants": ">=5.0.0-beta.133", - "@ethersproject/keccak256": ">=5.0.0-beta.131", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140", - "@ethersproject/rlp": ">=5.0.0-beta.132", - "@ethersproject/signing-key": ">=5.0.0-beta.135" + "@ethersproject/address": "^5.0.0", + "@ethersproject/bignumber": "^5.0.0", + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/constants": "^5.0.0", + "@ethersproject/keccak256": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/properties": "^5.0.0", + "@ethersproject/rlp": "^5.0.0", + "@ethersproject/signing-key": "^5.0.0" } }, "@ethersproject/wallet": { @@ -1673,26 +1682,26 @@ } }, "@ethersproject/web": { - "version": "5.0.0-beta.141", - "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.0.0-beta.141.tgz", - "integrity": "sha512-imk6Jeq2Z7ZNkihDCuz8VF1gijYdGmVNThpHSGoWhIf6V35jR/u1LGkA2bMFqjge/orYzVrzEhLp428kW3wrGA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.0.1.tgz", + "integrity": "sha512-lWPg8BR6KoyiIKYRIM6j+XO9bT9vGM1JnxFj2HmhIvOrOjba7ZRd8ANBOsDVGfw5igLUdfqAUOf9WpSsH//TzA==", "requires": { - "@ethersproject/base64": ">=5.0.0-beta.133", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140", - "@ethersproject/strings": ">=5.0.0-beta.136" + "@ethersproject/base64": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/properties": "^5.0.0", + "@ethersproject/strings": "^5.0.0" } }, "@ethersproject/wordlists": { - "version": "5.0.0-beta.137", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.0.0-beta.137.tgz", - "integrity": "sha512-PvEWOqs4hTRuL4+Okwdx7RsbiM5qiZv10qVUfd+LOIbHVHCRDYo4sK/KMgzF3H2lnoASsM1mTZJSsecH2Y/93w==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.0.1.tgz", + "integrity": "sha512-R7boLmpewucz5v4jD7cWwI0BGHR/DstiZtjdhUOft6XdMqM1OGb1UTL0GBQeS4vDXzCLuJEHddjJ69beGVN/4Q==", "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.137", - "@ethersproject/hash": ">=5.0.0-beta.133", - "@ethersproject/logger": ">=5.0.0-beta.137", - "@ethersproject/properties": ">=5.0.0-beta.140", - "@ethersproject/strings": ">=5.0.0-beta.136" + "@ethersproject/bytes": "^5.0.0", + "@ethersproject/hash": "^5.0.0", + "@ethersproject/logger": "^5.0.0", + "@ethersproject/properties": "^5.0.0", + "@ethersproject/strings": "^5.0.0" } }, "@hapi/accept": { @@ -3231,9 +3240,9 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==" }, "@stablelib/utf8": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/@stablelib/utf8/-/utf8-0.10.1.tgz", - "integrity": "sha512-+uM1YZ4MhBC82vt99prF7DXNGqhYmJ9cQ3p5qNowMNkkzn9OWEkqBvguBW3ChAt7JvqZ3SD5HJOfc6YgnfMTHw==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/utf8/-/utf8-1.0.0.tgz", + "integrity": "sha512-Y8QWrK4T0yW0HMFfSI3ZaMHKV37q27hX5ilsmKV358x01mzYfj5fwIf2LjzTlF+UIemHEXSlSN9XJnv1ML4znQ==" }, "@szmarczak/http-timer": { "version": "1.1.2", @@ -3385,103 +3394,118 @@ "integrity": "sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw==", "dev": true }, - "@walletconnect/browser": { - "version": "1.0.0-beta.47", - "resolved": "https://registry.npmjs.org/@walletconnect/browser/-/browser-1.0.0-beta.47.tgz", - "integrity": "sha512-FFT6zqdMIGjjWIFjRY1p/RPeUs5F21YzhrbsSemLyxlRumyQQ3Wotnq8mAKRWPHSzgXkg/GxbTAzIkxciMeuUg==", + "@walletconnect/client": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.0.3.tgz", + "integrity": "sha512-+BmWf/IxyhZmfmr/8HrF+th3jOTmpXrVXYiXP20ryouopVj/CAHqpTTH51Hl8bQLkqW/2F2y66XmbQNP1T/CWA==", "dev": true, "requires": { - "@walletconnect/core": "^1.0.0-beta.47", - "@walletconnect/types": "^1.0.0-beta.47", - "@walletconnect/utils": "^1.0.0-beta.47" + "@walletconnect/core": "^1.0.3", + "@walletconnect/iso-crypto": "^1.0.3", + "@walletconnect/types": "^1.0.3", + "@walletconnect/utils": "^1.0.3" } }, "@walletconnect/core": { - "version": "1.0.0-beta.47", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.0.0-beta.47.tgz", - "integrity": "sha512-PdwW9E6kjFnNt11GO2W9gHQY2EIPLYT7qTxN9ZPl1F38v5cWzZBpDQAPQ1QlcJ2kHpZ6V6QDDc/0heEaR//z0Q==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.0.3.tgz", + "integrity": "sha512-fGGSxNrH8/psHX9v26FzwpMJuFCkBD7Dq+T511Ev08J/v5nsAWV1QMHGHgXw2qJEdIHUUutED9ZPZEAhmNjPjg==", + "dev": true, + "requires": { + "@walletconnect/socket-transport": "^1.0.3", + "@walletconnect/types": "^1.0.3", + "@walletconnect/utils": "^1.0.3" + } + }, + "@walletconnect/http-connection": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.0.3.tgz", + "integrity": "sha512-xhN3mYNWOYEBrbmB80IQ+o9Okb2KHokaA7M+JNsxMEuwhdNOo7eDjSKiOuhwHJAaPDaOSsRdZTC1QG8ENhhg/w==", + "dev": true, + "requires": { + "@walletconnect/types": "^1.0.3", + "@walletconnect/utils": "^1.0.3", + "xhr2-cookies": "1.1.0" + } + }, + "@walletconnect/iso-crypto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.0.3.tgz", + "integrity": "sha512-lVSk4vDEVATdNF1ZZQTvi8WCe+b2J06nU5rhqiGMPO6inuGS43YCsiAxIH2LmPeyzfkgK1cHkpaED+fkTEEMmw==", "dev": true, "requires": { - "@walletconnect/types": "^1.0.0-beta.47", - "@walletconnect/utils": "^1.0.0-beta.47" + "@walletconnect/types": "^1.0.3", + "@walletconnect/utils": "^1.0.3", + "eccrypto-js": "5.2.0" } }, + "@walletconnect/mobile-registry": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/mobile-registry/-/mobile-registry-1.0.3.tgz", + "integrity": "sha512-xj0P823LTBRHQh2yW4W6MHhZo6vEDKvvBI/VARdJimFJo6Lj3HQQ7Pv3kDMHx8ccYGzAvk4BtlrZCau9JaAQfw==", + "dev": true + }, "@walletconnect/qrcode-modal": { - "version": "1.0.0-beta.47", - "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.0.0-beta.47.tgz", - "integrity": "sha512-FV3FDbbYeRsTarwWUq4pxjPNsmfZT5f+t8TIH1Uva23fiEG3PcjfWwXuGmoh4vADbtGx8ctO7hSs1Doegtd8KA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.0.3.tgz", + "integrity": "sha512-qLsQHtDqimRHkiXbs9eHXjDN+BCFCgxsvdXxvrWq6l4W8UzixgaaRN+1PDg7aU6F9zgshvG4OQExmeKsv7+p1w==", "dev": true, "requires": { + "@walletconnect/mobile-registry": "^1.0.3", + "@walletconnect/types": "^1.0.3", + "@walletconnect/utils": "^1.0.3", + "preact": "10.4.1", "qr-image": "3.2.0", "qrcode-terminal": "0.12.0" } }, + "@walletconnect/socket-transport": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.0.3.tgz", + "integrity": "sha512-IgVvUGnwUqriKmncRugXA0T8pk7DotLydji3NMDebaPPQ7Bd9ElIrjUJCSlW3k3YRcejD3I9I0yk0sfVTqUOmg==", + "dev": true, + "requires": { + "@walletconnect/types": "^1.0.3", + "ws": "7.3.0" + } + }, "@walletconnect/types": { - "version": "1.0.0-beta.47", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.0.0-beta.47.tgz", - "integrity": "sha512-lxjBiNLLDOsyEaoB1nlBDrgznV0477udMfN4zvEuv+bNL+dxH27yQI1mM1VqIKIhrEaibjswLJGaweEMzgynoQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.0.3.tgz", + "integrity": "sha512-09dOS5ZeY7evWTwKS6D/bHc2q/Zzb8TE9nRSammUh7E2xSopEzUIYfwbVapw7Ss+nYCRzENSt7sKeWwNIgmkjw==", "dev": true }, "@walletconnect/utils": { - "version": "1.0.0-beta.47", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.0.0-beta.47.tgz", - "integrity": "sha512-il8QKvf8AaYpW8xC9mjXBiOH8CkCeV5W7CZAIfVxuJ46WV4XyIAxhEKvF8zGWGKRjz4LjFj3r3l1nyrxeIkrMA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.0.3.tgz", + "integrity": "sha512-DbDc6FAdMXUoQJ789aKgzUdCH86tqAieS/o4VwWBBDzhiVflFsLXNcfJa6XmZ6IbIXuLqksGLWf02JkPNzIi+g==", "dev": true, "requires": { - "@ethersproject/address": "5.0.0-beta.134", - "@ethersproject/bytes": "5.0.0-beta.136", - "@ethersproject/strings": "5.0.0-beta.136", - "@walletconnect/types": "^1.0.0-beta.47", - "bignumber.js": "9.0.0" + "@walletconnect/types": "^1.0.3", + "detect-browser": "5.1.0", + "enc-utils": "2.1.0", + "js-sha3": "0.8.0" }, "dependencies": { - "@ethersproject/address": { - "version": "5.0.0-beta.134", - "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.0.0-beta.134.tgz", - "integrity": "sha512-FHhUVJTUIg2pXvOOhIt8sB1cQbcwrzZKzf9CPV7JM1auli20nGoYhyMFYGK7u++GXzTMJduIkU1OwlIBupewDw==", - "dev": true, - "requires": { - "@ethersproject/bignumber": ">=5.0.0-beta.130", - "@ethersproject/bytes": ">=5.0.0-beta.129", - "@ethersproject/keccak256": ">=5.0.0-beta.127", - "@ethersproject/logger": ">=5.0.0-beta.129", - "@ethersproject/rlp": ">=5.0.0-beta.126", - "bn.js": "^4.4.0" - } - }, - "@ethersproject/bytes": { - "version": "5.0.0-beta.136", - "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.0.0-beta.136.tgz", - "integrity": "sha512-yoi5Ul16ScMHVNsf+oCDGaAnj+rtXxITcneXPeDl8h0rk1VNIqb1WKKvooD5WtM0oAglyauuDahHIF+4+5G/Sg==", - "dev": true, - "requires": { - "@ethersproject/logger": ">=5.0.0-beta.129" - } - }, - "@ethersproject/strings": { - "version": "5.0.0-beta.136", - "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.0.0-beta.136.tgz", - "integrity": "sha512-Hb9RvTrgGcOavHvtQZz+AuijB79BO3g1cfF2MeMfCU9ID4j3mbZv/olzDMS2pK9r4aERJpAS94AmlWzCgoY2LQ==", - "dev": true, - "requires": { - "@ethersproject/bytes": ">=5.0.0-beta.129", - "@ethersproject/constants": ">=5.0.0-beta.128", - "@ethersproject/logger": ">=5.0.0-beta.129" - } + "js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", + "dev": true } } }, "@walletconnect/web3-provider": { - "version": "1.0.0-beta.47", - "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.0.0-beta.47.tgz", - "integrity": "sha512-mbtmDdp/RmsJzB7kkIFGDvfhQ7vIDSsKBTvpD7GUzXDi15yvQTNt9Ak7OUOe/9N7AO9X9gBf0J/lE+yqoBUiXA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.0.3.tgz", + "integrity": "sha512-x/vzdi39tMzbjp7T/x95rjZYP1Ut7xwhzIL8yIhweSLa0rpO7YGF//LPTGFLXMTD/nxvn1v1VJ7MsKCSDoBS2w==", "dev": true, "requires": { - "@walletconnect/browser": "^1.0.0-beta.47", - "@walletconnect/qrcode-modal": "^1.0.0-beta.47", - "@walletconnect/types": "^1.0.0-beta.47", - "web3-provider-engine": "15.0.4", - "xhr2-cookies": "1.1.0" + "@walletconnect/client": "^1.0.3", + "@walletconnect/http-connection": "^1.0.3", + "@walletconnect/qrcode-modal": "^1.0.3", + "@walletconnect/types": "^1.0.3", + "web3-provider-engine": "15.0.7" } }, "@webassemblyjs/ast": { @@ -3739,9 +3763,9 @@ "dev": true }, "acorn-walk": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.1.1.tgz", - "integrity": "sha512-wdlPY2tm/9XBr7QkKlq0WQVgiuGTX6YWPyRyBviSoScBuLfTVQhvwg6wJ369GJ/1nPfTLMfnrFIfjqVg6d+jQQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", "dev": true }, "aes-js": { @@ -4196,12 +4220,30 @@ "web3-utils": "1.2.1" }, "dependencies": { + "abstract-leveldown": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz", + "integrity": "sha512-2++wDf/DYqkPR3o5tbfdhF96EfMApo1GpPfzOsR/ZYXdkSmELlvOOEAl9iKkRsktMPHdGjO4rtkBpf2I7TiTeA==", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, "async": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==", "dev": true }, + "deferred-leveldown": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz", + "integrity": "sha512-uukrWD2bguRtXilKt6cAWKyoXrTSMo5m7crUdLfWQmu8kIm88w3QZoUL+6nhpfKVmhHANER6Re3sKoNoZ3IKMA==", + "dev": true, + "requires": { + "abstract-leveldown": "~2.6.0" + } + }, "elliptic": { "version": "6.3.3", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz", @@ -4214,38 +4256,214 @@ "inherits": "^2.0.1" } }, - "ethers": { - "version": "4.0.36", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.36.tgz", - "integrity": "sha512-rWdchEhUyXx01GiwexH6Sha97CQ9tJdQwe6FtYKxShC7VEZV41nuKt+lzCQ4OqvQwZK5PcAKaAZv2GDsCH33SA==", + "eth-json-rpc-errors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.1.1.tgz", + "integrity": "sha512-WT5shJ5KfNqHi9jOZD+ID8I1kuYWNrigtZat7GOQkvwo99f8SzAVaEcWhJUv656WiZOAg3P1RiJQANtUmDmbIg==", + "dev": true, + "requires": { + "fast-safe-stringify": "^2.0.6" + } + }, + "eth-json-rpc-infura": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-4.0.2.tgz", + "integrity": "sha512-dvgOrci9lZqpjpp0hoC3Zfedhg3aIpLFVDH0TdlKxRlkhR75hTrKTwxghDrQwE0bn3eKrC8RsN1m/JdnIWltpw==", + "dev": true, + "requires": { + "cross-fetch": "^2.1.1", + "eth-json-rpc-errors": "^1.0.1", + "eth-json-rpc-middleware": "^4.1.4", + "json-rpc-engine": "^5.1.3" + } + }, + "ethereumjs-block": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz", + "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereum-common": "0.2.0", + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + } + } + }, + "ethereumjs-tx": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz", + "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==", + "dev": true, + "requires": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + }, + "dependencies": { + "ethereum-common": { + "version": "0.0.18", + "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz", + "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8=", + "dev": true + } + } + }, + "ethereumjs-util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", + "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" + } + }, + "ethers": { + "version": "4.0.36", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.36.tgz", + "integrity": "sha512-rWdchEhUyXx01GiwexH6Sha97CQ9tJdQwe6FtYKxShC7VEZV41nuKt+lzCQ4OqvQwZK5PcAKaAZv2GDsCH33SA==", + "dev": true, + "requires": { + "@types/node": "^10.3.2", + "aes-js": "3.0.0", + "bn.js": "^4.4.0", + "elliptic": "6.3.3", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.4", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" + } + }, + "eventemitter3": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.0.tgz", + "integrity": "sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg==", + "dev": true + }, + "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==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "keccak": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz", + "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==", + "dev": true, + "requires": { + "bindings": "^1.2.1", + "inherits": "^2.0.3", + "nan": "^2.2.1", + "safe-buffer": "^5.1.0" + } + }, + "level-codec": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-7.0.1.tgz", + "integrity": "sha512-Ua/R9B9r3RasXdRmOtd+t9TCOEIIlts+TN/7XTT2unhDaL6sJn83S3rUyljbr6lVtw49N3/yA0HHjpV6Kzb2aQ==", + "dev": true + }, + "level-errors": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-1.0.5.tgz", + "integrity": "sha512-/cLUpQduF6bNrWuAC4pwtUKA5t669pCsCi2XbmojG2tFeOr9j6ShtdDCtFFQO1DRt+EVZhx9gPzP9G2bUaG4ig==", + "dev": true, + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-1.3.1.tgz", + "integrity": "sha1-5Dt4sagUPm+pek9IXrjqUwNS8u0=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + } + } + }, + "levelup": { + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/levelup/-/levelup-1.3.9.tgz", + "integrity": "sha512-VVGHfKIlmw8w1XqpGOAGwq6sZm2WwWLmlDcULkKWQXEA5EopA8OBNJ2Ck2v6bdk8HeEZSbCSEgzXadyQFm76sQ==", "dev": true, "requires": { - "@types/node": "^10.3.2", - "aes-js": "3.0.0", - "bn.js": "^4.4.0", - "elliptic": "6.3.3", - "hash.js": "1.1.3", - "js-sha3": "0.5.7", - "scrypt-js": "2.0.4", - "setimmediate": "1.0.4", - "uuid": "2.0.1", - "xmlhttprequest": "1.8.0" + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" } }, - "eventemitter3": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.0.tgz", - "integrity": "sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg==", - "dev": true - }, - "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==", + "merkle-patricia-tree": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.2.tgz", + "integrity": "sha512-81PW5m8oz/pz3GvsAwbauj7Y00rqm81Tzad77tHBwU7pIAtN+TJnMSOJhxBKflSVYhptMMb9RskhqHqrSm1V+g==", "dev": true, "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + } } }, "penpal": { @@ -4254,11 +4472,111 @@ "integrity": "sha512-6d1f8khVLyBz3DnhLztbfjJ7+ANxdXRM2l6awpnCdEtbrmse4AGTsELOvGuNY0SU7xZw7heGbP6IikVvaVTOWw==", "dev": true }, + "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==", + "dev": true, + "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" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "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==", + "dev": true + }, + "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==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, "scrypt-js": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz", "integrity": "sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw==", "dev": true + }, + "semver": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", + "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", + "dev": true + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "web3-provider-engine": { + "version": "15.0.4", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-15.0.4.tgz", + "integrity": "sha512-Ob9oK0TUZfVC7NXkB7CQSWAiCdCD/Xnlh2zTnV8NdJR8LCrMAy2i6JedU70JHaxw59y7mM4GnsYOTTGkquFnNQ==", + "dev": true, + "requires": { + "async": "^2.5.0", + "backoff": "^2.5.0", + "clone": "^2.0.0", + "cross-fetch": "^2.1.0", + "eth-block-tracker": "^4.4.2", + "eth-json-rpc-errors": "^1.0.1", + "eth-json-rpc-filters": "^4.1.1", + "eth-json-rpc-infura": "^4.0.1", + "eth-json-rpc-middleware": "^4.1.5", + "eth-sig-util": "^1.4.2", + "ethereumjs-block": "^1.2.2", + "ethereumjs-tx": "^1.2.0", + "ethereumjs-util": "^5.1.5", + "ethereumjs-vm": "^2.3.4", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "readable-stream": "^2.2.9", + "request": "^2.85.0", + "semaphore": "^1.0.3", + "ws": "^5.1.1", + "xhr": "^2.2.0", + "xtend": "^4.0.1" + }, + "dependencies": { + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + } + } + }, + "ws": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", + "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0" + } } } }, @@ -4988,14 +5306,15 @@ } }, "babel-preset-current-node-syntax": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.2.tgz", - "integrity": "sha512-u/8cS+dEiK1SFILbOC8/rUI3ml9lboKuuMvZ/4aQnQmhecQAgPw5ew066C1ObnEAUmlx7dv/s2z52psWEtLNiw==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.3.tgz", + "integrity": "sha512-uyexu1sVwcdFnyq9o8UQYsXwXflIh8LvrF5+cKrYam93ned1CStffB3+BEcsxGSgagoA3GEyjDqO4a/58hyPYQ==", "dev": true, "requires": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", "@babel/plugin-syntax-json-strings": "^7.8.3", "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", @@ -6035,9 +6354,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001081", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001081.tgz", - "integrity": "sha512-iZdh3lu09jsUtLE6Bp8NAbJskco4Y3UDtkR3GTCJGsbMowBU5IWDFF79sV2ws7lSqTzWyKazxam2thasHymENQ==", + "version": "1.0.30001084", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001084.tgz", + "integrity": "sha512-ftdc5oGmhEbLUuMZ/Qp3mOpzfZLCxPYKcvGv6v2dJJ+8EdqcvZRbAGOiLmkM/PV1QGta/uwBs8/nCl6sokDW6w==", "dev": true }, "capture-exit": { @@ -6196,15 +6515,26 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + }, + "dependencies": { + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } } } } @@ -6875,15 +7205,24 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + } + }, + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" } } } @@ -6919,9 +7258,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "interface-datastore": { "version": "1.0.4", @@ -6937,6 +7276,11 @@ "it-drain": "^1.0.1", "nanoid": "^3.0.2" } + }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" } } }, @@ -6953,9 +7297,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "interface-datastore": { "version": "1.0.4", @@ -6976,6 +7320,11 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" } } }, @@ -6990,9 +7339,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "interface-datastore": { "version": "1.0.4", @@ -7008,6 +7357,11 @@ "it-drain": "^1.0.1", "nanoid": "^3.0.2" } + }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" } } }, @@ -7022,9 +7376,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "interface-datastore": { "version": "1.0.4", @@ -7040,6 +7394,11 @@ "it-drain": "^1.0.1", "nanoid": "^3.0.2" } + }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" } } }, @@ -7056,9 +7415,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "interface-datastore": { "version": "1.0.4", @@ -7074,6 +7433,11 @@ "it-drain": "^1.0.1", "nanoid": "^3.0.2" } + }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" } } }, @@ -7362,21 +7726,26 @@ "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==" }, "did-jwt": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/did-jwt/-/did-jwt-4.3.4.tgz", - "integrity": "sha512-gZpyj7eDL5MzKozt8yhNAhLUAjsrsNqdeSJXTN144iIEIm5O0Pu+xMyRIfeueroGW/hlOKmrfjbYIpTDiaGffQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/did-jwt/-/did-jwt-4.4.0.tgz", + "integrity": "sha512-wCzo+dqF46fPw1xlSI35lt3y4Ovpvquj772lB8mpsSLo6eRo8YhiF4XR+MznllShb/PtHUdiDBUpWrGQjkwfAQ==", "requires": { - "@babel/runtime": "^7.3.1", - "@stablelib/utf8": "^0.10.1", - "buffer": "^5.2.1", - "did-resolver": "^1.0.0", - "elliptic": "^6.4.0", + "@babel/runtime": "^7.10.2", + "@stablelib/utf8": "^1.0.0", + "buffer": "^5.6.0", + "did-resolver": "^2.0.1", + "elliptic": "^6.5.2", "js-sha256": "^0.9.0", "js-sha3": "^0.8.0", - "tweetnacl": "^1.0.1", + "tweetnacl": "^1.0.3", "uport-base64url": "3.0.2-alpha.0" }, "dependencies": { + "did-resolver": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/did-resolver/-/did-resolver-2.0.1.tgz", + "integrity": "sha512-NomJQaRiu0izKFFerYGrca48YxWtMOtOoqG3JUTLJtET8n2T1i8WlQz500zesnioZWi5RVNsUS/eMQfRWy7bbg==" + }, "js-sha3": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", @@ -7594,6 +7963,34 @@ } } }, + "eccrypto-js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/eccrypto-js/-/eccrypto-js-5.2.0.tgz", + "integrity": "sha512-pPb6CMapJ1LIzjLWxMqlrnfaEFap7qkk9wcO/b4AVSdxBQYlpOqvlPpq5SpUI4FdmfdhVD34AjN47fM8fryC4A==", + "dev": true, + "requires": { + "aes-js": "3.1.2", + "enc-utils": "2.1.0", + "hash.js": "1.1.7", + "js-sha3": "0.8.0", + "randombytes": "2.1.0", + "secp256k1": "3.8.0" + }, + "dependencies": { + "aes-js": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", + "integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==", + "dev": true + }, + "js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", + "dev": true + } + } + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -7601,9 +7998,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.467", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.467.tgz", - "integrity": "sha512-U+QgsL8TZDU/n+rDnYDa3hY5uy3C4iry9mrJS0PNBBGwnocuQ+aHSfgY44mdlaK9744X5YqrrGUvD9PxCLY1HA==", + "version": "1.3.477", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.477.tgz", + "integrity": "sha512-81p6DZ/XmHDD7O0ITJMa7ESo9bSCfE+v3Fny3MIYR0y77xmhoriu2ShNOLXcPS4eowF6dkxw6d2QqxTkS3DjBg==", "dev": true }, "elliptic": { @@ -7631,6 +8028,25 @@ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", "dev": true }, + "enc-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/enc-utils/-/enc-utils-2.1.0.tgz", + "integrity": "sha512-VD0eunGDyzhojePzkORWDnW88gi6tIeGb5Z6QVHugux6mMAPiXyw94fb/7WdDQEWhKMSoYRyzFFUebCqeH20PA==", + "dev": true, + "requires": { + "bn.js": "4.11.8", + "is-typedarray": "1.0.0", + "typedarray-to-buffer": "3.1.5" + }, + "dependencies": { + "bn.js": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", + "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", + "dev": true + } + } + }, "encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", @@ -7738,9 +8154,9 @@ } }, "enhanced-resolve": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.1.tgz", - "integrity": "sha512-98p2zE+rL7/g/DzMHMTF4zZlCgeVdJ7yr6xzEpJRYwFYrGi9ANdn5DnJURg6RpBkyk60XYDnWIv51VfIhfNGuA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.2.0.tgz", + "integrity": "sha512-S7eiFb/erugyd1rLb6mQ3Vuq+EXHv5cpCkNqqIkYkBgN2QdFnyCZzFBleqwGEx4lgNGYij81BWnCrFNK7vxvjQ==", "dev": true, "requires": { "graceful-fs": "^4.1.2", @@ -7819,24 +8235,33 @@ } }, "es-abstract": { - "version": "1.17.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", - "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", + "version": "1.17.6", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", + "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==", "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1", - "is-callable": "^1.1.5", - "is-regex": "^1.0.5", + "is-callable": "^1.2.0", + "is-regex": "^1.1.0", "object-inspect": "^1.7.0", "object-keys": "^1.1.1", "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.1", - "string.prototype.trimright": "^2.1.1" + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" }, "dependencies": { + "is-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz", + "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==", + "dev": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", @@ -7993,9 +8418,9 @@ "dev": true }, "eslint-import-resolver-node": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz", - "integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", + "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", "dev": true, "requires": { "debug": "^2.6.9", @@ -9012,7 +9437,7 @@ "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "dev": true, "requires": { - "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1cfbb13862f90f0b391d8a699544d5fe4dfb8c7b", + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git", "ethereumjs-util": "^5.1.1" }, "dependencies": { @@ -10273,12 +10698,12 @@ } }, "file-type": { - "version": "14.6.1", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-14.6.1.tgz", - "integrity": "sha512-h8TJ6Ff9UuhSOHr44Xh2J2r7Gg5ED8jNZKQ2XA2WyFCRum9qTcY3Qy1Q6mG5xMTeIT3IJcLlSReD4WEr/nL9vw==", + "version": "14.6.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-14.6.2.tgz", + "integrity": "sha512-kSZTAJxPXBdBgJyoC7TexkBWoMI/D1Gas6aTtAn9VIRFwCehwiluGV5O8O2GwqO5zIqeEvXxEKl/xfcaAKB0Yg==", "requires": { "readable-web-to-node-stream": "^2.0.0", - "strtok3": "^6.0.0", + "strtok3": "^6.0.3", "token-types": "^2.0.0", "typedarray-to-buffer": "^3.1.5" } @@ -10732,7 +11157,8 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true + "bundled": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -10750,11 +11176,13 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true + "bundled": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -10767,15 +11195,18 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "concat-map": { "version": "0.0.1", - "bundled": true + "bundled": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -10878,7 +11309,8 @@ }, "inherits": { "version": "2.0.3", - "bundled": true + "bundled": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -10888,6 +11320,7 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -10900,17 +11333,20 @@ "minimatch": { "version": "3.0.4", "bundled": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true + "bundled": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -10927,6 +11363,7 @@ "mkdirp": { "version": "0.5.1", "bundled": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -10999,7 +11436,8 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true + "bundled": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -11009,6 +11447,7 @@ "once": { "version": "1.4.0", "bundled": true, + "optional": true, "requires": { "wrappy": "1" } @@ -11084,7 +11523,8 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true + "bundled": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -11114,6 +11554,7 @@ "string-width": { "version": "1.0.2", "bundled": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -11131,6 +11572,7 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -11169,11 +11611,13 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true + "bundled": true, + "optional": true }, "yallist": { "version": "3.0.3", - "bundled": true + "bundled": true, + "optional": true } } }, @@ -11944,9 +12388,9 @@ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" }, "inquirer": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.1.0.tgz", - "integrity": "sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.2.0.tgz", + "integrity": "sha512-E0c4rPwr9ByePfNlTIB8z51kK1s2n6jrHuJeEHENl/sbq2G/S1auvibgEwNR4uSyiU+PiYHqSwsgGiXjG8p5ZQ==", "dev": true, "requires": { "ansi-escapes": "^4.2.1", @@ -12005,9 +12449,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "ipfs-utils": { "version": "1.2.4", @@ -12033,6 +12477,11 @@ "integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==" } } + }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" } } }, @@ -12207,21 +12656,32 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + }, + "dependencies": { + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -12299,27 +12759,36 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "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": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, "multihashing-async": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.8.1.tgz", @@ -12354,9 +12823,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -12400,16 +12869,32 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + }, + "dependencies": { + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } } + }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" } } }, @@ -12514,21 +12999,32 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + }, + "dependencies": { + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -12715,9 +13211,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -12736,27 +13232,36 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "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": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, "multihashing-async": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.8.1.tgz", @@ -12793,9 +13298,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -12837,9 +13342,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "it-glob": { "version": "0.0.8", @@ -12870,6 +13375,11 @@ "graceful-fs": "^4.1.6" } }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" + }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -12894,21 +13404,21 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "ipld-raw": { "version": "5.0.0", @@ -12925,6 +13435,15 @@ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" }, + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, "multihashing-async": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.8.1.tgz", @@ -12953,9 +13472,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -12978,9 +13497,9 @@ } }, "ipld-block": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/ipld-block/-/ipld-block-0.9.1.tgz", - "integrity": "sha512-ypzGNd6VraQx3sU1x8w4/vJPwVKCZgRRLYuXHLJsvW/KQ9xjxN+HkcJgKw2E9up6G7c+1kIWNGnyxsPWjc27pQ==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/ipld-block/-/ipld-block-0.9.2.tgz", + "integrity": "sha512-/i99foB+QI8WhyZWu6ZVPFw2sP6kzZSnnjPNlxxrgaJeFX22w2z00nYWafY2YYYP4mZ9xkLZDSS/msli7XXyvw==", "requires": { "buffer": "^5.5.0", "cids": "~0.8.0", @@ -12988,15 +13507,24 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + } + }, + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" } } } @@ -13015,27 +13543,36 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "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": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, "multihashing-async": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.8.1.tgz", @@ -13066,27 +13603,36 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "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": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, "multihashing-async": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.8.1.tgz", @@ -13119,9 +13665,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -13157,9 +13703,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -13192,9 +13738,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -13229,9 +13775,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -13271,9 +13817,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "interface-datastore": { "version": "1.0.4", @@ -13327,6 +13873,11 @@ "murmurhash3js-revisited": "^3.0.0" } }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" + }, "node-gyp-build": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.2.tgz", @@ -13570,15 +14121,26 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + }, + "dependencies": { + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } } } } @@ -15897,9 +16459,9 @@ } }, "jsx-ast-utils": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.3.0.tgz", - "integrity": "sha512-3HNoc7nZ1hpZIKB3hJ7BlFRkzCx2BynRtfSwbkqZdpRdvAPsGMnzclPwrvDBS7/lalHTj21NwIeaEpysHBOudg==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz", + "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==", "dev": true, "requires": { "array-includes": "^3.1.1", @@ -16369,9 +16931,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -16584,9 +17146,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "p-map": { "version": "4.0.0", @@ -16626,9 +17188,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -16670,21 +17232,21 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -16708,6 +17270,26 @@ "protons": "^1.0.1", "secp256k1": "^4.0.0", "ursa-optional": "~0.10.1" + }, + "dependencies": { + "multibase": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.7.0.tgz", + "integrity": "sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } + } + }, + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" } }, "multihashing-async": { @@ -16762,9 +17344,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "interface-datastore": { "version": "1.0.4", @@ -16818,6 +17400,11 @@ "murmurhash3js-revisited": "^3.0.0" } }, + "nanoid": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.10.tgz", + "integrity": "sha512-iZFMXKeXWkxzlfmMfM91gw7YhN2sdJtixY+eZh9V6QWJWTOiurhpKhBMgr82pfzgSqglQgqYSCowEYsz8D++6w==" + }, "node-gyp-build": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.2.tgz", @@ -16879,9 +17466,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -16950,9 +17537,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -16994,9 +17581,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -17068,9 +17655,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -17087,9 +17674,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -17119,17 +17706,14 @@ "socket.io": "^2.3.0", "socket.io-client": "^2.3.0", "stream-to-it": "^0.2.0", - "streaming-iterables": "^4.1.0" + "streaming-iterables": "^4.1.0", + "webrtcsupport": "github:ipfs/webrtcsupport" }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" - }, - "webrtcsupport": { - "version": "github:ipfs/webrtcsupport#0a7099ff04fd36227a32e16966dbb3cca7002378", - "from": "github:ipfs/webrtcsupport#0a7099ff04fd36227a32e16966dbb3cca7002378" + "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==" } } }, @@ -17152,9 +17736,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -17998,15 +18582,26 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" + }, + "dependencies": { + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } } } } @@ -18038,11 +18633,11 @@ } }, "multicodec": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.1.tgz", - "integrity": "sha512-yrrU/K8zHyAH2B0slNVeq3AiwluflHpgQ3TAzwNJcuO2AoPyXgBT2EDkdbP1D8B/yFOY+S2hDYmFlI1vhVFkQw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.2.tgz", + "integrity": "sha512-IcTBw34qiRGHsEDKlWp2yLQDVZKzRZWjAfUeCYZSqHWszyCAM1o5R9YLLLV1SQVPAa9AVnXKfAA6sjyYZC/2LQ==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "varint": "^5.0.0" } }, @@ -18112,9 +18707,9 @@ }, "dependencies": { "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" } } }, @@ -18155,9 +18750,9 @@ "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==" }, "nanoid": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.9.tgz", - "integrity": "sha512-fFiXlFo4Wkuei3i6w9SQI6yuzGRTGi8Z2zZKZpUxv/bQlBi4jtbVPBSNFZHQA9PNjofWqtIa8p+pnsc0kgZrhQ==" + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz", + "integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==" }, "nanomatch": { "version": "1.2.13", @@ -19538,21 +20133,21 @@ }, "dependencies": { "cids": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.1.tgz", - "integrity": "sha512-bs9hGUYHzsclGSt4ipi6SRUBIWYpuEHhd2uPc5hUatNQl6y5mFr+6JvJtN3fGUiNZNohc7rkY6OpXamwj6PQeg==", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.8.2.tgz", + "integrity": "sha512-2tEASn0yDUPkXPUjXm3UslYyt4KWh8lQLaR5Yh68w55a5nZgFYzO2LK44c79228XL4UWMb4Wa4jQO4/8s2xLSg==", "requires": { - "buffer": "^5.5.0", + "buffer": "^5.6.0", "class-is": "^1.1.0", - "multibase": "~0.7.0", + "multibase": "^1.0.0", "multicodec": "^1.0.1", - "multihashes": "~0.4.17" + "multihashes": "~0.4.19" } }, "err-code": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.1.tgz", - "integrity": "sha512-kRoa6BXKCX1ImYDZ6yKO0ckU5af1pNV4mpILrmwXrpIiLaVYM4uyMbwhZZ2xhy7WwVm6sEPYJABX4X6jRD3Jew==" + "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==" }, "js-sha3": { "version": "0.8.0", @@ -19576,6 +20171,26 @@ "protons": "^1.0.1", "secp256k1": "^4.0.0", "ursa-optional": "~0.10.1" + }, + "dependencies": { + "multibase": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.7.0.tgz", + "integrity": "sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } + } + }, + "multibase": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-1.0.1.tgz", + "integrity": "sha512-KcCxpBVY8fdVKu4dJMAahq4F/2Z/9xqEjIiR7PiMe7LRGeorFn2NLmicN6nLBCqQvft6MG2Lc9X5P0IdyvnxEw==", + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" } }, "multihashing-async": { @@ -19906,6 +20521,12 @@ "shortid": "^2.2.8" } }, + "preact": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.4.1.tgz", + "integrity": "sha512-WKrRpCSwL2t3tpOOGhf2WfTpcmbpxaWtDbdJdKdjd0aEiTkvOmS4NBkG6kzlaAHI9AkQ3iVqbFWM3Ei7mZ4o1Q==", + "dev": true + }, "precond": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz", @@ -20462,7 +21083,8 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "dev": true, + "optional": true }, "string_decoder": { "version": "1.1.1", @@ -21300,13 +21922,6 @@ "integrity": "sha512-5EaCy2mx2Jgc/Fdn9uuDuNIIfWBpzY4XIlhoqtXF6qsf+/+SGZ+FxDdX/ZsMZiWupIWNqAEmiNY4RC+LSmCeOw==", "requires": { "nanoid": "^2.1.0" - }, - "dependencies": { - "nanoid": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz", - "integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==" - } } }, "signal-exit": { @@ -22130,28 +22745,6 @@ "es-abstract": "^1.17.5" } }, - "string.prototype.trimleft": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz", - "integrity": "sha512-gCA0tza1JBvqr3bfAIFJGqfdRTyPae82+KTnm3coDXkZN9wnuW3HjGgN386D7hfv5CHQYCI022/rJPVlqXyHSw==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.5", - "string.prototype.trimstart": "^1.0.0" - } - }, - "string.prototype.trimright": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.2.tgz", - "integrity": "sha512-ZNRQ7sY3KroTaYjRS6EbNiiHrOkjihL9aQE/8gfQ4DtAC/aEBRHFJa44OmoWxGGqXuJlfKkZW4WcXErGr+9ZFg==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.5", - "string.prototype.trimend": "^1.0.0" - } - }, "string.prototype.trimstart": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz", @@ -22216,9 +22809,9 @@ "integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==" }, "strtok3": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.0.2.tgz", - "integrity": "sha512-8/LNTW+SFsfUXbo0P/zNz5FqMVaKCZSZ3/aycaPw7l9RiNutj0XSLI9AcyJcLR+iIL/2FrpUHZxHfAzN7xisAA==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.0.3.tgz", + "integrity": "sha512-/3RaYN9rW5WEYNHSvn081CgL4HziT027hfi5tsksbPfeWxi3BSLb8tolZDzpYU3I78/0ZqRiFpMDAqN2t4YShA==", "requires": { "@tokenizer/token": "^0.1.1", "@types/debug": "^4.1.5", @@ -22453,9 +23046,9 @@ } }, "terser": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.7.0.tgz", - "integrity": "sha512-Lfb0RiZcjRDXCC3OSHJpEkxJ9Qeqs6mp2v4jf2MHfy8vGERmVDuvjXdd/EnP5Deme5F2yBRBymKmKHCBg2echw==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", + "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", "dev": true, "requires": { "commander": "^2.20.0", @@ -22680,9 +23273,9 @@ "integrity": "sha1-xJ/LXIdVW+G0pd9+uHEB1beLydw=" }, "tiny-secp256k1": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.4.tgz", - "integrity": "sha512-O7NfGzBdBy/jamehZ1ptutZsh2c+9pq2Pu+KPv75+yzk5/Q/6lppQGMUJucHdRGdkeBcAUeLAOdJInEAZgZ53A==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.5.tgz", + "integrity": "sha512-duE2hSLSQIpHGzmK48OgRrGTi+4OTkXLC6aa86uOYQ6LLCYZSarVKIAvEtY7MoXjoL6bOXMSerEGMzrvW4SkDw==", "requires": { "bindings": "^1.3.0", "bn.js": "^4.11.8", @@ -23532,9 +24125,9 @@ } }, "web3-provider-engine": { - "version": "15.0.4", - "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-15.0.4.tgz", - "integrity": "sha512-Ob9oK0TUZfVC7NXkB7CQSWAiCdCD/Xnlh2zTnV8NdJR8LCrMAy2i6JedU70JHaxw59y7mM4GnsYOTTGkquFnNQ==", + "version": "15.0.7", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-15.0.7.tgz", + "integrity": "sha512-0NN0JTc4O/J9NFBtdqc4Ug+ujnniIBTCvauw3OlgZzfjnwr4irDU5CpviS5v33arYpC+WMnaDunad/OFrO/Wcw==", "dev": true, "requires": { "async": "^2.5.0", @@ -23542,7 +24135,7 @@ "clone": "^2.0.0", "cross-fetch": "^2.1.0", "eth-block-tracker": "^4.4.2", - "eth-json-rpc-errors": "^1.0.1", + "eth-json-rpc-errors": "^2.0.2", "eth-json-rpc-filters": "^4.1.1", "eth-json-rpc-infura": "^4.0.1", "eth-json-rpc-middleware": "^4.1.5", @@ -23579,15 +24172,6 @@ "abstract-leveldown": "~2.6.0" } }, - "eth-json-rpc-errors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.1.1.tgz", - "integrity": "sha512-WT5shJ5KfNqHi9jOZD+ID8I1kuYWNrigtZat7GOQkvwo99f8SzAVaEcWhJUv656WiZOAg3P1RiJQANtUmDmbIg==", - "dev": true, - "requires": { - "fast-safe-stringify": "^2.0.6" - } - }, "eth-json-rpc-infura": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-4.0.2.tgz", @@ -23598,6 +24182,17 @@ "eth-json-rpc-errors": "^1.0.1", "eth-json-rpc-middleware": "^4.1.4", "json-rpc-engine": "^5.1.3" + }, + "dependencies": { + "eth-json-rpc-errors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.1.1.tgz", + "integrity": "sha512-WT5shJ5KfNqHi9jOZD+ID8I1kuYWNrigtZat7GOQkvwo99f8SzAVaEcWhJUv656WiZOAg3P1RiJQANtUmDmbIg==", + "dev": true, + "requires": { + "fast-safe-stringify": "^2.0.6" + } + } } }, "ethereumjs-block": { @@ -24180,6 +24775,10 @@ } } }, + "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/src/replicator.js b/src/replicator.js index ead1dffe..0bdcdbe2 100644 --- a/src/replicator.js +++ b/src/replicator.js @@ -39,7 +39,8 @@ class Replicator { this.events = new EventEmitter() this.ipfs = ipfs this._pinningNode = multiaddr(opts.pinningNode || PINNING_NODE) - this.ipfs.swarm.connect(this._pinningNode) + this._establishConnection(this._pinningNode) + //this.ipfs.swarm.connect(this._pinningNode) this._stores = {} this._storePromises = {} // TODO - this should only be done in 3box-js. For use in @@ -84,6 +85,18 @@ class Replicator { }) } + async _establishConnection(peerMultiAddr) { + console.log('Connecting to: ', peerMultiAddr.toString()) + try { + await this.ipfs.swarm.connect(peerMultiAddr) + console.log('Connected!') + } catch (err) { + console.warn('There was an error connecting to: ', peerMultiAddr.toString(), '. retrying') + console.warn(err.message) + this._establishConnection(peerMultiAddr) + } + } + _initPinningRoomFilter () { this._pinningRoomFilter = this.listStoreAddresses() // clear out any messages that are not relevant @@ -119,7 +132,7 @@ class Replicator { // console.log('message', topic, data) this.events.emit('pinning-room-message', topic, data) }, (topic, peer) => { - // console.log('peer', topic, peer) + console.log('peer', topic, peer) this.events.emit('pinning-room-peer', topic, peer) }) } @@ -132,21 +145,33 @@ class Replicator { async start (rootstoreAddress, did, opts = {}) { this._did = did + console.log('a...') await this._joinPinningRoom(true) + console.log('b...') this._publishDB({ odbAddress: rootstoreAddress }) + console.log('c...') this.rootstore = await this._orbitdb.feed(rootstoreAddress, this._orbitDbOpts) + console.log('d...') await this.rootstore.load() + console.log('e...') this.rootstoreSyncDone = this.syncDB(this.rootstore) const waitForSync = async () => { await this.rootstoreSyncDone const addressLinkPinPromise = this.getAddressLinks() + console.log('1....') const authDataPinPromise = this.getAuthData() + console.log('2....') this._initPinningRoomFilter() + console.log('3....') await this._loadStores(opts) + console.log('4....') await Promise.all(Object.keys(this._stores).map(addr => this.syncDB(this._stores[addr]))) + console.log('5....') await addressLinkPinPromise + console.log('6....') await authDataPinPromise + console.log('7....') } this.syncDone = waitForSync() } @@ -280,7 +305,8 @@ class Replicator { const isThread = odbAddress.includes('thread') const roomPeers = await this.ipfs.pubsub.peers(odbAddress) if (!roomPeers.find(p => p === this._pinningNodePeerId)) { - this.ipfs.swarm.connect(this._pinningNode) + //this.ipfs.swarm.connect(this._pinningNode) + this._establishConnection(this._pinningNode) odbAddress = isThread ? odbAddress : this.rootstore.address.toString() this._publishDB({ odbAddress, isThread }, true) } @@ -313,12 +339,15 @@ class Replicator { } async _getNumEntries (odbAddress) { + console.log('gne') return new Promise((resolve, reject) => { const eventName = `has-${odbAddress}` this.events.on(eventName, data => { + console.log('eventName', eventName) this.events.removeAllListeners(eventName) resolve(data.numEntries) }) + console.log(this._hasPubsubMsgs[odbAddress]) if (this._hasPubsubMsgs[odbAddress]) { this.events.removeAllListeners(eventName) resolve(this._hasPubsubMsgs[odbAddress].numEntries) @@ -329,7 +358,9 @@ class Replicator { async syncDB (dbInstance) { // TODO - syncDB is only relevant in 3box-js. Some different logic // is needed for syncing in 3box-pinning-node + console.log('alala') const numRemoteEntries = await this._getNumEntries(dbInstance.address.toString()) + console.log('numRemoteEntries:', numRemoteEntries) const isNumber = typeof numRemoteEntries === 'number' if (isNumber && numRemoteEntries <= dbInstance._oplog.values.length) return Promise.resolve() await new Promise((resolve, reject) => { diff --git a/tools/pubsub-room-listen.js b/tools/pubsub-room-listen.js new file mode 100755 index 00000000..61fa2bf4 --- /dev/null +++ b/tools/pubsub-room-listen.js @@ -0,0 +1,25 @@ +#!/usr/bin/env node + +const Ipfs = require('ipfs') +const Pubsub = require('orbit-db-pubsub') +const multiaddr = require('multiaddr') +const { pinning_node } = require('../lib/config.js') + +const start = async (room) => { + console.log('\nOpening pubsub room:\n', room) + const ipfs = await Ipfs.create({ repo: `./tmp/ipfs/` }) + const pubsub = new Pubsub(ipfs, (await ipfs.id()).id) + console.log('Connecting to pinning node') + await ipfs.swarm.connect(multiaddr(pinning_node)) + console.log('Connected') + + pubsub.subscribe(room, (topic, data) => { + console.log('message', topic, data) + }, (topic, peer) => { + console.log('peer', topic, peer) + }) + console.log('Subscribed') +} + +const room = process.argv[2] +start(room) diff --git a/tools/sync-rootstore.js b/tools/sync-rootstore.js new file mode 100755 index 00000000..f7565479 --- /dev/null +++ b/tools/sync-rootstore.js @@ -0,0 +1,27 @@ +#!/usr/bin/env node + +const Ipfs = require('ipfs') +const Replicator = require('../lib/replicator.js') + +const start = async (address) => { + console.log('\nOpening rootstore:\n', address) + const ipfs = await Ipfs.create({ repo: `./tmp/ipfs/` }) + const opts = { orbitPath: './tmp/orbitdb/' } + const replicator = await Replicator.create(ipfs, opts) + console.log('starting') + await replicator.start(address, null)//, { spacesList: ['clients'] }) + console.log('syncing') + await replicator.rootstoreSyncDone + console.log('rootstore synced') + console.log(replicator.rootstore.all.map(e => { + return e.payload.value + })) + //const store = await replicator._loadKeyValueStore('/orbitdb/QmXxg79y5akxNBB4WsY5oPS82PCxiU9WQbR1aK9aD7ieiH/3box.space.clients.keyvalue') + //console.log('store:') + //console.log(store._oplog.length) + await replicator.syncDone + console.log('all syned') +} + +const rootstoreAddress = process.argv[2] +start(rootstoreAddress)