From c5018cbb37eb67afa1b485aa26a6974ce39c2e28 Mon Sep 17 00:00:00 2001 From: - <53183727+baptistegreve@users.noreply.github.com> Date: Tue, 14 May 2024 14:41:28 +0200 Subject: [PATCH] Using latest Ceramic libraries --- .gitignore | 1 + package-lock.json | 425 ++++++++++++++++++++++++++++++++++++++++------ package.json | 8 +- 3 files changed, 380 insertions(+), 54 deletions(-) diff --git a/.gitignore b/.gitignore index 20b0c92..09ca49f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ lerna-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json +.DS_Store # Runtime data pids diff --git a/package-lock.json b/package-lock.json index e352bdf..e900eb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@useorbis/db-sdk", - "version": "0.0.29-alpha", + "version": "0.0.30-alpha", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@useorbis/db-sdk", - "version": "0.0.29-alpha", + "version": "0.0.30-alpha", "license": "MIT", "dependencies": { - "@ceramicnetwork/http-client": "^5.3.0-rc.0", - "@ceramicnetwork/stream-model": "^4.2.0-rc.0", - "@ceramicnetwork/stream-model-instance": "^4.3.0-rc.0", + "@ceramicnetwork/http-client": "^5.4.0", + "@ceramicnetwork/stream-model": "^4.10.0", + "@ceramicnetwork/stream-model-instance": "^4.11.0", "@ceramicnetwork/streamid": "^5.0.0", "@didtools/cacao": "^2.0.0", "@noble/hashes": "^1.3.1", @@ -35,11 +35,11 @@ "integrity": "sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==" }, "node_modules/@ceramicnetwork/codecs": { - "version": "4.2.0-rc.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/codecs/-/codecs-4.2.0-rc.0.tgz", - "integrity": "sha512-wyjUtWPYhnN+U5qSmRye1kgakbml53xnLvq6JnraS9pWRa+SXZWPIqCRr+XIw4cAJ3eOVLJgfVGIcbRIP6Rwfw==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/codecs/-/codecs-4.10.0.tgz", + "integrity": "sha512-TvyhkAgbv/WojRLONlYjFwm6N456MuyLQoblsSZG1lsOLZiV00D6eBwE+M0ilH2SgGAGkJq4moW2YC4HLCnEiw==", "dependencies": { - "@ceramicnetwork/common": "^5.2.0-rc.0", + "@ceramicnetwork/common": "^5.10.0", "@ceramicnetwork/streamid": "^5.0.0", "cartonne": "^3.0.1", "codeco": "^1.1.0", @@ -49,20 +49,22 @@ } }, "node_modules/@ceramicnetwork/codecs/node_modules/uint8arrays": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.2.tgz", - "integrity": "sha512-S0GaeR+orZt7LaqzTRs4ZP8QqzAauJ+0d4xvP2lJTA99jIkKsE2FgDs4tGF/K/z5O9I/2W5Yvrh7IuqNeYH+0Q==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.0.tgz", + "integrity": "sha512-vA6nFepEmlSKkMBnLBaUMVvAC4G3CTmO58C12y4sq6WPDOR7mOFYOi7GlrQ4djeSbP6JG9Pv9tJDM97PedRSww==", "dependencies": { "multiformats": "^13.0.0" } }, "node_modules/@ceramicnetwork/common": { - "version": "5.2.0-rc.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/common/-/common-5.2.0-rc.0.tgz", - "integrity": "sha512-NV38m1o5CH2D8rJI9y4H9o/XpqQcV08ZltMgsH75zXUoFGxdFZBCs9GYhnG3No9I8lOGwFbgthxSeLANviSQ7Q==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/common/-/common-5.10.0.tgz", + "integrity": "sha512-QudY1PHM4Ih83y7cP+/qhQYS0girPE2zhbyIrSUoRY9e18Jju7rLl9dwZtpYEOa09vsouYGcLjZTLe6bbi1liQ==", "dependencies": { + "@ceramicnetwork/model-metrics": "^1.2.5", "@ceramicnetwork/streamid": "^5.0.0", "@didtools/cacao": "^3.0.0", + "@didtools/key-webauthn": "^2.0.2", "@didtools/pkh-ethereum": "^0.2.0", "@didtools/pkh-solana": "^0.2.0", "@didtools/pkh-stacks": "^0.2.0", @@ -130,27 +132,270 @@ } }, "node_modules/@ceramicnetwork/http-client": { - "version": "5.3.0-rc.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/http-client/-/http-client-5.3.0-rc.0.tgz", - "integrity": "sha512-yRt9r6eAKBDSFWNQMLFijFZjlwqwMIWTPdxlDbqiZe17mI5QeWnlAPWGxwekkp30cdYEMkmnXmzA193KI+K2Tg==", - "dependencies": { - "@ceramicnetwork/common": "^5.2.0-rc.0", - "@ceramicnetwork/stream-caip10-link": "^5.2.0-rc.0", - "@ceramicnetwork/stream-model": "^4.2.0-rc.0", - "@ceramicnetwork/stream-model-instance": "^4.3.0-rc.0", - "@ceramicnetwork/stream-tile": "^5.2.0-rc.0", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/http-client/-/http-client-5.4.0.tgz", + "integrity": "sha512-ABG0OA3p/cOpV472gegFE7Xcuv4g7foWh/nLEuYnB+O9iPFym3/SkFDMJ4+F84T6eL2TkdjassYgY7saV8HlKA==", + "dependencies": { + "@ceramicnetwork/common": "^5.3.0", + "@ceramicnetwork/stream-caip10-link": "^5.3.0", + "@ceramicnetwork/stream-model": "^4.3.0", + "@ceramicnetwork/stream-model-instance": "^4.4.0", + "@ceramicnetwork/stream-tile": "^5.3.0", "@ceramicnetwork/streamid": "^5.0.0", "@scarf/scarf": "^1.1.1", "query-string": "^7.1.0", "rxjs": "^7.8.1" } }, + "node_modules/@ceramicnetwork/model-metrics": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/model-metrics/-/model-metrics-1.2.5.tgz", + "integrity": "sha512-L2T0K57CWCyHzTkGmBdM3BNX35YRPX9KqRVkPSjBv2q3Cwwm9KkrBRYHLN6W+37eWVBmKOq57lSTiQsnuSskAw==", + "dependencies": { + "@ceramicnetwork/stream-model-instance": "^2.3.0", + "@ceramicnetwork/streamid": "^3.3.0", + "dids": "^5.0.2", + "fs": "0.0.1-security", + "key-did-provider-ed25519": "^3.0.2", + "key-did-resolver": "^4.0.0", + "uint8arrays": "^5.0.1" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@ceramicnetwork/codecs": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/codecs/-/codecs-2.4.1.tgz", + "integrity": "sha512-QhdUHp7PJm+qL05f6ovlUe7K85urBt3V7JKQrmq33jCYt4YlVT2bTyUdsrgcyA+IJZnXP1KEWuSdcpE1V3Qe/A==", + "dependencies": { + "@ceramicnetwork/streamid": "^3.4.1", + "cartonne": "^3.0.1", + "codeco": "^1.1.0", + "dag-jose": "^4.0.0", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@ceramicnetwork/common": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/common/-/common-3.4.1.tgz", + "integrity": "sha512-SVtPG6tkaDF77iM2mweXV+JSgZa3tKvuku0TIrA+pZswa1EHtnRHssSilaj4q91JNaTy2Gsk86oK6MuQp9+LKg==", + "dependencies": { + "@ceramicnetwork/codecs": "^2.4.1", + "@ceramicnetwork/streamid": "^3.4.1", + "@didtools/cacao": "^3.0.0", + "@didtools/pkh-ethereum": "^0.2.0", + "@didtools/pkh-solana": "^0.2.0", + "@didtools/pkh-stacks": "^0.2.0", + "@didtools/pkh-tezos": "^0.3.0", + "@stablelib/random": "^1.0.1", + "caip": "~1.1.0", + "flat": "^5.0.2", + "it-first": "^3.0.4", + "jet-logger": "1.2.2", + "lodash.clonedeep": "^4.5.0", + "logfmt": "^1.3.2", + "multiformats": "^13.0.0", + "rxjs": "^7.8.1", + "uint8arrays": "^5.0.1" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@ceramicnetwork/stream-model-instance": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-instance/-/stream-model-instance-2.4.1.tgz", + "integrity": "sha512-vp+oY27BFM64pXN2l4riwK3/3rN1DCEZe/iBrWWJ79SC99S9jFsSnx2TB0RLkBF+n87IsWi+t1WA+FR1KNIe/Q==", + "dependencies": { + "@ceramicnetwork/common": "^3.4.1", + "@ceramicnetwork/streamid": "^3.4.1", + "@ipld/dag-cbor": "^7.0.0", + "@stablelib/random": "^1.0.1", + "fast-json-patch": "^3.1.0", + "object-sizeof": "^2.6.1", + "uint8arrays": "^5.0.1" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@ceramicnetwork/streamid": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/streamid/-/streamid-3.4.1.tgz", + "integrity": "sha512-m6uZjcdMdwzyO6TIVTJF4IJYjuceflmYDrlRxDcXrZySBNNKnL40tSHbzpcTfOy5YcIsTqJFxqUZQrFrC0mlDA==", + "dependencies": { + "@ipld/dag-cbor": "^7.0.0", + "@stablelib/sha256": "^1.0.1", + "cborg": "^1.10.2", + "mapmoize": "^1.2.1", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1", + "varint": "^6.0.0" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@didtools/cacao": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@didtools/cacao/-/cacao-3.0.1.tgz", + "integrity": "sha512-vV1JirxqVsBf2dqdvoS/msNN8fabvMfseZB0kf1FG8TbosrHd81+hgDOlQMZit7zJbTk5g3CGkZg3b7iYKkynw==", + "dependencies": { + "@didtools/codecs": "^3.0.0", + "@didtools/siwx": "2.0.0", + "@ipld/dag-cbor": "^9.0.7", + "caip": "^1.1.0", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1", + "viem": "^1.21.4" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@didtools/cacao/node_modules/@ipld/dag-cbor": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.2.0.tgz", + "integrity": "sha512-N14oMy0q4gM6OuZkIpisKe0JBSjf1Jb39VI+7jMLiWX9124u1Z3Fdj/Tag1NA0cVxxqWDh0CqsjcVfOKtelPDA==", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^13.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@didtools/cacao/node_modules/cborg": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.2.0.tgz", + "integrity": "sha512-q6cFW5m3KxfP/9xGI3yGLaC1l5DP6DWM9IvjiJojnIwohL5CQDl02EXViPV852mOfQo+7PJGPN01MI87vFGzyA==", + "bin": { + "cborg": "lib/bin.js" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@didtools/codecs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@didtools/codecs/-/codecs-3.0.0.tgz", + "integrity": "sha512-TemoVySZrs1XflMtOkwVTATtZEs42Mh2yk9SoYvBXES6Mz30PBJCm8v7U/2y1N5lrjb2cAPWs48Ryc7paetSxQ==", + "dependencies": { + "codeco": "^1.2.0", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@didtools/siwx": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@didtools/siwx/-/siwx-2.0.0.tgz", + "integrity": "sha512-eqBtI5dZrptXTCyadnhvU0di/KvumoByT7F8KB/8BLU7M1lltfEmvf/c5AnsyrWO9338ygCs2u5mKz1p1Zdj5A==", + "dependencies": { + "codeco": "^1.2.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@ipld/dag-cbor": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-7.0.3.tgz", + "integrity": "sha512-1VVh2huHsuohdXC1bGJNE8WR72slZ9XE2T3wbBBq31dm7ZBatmKLLxrB+XAqafxfRFjv08RZmj/W/ZqaM13AuA==", + "dependencies": { + "cborg": "^1.6.0", + "multiformats": "^9.5.4" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/@ipld/dag-cbor/node_modules/multiformats": { + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/dag-jose-utils": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/dag-jose-utils/-/dag-jose-utils-4.0.0.tgz", + "integrity": "sha512-bmmXtVdEKp/zYH8El4GGkMREJioUztz8fzOErfy5dTbyKIVOF61C5sfsZLYCB/wiT/I9+SPNrQeo/Cx6Ik3wJQ==", + "dependencies": { + "@ipld/dag-cbor": "^9.0.7", + "multiformats": "^13.0.0" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/dag-jose-utils/node_modules/@ipld/dag-cbor": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.2.0.tgz", + "integrity": "sha512-N14oMy0q4gM6OuZkIpisKe0JBSjf1Jb39VI+7jMLiWX9124u1Z3Fdj/Tag1NA0cVxxqWDh0CqsjcVfOKtelPDA==", + "dependencies": { + "cborg": "^4.0.0", + "multiformats": "^13.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/dag-jose-utils/node_modules/cborg": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.2.0.tgz", + "integrity": "sha512-q6cFW5m3KxfP/9xGI3yGLaC1l5DP6DWM9IvjiJojnIwohL5CQDl02EXViPV852mOfQo+7PJGPN01MI87vFGzyA==", + "bin": { + "cborg": "lib/bin.js" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/dids": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/dids/-/dids-5.0.2.tgz", + "integrity": "sha512-sxTgrvJtatqdm7dukGbquk23BVvbiaxf3nTKywWaY9AUqwC2IYEo6FG0En2cMl3J1fqMMQXrGg9luh2xDmYOmw==", + "dependencies": { + "@didtools/cacao": "^3.0.1", + "@didtools/codecs": "^3.0.0", + "@didtools/pkh-ethereum": "^0.5.0", + "@stablelib/random": "^1.0.2", + "codeco": "^1.2.0", + "dag-jose-utils": "^4.0.0", + "did-jwt": "^7.4.7", + "did-resolver": "^4.1.0", + "multiformats": "^13.0.0", + "rpc-utils": "^0.6.2", + "uint8arrays": "^5.0.1" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/dids/node_modules/@didtools/pkh-ethereum": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@didtools/pkh-ethereum/-/pkh-ethereum-0.5.0.tgz", + "integrity": "sha512-2S+TS/I2jVTNnkgyslxQvSjCzzLsCabjXD2UWjJnVkAoxeJgPE9GvY1JhTDgvVLfxLPnYwTIP/O1WR9wJcDkFg==", + "dependencies": { + "@didtools/cacao": "^3.0.0", + "@noble/curves": "^1.2.0", + "@noble/hashes": "^1.3.2", + "@stablelib/random": "^1.0.2", + "caip": "^1.1.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/key-did-resolver": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/key-did-resolver/-/key-did-resolver-4.0.0.tgz", + "integrity": "sha512-+U2nd/0rjO4Yqe2hnHBD7ygcLRfT43Oje9IIjv1BlBi0lopwxZpIFQ7GekguOHK02r+JGdl8mpJVNHs5lvXVOA==", + "dependencies": { + "@noble/curves": "^1.2.0", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@ceramicnetwork/model-metrics/node_modules/uint8arrays": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.0.tgz", + "integrity": "sha512-vA6nFepEmlSKkMBnLBaUMVvAC4G3CTmO58C12y4sq6WPDOR7mOFYOi7GlrQ4djeSbP6JG9Pv9tJDM97PedRSww==", + "dependencies": { + "multiformats": "^13.0.0" + } + }, "node_modules/@ceramicnetwork/stream-caip10-link": { - "version": "5.2.0-rc.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-caip10-link/-/stream-caip10-link-5.2.0-rc.0.tgz", - "integrity": "sha512-u5ygmHQfsta1VgiWOjPMzs11403JR94xMl5Od7FPiGk9PhPgzEnAlpkbZJNhKXVx59m1NzWcBWDMB7j8VKMULw==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-caip10-link/-/stream-caip10-link-5.10.0.tgz", + "integrity": "sha512-68kR4cdG2a/H29UsAGFa+eVEUXTAPQwxe0bsFkFr8uiKYPD+uHkIKwxkJ3rbbF2sBZNn/ds4YvG8GySsdro4ww==", "dependencies": { - "@ceramicnetwork/common": "^5.2.0-rc.0", + "@ceramicnetwork/common": "^5.10.0", "@ceramicnetwork/streamid": "^5.0.0", "caip": "~1.1.0", "did-resolver": "^4.0.1", @@ -158,12 +403,12 @@ } }, "node_modules/@ceramicnetwork/stream-model": { - "version": "4.2.0-rc.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model/-/stream-model-4.2.0-rc.0.tgz", - "integrity": "sha512-6JmOmr9Z6V7iGcPYQNXbFkMZoB46j2VBsLI5aQUkS0xLDm9BoZJ5whb3DbD7UeLeYeic2ORy3X/9XlZUJ8DRaQ==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model/-/stream-model-4.10.0.tgz", + "integrity": "sha512-/WbRKvASlumW/Z76AQvaDjq/M2WnuBvi+kqNcr5Hor3KYPzD+SKzjU7IL/+8Pik4pxndjXRHRiL6hrv9zoUoAw==", "dependencies": { - "@ceramicnetwork/codecs": "^4.2.0-rc.0", - "@ceramicnetwork/common": "^5.2.0-rc.0", + "@ceramicnetwork/codecs": "^4.10.0", + "@ceramicnetwork/common": "^5.10.0", "@ceramicnetwork/streamid": "^5.0.0", "@ipld/dag-cbor": "^7.0.0", "@stablelib/random": "^1.0.1", @@ -177,11 +422,11 @@ } }, "node_modules/@ceramicnetwork/stream-model-instance": { - "version": "4.3.0-rc.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-instance/-/stream-model-instance-4.3.0-rc.0.tgz", - "integrity": "sha512-XZDUrfMhmodIHeGUHMkqVNF8GWU9yZAua68GG2GBYEaEiUY+liLfmBBNLMdB0PFU4X5Qot3mBFdUWlTKe88GDg==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-instance/-/stream-model-instance-4.11.0.tgz", + "integrity": "sha512-K+IUFToljTEtPsAgAHFhDi5q7CweQJrSnHdMgNi7a8kJFjVpnvFUkXaULleAoF48BdcwIRcro/Ai8JODuKESxw==", "dependencies": { - "@ceramicnetwork/common": "^5.2.0-rc.0", + "@ceramicnetwork/common": "^5.10.0", "@ceramicnetwork/streamid": "^5.0.0", "@ipld/dag-cbor": "^7.0.0", "@stablelib/random": "^1.0.1", @@ -235,11 +480,11 @@ } }, "node_modules/@ceramicnetwork/stream-tile": { - "version": "5.2.0-rc.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-tile/-/stream-tile-5.2.0-rc.0.tgz", - "integrity": "sha512-LTd+rIlTwqP/kIkWXy71OJsSG8RpWRzCs3yWJAfhMJ+4yEWoDryn9ME9qKt4E3CRxK/vnimsjCIX3F5svEbedA==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-tile/-/stream-tile-5.10.0.tgz", + "integrity": "sha512-mSIlEDu4N0k4B00bbFGUBEglqqckfcWdIHii5xQ2cc/xiiSXoFjP6GX/5wG/KK6YOp+dBaFdmZuhjwwOjGVqeQ==", "dependencies": { - "@ceramicnetwork/common": "^5.2.0-rc.0", + "@ceramicnetwork/common": "^5.10.0", "@ceramicnetwork/streamid": "^5.0.0", "@ipld/dag-cbor": "^7.0.0", "@stablelib/random": "^1.0.1", @@ -280,9 +525,9 @@ } }, "node_modules/@ceramicnetwork/stream-tile/node_modules/@didtools/cacao/node_modules/cborg": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.1.0.tgz", - "integrity": "sha512-hbWI4lRY0SdkTBbAH1STpY60rqR1gqGz4XaGZ6BXxncqCaAAOtmg2UNLA/6AJ8WG+p14J5P9t7Ul8f0u2ZLOhg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.2.0.tgz", + "integrity": "sha512-q6cFW5m3KxfP/9xGI3yGLaC1l5DP6DWM9IvjiJojnIwohL5CQDl02EXViPV852mOfQo+7PJGPN01MI87vFGzyA==", "bin": { "cborg": "lib/bin.js" } @@ -363,9 +608,9 @@ } }, "node_modules/@ceramicnetwork/stream-tile/node_modules/dag-jose-utils/node_modules/cborg": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.1.0.tgz", - "integrity": "sha512-hbWI4lRY0SdkTBbAH1STpY60rqR1gqGz4XaGZ6BXxncqCaAAOtmg2UNLA/6AJ8WG+p14J5P9t7Ul8f0u2ZLOhg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.2.0.tgz", + "integrity": "sha512-q6cFW5m3KxfP/9xGI3yGLaC1l5DP6DWM9IvjiJojnIwohL5CQDl02EXViPV852mOfQo+7PJGPN01MI87vFGzyA==", "bin": { "cborg": "lib/bin.js" } @@ -392,9 +637,9 @@ } }, "node_modules/@ceramicnetwork/stream-tile/node_modules/uint8arrays": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.2.tgz", - "integrity": "sha512-S0GaeR+orZt7LaqzTRs4ZP8QqzAauJ+0d4xvP2lJTA99jIkKsE2FgDs4tGF/K/z5O9I/2W5Yvrh7IuqNeYH+0Q==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.0.tgz", + "integrity": "sha512-vA6nFepEmlSKkMBnLBaUMVvAC4G3CTmO58C12y4sq6WPDOR7mOFYOi7GlrQ4djeSbP6JG9Pv9tJDM97PedRSww==", "dependencies": { "multiformats": "^13.0.0" } @@ -510,6 +755,81 @@ "npm": ">=7.0.0" } }, + "node_modules/@didtools/key-webauthn": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@didtools/key-webauthn/-/key-webauthn-2.0.2.tgz", + "integrity": "sha512-MkOqAiRBcRO64PMVfSFAB0SUIJMk+L8QyymE9dknjmfSKgD/ZKz7cw4pFV6IUNin75/DLrlDSfmCIIjYokivvQ==", + "dependencies": { + "@didtools/cacao": "3.0.1", + "@ipld/dag-cbor": "^9.0.6", + "@noble/curves": "^1.2.0", + "caip": "^1.1.0", + "cborg": "^4.0.5", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@didtools/key-webauthn/node_modules/@didtools/cacao": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@didtools/cacao/-/cacao-3.0.1.tgz", + "integrity": "sha512-vV1JirxqVsBf2dqdvoS/msNN8fabvMfseZB0kf1FG8TbosrHd81+hgDOlQMZit7zJbTk5g3CGkZg3b7iYKkynw==", + "dependencies": { + "@didtools/codecs": "^3.0.0", + "@didtools/siwx": "2.0.0", + "@ipld/dag-cbor": "^9.0.7", + "caip": "^1.1.0", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1", + "viem": "^1.21.4" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@didtools/key-webauthn/node_modules/@didtools/codecs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@didtools/codecs/-/codecs-3.0.0.tgz", + "integrity": "sha512-TemoVySZrs1XflMtOkwVTATtZEs42Mh2yk9SoYvBXES6Mz30PBJCm8v7U/2y1N5lrjb2cAPWs48Ryc7paetSxQ==", + "dependencies": { + "codeco": "^1.2.0", + "multiformats": "^13.0.0", + "uint8arrays": "^5.0.1" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@didtools/key-webauthn/node_modules/@didtools/siwx": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@didtools/siwx/-/siwx-2.0.0.tgz", + "integrity": "sha512-eqBtI5dZrptXTCyadnhvU0di/KvumoByT7F8KB/8BLU7M1lltfEmvf/c5AnsyrWO9338ygCs2u5mKz1p1Zdj5A==", + "dependencies": { + "codeco": "^1.2.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@didtools/key-webauthn/node_modules/cborg": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-4.2.0.tgz", + "integrity": "sha512-q6cFW5m3KxfP/9xGI3yGLaC1l5DP6DWM9IvjiJojnIwohL5CQDl02EXViPV852mOfQo+7PJGPN01MI87vFGzyA==", + "bin": { + "cborg": "lib/bin.js" + } + }, + "node_modules/@didtools/key-webauthn/node_modules/uint8arrays": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.0.tgz", + "integrity": "sha512-vA6nFepEmlSKkMBnLBaUMVvAC4G3CTmO58C12y4sq6WPDOR7mOFYOi7GlrQ4djeSbP6JG9Pv9tJDM97PedRSww==", + "dependencies": { + "multiformats": "^13.0.0" + } + }, "node_modules/@didtools/key-webcrypto": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@didtools/key-webcrypto/-/key-webcrypto-0.1.2.tgz", @@ -2202,6 +2522,11 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/fs": { + "version": "0.0.1-security", + "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", + "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" + }, "node_modules/glob": { "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", diff --git a/package.json b/package.json index 693a87b..6678766 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@useorbis/db-sdk", - "version": "0.0.29-alpha", + "version": "0.0.30-alpha", "description": "Orbis' Typescript SDK for building open-data experiences.", "keywords": [ "web3", @@ -49,9 +49,9 @@ "typescript": "^5.0.4" }, "dependencies": { - "@ceramicnetwork/http-client": "^5.3.0-rc.0", - "@ceramicnetwork/stream-model": "^4.2.0-rc.0", - "@ceramicnetwork/stream-model-instance": "^4.3.0-rc.0", + "@ceramicnetwork/http-client": "^5.4.0", + "@ceramicnetwork/stream-model": "^4.10.0", + "@ceramicnetwork/stream-model-instance": "^4.11.0", "@ceramicnetwork/streamid": "^5.0.0", "@didtools/cacao": "^2.0.0", "@noble/hashes": "^1.3.1",