diff --git a/package-lock.json b/package-lock.json index fe85e5ea..6371a57e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5889,6 +5889,14 @@ "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz", "integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==" }, + "blob-to-it": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/blob-to-it/-/blob-to-it-0.0.2.tgz", + "integrity": "sha512-3/NRr0mUWQTkS71MYEC1teLbT5BTs7RZ6VMPXDV6qApjw3B4TAZspQuvDkYfHuD/XzL5p/RO91x5XRPeJvcCqg==", + "requires": { + "browser-readablestream-to-it": "^0.0.2" + } + }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", @@ -6052,6 +6060,11 @@ "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", "dev": true }, + "browser-readablestream-to-it": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/browser-readablestream-to-it/-/browser-readablestream-to-it-0.0.2.tgz", + "integrity": "sha512-bbiTccngeAbPmpTUJcUyr6JhivADKV9xkNJVLdA91vjdzXyFBZ6fgrzElQsV3k1UNGQACRTl3p4y+cEGG9U48A==" + }, "browserify-aes": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", @@ -15077,6 +15090,11 @@ "it-length-prefixed": "^3.0.1" } }, + "it-peekable": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-0.0.1.tgz", + "integrity": "sha512-fd0JzbNldseeq+FFWthbqYB991UpKNyjPG6LqFhIOmJviCxSompMyoopKIXvLPLY+fBhhv2CT5PT31O/lEnTHw==" + }, "it-pipe": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-1.1.0.tgz", @@ -20306,9 +20324,9 @@ } }, "orbit-db": { - "version": "0.25.3", - "resolved": "https://registry.npmjs.org/orbit-db/-/orbit-db-0.25.3.tgz", - "integrity": "sha512-8DTGZmanXYhcRh7JT2o7tje+Jgp3a6RZSnc3Uvmn+bvnMH2U0xBv6y2WQDC0nlFxP1nIZKR6ULVbgvhSS9ucww==", + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/orbit-db/-/orbit-db-0.26.0.tgz", + "integrity": "sha512-fk0bPERO0Rhh7Mm6tPa3xnmsodofqh0z0m8bg4lQaqIhbA1z9A7CG7BJ83vAIelTG/Xcb6iae04qSjB0DYmRzQ==", "requires": { "cids": "^1.0.0", "ipfs-pubsub-1on1": "~0.0.6", @@ -20316,19 +20334,19 @@ "localstorage-down": "^0.6.7", "logplease": "^1.2.14", "multihashes": "~3.0.1", - "orbit-db-access-controllers": "^0.2.2", + "orbit-db-access-controllers": "^0.3.0", "orbit-db-cache": "~0.3.0", - "orbit-db-counterstore": "~1.11.0", - "orbit-db-docstore": "~1.11.0", - "orbit-db-eventstore": "~1.11.0", - "orbit-db-feedstore": "~1.11.0", + "orbit-db-counterstore": "~1.12.0", + "orbit-db-docstore": "~1.12.0", + "orbit-db-eventstore": "~1.12.0", + "orbit-db-feedstore": "~1.12.0", "orbit-db-identity-provider": "~0.3.0", - "orbit-db-io": "~0.2.0", + "orbit-db-io": "~0.3.0", "orbit-db-keystore": "~0.3.0", - "orbit-db-kvstore": "~1.11.0", - "orbit-db-pubsub": "~0.5.5", + "orbit-db-kvstore": "~1.12.0", + "orbit-db-pubsub": "~0.6.0", "orbit-db-storage-adapter": "~0.5.3", - "orbit-db-store": "~3.5.0" + "orbit-db-store": "~4.0.1" }, "dependencies": { "cids": { @@ -20343,6 +20361,172 @@ "uint8arrays": "^1.0.0" } }, + "ipfs-core-utils": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/ipfs-core-utils/-/ipfs-core-utils-0.4.0.tgz", + "integrity": "sha512-IBPFvYjWPfVFpCeYUL/0gCUOabdBhh7aO5i4tU//UlF2gVCXPH4PRYlbBH9WM83zE2+o4vDi+dBXsdAI6nLPAg==", + "requires": { + "blob-to-it": "0.0.2", + "browser-readablestream-to-it": "0.0.2", + "cids": "^1.0.0", + "err-code": "^2.0.0", + "ipfs-utils": "^3.0.0", + "it-all": "^1.0.1", + "it-map": "^1.0.2", + "it-peekable": "0.0.1", + "uint8arrays": "^1.1.0" + } + }, + "ipfs-http-client": { + "version": "47.0.1", + "resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-47.0.1.tgz", + "integrity": "sha512-IAQf+uTLvXw5QFOzbyhu/5lH3rn7jEwwwdCGaNKVhoPI7yfyOV0wRse3hVWejjP1Id0P9mKuMKG8rhcY7pVAdQ==", + "requires": { + "abort-controller": "^3.0.0", + "any-signal": "^1.1.0", + "bignumber.js": "^9.0.0", + "cids": "^1.0.0", + "debug": "^4.1.0", + "form-data": "^3.0.0", + "ipfs-core-utils": "^0.4.0", + "ipfs-utils": "^3.0.0", + "ipld-block": "^0.10.0", + "ipld-dag-cbor": "^0.17.0", + "ipld-dag-pb": "^0.20.0", + "ipld-raw": "^6.0.0", + "iso-url": "^0.4.7", + "it-last": "^1.0.2", + "it-map": "^1.0.2", + "it-tar": "^1.2.2", + "it-to-buffer": "^1.0.0", + "it-to-stream": "^0.1.1", + "merge-options": "^2.0.0", + "multiaddr": "^8.0.0", + "multiaddr-to-uri": "^6.0.0", + "multibase": "^3.0.0", + "multicodec": "^2.0.0", + "multihashes": "^3.0.1", + "nanoid": "^3.0.2", + "node-fetch": "^2.6.0", + "parse-duration": "^0.4.4", + "stream-to-it": "^0.2.1", + "uint8arrays": "^1.1.0" + } + }, + "ipfs-log": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ipfs-log/-/ipfs-log-5.0.0.tgz", + "integrity": "sha512-I8ow4Y42fODdQAX0vtc4xWO5daNTzAQzrWWGd1p6tIdr/OI0IFpC3ifpEWPW3qgWXPg30E9TXYmtxRp0fkOSbA==", + "requires": { + "ipfs-http-client": "^47.0.1", + "json-stringify-deterministic": "^1.0.1", + "multihashing-async": "^2.0.1", + "orbit-db-identity-provider": "~0.3.1", + "orbit-db-io": "~0.3.0", + "p-do-whilst": "^1.1.0", + "p-each-series": "^2.1.0", + "p-map": "^4.0.0", + "p-whilst": "^2.1.0" + }, + "dependencies": { + "p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "requires": { + "aggregate-error": "^3.0.0" + } + } + } + }, + "ipfs-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ipfs-utils/-/ipfs-utils-3.0.0.tgz", + "integrity": "sha512-qahDc+fghrM57sbySr2TeWjaVR/RH/YEB/hvdAjiTbjESeD87qZawrXwj+19Q2LtGmFGusKNLo5wExeuI5ZfDQ==", + "requires": { + "abort-controller": "^3.0.0", + "any-signal": "^1.1.0", + "buffer": "^5.6.0", + "err-code": "^2.0.0", + "fs-extra": "^9.0.1", + "is-electron": "^2.2.0", + "iso-url": "^0.4.7", + "it-glob": "0.0.8", + "merge-options": "^2.0.0", + "nanoid": "^3.1.3", + "node-fetch": "^2.6.0", + "stream-to-it": "^0.2.0" + } + }, + "ipld-block": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/ipld-block/-/ipld-block-0.10.1.tgz", + "integrity": "sha512-lPMfW9tA2hVZw9hdO/YSppTxFmA0+5zxcefBOlCTOn+12RLyy+pdepKMbQw8u0KESFu3pYVmabNRWuFGcgHLLw==", + "requires": { + "cids": "^1.0.0", + "class-is": "^1.1.0" + } + }, + "ipld-dag-cbor": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/ipld-dag-cbor/-/ipld-dag-cbor-0.17.0.tgz", + "integrity": "sha512-YprSTQClJQUyC+RhbWrVXhg7ysII5R/jrmZZ4en4n9Mav+MRbntAW699zd1PHRLB71lNCJbxABE2Uc9QU2Ka7g==", + "requires": { + "borc": "^2.1.2", + "cids": "^1.0.0", + "is-circular": "^1.0.2", + "multicodec": "^2.0.0", + "multihashing-async": "^2.0.0", + "uint8arrays": "^1.0.0" + } + }, + "ipld-dag-pb": { + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/ipld-dag-pb/-/ipld-dag-pb-0.20.0.tgz", + "integrity": "sha512-zfM0EdaolqNjAxIrtpuGKvXxWk5YtH9jKinBuQGTcngOsWFQhyybGCTJHGNGGtRjHNJi2hz5Udy/8pzv4kcKyg==", + "requires": { + "cids": "^1.0.0", + "class-is": "^1.1.0", + "multicodec": "^2.0.0", + "multihashing-async": "^2.0.0", + "protons": "^2.0.0", + "reset": "^0.1.0", + "run": "^1.4.0", + "stable": "^0.1.8", + "uint8arrays": "^1.0.0" + } + }, + "ipld-raw": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/ipld-raw/-/ipld-raw-6.0.0.tgz", + "integrity": "sha512-UK7fjncAzs59iu/o2kwYtb8jgTtW6B+cNWIiNpAJkfRwqoMk1xD/6i25ktzwe4qO8gQgoR9RxA5ibC23nq8BLg==", + "requires": { + "cids": "^1.0.0", + "multicodec": "^2.0.0", + "multihashing-async": "^2.0.0" + } + }, + "multiaddr": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-8.0.0.tgz", + "integrity": "sha512-4OOyr0u0i4lvh9MY/mvuCNmH5eqoTamcnGeXz6umFGc0eaVQUGPDQNbp52YfFY92NlZ76pO6h4K2HkXsT5X43w==", + "requires": { + "cids": "^1.0.0", + "class-is": "^1.1.0", + "is-ip": "^3.1.0", + "multibase": "^3.0.0", + "uint8arrays": "^1.1.0", + "varint": "^5.0.0" + } + }, + "multiaddr-to-uri": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/multiaddr-to-uri/-/multiaddr-to-uri-6.0.0.tgz", + "integrity": "sha512-OjpkVHOXEmIKMO8WChzzQ7aZQcSQX8squxmvtDbRpy7/QNmJ3Z7jv6qyD74C28QtaeNie8O8ngW2AkeiMmKP7A==", + "requires": { + "multiaddr": "^8.0.0" + } + }, "multicodec": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.0.1.tgz", @@ -20363,49 +20547,77 @@ } } }, + "orbit-db-access-controllers": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/orbit-db-access-controllers/-/orbit-db-access-controllers-0.3.0.tgz", + "integrity": "sha512-H7xfgpcyAx9ToFYMvpP7StCt269uaqM33lnMdY9T1o3gbP8IYe0wPurkPQwg6IVZHrDeeBvTDA7kbOqShf9vJw==", + "requires": { + "orbit-db-io": "^0.3.0", + "p-map-series": "^1.0.0" + } + }, "orbit-db-counterstore": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/orbit-db-counterstore/-/orbit-db-counterstore-1.11.0.tgz", - "integrity": "sha512-CnHWU4/JfxLDfZ9LMW66AhF8GWnyCW/wiD5uDPls51zk0iI+FhMrxLHZgSFdlkIvfakZiufnRqly6rWSfh1hMg==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/orbit-db-counterstore/-/orbit-db-counterstore-1.12.0.tgz", + "integrity": "sha512-ElaW8OXsSOORtuLREkq3IJ2xZPZXGzLZ6SUP9/VxqyNZQz+XNX7G7DE/kl4hy2kHjahF2+6M3BngJSvuJmc1Bw==", "requires": { "crdts": "~0.1.2" } }, "orbit-db-docstore": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/orbit-db-docstore/-/orbit-db-docstore-1.11.0.tgz", - "integrity": "sha512-3RjR1sA1hcDWL+paYwYDsVqEMWljVTykDq7ExwHUlvxWnSscwIXSJe71E2cX8CFSipzraiPl4flPkVFEYyPbsA==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/orbit-db-docstore/-/orbit-db-docstore-1.12.0.tgz", + "integrity": "sha512-AivU+G1y55qon2M8KY2SOV0nlCqzkc1+UpaFqtRtzH2NSPjsjnyr4Bhv+X/K+lXKQJPFnOMCiga+FspDjiKe3w==", "requires": { "p-map": "~1.1.1" } }, "orbit-db-eventstore": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/orbit-db-eventstore/-/orbit-db-eventstore-1.11.0.tgz", - "integrity": "sha512-fXDlvJg3SJSosf/V9LcPO+UVnx5hlMWf8jO5UijglZzXE5QYkCsCF6MQTuj3rTffvgBW8XdpHhun6/b68g+n2g==" + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/orbit-db-eventstore/-/orbit-db-eventstore-1.12.0.tgz", + "integrity": "sha512-KOTBa5Xj4EGlOEqNTNVdHeoMoJRc90x1LQrOfXKkF3XjN6qL92peIfBvVReLhbwG1mDRVdmtRpMNRcaA9eDI5Q==" }, "orbit-db-feedstore": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/orbit-db-feedstore/-/orbit-db-feedstore-1.11.0.tgz", - "integrity": "sha512-UpRe8fBt6PsnlxEKB+CWG1MDYzwIyYpGchqiob4PvpBGQ/vdg4Bymm4WBYwG1Gl6v2TFuVJSYnR+qXYAHf3nvg==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/orbit-db-feedstore/-/orbit-db-feedstore-1.12.0.tgz", + "integrity": "sha512-hsNJTMb+AJI0ZeIKJVeTVngNbW9Zsh9/PF4qDFykITOwH7uqdNYosm3rR7psmmXtUmIgzPNolrHvyI2KmMsOIQ==", + "requires": { + "orbit-db-eventstore": "~1.12.0" + } + }, + "orbit-db-io": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/orbit-db-io/-/orbit-db-io-0.3.0.tgz", + "integrity": "sha512-yWyhDR9vqw2+8tuOT+erKWkc9cL2QuemSVZgPjEm7nn+zkBzbacbfUdbgKtbtgUp8VDKhCzph2LfEEVhs6F5HA==", "requires": { - "orbit-db-eventstore": "~1.11.0" + "cids": "^1.0.0", + "ipld-dag-pb": "^0.20.0" } }, "orbit-db-kvstore": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/orbit-db-kvstore/-/orbit-db-kvstore-1.11.0.tgz", - "integrity": "sha512-IIsEwFqXJfFoGp1j3KvhANq5QRCHnnfE3R45QLrL1eiwGYRvXQwrIIEw6HzDgynj+Ae/2brnvav/3isM4pzjnQ==" + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/orbit-db-kvstore/-/orbit-db-kvstore-1.12.0.tgz", + "integrity": "sha512-v4V0bG17WhXlk5GPt9ICnP/owCds3uhIWaTgrix9nwnolfCMlX0hKDjrTrrZ8HKsTn1cm5Me/ID8i7WJvi5xoA==" + }, + "orbit-db-pubsub": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/orbit-db-pubsub/-/orbit-db-pubsub-0.6.0.tgz", + "integrity": "sha512-+hQoeev6rl0S4805KDHVz7tU3zUk97a8udCH8LLtKG0Lh1xjc+qCIk5Pcknu6OjppkECmEz68e2wcYyfEqXufw==", + "requires": { + "ipfs-pubsub-peer-monitor": "~0.0.5", + "logplease": "~1.2.14", + "p-series": "^1.1.0" + } }, "orbit-db-store": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/orbit-db-store/-/orbit-db-store-3.5.0.tgz", - "integrity": "sha512-y17PSbZwKCIax2zNHXRVcMQzOd/rCXx1Oei9gX/XHW9+nlqBKx96BWVnkw01TAWtf1GJlj0sJwvxAkWlWVcM5A==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/orbit-db-store/-/orbit-db-store-4.0.1.tgz", + "integrity": "sha512-6xgK4sil6BG/PFiaMOzrzYefs/c/qDwZ/328/CDcUlq5mB7+0DX7pRZa9IS2N/SjbHyIxX9DXA9FzSMcW3CW1w==", "requires": { - "ipfs-log": "~4.6.4", + "ipfs-log": "~5.0.0", "it-to-stream": "^0.1.2", "logplease": "^1.2.14", - "orbit-db-io": "~0.2.0", + "orbit-db-io": "~0.3.0", "p-each-series": "^2.1.0", "p-map": "^4.0.0", "p-queue": "^6.6.1", @@ -20426,6 +20638,30 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.1.1.tgz", "integrity": "sha1-BfXkrpegaDcbwqXMhr+9vBnErno=" + }, + "p-map-series": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-1.0.0.tgz", + "integrity": "sha1-v5j+V1cFZYqeE1G++4WuTB8Hvco=", + "requires": { + "p-reduce": "^1.0.0" + } + }, + "parse-duration": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-0.4.4.tgz", + "integrity": "sha512-KbAJuYGUhZkB9gotDiKLnZ7Z3VTacK3fgwmDdB6ZVDtJbMBT6MfLga0WJaYpPDu0mzqT0NgHtHDt5PY4l0nidg==" + }, + "protons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/protons/-/protons-2.0.0.tgz", + "integrity": "sha512-BTrE9D6/d1NGis+0D8TqAO1THdn4evHQhfjapA0NUaRH4+ecJJcbqaF7TE/DKv5czE9VB/TeOllBOmCyJhHnhg==", + "requires": { + "protocol-buffers-schema": "^3.3.1", + "signed-varint": "^2.0.1", + "uint8arrays": "^1.0.0", + "varint": "^5.0.0" + } } } }, @@ -22516,6 +22752,11 @@ "lodash": "^4.17.14" } }, + "reset": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/reset/-/reset-0.1.0.tgz", + "integrity": "sha1-n8cxQXGZWubLC35YsGznUir0uvs=" + }, "resolve": { "version": "1.17.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", @@ -22668,6 +22909,14 @@ "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", "dev": true }, + "run": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/run/-/run-1.4.0.tgz", + "integrity": "sha1-4X2ekEOrL+F3dsspnhI3848LT/o=", + "requires": { + "minimatch": "*" + } + }, "run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", diff --git a/package.json b/package.json index ff191e9f..d3348bd5 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "lodash.merge": "^4.6.2", "muport-did-resolver": "^1.0.2", "node-fetch": "^2.6.0", - "orbit-db": "^0.25.1", + "orbit-db": "^0.26.0", "orbit-db-cache": "^0.3.0", "orbit-db-identity-provider": "^0.3.0", "orbit-db-storage-adapter": "^0.5.3",