From 8cb3e9ae64a25519cc63737273bc4af21c87b3de Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 12 May 2026 15:22:56 +0300 Subject: [PATCH] fix!: update multiformats to 14.x.x Releasing as a major as nested `Uint8Array` properties of the CID class can cause issues where consuming code hasn't also updated to the latest multiformats like: ``` Error: test-e2e/first-hit.test.ts(123,11): error TS2322: Type 'CID' is not assignable to type 'CID'. The types of 'multihash.digest' are incompatible between these types. Type 'Uint8Array' is not assignable to type 'Uint8Array'. Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'. Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength ``` BREAKING CHANGE: CIDs returned from this module are from multiformats@14.x.x --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 40f7945..3075ed1 100644 --- a/package.json +++ b/package.json @@ -163,7 +163,7 @@ }, "dependencies": { "cborg": "^5.0.0", - "multiformats": "^13.1.0" + "multiformats": "^14.0.0" }, "devDependencies": { "@ipld/garbage": "^6.0.0",