From fb2e99d5e62e7eb8ddbe807955a4514185317fa9 Mon Sep 17 00:00:00 2001 From: Petra Jaros Date: Tue, 22 Oct 2024 12:40:46 -0400 Subject: [PATCH] feat: Update access client for space reloading (#431) --- package-lock.json | 55 ++++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7ab7ec9b..281a02e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,7 @@ "@ucanto/validator": "^9.0.2", "@web-std/blob": "^3.0.4", "@web-std/fetch": "^4.1.0", - "@web3-storage/access": "^20.0.0", + "@web3-storage/access": "^20.1.0", "@web3-storage/blob-index": "^1.0.2", "@web3-storage/capabilities": "^17.2.0", "@web3-storage/content-claims": "^5.1.0", @@ -7944,9 +7944,10 @@ } }, "node_modules/@ipld/dag-cbor": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.2.0.tgz", - "integrity": "sha512-N14oMy0q4gM6OuZkIpisKe0JBSjf1Jb39VI+7jMLiWX9124u1Z3Fdj/Tag1NA0cVxxqWDh0CqsjcVfOKtelPDA==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.2.1.tgz", + "integrity": "sha512-nyY48yE7r3dnJVlxrdaimrbloh4RokQaNRdI//btfTkcTEZbpmSrbYcBQ4VKTf8ZxXAOUJy4VsRpkJo+y9RTnA==", + "license": "Apache-2.0 OR MIT", "dependencies": { "cborg": "^4.0.0", "multiformats": "^13.1.0" @@ -11423,6 +11424,12 @@ "node": ">=16.0.0" } }, + "node_modules/@storacha/one-webcrypto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@storacha/one-webcrypto/-/one-webcrypto-1.0.1.tgz", + "integrity": "sha512-bD+vWmcgsEBqU0Dz04BR43SA03bBoLTAY29vaKasY9Oe8cb6XIP0/vkm0OS2UwKC13c8uRgFW4rjJUgDCNLejQ==", + "license": "MIT" + }, "node_modules/@trpc/server": { "version": "9.16.0", "resolved": "https://registry.npmjs.org/@trpc/server/-/server-9.16.0.tgz", @@ -12194,25 +12201,26 @@ } }, "node_modules/@web3-storage/access": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@web3-storage/access/-/access-20.0.0.tgz", - "integrity": "sha512-kl2b3ZuN3NvAxDM6K8GlPgu1o67JtA3EGId8Bg+tFRqZiQlERQmMMOfLl8zKVOUvlq4bDFtWHl6EViLO4BwSJw==", + "version": "20.1.0", + "resolved": "https://registry.npmjs.org/@web3-storage/access/-/access-20.1.0.tgz", + "integrity": "sha512-IY6ICPRWE8++2jxvy+LzAiFvwAOIHR8cu9eNt+VT5sAFE796o4ma7GSU0eXRCiShmV2n6iSWAwWRT6XD5zIqPA==", + "license": "(Apache-2.0 OR MIT)", "dependencies": { "@ipld/car": "^5.1.1", "@ipld/dag-ucan": "^3.4.0", "@scure/bip39": "^1.2.1", + "@storacha/one-webcrypto": "^1.0.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": "^17.1.1", + "@web3-storage/capabilities": "^17.3.0", "@web3-storage/did-mailto": "^2.1.0", "bigint-mod-arith": "^3.1.2", "conf": "11.0.2", "multiformats": "^12.1.2", - "one-webcrypto": "git+https://github.com/web3-storage/one-webcrypto.git", "p-defer": "^4.0.0", "type-fest": "^4.9.0", "uint8arrays": "^4.0.6" @@ -12253,38 +12261,31 @@ } }, "node_modules/@web3-storage/capabilities": { - "version": "17.2.0", - "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-17.2.0.tgz", - "integrity": "sha512-hnJGIQcCAMBbR8sfgkEwnjBVcpNpNRBnzSEB2E/wKkKIjHKimw3ClsVznu6jjFExCXFaKHd6r1eAU4NcTYsueg==", + "version": "17.3.0", + "resolved": "https://registry.npmjs.org/@web3-storage/capabilities/-/capabilities-17.3.0.tgz", + "integrity": "sha512-9415OPNVYO5gXDVf1vzZywkjndKTVA9IPnU04lQXxUaYfYZ5S5kzV2PI1SvySMOsCNE7u7uSCTiclblx5gPYAg==", + "license": "(Apache-2.0 OR MIT)", "dependencies": { "@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", + "@web3-storage/data-segment": "^5.2.0", "uint8arrays": "^5.0.3" } }, "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==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@web3-storage/data-segment/-/data-segment-5.3.0.tgz", + "integrity": "sha512-zFJ4m+pEKqtKatJNsFrk/2lHeFSbkXZ6KKXjBe7/2ayA9wAar7T/unewnOcZrrZTnCWmaxKsXWqdMFy9bXK9dw==", + "license": "(Apache-2.0 AND MIT)", "dependencies": { - "@ipld/dag-cbor": "^9.0.5", - "multiformats": "^11.0.2", + "@ipld/dag-cbor": "^9.2.1", + "multiformats": "^13.3.0", "sync-multihash-sha2": "^1.0.0" } }, - "node_modules/@web3-storage/capabilities/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==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@web3-storage/capabilities/node_modules/uint8arrays": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-5.1.0.tgz", diff --git a/package.json b/package.json index 55b91e8f..3395c5a5 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@ucanto/validator": "^9.0.2", "@web-std/blob": "^3.0.4", "@web-std/fetch": "^4.1.0", - "@web3-storage/access": "^20.0.0", + "@web3-storage/access": "^20.1.0", "@web3-storage/blob-index": "^1.0.2", "@web3-storage/capabilities": "^17.2.0", "@web3-storage/content-claims": "^5.1.0",