From 4b292fa6fd5e20f8e8fcdbcadaa424dcfca01d27 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 15 Apr 2024 08:38:55 +0100 Subject: [PATCH] fix: upgrade ucanto libs (#351) To not create diff in all packages while updating `upload-api` to include blob infra --- billing/package.json | 6 +- filecoin/package.json | 18 +- package-lock.json | 771 +++++++++++++++---------- roundabout/package.json | 3 +- tools/follow-filecoin-receipt-chain.js | 8 +- upload-api/package.json | 20 +- 6 files changed, 508 insertions(+), 318 deletions(-) diff --git a/billing/package.json b/billing/package.json index 81e117b4..468026df 100644 --- a/billing/package.json +++ b/billing/package.json @@ -11,9 +11,9 @@ "@aws-sdk/client-sqs": "^3.515.0", "@aws-sdk/util-dynamodb": "^3.515.0", "@sentry/serverless": "^7.74.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/server": "^9.0.1", - "@web3-storage/capabilities": "^13.1.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/server": "^10.0.0", + "@web3-storage/capabilities": "^13.3.0", "big.js": "^6.2.1", "multiformats": "^13.1.0", "p-retry": "^6.2.0", diff --git a/filecoin/package.json b/filecoin/package.json index da0b004f..1a9e6161 100644 --- a/filecoin/package.json +++ b/filecoin/package.json @@ -11,15 +11,15 @@ "@aws-sdk/client-sqs": "^3.515.0", "@ipld/car": "^5.2.6", "@sentry/serverless": "^7.74.1", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@web3-storage/data-segment": "^5.0.0", - "@web3-storage/filecoin-api": "^4.6.0", - "@web3-storage/filecoin-client": "^3.1.3", - "fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.1.1", + "@ucanto/client": "^9.0.1", + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/transport": "^9.1.1", + "@web3-storage/data-segment": "^5.1.0", + "@web3-storage/filecoin-api": "^4.6.1", + "@web3-storage/filecoin-client": "^3.3.1", + "fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.3.0", "multiformats": "^13.1.0", "p-retry": "^6.2.0", "uint8arrays": "4.0.6" diff --git a/package-lock.json b/package-lock.json index fefff850..08e7d4ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,9 +62,9 @@ "@aws-sdk/client-sqs": "^3.515.0", "@aws-sdk/util-dynamodb": "^3.515.0", "@sentry/serverless": "^7.74.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/server": "^9.0.1", - "@web3-storage/capabilities": "^13.1.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/server": "^10.0.0", + "@web3-storage/capabilities": "^13.3.0", "big.js": "^6.2.1", "multiformats": "^13.1.0", "p-retry": "^6.2.0", @@ -85,6 +85,56 @@ "node": ">=16.15" } }, + "billing/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", + "dependencies": { + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "billing/node_modules/@ucanto/core/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "billing/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, + "billing/node_modules/@ucanto/interface/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "billing/node_modules/@ucanto/server": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@ucanto/server/-/server-10.0.0.tgz", + "integrity": "sha512-JMDMT3tFRE0S1cdtx/Hhh7v9FizV6IS0fPrh6pcli7AzKvXVy8Xu6EQ/66Fax4AQM2tkGxNNxjj2wHM7P4CqAg==", + "dependencies": { + "@ucanto/core": "^10.0.0", + "@ucanto/interface": "^10.0.0", + "@ucanto/principal": "^9.0.0", + "@ucanto/validator": "^9.0.1" + } + }, "carpark": { "name": "@web3-storage/w3infra-carpark", "version": "0.0.0", @@ -111,15 +161,15 @@ "@aws-sdk/client-sqs": "^3.515.0", "@ipld/car": "^5.2.6", "@sentry/serverless": "^7.74.1", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@web3-storage/data-segment": "^5.0.0", - "@web3-storage/filecoin-api": "^4.6.0", - "@web3-storage/filecoin-client": "^3.1.3", - "fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.1.1", + "@ucanto/client": "^9.0.1", + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/transport": "^9.1.1", + "@web3-storage/data-segment": "^5.1.0", + "@web3-storage/filecoin-api": "^4.6.1", + "@web3-storage/filecoin-client": "^3.3.1", + "fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.3.0", "multiformats": "^13.1.0", "p-retry": "^6.2.0", "uint8arrays": "4.0.6" @@ -135,30 +185,56 @@ "testcontainers": "^10.7.1" } }, - "filecoin/node_modules/@web3-storage/capabilities": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-12.1.0.tgz", - "integrity": "sha512-SlYdPqCokDHb55zlZOvh+n8uEMOrEU413Z1MzQ8HvULpbzfcEtGyOiDgrAhdNEZtPnWHqaUEtU7o829Yw2Ra5w==", + "filecoin/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", "dependencies": { - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@ucanto/validator": "^9.0.1", - "@web3-storage/data-segment": "^3.2.0" + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" } }, - "filecoin/node_modules/@web3-storage/capabilities/node_modules/@web3-storage/data-segment": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-3.2.0.tgz", - "integrity": "sha512-SM6eNumXzrXiQE2/J59+eEgCRZNYPxKhRoHX2QvV3/scD4qgcf4g+paWBc3UriLEY1rCboygGoPsnqYJNyZyfA==", + "filecoin/node_modules/@ucanto/core/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "filecoin/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, + "filecoin/node_modules/@ucanto/interface/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "filecoin/node_modules/@web3-storage/data-segment": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-5.1.0.tgz", + "integrity": "sha512-FYdmtKvNiVz+maZ++k4PdD43rfJW5DeagLpstq2y84CyOKNRBWbHLCZ/Ec5zT9iGI+0WgsCGbpC/WlG0jlrnhA==", "dependencies": { "@ipld/dag-cbor": "^9.0.5", "multiformats": "^11.0.2", "sync-multihash-sha2": "^1.0.0" } }, - "filecoin/node_modules/@web3-storage/capabilities/node_modules/multiformats": { + "filecoin/node_modules/@web3-storage/data-segment/node_modules/multiformats": { "version": "11.0.2", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", @@ -168,16 +244,16 @@ } }, "filecoin/node_modules/@web3-storage/filecoin-client": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@web3-storage/filecoin-client/-/filecoin-client-3.2.0.tgz", - "integrity": "sha512-4kSyXcN7jPAnpO2U8afheYBRJ4E/8aRJvCvPgHF+HZEtEaLHYuuQzU72Aro94qV0bm5ZRxXPNh6wRSlz/XZLlg==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@web3-storage/filecoin-client/-/filecoin-client-3.3.1.tgz", + "integrity": "sha512-GLJW32stM0zhW6Tv9RX2QhXNaJpa3kBsNYyDeYn/VWqTHEhenruSdtseWBnyCi1Y3NGQ2xL/JojOCD94EXA4Yw==", "dependencies": { "@ipld/dag-ucan": "^3.4.0", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@web3-storage/capabilities": "^12.1.0" + "@ucanto/client": "^9.0.1", + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/transport": "^9.1.1", + "@web3-storage/capabilities": "^13.2.1" } }, "filecoin/node_modules/uint8arrays": { @@ -5389,12 +5465,42 @@ } }, "node_modules/@ucanto/client": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@ucanto/client/-/client-9.0.0.tgz", - "integrity": "sha512-Fl8ZGuWoVQygBtLISPlFb5Ej/LKUofghTTAT4kjFNc8WB9bD7AS+yvSPowwd+4uTnxfEOeKWV2lzO1+gRxQF0w==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/client/-/client-9.0.1.tgz", + "integrity": "sha512-cV8w3AnaZaYCdUmyFFICj8YhFckDoy2DvWgAzGDMkPz0WbUW4lw9Tjm4hEE8x5kiP47wYej/pHKWCcoELiU0qw==", "dependencies": { - "@ucanto/core": "^9.0.0", - "@ucanto/interface": "^9.0.0" + "@ucanto/core": "^10.0.0", + "@ucanto/interface": "^10.0.0" + } + }, + "node_modules/@ucanto/client/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", + "dependencies": { + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "node_modules/@ucanto/client/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, + "node_modules/@ucanto/client/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" } }, "node_modules/@ucanto/core": { @@ -5437,19 +5543,28 @@ } }, "node_modules/@ucanto/principal": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@ucanto/principal/-/principal-9.0.0.tgz", - "integrity": "sha512-3KpaZ0mNycDnDx2WJ9p5qnhTlc4YLFqmuClBpNJcGLk+begaeH7dUlzfxNtloSvZAeB67G03Y883CqiVhN6ZmA==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/principal/-/principal-9.0.1.tgz", + "integrity": "sha512-8eAvaZHW1vyET4X90rkJv6pmW1IOdEYlZYwO3wDgTkC5m9VytBEywCvpzP57cavdYIbbPse5QS9nMEGvk87zhw==", "dependencies": { "@ipld/dag-ucan": "^3.4.0", "@noble/curves": "^1.2.0", "@noble/ed25519": "^1.7.3", "@noble/hashes": "^1.3.2", - "@ucanto/interface": "^9.0.0", + "@ucanto/interface": "^10.0.0", "multiformats": "^11.0.2", "one-webcrypto": "^1.0.3" } }, + "node_modules/@ucanto/principal/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, "node_modules/@ucanto/principal/node_modules/multiformats": { "version": "11.0.2", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", @@ -5471,23 +5586,74 @@ } }, "node_modules/@ucanto/transport": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@ucanto/transport/-/transport-9.1.0.tgz", - "integrity": "sha512-3pLXEg9YIH0NN1faBh0Xaioxbb2JtPL+4AFtQtmO8LnRyqGnTahZwwaM8XFL5eMBAp0pYDoZaQ6wdMce0t1cAQ==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@ucanto/transport/-/transport-9.1.1.tgz", + "integrity": "sha512-3CR17nEemOVaTuMZa6waWgVL4sLxSPcxYvpaNeJ6NZo1rfsqdyRXOtbVV/RcI2BtUL0Cao6JM6P9+gdghfc5ng==", "dependencies": { - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0" + "@ucanto/core": "^10.0.0", + "@ucanto/interface": "^10.0.0" + } + }, + "node_modules/@ucanto/transport/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", + "dependencies": { + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "node_modules/@ucanto/transport/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, + "node_modules/@ucanto/transport/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" } }, "node_modules/@ucanto/validator": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/@ucanto/validator/-/validator-9.0.1.tgz", - "integrity": "sha512-H9GMOXHNW3vCv36eQZN1/h8zOXHEljRV5yNZ/huyOaJLVAKxt7Va1Ww8VBf2Ho/ac6P7jwvQRT7WgxaXx1/3Hg==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/@ucanto/validator/-/validator-9.0.2.tgz", + "integrity": "sha512-LxhRbDMIoLt9LYHq/Rz1WCEH8AtmdsBTS/it28Ij/A3W0zyoSwUpAUxBtXaKRh/gpbxdWmjxX+nVfFJYL//b4g==", "dependencies": { "@ipld/car": "^5.1.0", "@ipld/dag-cbor": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", + "@ucanto/core": "^10.0.0", + "@ucanto/interface": "^10.0.0", + "multiformats": "^11.0.2" + } + }, + "node_modules/@ucanto/validator/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", + "dependencies": { + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "node_modules/@ucanto/validator/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", "multiformats": "^11.0.2" } }, @@ -5566,20 +5732,20 @@ } }, "node_modules/@web3-storage/access": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@web3-storage/access/-/access-18.2.0.tgz", - "integrity": "sha512-EME/HViwasLsXmhGC3j93nxPwL3hfWHb5uD5sOw79PBDIGcPHYE3L9w3TQSDeKPXbA+mA4J7uWbAoTcoDkElSg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@web3-storage/access/-/access-18.3.0.tgz", + "integrity": "sha512-ZIadeNVKg49vSGs+Sr3l9th4GeyUKXypfeAOHyMgDr7GNvsOygWr13S9ty4I6NTxf4jhffSxEN4h7t8QsRpGlA==", "dependencies": { "@ipld/car": "^5.1.1", "@ipld/dag-ucan": "^3.4.0", "@scure/bip39": "^1.2.1", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@ucanto/validator": "^9.0.1", - "@web3-storage/capabilities": "^13.1.1", + "@ucanto/client": "^9.0.1", + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/transport": "^9.1.1", + "@ucanto/validator": "^9.0.2", + "@web3-storage/capabilities": "^13.3.0", "@web3-storage/did-mailto": "^2.1.0", "bigint-mod-arith": "^3.1.2", "conf": "11.0.2", @@ -5590,6 +5756,45 @@ "uint8arrays": "^4.0.6" } }, + "node_modules/@web3-storage/access/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", + "dependencies": { + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "node_modules/@web3-storage/access/node_modules/@ucanto/core/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@web3-storage/access/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, + "node_modules/@web3-storage/access/node_modules/@ucanto/interface/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@web3-storage/access/node_modules/multiformats": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", @@ -5600,16 +5805,38 @@ } }, "node_modules/@web3-storage/capabilities": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-13.2.0.tgz", - "integrity": "sha512-KYqyW4RNrDPdogSANcmME0+Ci+FLQfTCkYUMfpp67K5hymCz25e8KWSHBSR+lCO9ggSuD4q49zi1LEid8ISIQg==", + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-13.3.0.tgz", + "integrity": "sha512-ThxegNfpMOuhb1fh2DvOqoZFOSgzQvQQLWwBUzPiQJ7n1k6NK0IMFg56bMDxwjR4A85U2ymt3lVjQXPQZkPBmQ==", "dependencies": { - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.1.0", - "@ucanto/validator": "^9.0.1", - "@web3-storage/data-segment": "^3.2.0" + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/transport": "^9.1.1", + "@ucanto/validator": "^9.0.2", + "@web3-storage/data-segment": "^3.2.0", + "uint8arrays": "^5.0.3" + } + }, + "node_modules/@web3-storage/capabilities/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", + "dependencies": { + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "node_modules/@web3-storage/capabilities/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" } }, "node_modules/@web3-storage/capabilities/node_modules/@web3-storage/data-segment": { @@ -5631,6 +5858,19 @@ "npm": ">=7.0.0" } }, + "node_modules/@web3-storage/capabilities/node_modules/uint8arrays": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.0.3.tgz", + "integrity": "sha512-6LBuKji28kHjgPJMkQ6GDaBb1lRwIhyOYq6pDGwYMoDPfImE9SkuYENVmR0yu9yGgs2clHUSY9fKDukR+AXfqQ==", + "dependencies": { + "multiformats": "^13.0.0" + } + }, + "node_modules/@web3-storage/capabilities/node_modules/uint8arrays/node_modules/multiformats": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.1.0.tgz", + "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==" + }, "node_modules/@web3-storage/content-claims": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/@web3-storage/content-claims/-/content-claims-3.2.1.tgz", @@ -5656,6 +5896,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-5.0.0.tgz", "integrity": "sha512-5CbElsxec2DsKhEHEh3XRGISAyna+bCjKjjvFrLcYyXLCaiSt/nF3ypcllxwjpE4newMUArymGKGzzZnRWL2kg==", + "dev": true, "dependencies": { "@ipld/dag-cbor": "^9.0.5", "multiformats": "^11.0.2", @@ -5666,6 +5907,7 @@ "version": "11.0.2", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "dev": true, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -5680,18 +5922,18 @@ } }, "node_modules/@web3-storage/filecoin-api": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/@web3-storage/filecoin-api/-/filecoin-api-4.6.0.tgz", - "integrity": "sha512-9uy5aXxERE/DvJgFlljqgiGkmj3HCWcj6PqjMOAaemiyI0wPKoIdfO0P7sH4d0wz87Iiz7y9Kxwf3VGhGqoB2g==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/@web3-storage/filecoin-api/-/filecoin-api-4.6.1.tgz", + "integrity": "sha512-F6SfA7DP1lol8tTEF4W4pdOqKrIqzGwM5BN4sl8iXfZigFsSKu1/cVqbJhvZGl+NVpSpOkqM6KyQFbAm1cpn+g==", "dependencies": { "@ipld/dag-ucan": "^3.4.0", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/server": "^9.0.1", - "@ucanto/transport": "^9.1.0", - "@web3-storage/capabilities": "^13.2.0", - "@web3-storage/content-claims": "^4.0.2", + "@ucanto/client": "^9.0.1", + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/server": "^10.0.0", + "@ucanto/transport": "^9.1.1", + "@web3-storage/capabilities": "^13.2.1", + "@web3-storage/content-claims": "^4.0.4", "@web3-storage/data-segment": "^4.0.0", "fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.3.0", "p-map": "^6.0.0" @@ -5700,15 +5942,47 @@ "node": ">=16.15" } }, - "node_modules/@web3-storage/filecoin-api/node_modules/@web3-storage/content-claims": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@web3-storage/content-claims/-/content-claims-4.0.2.tgz", - "integrity": "sha512-k6tIc7YjQtdKWi01r7+5stp2lo13ztwpIz+7NQYEbu5fZEsKKes5B4FKRqPWkZYO17+rPaihOY6sICT498c9EA==", + "node_modules/@web3-storage/filecoin-api/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", "dependencies": { - "@ucanto/client": "^9.0.0", - "@ucanto/interface": "^9.0.0", - "@ucanto/server": "^9.0.1", - "@ucanto/transport": "^9.0.0", + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "node_modules/@web3-storage/filecoin-api/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, + "node_modules/@web3-storage/filecoin-api/node_modules/@ucanto/server": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@ucanto/server/-/server-10.0.0.tgz", + "integrity": "sha512-JMDMT3tFRE0S1cdtx/Hhh7v9FizV6IS0fPrh6pcli7AzKvXVy8Xu6EQ/66Fax4AQM2tkGxNNxjj2wHM7P4CqAg==", + "dependencies": { + "@ucanto/core": "^10.0.0", + "@ucanto/interface": "^10.0.0", + "@ucanto/principal": "^9.0.0", + "@ucanto/validator": "^9.0.1" + } + }, + "node_modules/@web3-storage/filecoin-api/node_modules/@web3-storage/content-claims": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@web3-storage/content-claims/-/content-claims-4.0.4.tgz", + "integrity": "sha512-zt5psR3SkLbPPHzGzhFXYSJEssDl/ELYbNhEez+tNZLZiagv3Vl0RSt+x3CFFgR5ovO6Zn+pLJJcMjpMiHw0Yw==", + "dependencies": { + "@ucanto/client": "^9.0.1", + "@ucanto/interface": "^10.0.0", + "@ucanto/server": "^10.0.0", + "@ucanto/transport": "^9.1.1", "carstream": "^1.0.2", "multiformats": "^12.0.1" } @@ -5804,57 +6078,6 @@ "@noble/hashes": "^1.0.0" } }, - "node_modules/@web3-storage/upload-api": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@web3-storage/upload-api/-/upload-api-9.0.0.tgz", - "integrity": "sha512-zpCeRZtHCbqhodUp/DPXM3Majnb02koP0j02RutqTy2VGKzvlC0Jbx5T4AhLKVj2zLzyZy9jm7eqjJbsXwH+qA==", - "dependencies": { - "@ucanto/client": "^9.0.0", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/server": "^9.0.1", - "@ucanto/transport": "^9.1.0", - "@ucanto/validator": "^9.0.1", - "@web3-storage/access": "^18.2.0", - "@web3-storage/capabilities": "^13.2.0", - "@web3-storage/did-mailto": "^2.1.0", - "@web3-storage/filecoin-api": "^4.6.0", - "multiformats": "^12.1.2", - "p-retry": "^5.1.2" - }, - "engines": { - "node": ">=16.15" - } - }, - "node_modules/@web3-storage/upload-api/node_modules/@types/retry": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.1.tgz", - "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==" - }, - "node_modules/@web3-storage/upload-api/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@web3-storage/upload-api/node_modules/p-retry": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-5.1.2.tgz", - "integrity": "sha512-couX95waDu98NfNZV+i/iLt+fdVxmI7CbrrdC2uDWfPdUAApyxT4wmDlyOtR5KtTDmkDO0zDScDjDou9YHhd9g==", - "dependencies": { - "@types/retry": "0.12.1", - "retry": "^0.13.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@web3-storage/upload-client": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/@web3-storage/upload-client/-/upload-client-13.0.1.tgz", @@ -18043,8 +18266,7 @@ "devDependencies": { "@ipld/car": "^5.1.1", "@ipld/dag-pb": "^3.0.0", - "@web3-storage/data-segment": "^5.0.0", - "@web3-storage/w3up-client": "^9.2.2", + "@web3-storage/data-segment": "^5.1.0", "ava": "^4.3.3", "multiformats": "^11.0.2", "nanoid": "^4.0.0", @@ -18052,65 +18274,10 @@ "testcontainers": "^10.7.1" } }, - "roundabout/node_modules/@types/retry": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.1.tgz", - "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==", - "dev": true - }, - "roundabout/node_modules/@web3-storage/access": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/@web3-storage/access/-/access-16.4.0.tgz", - "integrity": "sha512-psFZiSrm8S50MJ8Zkljn6GNfd6xFkEo/Awhd/1b3gAZh3CViANTHoKVqez7MVT+YxogJa5uQ+ddneLadpg4aAA==", - "dev": true, - "dependencies": { - "@ipld/car": "^5.1.1", - "@ipld/dag-ucan": "^3.4.0", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.0", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@ucanto/validator": "^9.0.0", - "@web3-storage/capabilities": "^11.1.0", - "@web3-storage/did-mailto": "^2.0.2", - "bigint-mod-arith": "^3.1.2", - "conf": "11.0.2", - "multiformats": "^12.1.2", - "one-webcrypto": "git://github.com/web3-storage/one-webcrypto.git", - "p-defer": "^4.0.0", - "type-fest": "^3.3.0", - "uint8arrays": "^4.0.6" - } - }, - "roundabout/node_modules/@web3-storage/access/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" - } - }, - "roundabout/node_modules/@web3-storage/capabilities": { - "version": "11.4.1", - "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-11.4.1.tgz", - "integrity": "sha512-PjIewEg/T3wfNavxzsZZ5MpH2WBldNz94qOQOKg5iH/4UrS8SPWWGsJx/Tu760O+PFhpTFwvi5cHCtkb08OdAA==", - "dev": true, - "dependencies": { - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@ucanto/validator": "^9.0.0", - "@web3-storage/data-segment": "^3.2.0" - } - }, - "roundabout/node_modules/@web3-storage/capabilities/node_modules/@web3-storage/data-segment": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-3.2.0.tgz", - "integrity": "sha512-SM6eNumXzrXiQE2/J59+eEgCRZNYPxKhRoHX2QvV3/scD4qgcf4g+paWBc3UriLEY1rCboygGoPsnqYJNyZyfA==", + "roundabout/node_modules/@web3-storage/data-segment": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-5.1.0.tgz", + "integrity": "sha512-FYdmtKvNiVz+maZ++k4PdD43rfJW5DeagLpstq2y84CyOKNRBWbHLCZ/Ec5zT9iGI+0WgsCGbpC/WlG0jlrnhA==", "dev": true, "dependencies": { "@ipld/dag-cbor": "^9.0.5", @@ -18118,71 +18285,6 @@ "sync-multihash-sha2": "^1.0.0" } }, - "roundabout/node_modules/@web3-storage/upload-client": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/@web3-storage/upload-client/-/upload-client-11.1.0.tgz", - "integrity": "sha512-MzGhOv6+Y/feV6F0J7/TslHwrRM/oJvGIob/ZRwYmRfRk8qnOf4nmRbfVyc4cyG2Dsfyjhlv+mtF6qOaVwiT2Q==", - "dev": true, - "dependencies": { - "@ipld/car": "^5.2.2", - "@ipld/dag-cbor": "^9.0.6", - "@ipld/dag-ucan": "^3.4.0", - "@ipld/unixfs": "^2.1.1", - "@ucanto/client": "^9.0.0", - "@ucanto/interface": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@web3-storage/capabilities": "^11.1.0", - "fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.1.0", - "ipfs-utils": "^9.0.14", - "multiformats": "^12.1.2", - "p-retry": "^5.1.2", - "parallel-transform-web": "^1.0.0", - "varint": "^6.0.0" - } - }, - "roundabout/node_modules/@web3-storage/upload-client/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" - } - }, - "roundabout/node_modules/@web3-storage/upload-client/node_modules/p-retry": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-5.1.2.tgz", - "integrity": "sha512-couX95waDu98NfNZV+i/iLt+fdVxmI7CbrrdC2uDWfPdUAApyxT4wmDlyOtR5KtTDmkDO0zDScDjDou9YHhd9g==", - "dev": true, - "dependencies": { - "@types/retry": "0.12.1", - "retry": "^0.13.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "roundabout/node_modules/@web3-storage/w3up-client": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/@web3-storage/w3up-client/-/w3up-client-9.2.2.tgz", - "integrity": "sha512-vBHBj05xMs3P5ijuQHupsgFFONYZUuNOUfzoKNvfaIw9pT/NNZ1HHu9SZ2xzv4yf/u7GgBMyCbFS1Yjak1cICQ==", - "dev": true, - "dependencies": { - "@ipld/dag-ucan": "^3.4.0", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.0", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/transport": "^9.0.0", - "@web3-storage/access": "^16.4.0", - "@web3-storage/capabilities": "^11.1.0", - "@web3-storage/upload-client": "^11.1.0" - } - }, "roundabout/node_modules/multiformats": { "version": "11.0.2", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", @@ -18193,18 +18295,6 @@ "npm": ">=7.0.0" } }, - "roundabout/node_modules/type-fest": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", - "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", - "dev": true, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "satnav": { "name": "@web3-storage/w3infra-satnav", "version": "0.0.0", @@ -18284,18 +18374,18 @@ "@aws-sdk/util-dynamodb": "^3.515.0", "@ipld/dag-ucan": "^3.0.1", "@sentry/serverless": "^7.74.1", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/server": "^9.0.1", - "@ucanto/transport": "^9.0.0", - "@ucanto/validator": "^9.0.1", + "@ucanto/client": "^9.0.1", + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/server": "^10.0.0", + "@ucanto/transport": "^9.1.1", + "@ucanto/validator": "^9.0.2", "@web-std/fetch": "^4.1.0", - "@web3-storage/access": "^18.2.0", - "@web3-storage/capabilities": "^13.1.1", + "@web3-storage/access": "^18.3.0", + "@web3-storage/capabilities": "^13.3.0", "@web3-storage/did-mailto": "^2.1.0", - "@web3-storage/upload-api": "^9.0.0", + "@web3-storage/upload-api": "9.0.1", "multiformats": "^13.1.0", "nanoid": "^5.0.2", "preact": "^10.14.1", @@ -18323,6 +18413,61 @@ "node": ">=16.15" } }, + "upload-api/node_modules/@types/retry": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.1.tgz", + "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==" + }, + "upload-api/node_modules/@ucanto/core": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/core/-/core-10.0.1.tgz", + "integrity": "sha512-1BfUaJu0/c9Rl/WdZSDbScJJLsPsPe1g4ynl5kubUj3xDD/lyp/Q12PQVQ2X7hDiWwkpwmxCkRMkOxwc70iNKQ==", + "dependencies": { + "@ipld/car": "^5.1.0", + "@ipld/dag-cbor": "^9.0.0", + "@ipld/dag-ucan": "^3.4.0", + "@ucanto/interface": "^10.0.1", + "multiformats": "^11.0.2" + } + }, + "upload-api/node_modules/@ucanto/core/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "upload-api/node_modules/@ucanto/interface": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@ucanto/interface/-/interface-10.0.1.tgz", + "integrity": "sha512-+Vr/N4mLsdynV9/bqtdFiq7WsUf3265/Qx2aHJmPtXo9/QvWKthJtpe0g8U4NWkWpVfqIFvyAO2db6D9zWQfQw==", + "dependencies": { + "@ipld/dag-ucan": "^3.4.0", + "multiformats": "^11.0.2" + } + }, + "upload-api/node_modules/@ucanto/interface/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "upload-api/node_modules/@ucanto/server": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@ucanto/server/-/server-10.0.0.tgz", + "integrity": "sha512-JMDMT3tFRE0S1cdtx/Hhh7v9FizV6IS0fPrh6pcli7AzKvXVy8Xu6EQ/66Fax4AQM2tkGxNNxjj2wHM7P4CqAg==", + "dependencies": { + "@ucanto/core": "^10.0.0", + "@ucanto/interface": "^10.0.0", + "@ucanto/principal": "^9.0.0", + "@ucanto/validator": "^9.0.1" + } + }, "upload-api/node_modules/@web-std/blob": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@web-std/blob/-/blob-3.0.4.tgz", @@ -18342,6 +18487,52 @@ "web-streams-polyfill": "^3.1.1" } }, + "upload-api/node_modules/@web3-storage/upload-api": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@web3-storage/upload-api/-/upload-api-9.0.1.tgz", + "integrity": "sha512-DbxQPmdwu8awZbPoMnn44mJiO3UTV7OtIRDnW2GzwNKQDADMKFHnt0cUqsUrG7SiaGA80dOthnrLsIYIHpZ80A==", + "dependencies": { + "@ucanto/client": "^9.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/server": "^10.0.0", + "@ucanto/transport": "^9.1.1", + "@ucanto/validator": "^9.0.2", + "@web3-storage/access": "^18.2.0", + "@web3-storage/capabilities": "^13.2.1", + "@web3-storage/did-mailto": "^2.1.0", + "@web3-storage/filecoin-api": "^4.6.1", + "multiformats": "^12.1.2", + "p-retry": "^5.1.2" + }, + "engines": { + "node": ">=16.15" + } + }, + "upload-api/node_modules/@web3-storage/upload-api/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "upload-api/node_modules/@web3-storage/upload-api/node_modules/p-retry": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-5.1.2.tgz", + "integrity": "sha512-couX95waDu98NfNZV+i/iLt+fdVxmI7CbrrdC2uDWfPdUAApyxT4wmDlyOtR5KtTDmkDO0zDScDjDou9YHhd9g==", + "dependencies": { + "@types/retry": "0.12.1", + "retry": "^0.13.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "upload-api/node_modules/nanoid": { "version": "5.0.6", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.6.tgz", diff --git a/roundabout/package.json b/roundabout/package.json index 94262034..34056af5 100644 --- a/roundabout/package.json +++ b/roundabout/package.json @@ -16,8 +16,7 @@ "devDependencies": { "@ipld/car": "^5.1.1", "@ipld/dag-pb": "^3.0.0", - "@web3-storage/data-segment": "^5.0.0", - "@web3-storage/w3up-client": "^9.2.2", + "@web3-storage/data-segment": "^5.1.0", "ava": "^4.3.3", "multiformats": "^11.0.2", "nanoid": "^4.0.0", diff --git a/tools/follow-filecoin-receipt-chain.js b/tools/follow-filecoin-receipt-chain.js index 12dcec98..c9633e7a 100644 --- a/tools/follow-filecoin-receipt-chain.js +++ b/tools/follow-filecoin-receipt-chain.js @@ -60,7 +60,7 @@ export async function followFilecoinReceiptChain () { console.log('piece/offer', filecoinSubmitReceiptGet.ok.fx.join) // Get `piece/offer` receipt - const pieceOfferReceiptGet = await receiptStore.get(filecoinSubmitReceiptGet.ok.fx.join) + const pieceOfferReceiptGet = await receiptStore.get(filecoinSubmitReceiptGet.ok.fx.join.link()) if (pieceOfferReceiptGet.error) throw new Error('could not find receipt') console.log('out:', pieceOfferReceiptGet.ok.out) @@ -68,7 +68,7 @@ export async function followFilecoinReceiptChain () { console.log('piece/accept', pieceOfferReceiptGet.ok.fx.join) // Get `piece/accept` receipt - const pieceAcceptReceiptGet = await receiptStore.get(pieceOfferReceiptGet.ok.fx.join) + const pieceAcceptReceiptGet = await receiptStore.get(pieceOfferReceiptGet.ok.fx.join.link()) if (pieceAcceptReceiptGet.error) throw new Error('could not find receipt') console.log('out:', pieceOfferReceiptGet.ok.out) @@ -76,7 +76,7 @@ export async function followFilecoinReceiptChain () { console.log('aggregate/offer', pieceAcceptReceiptGet.ok.fx.join) // Get `aggregate/offer` receipt - const aggregateOfferReceiptGet = await receiptStore.get(pieceAcceptReceiptGet.ok.fx.join) + const aggregateOfferReceiptGet = await receiptStore.get(pieceAcceptReceiptGet.ok.fx.join.link()) if (aggregateOfferReceiptGet.error) throw new Error('could not find receipt') console.log('out:', aggregateOfferReceiptGet.ok.out) @@ -84,7 +84,7 @@ export async function followFilecoinReceiptChain () { console.log('aggregate/accept', aggregateOfferReceiptGet.ok.fx.join) // Get `aggregate/accept` receipt - const aggregateAcceptReceiptGet = await receiptStore.get(pieceAcceptReceiptGet.ok.fx.join) + const aggregateAcceptReceiptGet = await receiptStore.get(pieceAcceptReceiptGet.ok.fx.join.link()) if (aggregateAcceptReceiptGet.error) throw new Error('could not find receipt') console.log('out:', aggregateAcceptReceiptGet.ok.out) diff --git a/upload-api/package.json b/upload-api/package.json index 5d297000..c6e57cd1 100644 --- a/upload-api/package.json +++ b/upload-api/package.json @@ -14,18 +14,18 @@ "@aws-sdk/util-dynamodb": "^3.515.0", "@ipld/dag-ucan": "^3.0.1", "@sentry/serverless": "^7.74.1", - "@ucanto/client": "^9.0.0", - "@ucanto/core": "^9.0.1", - "@ucanto/interface": "^9.0.0", - "@ucanto/principal": "^9.0.0", - "@ucanto/server": "^9.0.1", - "@ucanto/transport": "^9.0.0", - "@ucanto/validator": "^9.0.1", + "@ucanto/client": "^9.0.1", + "@ucanto/core": "^10.0.1", + "@ucanto/interface": "^10.0.1", + "@ucanto/principal": "^9.0.1", + "@ucanto/server": "^10.0.0", + "@ucanto/transport": "^9.1.1", + "@ucanto/validator": "^9.0.2", "@web-std/fetch": "^4.1.0", - "@web3-storage/access": "^18.2.0", - "@web3-storage/capabilities": "^13.1.1", + "@web3-storage/access": "^18.3.0", + "@web3-storage/capabilities": "^13.3.0", "@web3-storage/did-mailto": "^2.1.0", - "@web3-storage/upload-api": "^9.0.0", + "@web3-storage/upload-api": "^9.0.1", "multiformats": "^13.1.0", "nanoid": "^5.0.2", "preact": "^10.14.1",