From 5b8ea786d853a543a07c9fca2a07a6517ef9a94f Mon Sep 17 00:00:00 2001 From: m0ar Date: Thu, 11 Jan 2024 11:04:34 +0100 Subject: [PATCH 1/6] Temporarily disable query indexes as bug workaround --- package-lock.json | 1038 ++++++++++------- package.json | 3 + packages/composedb/.gitignore | 1 - packages/composedb/composites/1-claim.graphql | 5 +- .../composites/1-researchObject.graphql | 3 +- .../composites/1-socialHandle.graphql | 4 +- .../composedb/composites/2-annotation.graphql | 9 +- .../composites/2-attestation.graphql | 7 +- .../composites/2-contributorRelation.graphql | 7 +- .../composites/2-referenceRelation.graphql | 7 +- .../composites/2-researchComponent.graphql | 7 +- packages/composedb/package.json | 8 +- packages/lib/package.json | 1 + packages/lib/src/types.ts | 2 +- 14 files changed, 674 insertions(+), 428 deletions(-) diff --git a/package-lock.json b/package-lock.json index b8e8d68..8d035bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,9 @@ "packages/cli", "packages/composedb" ], + "dependencies": { + "@desci-labs/desci-models": "^0.1.22" + }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.13.2", "@typescript-eslint/parser": "^6.13.2", @@ -256,9 +259,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.5.tgz", - "integrity": "sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==", + "version": "7.23.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.7.tgz", + "integrity": "sha512-w06OXVOFso7LcbzMiDGt+3X7Rh7Ho8MmgPoWU3rarH+8upf+wSU/grlGbWzQyr3DkdN6ZeuMFjpdwW0Q+HxobA==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -268,49 +271,49 @@ } }, "node_modules/@ceramicnetwork/3id-did-resolver": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/3id-did-resolver/-/3id-did-resolver-3.1.0.tgz", - "integrity": "sha512-Bi3xSD1jsfuhsJtU6z4X/LG9BOn3kf8h06R/H9+lkM8gSWhu8LlyMvtp0bLaWZfaVZEUX+x26BCxkYwW0SBy1w==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/3id-did-resolver/-/3id-did-resolver-3.2.0.tgz", + "integrity": "sha512-1rXN22GrmXnSBIDIkYGuoxN3DLUiPJi/CEhL9sF+Ejx1GDI46aLJvbVZJv1YmVDTFm+kxPehrx+6l1hT+9PK3A==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/stream-tile": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/stream-tile": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "least-recent": "^1.0.3", "multiformats": "^11.0.1", "uint8arrays": "^4.0.3" } }, "node_modules/@ceramicnetwork/anchor-listener": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/anchor-listener/-/anchor-listener-2.1.0.tgz", - "integrity": "sha512-OnAwZa4kz58Y5JaVSmLjJYXHMBsa55SuAGcz/yJhUVC3pXqzupfJ0tl+7XLDfCWvU8aeIFdnk1oR4fTqjXBGQA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/anchor-listener/-/anchor-listener-2.2.0.tgz", + "integrity": "sha512-e23tJHxl60+s4imAUY6a6dPeXp08tGvYLPwkxg+tCPHZmtB/aQ+/exbbarwTVpERtPgGrdCnh7ItiuDHNBjR7Q==", "dev": true, "dependencies": { - "@ceramicnetwork/anchor-utils": "^2.1.0", + "@ceramicnetwork/anchor-utils": "^2.2.0", "@ethersproject/providers": "^5.5.1", "rxjs": "^7.5.2" } }, "node_modules/@ceramicnetwork/anchor-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/anchor-utils/-/anchor-utils-2.1.0.tgz", - "integrity": "sha512-Bae8DstRjgWzNC/JE4B5JybmEsqKlRPWoqognRNaXngLikkRNeZyu3mpJIT1jhMWYKNtClOF2t+IYCIJ8Uit7g==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/anchor-utils/-/anchor-utils-2.2.0.tgz", + "integrity": "sha512-fpEuR4FM1cuttcQz/8z8ec+bauNTlqDjSLUuDvnT0EHjMSrBKzk/0BiyuBM4jp76EPYK/OiAqv5+D/hRe1dQJQ==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", "@ethersproject/abi": "^5.7.0", "multiformats": "^11.0.1", "uint8arrays": "^4.0.3" } }, "node_modules/@ceramicnetwork/blockchain-utils-linking": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/blockchain-utils-linking/-/blockchain-utils-linking-3.1.0.tgz", - "integrity": "sha512-88LgAY8o7UrQhY2XmAp2w07CeS1vdQCraZgk5/0IiZTYqGP4Gl707VUwhS0TkE3MTxGt/OVzrXZS3Hk71qYKKA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/blockchain-utils-linking/-/blockchain-utils-linking-3.2.0.tgz", + "integrity": "sha512-MykIDuHTc6klDfkWnzljhhsMMYRD+ECSl8QxzVIga7MsavZJaCXgHq27bMa+ACfD0ynjHy2yvD8AyKDA/gD7IA==", "dev": true, "dependencies": { - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/streamid": "^3.2.0", "@didtools/cacao": "^2.1.0", "@stablelib/random": "^1.0.1", "@stablelib/sha256": "^1.0.1", @@ -320,13 +323,13 @@ } }, "node_modules/@ceramicnetwork/blockchain-utils-validation": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/blockchain-utils-validation/-/blockchain-utils-validation-3.1.0.tgz", - "integrity": "sha512-JLCL3oAB/uxt/E+PooFUcGyF2VjtPWkFeUViBnwVcu1sqccggl0UlSyzt1UndiS5d+I8ZtNr6lNg+rWnDUYn8g==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/blockchain-utils-validation/-/blockchain-utils-validation-3.2.0.tgz", + "integrity": "sha512-4vx07R2bgxs7B3XDtIddjqOpb3bvTWXFFyUAXKnywPRiGxVXHR+sZM9c36s2wa0Bq0kYxefGhEv08T+IVzTwpw==", "dev": true, "dependencies": { - "@ceramicnetwork/blockchain-utils-linking": "^3.1.0", - "@ceramicnetwork/common": "^3.1.0", + "@ceramicnetwork/blockchain-utils-linking": "^3.2.0", + "@ceramicnetwork/common": "^3.2.0", "@ethersproject/contracts": "^5.5.0", "@ethersproject/providers": "^5.5.1", "@ethersproject/wallet": "^5.5.0", @@ -342,22 +345,22 @@ } }, "node_modules/@ceramicnetwork/cli": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/cli/-/cli-3.1.0.tgz", - "integrity": "sha512-PPWDmxfTpkjdylRQ1NLsUa/4+kLAjDsHBeiNmoZL2lxxGlaZ8AyJvJKNWTgkc9LQeiCznLl5GaYAxXcwRG45qA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/cli/-/cli-3.2.0.tgz", + "integrity": "sha512-tQ1vo37NPiYKOrLrJ4wGh4MwGEuMNQuedA6HeLpWuDzrM3xO3RxRNPhfD2rmbKN9xzIRphJ+TXRQySOkz37jLQ==", "dev": true, "dependencies": { "@awaitjs/express": "^0.9.0", - "@ceramicnetwork/3id-did-resolver": "^3.1.0", - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/core": "^3.1.0", - "@ceramicnetwork/http-client": "^3.1.0", - "@ceramicnetwork/indexing": "^2.1.0", - "@ceramicnetwork/ipfs-daemon": "^3.1.0", - "@ceramicnetwork/logger": "^3.1.0", + "@ceramicnetwork/3id-did-resolver": "^3.2.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/core": "^3.2.0", + "@ceramicnetwork/http-client": "^3.2.0", + "@ceramicnetwork/indexing": "^2.2.0", + "@ceramicnetwork/ipfs-daemon": "^3.2.0", + "@ceramicnetwork/logger": "^3.2.0", "@ceramicnetwork/observability": "^1.4.1", - "@ceramicnetwork/stream-tile": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/stream-tile": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@stablelib/random": "^1.0.1", "aws-sdk": "^2.1049.0", "commander": "^9.4.1", @@ -389,11 +392,11 @@ } }, "node_modules/@ceramicnetwork/codecs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/codecs/-/codecs-2.1.0.tgz", - "integrity": "sha512-N4tpsJOHRb4Qk56c+LGcVhoxjHwH8v+cs0CkSw1LFut+58FkDr4asWCdk7R/f/4DmteS1LPzt/yd6e+QcF/2Xg==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/codecs/-/codecs-2.2.0.tgz", + "integrity": "sha512-HRDdJN7G954F7KOZ117WxhYUC9pGoUyBc6cEr14MLhhxA9S2+bYYOKZ1VAaTFawF1FB6rQkHIT37IYPVo0tI0A==", "dependencies": { - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/streamid": "^3.2.0", "cartonne": "^2.1.1", "codeco": "^1.1.0", "dag-jose": "^4.0.0", @@ -402,12 +405,12 @@ } }, "node_modules/@ceramicnetwork/common": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/common/-/common-3.1.0.tgz", - "integrity": "sha512-HS5Vdos+v17pVd1mK7//gKnR5NXw4ZQqt0LY9d8eNF6d97KtMh6OWr2nIZMhGfnH4BqUXULM+7V71nzU1aM/cw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/common/-/common-3.2.0.tgz", + "integrity": "sha512-3ql9LN/AXO2VxosnNzTeaMo+JRQpCclwFhyfWrpH0okLdiB1CeDDOkiKNOvz+6ZtYql1NpIby1/Ag5ovtxgQjg==", "dependencies": { - "@ceramicnetwork/codecs": "^2.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/codecs": "^2.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@didtools/cacao": "^2.1.0", "@didtools/pkh-ethereum": "^0.1.0", "@didtools/pkh-solana": "^0.1.0", @@ -426,30 +429,30 @@ } }, "node_modules/@ceramicnetwork/core": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/core/-/core-3.1.0.tgz", - "integrity": "sha512-1AHQRz1ugCc9KA/DNCowuPKgYxAqJQ4ds9XGliZGHa0AMeJ1vIzDGloTNv1zDM1D8sf60A/XIfaXtaIOSh9UAQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/core/-/core-3.2.0.tgz", + "integrity": "sha512-5B/5KgwuR+DBITD/DlZ7j7SD3RfqxbnMDdl++p0pE3NozKZZu06dSeCqCI7+6aESvrq1SPH+neYnFMhg+jx7og==", "dev": true, "dependencies": { - "@ceramicnetwork/anchor-listener": "^2.1.0", - "@ceramicnetwork/anchor-utils": "^2.1.0", - "@ceramicnetwork/codecs": "^2.1.0", - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/indexing": "^2.1.0", - "@ceramicnetwork/ipfs-topology": "^3.1.0", - "@ceramicnetwork/job-queue": "^2.1.0", + "@ceramicnetwork/anchor-listener": "^2.2.0", + "@ceramicnetwork/anchor-utils": "^2.2.0", + "@ceramicnetwork/codecs": "^2.2.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/indexing": "^2.2.0", + "@ceramicnetwork/ipfs-topology": "^3.2.0", + "@ceramicnetwork/job-queue": "^2.2.0", "@ceramicnetwork/observability": "^1.4.1", - "@ceramicnetwork/pinning-aggregation": "^3.1.0", - "@ceramicnetwork/pinning-ipfs-backend": "^3.1.0", - "@ceramicnetwork/stream-caip10-link": "^3.1.0", - "@ceramicnetwork/stream-caip10-link-handler": "^3.1.0", - "@ceramicnetwork/stream-model": "^2.1.0", - "@ceramicnetwork/stream-model-handler": "^2.1.0", - "@ceramicnetwork/stream-model-instance": "^2.1.0", - "@ceramicnetwork/stream-model-instance-handler": "^2.1.0", - "@ceramicnetwork/stream-tile": "^3.1.0", - "@ceramicnetwork/stream-tile-handler": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/pinning-aggregation": "^3.2.0", + "@ceramicnetwork/pinning-ipfs-backend": "^3.2.0", + "@ceramicnetwork/stream-caip10-link": "^3.2.0", + "@ceramicnetwork/stream-caip10-link-handler": "^3.2.0", + "@ceramicnetwork/stream-model": "^2.2.0", + "@ceramicnetwork/stream-model-handler": "^2.2.0", + "@ceramicnetwork/stream-model-instance": "^2.2.0", + "@ceramicnetwork/stream-model-instance-handler": "^2.2.0", + "@ceramicnetwork/stream-tile": "^3.2.0", + "@ceramicnetwork/stream-tile-handler": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@ceramicnetwork/wasm-bloom-filter": "^0.1.0", "@datastructures-js/priority-queue": "^6.1.0", "@ethersproject/providers": "^5.5.1", @@ -513,33 +516,33 @@ "dev": true }, "node_modules/@ceramicnetwork/http-client": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/http-client/-/http-client-3.1.0.tgz", - "integrity": "sha512-vgMRWO8QGXmlwLWMMFIqRVJRwDUzPlGT6mF9O6f+pup2e3GQJnFtvbqz6usMjn40eSAjpa1uGiErWMk3719E+Q==", - "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/stream-caip10-link": "^3.1.0", - "@ceramicnetwork/stream-model": "^2.1.0", - "@ceramicnetwork/stream-model-instance": "^2.1.0", - "@ceramicnetwork/stream-tile": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/http-client/-/http-client-3.2.0.tgz", + "integrity": "sha512-HC0tw9cL7/Q0qstOSc3pm9uAQ6pPx9Y/0dsmO+lZRxPMW9gQqOqY1Oa7Wi3PIvyiJaimwnM+G1SFM6GWQ676Lg==", + "dependencies": { + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/stream-caip10-link": "^3.2.0", + "@ceramicnetwork/stream-model": "^2.2.0", + "@ceramicnetwork/stream-model-instance": "^2.2.0", + "@ceramicnetwork/stream-tile": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@scarf/scarf": "^1.1.1", "query-string": "^7.1.0", "rxjs": "^7.5.2" } }, "node_modules/@ceramicnetwork/indexing": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/indexing/-/indexing-2.1.0.tgz", - "integrity": "sha512-5i0xjRxmTkj+7mqtZ1dkUWMXy5wBdoZ4vffWnpFpyOXQ/fJgeUteJC4xUNcFany/nhO9vQNgLIFdeSQxSuQgxA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/indexing/-/indexing-2.2.0.tgz", + "integrity": "sha512-ITozew7UYTHlnHZZ981WCrscEDMBSQhgUWpqmI6MzAlHPSUdgKmFk5kg1FyeQotTB44E0flZAhLDBby8fud7wA==", "dev": true, "dependencies": { - "@ceramicnetwork/anchor-listener": "^2.1.0", - "@ceramicnetwork/anchor-utils": "^2.1.0", - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/job-queue": "^2.1.0", - "@ceramicnetwork/stream-model": "^2.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/anchor-listener": "^2.2.0", + "@ceramicnetwork/anchor-utils": "^2.2.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/job-queue": "^2.2.0", + "@ceramicnetwork/stream-model": "^2.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@ethersproject/providers": "^5.5.1", "knex": "^2.5.1", "lodash.clonedeep": "^4.5.0", @@ -583,13 +586,13 @@ } }, "node_modules/@ceramicnetwork/ipfs-daemon": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/ipfs-daemon/-/ipfs-daemon-3.1.0.tgz", - "integrity": "sha512-yc30rfJtOnPEGfShQhXu953pSEy+fNDOXvybxF/XxOYDC1VbwSweMjWV/HAJfjw1IPhchtBFNdcXyD9Zb/nnHw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/ipfs-daemon/-/ipfs-daemon-3.2.0.tgz", + "integrity": "sha512-q7Ypon1fYh35Wu9ZLCN1fLxzOF/R3d8d16ij8+APNortIwGzMKxgFeMCqvq+pFJjGMkfeP5zuNQ9vTSj3DcDLg==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/ipfs-topology": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/ipfs-topology": "^3.2.0", "express": "^4.17.2", "get-port": "^6.0.0", "go-ipfs": "^0.18.1", @@ -604,30 +607,30 @@ } }, "node_modules/@ceramicnetwork/ipfs-topology": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/ipfs-topology/-/ipfs-topology-3.1.0.tgz", - "integrity": "sha512-jfOqTFQVcHrluIJsT5k9p6RjNCPf+EGs8kGFE3bsyCFGVMAOf4gjwQ+xpn5wBbXYKVwS/VuqQRog3CFCzJfwnQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/ipfs-topology/-/ipfs-topology-3.2.0.tgz", + "integrity": "sha512-PHKnWVvnz5SPcHyIsQZ9gI/pkrEuKF7Z8quXxhZ0zyOZYnoLiGTZUVHRRfsSnWck3eq8aj+W89W6xHDKOUbfnw==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0" + "@ceramicnetwork/common": "^3.2.0" } }, "node_modules/@ceramicnetwork/job-queue": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/job-queue/-/job-queue-2.1.0.tgz", - "integrity": "sha512-FKKkxmne+dkFA4N4aMtQzRn+7+P4BEd1FMXqJZLNJzT1yCuHiQsGSGb8C/+/q/cMklHg7LXNkai+iOytjE1auA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/job-queue/-/job-queue-2.2.0.tgz", + "integrity": "sha512-cp+9Bx7a9mJ8hah459cDRsPazGvzh7OyC/850joFmvK2xKaa2fbuRR++RgLl3pJmw0qmDb0+fBy94Ces+i6nGQ==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", "pg": "^8.11.3", "pg-boss": "^8.2.0", "rxjs": "^7.8.1" } }, "node_modules/@ceramicnetwork/logger": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/logger/-/logger-3.1.0.tgz", - "integrity": "sha512-hdxuivEW5uLudUaFVBFB7ytjy2pZnBg8BBDWJ2+DKJ2K0izkEBE15FD/Dg5JS2afAQt1t15CmuWBbOhdsp5O7A==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/logger/-/logger-3.2.0.tgz", + "integrity": "sha512-wkV4ludi4IJ1KEyglnpANg21YA9Wxcne+oiXqRLLwJTariOsOBAUq25eTSU3FaamaNyxuz4Gj81a/3rw+EuoZw==", "dev": true, "dependencies": { "rotating-file-stream": "^3.0.2" @@ -659,9 +662,9 @@ } }, "node_modules/@ceramicnetwork/pinning-aggregation": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/pinning-aggregation/-/pinning-aggregation-3.1.0.tgz", - "integrity": "sha512-xf4PybZ3Zm0UynW3SgBU4HEsvt1Vlnxc7oHhj+A9+ybQHpcnPokq2SfKEsbnLAvOlu2D/OLQaZ1WL45SGoKj8w==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/pinning-aggregation/-/pinning-aggregation-3.2.0.tgz", + "integrity": "sha512-sykfBW9oTkRdTMoy6jSf1QxH9et7cvgHBjvOVs5kfR/eh4zB1djJ9VaXC5HZ4wbzrTYjpFw9eNiGiRoJwhkcSQ==", "dev": true, "dependencies": { "@stablelib/sha256": "^1.0.1", @@ -669,9 +672,9 @@ } }, "node_modules/@ceramicnetwork/pinning-ipfs-backend": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/pinning-ipfs-backend/-/pinning-ipfs-backend-3.1.0.tgz", - "integrity": "sha512-rpRFlOz4d+ITLxheaabFS4bgw4cXURm/kZNS0/spxDdCUsgG7AqNEbG2rGETIhGpjzGyvgM/g0ax9srdZ4uHKA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/pinning-ipfs-backend/-/pinning-ipfs-backend-3.2.0.tgz", + "integrity": "sha512-800OsINFsEy5dfUsjSoy18K3jx9pVGFBv69SJYgk7aHaIkERDyDsnp7FtfBLojnhPJGVJKmlijgFKZ4EFJoNCw==", "dev": true, "dependencies": { "@stablelib/sha256": "^1.0.1", @@ -680,48 +683,48 @@ } }, "node_modules/@ceramicnetwork/stream-caip10-link": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-caip10-link/-/stream-caip10-link-3.1.0.tgz", - "integrity": "sha512-sBFlfHU93ichovoL8gvuas1x7qu0JJUnc9K/itbiAunUMLJiZ6BGsIhpn/uoZ5UlRLwG5RskbInJuwrhtOhdAg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-caip10-link/-/stream-caip10-link-3.2.0.tgz", + "integrity": "sha512-36/7JWVm9Qn48/ezIRGJy7lAP4IZ2yGucAYXd/Ssq2RDLdGC7xTlva8csYQd/8b4nUu6UZqhqdRGEbBhGRN2Cw==", "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "caip": "~1.1.0", "did-resolver": "^4.0.1", "lodash.clonedeep": "^4.5.0" } }, "node_modules/@ceramicnetwork/stream-caip10-link-handler": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-caip10-link-handler/-/stream-caip10-link-handler-3.1.0.tgz", - "integrity": "sha512-2yJI58EqF85PVCVbGMyzsOqFw3dXwkkzKlDnhZZ8AX86z7nwVzKyOLEtuQSxOBG9Whs8sMqopvnWt1ILWLBjUw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-caip10-link-handler/-/stream-caip10-link-handler-3.2.0.tgz", + "integrity": "sha512-8Ca4Tbe/41QtKAuXHEwNqH9i2ROLkA4eV6JshNHCAJLRMlD8UiFF/41CfYDHX40gQeUNQEBRVO6nAh8kOh+OYw==", "dev": true, "dependencies": { - "@ceramicnetwork/blockchain-utils-validation": "^3.1.0", - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/stream-caip10-link": "^3.1.0", - "@ceramicnetwork/stream-handler-common": "^2.1.0" + "@ceramicnetwork/blockchain-utils-validation": "^3.2.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/stream-caip10-link": "^3.2.0", + "@ceramicnetwork/stream-handler-common": "^2.2.0" } }, "node_modules/@ceramicnetwork/stream-handler-common": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-handler-common/-/stream-handler-common-2.1.0.tgz", - "integrity": "sha512-uchnDl52Uqv41it/zrg2pPcnBNemZZSheouC6n6gdvyALdXpWr1uaqXEBaPo8my2I/qSE33eSNyanlc/gFQmcQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-handler-common/-/stream-handler-common-2.2.0.tgz", + "integrity": "sha512-vSJKJSC7NA62IckiXu+DMiw2X6UjHN1ay1fkNAdZxg2mT+uk3j+c+pX4LukSUbBTJmU94KGN1OSuLr2F5cfAHA==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "lodash.clonedeep": "^4.5.0" } }, "node_modules/@ceramicnetwork/stream-model": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model/-/stream-model-2.1.0.tgz", - "integrity": "sha512-OTxwrp/mZaXkdFAHmwLen3R5TzKov/q74+qVHnHxUIberwAl6buNLz3nfIOULcJJY6wCEAMxznBRUSpTxcqT3A==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model/-/stream-model-2.2.0.tgz", + "integrity": "sha512-O+xmtMJ3dFOqxkoaDVKZAH8Z+4AqYyDdSgoB97JNpXHILM2a13NMJyvVVtZzVedywj6jAkdOxC80JYOscQtiew==", "dependencies": { - "@ceramicnetwork/codecs": "^2.1.0", - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/codecs": "^2.2.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@ipld/dag-cbor": "^7.0.0", "@stablelib/random": "^1.0.1", "ajv": "^8.8.2", @@ -734,15 +737,15 @@ } }, "node_modules/@ceramicnetwork/stream-model-handler": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-handler/-/stream-model-handler-2.1.0.tgz", - "integrity": "sha512-C0r5RFQUMO1idqWfRmjgZpbk0fC1LBGBalwhs4bX4c+FWlDiTzvsO2CHjn+oHx9tfNa/DgIs9ROah2pNHxlpJw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-handler/-/stream-model-handler-2.2.0.tgz", + "integrity": "sha512-9I5h8e28zQHhqEZ/U1ur4kOLB/L19u4E8dED/CBMmPbn1awTzRgJeFQXAzS0SDWaObIsq1m1SMTsWVTsQYh4sA==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/stream-handler-common": "^2.1.0", - "@ceramicnetwork/stream-model": "^2.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/stream-handler-common": "^2.2.0", + "@ceramicnetwork/stream-model": "^2.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "ajv": "^8.8.2", "ajv-formats": "^2.1.1", "fast-json-patch": "^3.1.0", @@ -775,12 +778,12 @@ "dev": true }, "node_modules/@ceramicnetwork/stream-model-instance": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-instance/-/stream-model-instance-2.1.0.tgz", - "integrity": "sha512-TZax3oFr+d+TpMaSMyGL/RUmQ2iIImJdx2Zw+Jn33a02u0IhGsMydy7M/AyWnTCLlH/5c6gSI5j1abmDqeQqjQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-instance/-/stream-model-instance-2.2.0.tgz", + "integrity": "sha512-sLQjGpQc2V9Mh3BFsJvioKsRy8eyFrufxG7u2WNjSkRdWOrqMBLSuyEy2U5whT92nIe8DcKlD8eGW2rmY7OOCQ==", "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@ipld/dag-cbor": "^7.0.0", "@stablelib/random": "^1.0.1", "fast-json-patch": "^3.1.0", @@ -789,15 +792,15 @@ } }, "node_modules/@ceramicnetwork/stream-model-instance-handler": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-instance-handler/-/stream-model-instance-handler-2.1.0.tgz", - "integrity": "sha512-3l3uobcsL6Dw1FEb9SqtkFrn6uNgJy45dWUWTriZtExBvHBBpLQcQMYz1SJvh8ZzSEnEqIxrFd8z6BioChOP4Q==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-model-instance-handler/-/stream-model-instance-handler-2.2.0.tgz", + "integrity": "sha512-pyLrUishwHilv/kt4iT8vUzLSlUGY8s+359YAj59ipJX1Rdl8QhY0uXmcia60JX9H9dR+p8kBE8IdUNlEWCbcA==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/stream-handler-common": "^2.1.0", - "@ceramicnetwork/stream-model-instance": "^2.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/stream-handler-common": "^2.2.0", + "@ceramicnetwork/stream-model-instance": "^2.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "ajv": "^8.8.2", "ajv-formats": "^2.1.1", "fast-json-patch": "^3.1.0", @@ -849,12 +852,12 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/@ceramicnetwork/stream-tile": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-tile/-/stream-tile-3.1.0.tgz", - "integrity": "sha512-32OenmbcPGgbowYmgfCO289OuVeLFCPThLR9hNXLSkde83euyV8fdIeXnNBziFSwSVZvBUbrBLbEEyFuUKONeA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-tile/-/stream-tile-3.2.0.tgz", + "integrity": "sha512-QW0FS2OHmxK/Gs4GcFGgAZY4gtnSBBE2jUWNAMoXne8T0CjbQforUFUXC5KD4ojGMBsqm+w8vBurSk9ihcT2/w==", "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "@ipld/dag-cbor": "^7.0.0", "@stablelib/random": "^1.0.1", "dids": "^4.0.0", @@ -864,15 +867,15 @@ } }, "node_modules/@ceramicnetwork/stream-tile-handler": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-tile-handler/-/stream-tile-handler-3.1.0.tgz", - "integrity": "sha512-wn1LkXKxWL7s12m6hGgVKKRJ7FOO1uTZtseblbxLpSeJdgPl1/RZH72Y9/1D00D7p0ba8sbOXsb5EMbdllrs8A==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/stream-tile-handler/-/stream-tile-handler-3.2.0.tgz", + "integrity": "sha512-N6nRYRxfUiXN1shueZFZB0SnJA7bLZKLbBU6y6iOxElChj/KoK+o6+tgqjZZRXHTFSJnTMhBbjajchJeMnLpeQ==", "dev": true, "dependencies": { - "@ceramicnetwork/common": "^3.1.0", - "@ceramicnetwork/stream-handler-common": "^2.1.0", - "@ceramicnetwork/stream-tile": "^3.1.0", - "@ceramicnetwork/streamid": "^3.1.0", + "@ceramicnetwork/common": "^3.2.0", + "@ceramicnetwork/stream-handler-common": "^2.2.0", + "@ceramicnetwork/stream-tile": "^3.2.0", + "@ceramicnetwork/streamid": "^3.2.0", "ajv": "^8.8.2", "ajv-formats": "^2.1.1", "fast-json-patch": "^3.1.0", @@ -904,9 +907,9 @@ "dev": true }, "node_modules/@ceramicnetwork/streamid": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@ceramicnetwork/streamid/-/streamid-3.1.0.tgz", - "integrity": "sha512-qLUnFV2Dc63/6dMX0CnmsDrn8IPTU5V02rjDBcX0fLAemvtNFTCSCpYN9qpvwTUhmMJFrWfgib1UTmvGLiy4gg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ceramicnetwork/streamid/-/streamid-3.2.0.tgz", + "integrity": "sha512-o1nlXcSosbl2pcA3vkdZyiwdwDC7J8O+u/mGdBysJ6brQvQcbB9W9QYE6OgB5p+dxXdY9u5zwATURIEw5Ify3w==", "dependencies": { "@ipld/dag-cbor": "^7.0.0", "@stablelib/sha256": "^1.0.1", @@ -1159,6 +1162,30 @@ "resolved": "packages/lib", "link": true }, + "node_modules/@desci-labs/desci-models": { + "version": "0.1.22", + "resolved": "https://registry.npmjs.org/@desci-labs/desci-models/-/desci-models-0.1.22.tgz", + "integrity": "sha512-hfMUA2jtX3FH+p42kHU1GdKr5vvlmGPNJazjlaGDehs13z6HrNGZFKEue6H6qYkgH1wIlu8PgkjRqnlOsDz5Zg==", + "dependencies": { + "jsonld": "^8.1.1", + "schema-dts": "^1.1.2", + "typescript": "^4.9.4", + "util": "^0.12.5", + "zod": "^3.20.2" + } + }, + "node_modules/@desci-labs/desci-models/node_modules/typescript": { + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/@didtools/cacao": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@didtools/cacao/-/cacao-2.1.0.tgz", @@ -1291,6 +1318,19 @@ "node": ">=14.14" } }, + "node_modules/@digitalbazaar/http-client": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/@digitalbazaar/http-client/-/http-client-3.4.1.tgz", + "integrity": "sha512-Ahk1N+s7urkgj7WvvUND5f8GiWEPfUw0D41hdElaqLgu8wZScI8gdI0q+qWw5N1d35x7GCRH2uk9mi+Uzo9M3g==", + "dependencies": { + "ky": "^0.33.3", + "ky-universal": "^0.11.0", + "undici": "^5.21.2" + }, + "engines": { + "node": ">=14.0" + } + }, "node_modules/@envelop/core": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/@envelop/core/-/core-5.0.0.tgz", @@ -2359,7 +2399,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.0.tgz", "integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==", - "dev": true, "engines": { "node": ">=14" } @@ -2943,13 +2982,13 @@ "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" }, "node_modules/@ipld/dag-json": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/@ipld/dag-json/-/dag-json-10.1.5.tgz", - "integrity": "sha512-AIIDRGPgIqVG2K1O42dPDzNOfP0YWV/suGApzpF+YWZLwkwdGVsxjmXcJ/+rwOhRGdjpuq/xQBKPCu1Ao6rdOQ==", + "version": "10.1.6", + "resolved": "https://registry.npmjs.org/@ipld/dag-json/-/dag-json-10.1.6.tgz", + "integrity": "sha512-y3KHYEzUUMPduJEZiy9fe89dG8Or1fYiYM8fPPlec1BE7gUWcZVtJmVQKodluT5N4O8S8xi5iTF83pcN9GXZTA==", "dev": true, "dependencies": { "cborg": "^4.0.0", - "multiformats": "^12.0.1" + "multiformats": "^13.0.0" }, "engines": { "node": ">=16.0.0", @@ -2966,22 +3005,18 @@ } }, "node_modules/@ipld/dag-json/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true }, "node_modules/@ipld/dag-pb": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@ipld/dag-pb/-/dag-pb-4.0.6.tgz", - "integrity": "sha512-wOij3jfDKZsb9yjhQeHp+TQy0pu1vmUkGv324xciFFZ7xGbDfAGTQW03lSA5aJ/7HBBNYgjEE0nvHmNW1Qjfag==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@ipld/dag-pb/-/dag-pb-4.0.7.tgz", + "integrity": "sha512-EqJtSAcELiYbp9K0Y5ckbg+W0pD5cSy5PnE/QsCrpKvoq+u0E8Vi07chNGDLaShd5AjDq0AMtnuudKUUuEuSjg==", "dev": true, "dependencies": { - "multiformats": "^12.0.1" + "multiformats": "^13.0.0" }, "engines": { "node": ">=16.0.0", @@ -2989,14 +3024,10 @@ } }, "node_modules/@ipld/dag-pb/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true }, "node_modules/@isaacs/cliui": { "version": "8.0.2", @@ -3156,15 +3187,16 @@ } }, "node_modules/@libp2p/interface": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.1.tgz", - "integrity": "sha512-TRo1YxJ+AVjt5ms+mTOp8xcoCis5HAUMzv0XfCvxtIw77Bog6TPR5VdkGutlEQOKUMzXtLP0lW88fTQBeiiOnA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.0.tgz", + "integrity": "sha512-URIKSFtaliBGA8sIg/MGfyjIo5h4jAdfuZl6dXXXmtdfC3X0rry95YuLNYzXtGMuxG/X+pbVht3fykHvPiXUhg==", "dev": true, "dependencies": { "@multiformats/multiaddr": "^12.1.10", "it-pushable": "^3.2.1", "it-stream-types": "^2.0.1", - "multiformats": "^12.1.3", + "multiformats": "^13.0.0", + "progress-events": "^1.0.0", "uint8arraylist": "^2.4.3" } }, @@ -3186,18 +3218,18 @@ } }, "node_modules/@libp2p/interface-connection/node_modules/@multiformats/multiaddr": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.11.tgz", - "integrity": "sha512-CWG9kETEGTTMdr1T+/JEuMwFld3r3fHNP8LkLoUcLvHRy6yr8sWdotVGEDNEdDO/vrKhuD7bQBws3xMSMMyylg==", + "version": "12.1.12", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.12.tgz", + "integrity": "sha512-hrY4uN/oeYhn410jBSpVXn37eenn4djKOj6Dh20Yh4xzGgqmS6u+/X08zQfHgWNjk7NJejPUcRfHEfs8e/MOcw==", "dev": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", "@libp2p/interface": "^1.0.0", "dns-over-http-resolver": "3.0.0", - "multiformats": "^12.0.1", + "multiformats": "^13.0.0", "uint8-varint": "^2.0.1", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" } }, "node_modules/@libp2p/interface-connection/node_modules/dns-over-http-resolver": { @@ -3211,13 +3243,18 @@ } }, "node_modules/@libp2p/interface-connection/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/@libp2p/interface-connection/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/@libp2p/interface-keychain": { @@ -3272,18 +3309,18 @@ } }, "node_modules/@libp2p/interface-peer-info/node_modules/@multiformats/multiaddr": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.11.tgz", - "integrity": "sha512-CWG9kETEGTTMdr1T+/JEuMwFld3r3fHNP8LkLoUcLvHRy6yr8sWdotVGEDNEdDO/vrKhuD7bQBws3xMSMMyylg==", + "version": "12.1.12", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.12.tgz", + "integrity": "sha512-hrY4uN/oeYhn410jBSpVXn37eenn4djKOj6Dh20Yh4xzGgqmS6u+/X08zQfHgWNjk7NJejPUcRfHEfs8e/MOcw==", "dev": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", "@libp2p/interface": "^1.0.0", "dns-over-http-resolver": "3.0.0", - "multiformats": "^12.0.1", + "multiformats": "^13.0.0", "uint8-varint": "^2.0.1", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" } }, "node_modules/@libp2p/interface-peer-info/node_modules/dns-over-http-resolver": { @@ -3297,13 +3334,18 @@ } }, "node_modules/@libp2p/interface-peer-info/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/@libp2p/interface-peer-info/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/@libp2p/interface-pubsub": { @@ -3324,18 +3366,18 @@ } }, "node_modules/@libp2p/interface/node_modules/@multiformats/multiaddr": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.11.tgz", - "integrity": "sha512-CWG9kETEGTTMdr1T+/JEuMwFld3r3fHNP8LkLoUcLvHRy6yr8sWdotVGEDNEdDO/vrKhuD7bQBws3xMSMMyylg==", + "version": "12.1.12", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.12.tgz", + "integrity": "sha512-hrY4uN/oeYhn410jBSpVXn37eenn4djKOj6Dh20Yh4xzGgqmS6u+/X08zQfHgWNjk7NJejPUcRfHEfs8e/MOcw==", "dev": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", "@libp2p/interface": "^1.0.0", "dns-over-http-resolver": "3.0.0", - "multiformats": "^12.0.1", + "multiformats": "^13.0.0", "uint8-varint": "^2.0.1", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" } }, "node_modules/@libp2p/interface/node_modules/dns-over-http-resolver": { @@ -3359,13 +3401,18 @@ } }, "node_modules/@libp2p/interface/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/@libp2p/interface/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/@libp2p/interfaces": { @@ -3396,29 +3443,25 @@ } }, "node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.11.tgz", - "integrity": "sha512-CWG9kETEGTTMdr1T+/JEuMwFld3r3fHNP8LkLoUcLvHRy6yr8sWdotVGEDNEdDO/vrKhuD7bQBws3xMSMMyylg==", + "version": "12.1.12", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.12.tgz", + "integrity": "sha512-hrY4uN/oeYhn410jBSpVXn37eenn4djKOj6Dh20Yh4xzGgqmS6u+/X08zQfHgWNjk7NJejPUcRfHEfs8e/MOcw==", "dev": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", "@libp2p/interface": "^1.0.0", "dns-over-http-resolver": "3.0.0", - "multiformats": "^12.0.1", + "multiformats": "^13.0.0", "uint8-varint": "^2.0.1", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" } }, "node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true }, "node_modules/@libp2p/logger/node_modules/dns-over-http-resolver": { "version": "3.0.0", @@ -3430,6 +3473,21 @@ "receptacle": "^1.3.2" } }, + "node_modules/@libp2p/logger/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", + "dev": true, + "dependencies": { + "multiformats": "^13.0.0" + } + }, + "node_modules/@libp2p/logger/node_modules/uint8arrays/node_modules/multiformats": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, "node_modules/@libp2p/peer-id": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", @@ -3521,18 +3579,18 @@ } }, "node_modules/@multiformats/multiaddr-to-uri/node_modules/@multiformats/multiaddr": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.11.tgz", - "integrity": "sha512-CWG9kETEGTTMdr1T+/JEuMwFld3r3fHNP8LkLoUcLvHRy6yr8sWdotVGEDNEdDO/vrKhuD7bQBws3xMSMMyylg==", + "version": "12.1.12", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.12.tgz", + "integrity": "sha512-hrY4uN/oeYhn410jBSpVXn37eenn4djKOj6Dh20Yh4xzGgqmS6u+/X08zQfHgWNjk7NJejPUcRfHEfs8e/MOcw==", "dev": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", "@libp2p/interface": "^1.0.0", "dns-over-http-resolver": "3.0.0", - "multiformats": "^12.0.1", + "multiformats": "^13.0.0", "uint8-varint": "^2.0.1", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" } }, "node_modules/@multiformats/multiaddr-to-uri/node_modules/dns-over-http-resolver": { @@ -3546,13 +3604,18 @@ } }, "node_modules/@multiformats/multiaddr-to-uri/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/@multiformats/multiaddr-to-uri/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/@noble/ciphers": { @@ -6562,7 +6625,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dev": true, "dependencies": { "event-target-shim": "^5.0.0" }, @@ -7030,7 +7092,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -7781,7 +7842,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", - "dev": true, "dependencies": { "function-bind": "^1.1.2", "get-intrinsic": "^1.2.1", @@ -8640,6 +8700,14 @@ "node": ">=8" } }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "engines": { + "node": ">= 12" + } + }, "node_modules/dataloader": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/dataloader/-/dataloader-2.2.2.tgz", @@ -8864,7 +8932,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", - "dev": true, "dependencies": { "get-intrinsic": "^1.2.1", "gopd": "^1.0.1", @@ -10314,7 +10381,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "dev": true, "engines": { "node": ">=6" } @@ -10614,6 +10680,28 @@ "xtend": "^4.0.0" } }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -10841,9 +10929,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", - "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "dev": true, "funding": [ { @@ -10864,7 +10952,6 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, "dependencies": { "is-callable": "^1.1.3" } @@ -10897,6 +10984,17 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -11063,7 +11161,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", - "dev": true, "dependencies": { "function-bind": "^1.1.2", "has-proto": "^1.0.1", @@ -11271,7 +11368,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -11426,7 +11522,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", - "dev": true, "dependencies": { "get-intrinsic": "^1.2.2" }, @@ -11438,7 +11533,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -11450,7 +11544,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -11462,7 +11555,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, "dependencies": { "has-symbols": "^1.0.2" }, @@ -12043,20 +12135,34 @@ } }, "node_modules/interface-datastore": { - "version": "8.2.7", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.7.tgz", - "integrity": "sha512-ot5B5+VogufRfjhedAXZHm5NuEKyYZkDyVpTjBYIrxYUpS5GIfF2soE/dsd/FiBVqubcxa4IEToMXL5ruMwhjw==", + "version": "8.2.10", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.10.tgz", + "integrity": "sha512-D8RuxMdjOPB+j6WMDJ+I2aXTDzUT6DIVjgzo1E+ODL7w8WrSFl9FXD2SYmgj6vVzdb7Kb5qmAI9pEnDZJz7ifg==", "dev": true, "dependencies": { "interface-store": "^5.0.0", - "nanoid": "^5.0.3", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" + } + }, + "node_modules/interface-datastore/node_modules/multiformats": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/interface-datastore/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", + "dev": true, + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/interface-store": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.5.tgz", - "integrity": "sha512-X0KnJBk3o+YL13MxZBMwa88/b3Mdrpm0yPzkSTKDDVn9BSPH7UK6W+ZtIPO2bxKOQVmq7zqOwAnYnpfqWjb6/g==", + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.7.tgz", + "integrity": "sha512-DVMTgZ43NAdDtXL3QsEq8N0vuUYVBxiGbxN0uI0lrNasuX/CGSrU7bjOO2DaGTMNut4Pt3ae+VQYFvNtH4Oyeg==", "dev": true }, "node_modules/internal-slot": { @@ -12130,9 +12236,9 @@ } }, "node_modules/ipfs-core-types/node_modules/@types/node": { - "version": "18.19.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.3.tgz", - "integrity": "sha512-k5fggr14DwAytoA/t8rPrIz++lXK7/DqckthCmoZOKNsEbJkId4Z//BqgApXBUGrGddrigYa1oqheo/7YmW4rg==", + "version": "18.19.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.4.tgz", + "integrity": "sha512-xNzlUhzoHotIsnFoXmJB+yWmBvFZgKCI9TtPIEdYIMM1KWfwuY8zh7wvc1u1OAXlC7dlf6mZVx/s+Y5KfFz19A==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -12163,24 +12269,6 @@ "npm": ">=7.0.0" } }, - "node_modules/ipfs-core-types/node_modules/nanoid": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", - "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.js" - }, - "engines": { - "node": "^14 || ^16 || >=18" - } - }, "node_modules/ipfs-core-utils": { "version": "0.18.1", "resolved": "https://registry.npmjs.org/ipfs-core-utils/-/ipfs-core-utils-0.18.1.tgz", @@ -12224,24 +12312,6 @@ "npm": ">=7.0.0" } }, - "node_modules/ipfs-core-utils/node_modules/nanoid": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", - "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.js" - }, - "engines": { - "node": "^14 || ^16 || >=18" - } - }, "node_modules/ipfs-http-client": { "version": "60.0.1", "resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-60.0.1.tgz", @@ -12275,13 +12345,13 @@ } }, "node_modules/ipfs-http-client/node_modules/@ipld/dag-cbor": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.0.6.tgz", - "integrity": "sha512-3kNab5xMppgWw6DVYx2BzmFq8t7I56AGWfp5kaU1fIPkwHVpBRglJJTYsGtbVluCi/s/q97HZM3bC+aDW4sxbQ==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.0.7.tgz", + "integrity": "sha512-bZMZWTtrJnIm2YjWijIB2EIGdba8kZRO55i+7RMnCHkazQ5hCqif3RrywIjDmnACSBvkhIPuQkefvxlxzogIEQ==", "dev": true, "dependencies": { "cborg": "^4.0.0", - "multiformats": "^12.0.1" + "multiformats": "^13.0.0" }, "engines": { "node": ">=16.0.0", @@ -12289,14 +12359,10 @@ } }, "node_modules/ipfs-http-client/node_modules/@ipld/dag-cbor/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true }, "node_modules/ipfs-http-client/node_modules/cborg": { "version": "4.0.5", @@ -12455,29 +12521,10 @@ "node": ">=12.20.0" } }, - "node_modules/ipfsd-ctl/node_modules/nanoid": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", - "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.js" - }, - "engines": { - "node": "^14 || ^16 || >=18" - } - }, "node_modules/is-arguments": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dev": true, "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -12591,7 +12638,6 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -12672,7 +12718,6 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "dev": true, "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -12896,7 +12941,6 @@ "version": "1.1.12", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", - "dev": true, "dependencies": { "which-typed-array": "^1.1.11" }, @@ -13312,6 +13356,36 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/jsonld": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/jsonld/-/jsonld-8.3.2.tgz", + "integrity": "sha512-MwBbq95szLwt8eVQ1Bcfwmgju/Y5P2GdtlHE2ncyfuYjIdEhluUVyj1eudacf1mOkWIoS9GpDBTECqhmq7EOaA==", + "dependencies": { + "@digitalbazaar/http-client": "^3.4.1", + "canonicalize": "^1.0.1", + "lru-cache": "^6.0.0", + "rdf-canonize": "^3.4.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/jsonld/node_modules/canonicalize": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/canonicalize/-/canonicalize-1.0.8.tgz", + "integrity": "sha512-0CNTVCLZggSh7bc5VkX5WWPWO+cyZbNd07IHIsSXLia/eAq+r836hgk+8BKoEh7949Mda87VUOitx5OddVj64A==" + }, + "node_modules/jsonld/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/jsonparse": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", @@ -13491,13 +13565,13 @@ } }, "node_modules/kubo-rpc-client/node_modules/@ipld/dag-cbor": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.0.6.tgz", - "integrity": "sha512-3kNab5xMppgWw6DVYx2BzmFq8t7I56AGWfp5kaU1fIPkwHVpBRglJJTYsGtbVluCi/s/q97HZM3bC+aDW4sxbQ==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.0.7.tgz", + "integrity": "sha512-bZMZWTtrJnIm2YjWijIB2EIGdba8kZRO55i+7RMnCHkazQ5hCqif3RrywIjDmnACSBvkhIPuQkefvxlxzogIEQ==", "dev": true, "dependencies": { "cborg": "^4.0.0", - "multiformats": "^12.0.1" + "multiformats": "^13.0.0" }, "engines": { "node": ">=16.0.0", @@ -13505,38 +13579,39 @@ } }, "node_modules/kubo-rpc-client/node_modules/@ipld/dag-cbor/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true }, "node_modules/kubo-rpc-client/node_modules/@multiformats/multiaddr": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.11.tgz", - "integrity": "sha512-CWG9kETEGTTMdr1T+/JEuMwFld3r3fHNP8LkLoUcLvHRy6yr8sWdotVGEDNEdDO/vrKhuD7bQBws3xMSMMyylg==", + "version": "12.1.12", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.12.tgz", + "integrity": "sha512-hrY4uN/oeYhn410jBSpVXn37eenn4djKOj6Dh20Yh4xzGgqmS6u+/X08zQfHgWNjk7NJejPUcRfHEfs8e/MOcw==", "dev": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", "@libp2p/interface": "^1.0.0", "dns-over-http-resolver": "3.0.0", - "multiformats": "^12.0.1", + "multiformats": "^13.0.0", "uint8-varint": "^2.0.1", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" } }, "node_modules/kubo-rpc-client/node_modules/@multiformats/multiaddr/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/kubo-rpc-client/node_modules/@multiformats/multiaddr/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", "dev": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/kubo-rpc-client/node_modules/cborg": { @@ -13568,6 +13643,58 @@ "npm": ">=7.0.0" } }, + "node_modules/ky": { + "version": "0.33.3", + "resolved": "https://registry.npmjs.org/ky/-/ky-0.33.3.tgz", + "integrity": "sha512-CasD9OCEQSFIam2U8efFK81Yeg8vNMTBUqtMOHlrcWQHqUX3HeCl9Dr31u4toV7emlH8Mymk5+9p0lL6mKb/Xw==", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky?sponsor=1" + } + }, + "node_modules/ky-universal": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/ky-universal/-/ky-universal-0.11.0.tgz", + "integrity": "sha512-65KyweaWvk+uKKkCrfAf+xqN2/epw1IJDtlyCPxYffFCMR8u1sp2U65NtWpnozYfZxQ6IUzIlvUcw+hQ82U2Xw==", + "dependencies": { + "abort-controller": "^3.0.0", + "node-fetch": "^3.2.10" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky-universal?sponsor=1" + }, + "peerDependencies": { + "ky": ">=0.31.4", + "web-streams-polyfill": ">=3.2.1" + }, + "peerDependenciesMeta": { + "web-streams-polyfill": { + "optional": true + } + } + }, + "node_modules/ky-universal/node_modules/node-fetch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, "node_modules/least-recent": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/least-recent/-/least-recent-1.0.3.tgz", @@ -15088,9 +15215,9 @@ } }, "node_modules/nanoid": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.4.tgz", - "integrity": "sha512-vAjmBf13gsmhXSgBrtIclinISzFFy22WwCYoyilZlsrRXNIHSwgFQ1bEdjRwMT3aoadeIF6HMuDRlOxzfXV8ig==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", + "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", "dev": true, "funding": [ { @@ -15102,7 +15229,7 @@ "nanoid": "bin/nanoid.js" }, "engines": { - "node": "^18 || >=20" + "node": "^14 || ^16 || >=18" } }, "node_modules/napi-macros": { @@ -15315,6 +15442,24 @@ "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==", "dev": true }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "engines": { + "node": ">=10.5.0" + } + }, "node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -19836,6 +19981,16 @@ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "dev": true }, + "node_modules/progress-events": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/progress-events/-/progress-events-1.0.0.tgz", + "integrity": "sha512-zIB6QDrSbPfRg+33FZalluFIowkbV5Xh1xSuetjG+rlC5he6u2dc6VQJ0TbMdlN3R1RHdpOqxEFMKTnQ+itUwA==", + "dev": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/promise-all-reject-late": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz", @@ -19919,13 +20074,28 @@ "dev": true }, "node_modules/protons-runtime": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.2.0.tgz", - "integrity": "sha512-jL3VSbXllgm17zurKQ/z+Ath0w+4BknJ+l/NLocfjAB8hbeASOZTNtb7zK3nDsKq2pHK9YFumNQvpkZ6gFfWhA==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.2.1.tgz", + "integrity": "sha512-Rt4ORm1WR62ysrXX5sCV32a5jPwVoIpU90XUzrdAfMIOSNTizvqlx/7wedNpogvZjUUY/gLJp3VftpA+ebx/og==", "dev": true, "dependencies": { "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.6" + "uint8arrays": "^5.0.1" + } + }, + "node_modules/protons-runtime/node_modules/multiformats": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/protons-runtime/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", + "dev": true, + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/proxy-addr": { @@ -20098,6 +20268,17 @@ "node": ">= 0.8" } }, + "node_modules/rdf-canonize": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-3.4.0.tgz", + "integrity": "sha512-fUeWjrkOO0t1rg7B2fdyDTvngj+9RlUyL92vOdiB7c0FPguWVsniIMjEtHH+meLBO9rzkUlUzBVXgWrjI8P9LA==", + "dependencies": { + "setimmediate": "^1.0.5" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/react-is": { "version": "18.2.0", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", @@ -20507,9 +20688,9 @@ "dev": true }, "node_modules/regenerator-runtime": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", - "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==", + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", "dev": true }, "node_modules/regexp-tree": { @@ -20778,9 +20959,9 @@ } }, "node_modules/rotating-file-stream": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/rotating-file-stream/-/rotating-file-stream-3.1.1.tgz", - "integrity": "sha512-PNF1iDkxcZG+T87uUzLlcO4aquTCyY8yl+Q/OTK4dMwhwWDYWU4ZATYeIXHmYVGIzqZ2MrpY4WIkYc9Bsc3Nzw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/rotating-file-stream/-/rotating-file-stream-3.2.1.tgz", + "integrity": "sha512-n2B18CJb+n2VA5Tdle+1NP2toEcRv68CjAOBjHmwcyswNwMVsrN3gVRZ9ymH3sapaiGY8jc9OhhV5b6I5rAeiA==", "dev": true, "engines": { "node": ">=14.0" @@ -21101,6 +21282,14 @@ "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", "dev": true }, + "node_modules/schema-dts": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/schema-dts/-/schema-dts-1.1.2.tgz", + "integrity": "sha512-MpNwH0dZJHinVxk9bT8XUdjKTxMYrA5bLtrrGmFA6PTLwlOKnhi67XoRd6/ty+Djt6ZC0slR57qFhZDNMI6DhQ==", + "peerDependencies": { + "typescript": ">=4.1.0" + } + }, "node_modules/scoped-regex": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/scoped-regex/-/scoped-regex-2.1.0.tgz", @@ -21277,7 +21466,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", - "dev": true, "dependencies": { "define-data-property": "^1.1.1", "get-intrinsic": "^1.2.1", @@ -21302,6 +21490,11 @@ "node": ">= 0.4" } }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -23338,22 +23531,52 @@ "dev": true }, "node_modules/uint8-varint": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-2.0.2.tgz", - "integrity": "sha512-LZXmBT0jiHR7J4oKM1GUhtdLFW1yPauzI8NjJlotXn92TprO9u8VMvEVR4QMk8xhUVUd+2fqfU2/kGbVHYSSWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-2.0.3.tgz", + "integrity": "sha512-seXTM8ba4uuAMDgi3UHXPdDxCBKjWWZigW+F+1ESPhOZv9ekT1qmbdzYHLSNA+u+wHj10P55dQ41y2Qh7NOqiA==", "dev": true, "dependencies": { "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.0" + } + }, + "node_modules/uint8-varint/node_modules/multiformats": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/uint8-varint/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", + "dev": true, + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/uint8arraylist": { - "version": "2.4.7", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.7.tgz", - "integrity": "sha512-ohRElqR6C5dd60vRFLq40MCiSnUe1AzkpHvbCEMCGGP6zMoFYECsjdhL6bR1kTK37ONNRDuHQ3RIpScRYcYYIg==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.8.tgz", + "integrity": "sha512-vc1PlGOzglLF0eae1M8mLRTBivsvrGsdmJ5RbK3e+QRvRLOZfZhQROTwH/OfyF3+ZVUg9/8hE8bmKP2CvP9quQ==", "dev": true, "dependencies": { - "uint8arrays": "^4.0.2" + "uint8arrays": "^5.0.1" + } + }, + "node_modules/uint8arraylist/node_modules/multiformats": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.0.0.tgz", + "integrity": "sha512-xiIB0p7EKmETm3wyKedOg/xuyQ18PoWwXCzzgpZAiDxL9ktl3XTh8AqoDT5kAqRg+DU48XAGPsUJL2Rn6Bx3Lw==", + "dev": true + }, + "node_modules/uint8arraylist/node_modules/uint8arrays": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.1.tgz", + "integrity": "sha512-ND5RpJAnPgHmZT7hWD/2T4BwRp04j8NLKvMKC/7bhiEwEjUMkQ4kvBKiH6hOqbljd6qJ2xS8reL3vl1e33grOQ==", + "dev": true, + "dependencies": { + "multiformats": "^13.0.0" } }, "node_modules/uint8arrays": { @@ -23392,7 +23615,6 @@ "version": "5.28.2", "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.2.tgz", "integrity": "sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==", - "dev": true, "dependencies": { "@fastify/busboy": "^2.0.0" }, @@ -23530,7 +23752,6 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "dev": true, "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -23863,6 +24084,14 @@ "defaults": "^1.0.3" } }, + "node_modules/web-streams-polyfill": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", + "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", + "engines": { + "node": ">= 8" + } + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -23937,7 +24166,6 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", - "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.4", @@ -25526,6 +25754,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/zod": { + "version": "3.22.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", + "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "packages/cli": { "name": "@desci-labs/desci-codex-cli", "version": "0.0.0", @@ -25577,10 +25813,10 @@ "@composedb/types": "^0.6.0" }, "devDependencies": { - "@ceramicnetwork/cli": "^3.0.0", - "@ceramicnetwork/http-client": "^3.0.0", - "@composedb/devtools": "^0.6.0", - "@composedb/devtools-node": "^0.6.0", + "@ceramicnetwork/cli": "^3.1.0", + "@ceramicnetwork/http-client": "^3.1.0", + "@composedb/devtools": "^0.6.1", + "@composedb/devtools-node": "^0.6.1", "dids": "^4.0.4", "key-did-provider-ed25519": "^3.0.2", "key-did-resolver": "^3.0.0", diff --git a/package.json b/package.json index 9c410d1..199d765 100644 --- a/package.json +++ b/package.json @@ -25,5 +25,8 @@ "prettier": "^3.1.0", "typedoc": "^0.25.4", "typescript": "^5.2.2" + }, + "dependencies": { + "@desci-labs/desci-models": "^0.1.22" } } diff --git a/packages/composedb/.gitignore b/packages/composedb/.gitignore index 83d7ebf..cd5ba07 100644 --- a/packages/composedb/.gitignore +++ b/packages/composedb/.gitignore @@ -1,3 +1,2 @@ src/__generated__/* !src/__generates__/*.d.ts - diff --git a/packages/composedb/composites/1-claim.graphql b/packages/composedb/composites/1-claim.graphql index 8d20dfc..05fb7b7 100644 --- a/packages/composedb/composites/1-claim.graphql +++ b/packages/composedb/composites/1-claim.graphql @@ -3,8 +3,9 @@ type Claim accountRelation: LIST description: "A reusable claim to be granted via attestation" ) - @createIndex(fields: [{ path: "title" }]) - @createIndex(fields: [{ path: "badge" }]) { + # @createIndex(fields: [{ path: "title" }]) + # @createIndex(fields: [{ path: "badge" }]) +{ owner: DID! @documentAccount version: CommitID! @documentVersion title: String! @string(maxLength: 100) diff --git a/packages/composedb/composites/1-researchObject.graphql b/packages/composedb/composites/1-researchObject.graphql index 054465c..04b3e9c 100644 --- a/packages/composedb/composites/1-researchObject.graphql +++ b/packages/composedb/composites/1-researchObject.graphql @@ -1,6 +1,7 @@ type ResearchObject @createModel(accountRelation: LIST, description: "A research object") - @createIndex(fields: [{ path: "title" }]) { + # @createIndex(fields: [{ path: "title" }]) +{ owner: DID! @documentAccount version: CommitID! @documentVersion title: String! @string(maxLength: 250) diff --git a/packages/composedb/composites/1-socialHandle.graphql b/packages/composedb/composites/1-socialHandle.graphql index 58a4b42..2de7989 100644 --- a/packages/composedb/composites/1-socialHandle.graphql +++ b/packages/composedb/composites/1-socialHandle.graphql @@ -1,7 +1,7 @@ type SocialHandle @createModel(accountRelation: LIST, description: "A social handle on other platforms") - @createIndex(fields: [{ path: "platform"}]) - @createIndex(fields: [{ path: "handle"}]) + # @createIndex(fields: [{ path: "platform"}]) + # @createIndex(fields: [{ path: "handle"}]) { owner: DID! @documentAccount version: CommitID! @documentVersion diff --git a/packages/composedb/composites/2-annotation.graphql b/packages/composedb/composites/2-annotation.graphql index 16abb84..0d352ae 100644 --- a/packages/composedb/composites/2-annotation.graphql +++ b/packages/composedb/composites/2-annotation.graphql @@ -8,10 +8,11 @@ type ResearchObject @loadModel(id: "$RESEARCH_OBJECT_ID") { type Annotation @createModel(accountRelation: LIST, description: "Textual commentary") - @createIndex(fields: [{ path: "targetID" }]) - @createIndex(fields: [{ path: "claimID" }]) - @createIndex(fields: [{ path: "researchObjectID" }]) - @createIndex(fields: [{ path: "dagNode" }]) { + # @createIndex(fields: [{ path: "targetID" }]) + # @createIndex(fields: [{ path: "claimID" }]) + # @createIndex(fields: [{ path: "researchObjectID" }]) + # @createIndex(fields: [{ path: "dagNode" }]) +{ owner: DID! @documentAccount version: CommitID! @documentVersion diff --git a/packages/composedb/composites/2-attestation.graphql b/packages/composedb/composites/2-attestation.graphql index 423974a..5f2e405 100644 --- a/packages/composedb/composites/2-attestation.graphql +++ b/packages/composedb/composites/2-attestation.graphql @@ -4,9 +4,10 @@ type Claim @loadModel(id: "$CLAIM_ID") { type Attestation @createModel(accountRelation: LIST, description: "General attestation") - @createIndex(fields: [{ path: "revoked" }]) - @createIndex(fields: [{ path: "targetVersion" }]) - @createIndex(fields: [{ path: "claimVersion" }]) { + # @createIndex(fields: [{ path: "revoked" }]) + # @createIndex(fields: [{ path: "targetVersion" }]) + # @createIndex(fields: [{ path: "claimVersion" }]) +{ owner: DID! @documentAccount version: CommitID! @documentVersion # 1. Any type of document, shown with relation on reciever end but cannot use diff --git a/packages/composedb/composites/2-contributorRelation.graphql b/packages/composedb/composites/2-contributorRelation.graphql index eb5bb05..e4bfd1f 100644 --- a/packages/composedb/composites/2-contributorRelation.graphql +++ b/packages/composedb/composites/2-contributorRelation.graphql @@ -11,9 +11,10 @@ type ContributorRelation accountRelation: LIST description: "List a contributor on a research object" ) - @createIndex(fields: [{ path: "role" }]) - @createIndex(fields: [{ path: "revoked" }]) - @createIndex(fields: [{ path: "researchObjectVersion" }]) { + # @createIndex(fields: [{ path: "role" }]) + # @createIndex(fields: [{ path: "revoked" }]) + # @createIndex(fields: [{ path: "researchObjectVersion" }]) +{ owner: DID! @documentAccount version: CommitID! @documentVersion diff --git a/packages/composedb/composites/2-referenceRelation.graphql b/packages/composedb/composites/2-referenceRelation.graphql index 13207cd..a4cae35 100644 --- a/packages/composedb/composites/2-referenceRelation.graphql +++ b/packages/composedb/composites/2-referenceRelation.graphql @@ -7,9 +7,10 @@ type ReferenceRelation accountRelation: LIST description: "Indicate a reference between research objects" ) - @createIndex(fields: [{ path: "fromVersion" }]) - @createIndex(fields: [{ path: "toVersion" }]) - @createIndex(fields: [{ path: "revoked" }]) { + # @createIndex(fields: [{ path: "fromVersion" }]) + # @createIndex(fields: [{ path: "toVersion" }]) + # @createIndex(fields: [{ path: "revoked" }]) +{ owner: DID! @documentAccount version: CommitID! @documentVersion diff --git a/packages/composedb/composites/2-researchComponent.graphql b/packages/composedb/composites/2-researchComponent.graphql index 7bf4e8c..c1847ec 100644 --- a/packages/composedb/composites/2-researchComponent.graphql +++ b/packages/composedb/composites/2-researchComponent.graphql @@ -7,10 +7,11 @@ type ResearchComponent accountRelation: LIST description: "A contextualized DAG pointer for a research object" ) - @createIndex(fields: [{ path: "mimeType" }]) - @createIndex(fields: [{ path: "researchObjectVersion" }]) + # @createIndex(fields: [{ path: "mimeType" }]) + # @createIndex(fields: [{ path: "researchObjectVersion" }]) # Don't join index with path as it prevents efficient reverse CID lookups - @createIndex(fields: [{ path: "dagNode" }]) { + # @createIndex(fields: [{ path: "dagNode" }]) +{ owner: DID! @documentAccount version: CommitID! @documentVersion name: String! @string(maxLength: 512) diff --git a/packages/composedb/package.json b/packages/composedb/package.json index 5cc1a0d..71933a5 100644 --- a/packages/composedb/package.json +++ b/packages/composedb/package.json @@ -13,10 +13,10 @@ "kill": "pkill --full \"ceramic daemon|ipfs daemon\"" }, "devDependencies": { - "@ceramicnetwork/cli": "^3.0.0", - "@ceramicnetwork/http-client": "^3.0.0", - "@composedb/devtools": "^0.6.0", - "@composedb/devtools-node": "^0.6.0", + "@ceramicnetwork/cli": "^3.1.0", + "@ceramicnetwork/http-client": "^3.1.0", + "@composedb/devtools": "^0.6.1", + "@composedb/devtools-node": "^0.6.1", "dids": "^4.0.4", "key-did-provider-ed25519": "^3.0.2", "key-did-resolver": "^3.0.0", diff --git a/packages/lib/package.json b/packages/lib/package.json index 5fd783c..eed75f8 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -5,6 +5,7 @@ "license": "MIT", "author": "Edvard Hübinette", "type": "module", + "main": "./dist/index.js", "scripts": { "build": "rm -rf ./dist && tsc --project tsconfig.build.json", "populate": "node --no-warnings=ExperimentalWarning --loader ts-node/esm scripts/populate.ts", diff --git a/packages/lib/src/types.ts b/packages/lib/src/types.ts index 9d20071..4cd4e75 100644 --- a/packages/lib/src/types.ts +++ b/packages/lib/src/types.ts @@ -332,7 +332,7 @@ export type PartialWithID = Partial & { /** * Get all keys of a union type, conditional to get union distribution. */ -type UnionKeys = T extends unknown ? keyof T : never; +export type UnionKeys = T extends unknown ? keyof T : never; /** * Omit from all subtypes in a union, like mapping `Omit` over all members. From 85859c0e763601a7379946162bf510af0a568fa4 Mon Sep 17 00:00:00 2001 From: m0ar Date: Fri, 12 Jan 2024 11:16:01 +0100 Subject: [PATCH 2/6] Fix flaky test re. revokation updates --- packages/lib/test/root.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/lib/test/root.spec.ts b/packages/lib/test/root.spec.ts index cd7a304..c26b2fc 100644 --- a/packages/lib/test/root.spec.ts +++ b/packages/lib/test/root.spec.ts @@ -662,6 +662,7 @@ describe("ComposeDB nodes", () => { composeClient, contributionData, ); + await waitAndSync(contribution.streamID); await updateContributorRelation(composeClient, { id: contribution.streamID, revoked: true, @@ -763,6 +764,7 @@ describe("ComposeDB nodes", () => { composeClient, referenceData, ); + await waitAndSync(reference.streamID); await updateReferenceRelation(composeClient, { id: reference.streamID, revoked: true, From 9b9950cfc94793680523a6b1e2e667246d73b1dc Mon Sep 17 00:00:00 2001 From: m0ar Date: Sun, 14 Jan 2024 14:17:49 +0100 Subject: [PATCH 3/6] Docs & license file --- packages/lib/LICENCE | 21 +++++++++++++++++++++ packages/lib/README.md | 18 +++++++++++++++--- packages/lib/package.json | 5 +++-- packages/lib/tsconfig.build.json | 15 --------------- 4 files changed, 39 insertions(+), 20 deletions(-) create mode 100644 packages/lib/LICENCE delete mode 100644 packages/lib/tsconfig.build.json diff --git a/packages/lib/LICENCE b/packages/lib/LICENCE new file mode 100644 index 0000000..058e300 --- /dev/null +++ b/packages/lib/LICENCE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 DeSci Labs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/lib/README.md b/packages/lib/README.md index df0f04d..94fc475 100644 --- a/packages/lib/README.md +++ b/packages/lib/README.md @@ -4,12 +4,24 @@ This package implements a typed API for interacting directly with Codex, by talking directly with a Ceramic and/or ComposeDB node. -## Usage +## Installation Install as dependency: -> Note: this package is currently not automatically published, but this works - regardless within the repo. +> Note: this package is currently not automatically published, but this will + work regardless for the other packages inside the repo (`-composedb` and `-cli`). ```bash npm install @desci-labs/desci-codex-lib ``` + +## Usage +Most functions require passing in a Ceramic or composeDB client, which can be +instantiated using the tools in `clients.ts`. Without explicit configuration, +the clients will default to a Ceramic node at `localhost:7007`. + +Do note that when running against a local node, you likely want to compile +and deploy the composites in `desci-codex-composedb`. + +### Tests +The test suite depends on the models in `desci-codex-composedb`, and are +easiest to invoke my running `make test` in the repo root instead of here. diff --git a/packages/lib/package.json b/packages/lib/package.json index eed75f8..c99bd5b 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -5,9 +5,10 @@ "license": "MIT", "author": "Edvard Hübinette", "type": "module", - "main": "./dist/index.js", + "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { - "build": "rm -rf ./dist && tsc --project tsconfig.build.json", + "build": "rm -rf ./dist && tsc", "populate": "node --no-warnings=ExperimentalWarning --loader ts-node/esm scripts/populate.ts", "test": "export ADMIN_SEED=$(<../composedb/admin_seed.txt) && vitest --run --config vitest.config.ts" }, diff --git a/packages/lib/tsconfig.build.json b/packages/lib/tsconfig.build.json deleted file mode 100644 index 14f489d..0000000 --- a/packages/lib/tsconfig.build.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "./tsconfig.json", - "exclude": [ - "test/**/*", - "vitest*", - "dist" - ], - "compilerOptions": { - "noEmit": false, - "outDir": "dist", - "declaration": true, - "declarationMap": true, - "sourceMap": true - } -} From e11c7988e2499a11a304eaa316c385a25320bf19 Mon Sep 17 00:00:00 2001 From: m0ar Date: Mon, 15 Jan 2024 14:18:19 +0100 Subject: [PATCH 4/6] export ceramic/composedb client types --- packages/lib/src/clients.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/lib/src/clients.ts b/packages/lib/src/clients.ts index fff664b..d883614 100644 --- a/packages/lib/src/clients.ts +++ b/packages/lib/src/clients.ts @@ -63,3 +63,5 @@ export const didFromSeed = async (seed: string) => { await did.authenticate(); return did; }; + +export type { ComposeClient, CeramicClient }; From 3440a38e07b4668e2905591f63f088b0785c0789 Mon Sep 17 00:00:00 2001 From: m0ar Date: Mon, 15 Jan 2024 14:27:39 +0100 Subject: [PATCH 5/6] Tidy for npm publish --- packages/lib/.npmignore | 9 +++++++++ packages/lib/package.json | 2 +- packages/lib/tsconfig.build.json | 8 ++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 packages/lib/.npmignore create mode 100644 packages/lib/tsconfig.build.json diff --git a/packages/lib/.npmignore b/packages/lib/.npmignore new file mode 100644 index 0000000..2632f3a --- /dev/null +++ b/packages/lib/.npmignore @@ -0,0 +1,9 @@ +node_modules +admin_seed.txt +local-data +composedb.config.json +test.config.json +*.tsbuildinfo +.vscode +dist/test/ +dist/scripts/ diff --git a/packages/lib/package.json b/packages/lib/package.json index c99bd5b..56d9ebe 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -8,7 +8,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "build": "rm -rf ./dist && tsc", + "build": "rm -rf ./dist && tsc --project tsconfig.build.json", "populate": "node --no-warnings=ExperimentalWarning --loader ts-node/esm scripts/populate.ts", "test": "export ADMIN_SEED=$(<../composedb/admin_seed.txt) && vitest --run --config vitest.config.ts" }, diff --git a/packages/lib/tsconfig.build.json b/packages/lib/tsconfig.build.json new file mode 100644 index 0000000..30d5275 --- /dev/null +++ b/packages/lib/tsconfig.build.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.json", + "exclude": [ + "test/**/*", + "vitest*", + "dist" + ] +} From a1ce9efed8f975c50d1e5c3d2a29bcf07ce01166 Mon Sep 17 00:00:00 2001 From: m0ar Date: Mon, 15 Jan 2024 14:48:15 +0100 Subject: [PATCH 6/6] Add npm publish workflow --- .github/workflows/publish.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..cb7ee4c --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,20 @@ +name: Publish codex-lib to npmjs +on: + release: + types: [published] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' + cache: "npm" + cache-dependency-path: "package-lock.json" + check-latest: false + registry-url: 'https://registry.npmjs.org' + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}