From a5b2127420c570e28242f5e9a7bb161e181e084f Mon Sep 17 00:00:00 2001 From: Travis Vachon Date: Tue, 12 Dec 2023 14:25:37 -0800 Subject: [PATCH] fix: pin @web3-storage/access to 18.0.5 (#144) 18.0.6 introduced a bug by using `ArrayBuffer` instead of `Uint8Array`, which doesn't serialize to JSON cleanly. Pin it to 18.0.5 to avoid breaking existing clients. --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index f5b8075..c16c900 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@ucanto/client": "^9.0.0", "@ucanto/core": "^9.0.0", "@ucanto/transport": "^9.0.0", - "@web3-storage/access": "^18.0.5", + "@web3-storage/access": "18.0.5", "@web3-storage/data-segment": "^5.0.0", "@web3-storage/did-mailto": "^2.1.0", "@web3-storage/w3up-client": "^11.2.1", diff --git a/package.json b/package.json index cb230bc..88361f4 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@ucanto/client": "^9.0.0", "@ucanto/core": "^9.0.0", "@ucanto/transport": "^9.0.0", - "@web3-storage/access": "^18.0.5", + "@web3-storage/access": "18.0.5", "@web3-storage/data-segment": "^5.0.0", "@web3-storage/did-mailto": "^2.1.0", "@web3-storage/w3up-client": "^11.2.1",