From 1e12b070de22744208b15580787503edb873ac80 Mon Sep 17 00:00:00 2001 From: Moe Jangda Date: Wed, 31 May 2023 22:12:39 -0500 Subject: [PATCH 1/8] bump `dwn-sdk-js` to `0.0.33` --- package-lock.json | 14 +++++++------- packages/dids/package.json | 2 +- packages/web5-agent/package.json | 4 ++-- packages/web5-user-agent/package.json | 4 ++-- packages/web5/package.json | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 018a9327b..d588314cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -913,9 +913,9 @@ "link": true }, "node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", - "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.33.tgz", + "integrity": "sha512-ZdQtRTd0M2VcgGli7kDzkePsuxpwiOg+PRsBJ/UPC5fc6oflzbRqV6Lg9v8bWHozjdnijP58J3RMWmf4cj7bWw==", "dependencies": { "@ipld/dag-cbor": "9.0.0", "@js-temporal/polyfill": "0.4.3", @@ -7747,7 +7747,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "cross-fetch": "3.1.5" }, "devDependencies": { @@ -7791,7 +7791,7 @@ "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "@tbd54566975/web5-proxy-agent": "0.1.4", "@tbd54566975/web5-user-agent": "0.1.5", @@ -7838,7 +7838,7 @@ "version": "0.1.4", "license": "Apache-2.0", "dependencies": { - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "readable-stream": "4.4.0" }, "devDependencies": { @@ -7922,7 +7922,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", diff --git a/packages/dids/package.json b/packages/dids/package.json index 9d6b80f96..40876fefd 100644 --- a/packages/dids/package.json +++ b/packages/dids/package.json @@ -80,7 +80,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "cross-fetch": "3.1.5" }, "devDependencies": { diff --git a/packages/web5-agent/package.json b/packages/web5-agent/package.json index 5a59bf763..89a44c962 100644 --- a/packages/web5-agent/package.json +++ b/packages/web5-agent/package.json @@ -76,7 +76,7 @@ }, "dependencies": { "readable-stream": "4.4.0", - "@tbd54566975/dwn-sdk-js": "0.0.32" + "@tbd54566975/dwn-sdk-js": "0.0.33" }, "devDependencies": { "@types/chai": "4.3.0", @@ -109,5 +109,5 @@ }, "overrides": { "socket.io-parser@>4.0.4 <4.2.3": "4.2.3" - } + } } \ No newline at end of file diff --git a/packages/web5-user-agent/package.json b/packages/web5-user-agent/package.json index a168abd8b..26090df9d 100644 --- a/packages/web5-user-agent/package.json +++ b/packages/web5-user-agent/package.json @@ -77,7 +77,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", @@ -119,5 +119,5 @@ }, "overrides": { "socket.io-parser@>4.0.4 <4.2.3": "4.2.3" - } + } } \ No newline at end of file diff --git a/packages/web5/package.json b/packages/web5/package.json index 5dba625c8..18ec7fcaa 100644 --- a/packages/web5/package.json +++ b/packages/web5/package.json @@ -82,7 +82,7 @@ "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "@tbd54566975/web5-proxy-agent": "0.1.4", "@tbd54566975/web5-user-agent": "0.1.5", @@ -122,5 +122,5 @@ }, "overrides": { "socket.io-parser@>4.0.4 <4.2.3": "4.2.3" - } + } } \ No newline at end of file From 88ac0d27ff3ac0e6f944d593f0ce17679c104617 Mon Sep 17 00:00:00 2001 From: Moe Jangda Date: Wed, 31 May 2023 22:14:42 -0500 Subject: [PATCH 2/8] (sync) account for how updating a record works --- packages/web5-user-agent/src/sync-api.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/web5-user-agent/src/sync-api.ts b/packages/web5-user-agent/src/sync-api.ts index 257d92fce..782ed8e76 100644 --- a/packages/web5-user-agent/src/sync-api.ts +++ b/packages/web5-user-agent/src/sync-api.ts @@ -162,6 +162,13 @@ export class SyncApi implements SyncManager { } const dwnMessage = await this.#getDwnMessage(did, messageCid); + if (!dwnMessage) { + delOps.push({ type: 'del', key: key }); + await this.setWatermark(did, dwnUrl, 'push', watermark); + await this.#addMessage(did, messageCid); + + continue; + } try { const reply = await this.#dwnRpcClient.sendDwnRequest({ @@ -339,13 +346,16 @@ export class SyncApi implements SyncManager { const result: MessagesGetReply = await this.#dwn.processMessage(author, messagesGet.toJSON()); const [ messageEntry ] = result.messages; + // absence of a messageEntry or message within messageEntry can happen because updating a Record actually creates another + // RecordsWrite with the same recordId. only the first and most recent RecordsWrite messages are kept for a given + // recordId. any in between are outright nuked from everywhere. if (!messageEntry) { - throw new Error('TODO: figure out error message'); + return undefined; } let { message } = messageEntry; if (!message) { - throw new Error('TODO: message not found'); + return undefined; } let dwnMessage: DwnMessage = { message }; From 59120eb4e5bfca1dea3af796c17c4a619f80f90b Mon Sep 17 00:00:00 2001 From: Moe Jangda Date: Wed, 31 May 2023 22:15:24 -0500 Subject: [PATCH 3/8] (sync) account for scenario where a record is written and deleted before `push` occurs --- packages/web5-user-agent/src/sync-api.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/web5-user-agent/src/sync-api.ts b/packages/web5-user-agent/src/sync-api.ts index 782ed8e76..fe0c70ed4 100644 --- a/packages/web5-user-agent/src/sync-api.ts +++ b/packages/web5-user-agent/src/sync-api.ts @@ -377,12 +377,16 @@ export class SyncApi implements SyncManager { const reply = await this.#dwn.processMessage(author, recordsRead.toJSON()) as RecordsReadReply; - if (reply.status.code >= 400) { - const { status: { code, detail } } = reply; - throw new Error(`(${code}) Failed to read data associated with record ${message['recordId']}. ${detail}}`); - } else { + // if the data no longer exists (aka 404), it's likely that a `RecordsDelete` took place. + // `RecordsDelete` keeps a `RecordsWrite` and just deletes the associated data, effectively acting as a "tombstone". + // We still need to _push_ this tombstone so that the `RecordsDelete` can be processed successfully. + // if 200, return the data. if 4xx ignore for the reason explained, if >= 5xx throw error + if (reply.status.code === 200) { const dataBytes = await DataStream.toBytes(reply.record.data); dwnMessage.data = new Blob([dataBytes]); + } else if (reply.status.code >= 500) { + const { status: { code, detail } } = reply; + throw new Error(`(${code}) Failed to read data associated with record ${message['recordId']}. ${detail}}`); } } } From 1457f2436e118eb292c52456fa9c11c18e5ccd13 Mon Sep 17 00:00:00 2001 From: Moe Jangda Date: Wed, 31 May 2023 22:39:51 -0500 Subject: [PATCH 4/8] bump `dwn-sdk-js` down to `0.0.32` --- package-lock.json | 282 +++++++++++++++++++++++++- packages/dids/package.json | 2 +- packages/web5-user-agent/package.json | 2 +- packages/web5/package.json | 2 +- 4 files changed, 282 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index d588314cc..b17b82dda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7747,7 +7747,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dwn-sdk-js": "0.0.33", + "@tbd54566975/dwn-sdk-js": "0.0.32", "cross-fetch": "3.1.5" }, "devDependencies": { @@ -7783,6 +7783,98 @@ "node": ">=18.0.0" } }, + "packages/dids/node_modules/@noble/ed25519": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", + "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/dids/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", + "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/dids/node_modules/@tbd54566975/dwn-sdk-js": { + "version": "0.0.32", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", + "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", + "dependencies": { + "@ipld/dag-cbor": "9.0.0", + "@js-temporal/polyfill": "0.4.3", + "@noble/ed25519": "1.7.1", + "@noble/secp256k1": "1.7.1", + "@scure/base": "1.1.1", + "@swc/helpers": "0.3.8", + "@types/eccrypto": "1.1.3", + "@types/ms": "0.7.31", + "@types/node": "^18.13.0", + "@types/readable-stream": "2.3.15", + "@types/secp256k1": "4.0.3", + "abstract-level": "1.0.3", + "ajv": "8.12.0", + "blockstore-core": "4.1.0", + "cross-fetch": "3.1.5", + "date-fns": "2.28.0", + "eccrypto": "1.1.6", + "flat": "^5.0.2", + "interface-blockstore": "5.2.0", + "interface-store": "^5.1.0", + "ipfs-unixfs-exporter": "13.1.4", + "ipfs-unixfs-importer": "15.1.4", + "level": "8.0.0", + "lodash": "4.17.21", + "lru-cache": "7.12.0", + "ms": "2.1.3", + "multiformats": "11.0.2", + "randombytes": "2.1.0", + "readable-stream": "4.3.0", + "secp256k1": "5.0.0", + "ulid": "2.3.0", + "uuid": "8.3.2", + "varint": "6.0.0" + }, + "engines": { + "node": ">= 16" + } + }, + "packages/dids/node_modules/@types/node": { + "version": "18.16.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", + "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" + }, + "packages/dids/node_modules/readable-stream": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", + "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "packages/dids/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "packages/web5": { "name": "@tbd54566975/web5", "version": "0.7.5", @@ -7791,7 +7883,7 @@ "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.33", + "@tbd54566975/dwn-sdk-js": "0.0.32", "@tbd54566975/web5-agent": "0.1.4", "@tbd54566975/web5-proxy-agent": "0.1.4", "@tbd54566975/web5-user-agent": "0.1.5", @@ -7922,7 +8014,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.33", + "@tbd54566975/dwn-sdk-js": "0.0.32", "@tbd54566975/web5-agent": "0.1.4", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", @@ -7965,6 +8057,190 @@ "engines": { "node": ">=18.0.0" } + }, + "packages/web5-user-agent/node_modules/@noble/ed25519": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", + "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/web5-user-agent/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", + "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/web5-user-agent/node_modules/@tbd54566975/dwn-sdk-js": { + "version": "0.0.32", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", + "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", + "dependencies": { + "@ipld/dag-cbor": "9.0.0", + "@js-temporal/polyfill": "0.4.3", + "@noble/ed25519": "1.7.1", + "@noble/secp256k1": "1.7.1", + "@scure/base": "1.1.1", + "@swc/helpers": "0.3.8", + "@types/eccrypto": "1.1.3", + "@types/ms": "0.7.31", + "@types/node": "^18.13.0", + "@types/readable-stream": "2.3.15", + "@types/secp256k1": "4.0.3", + "abstract-level": "1.0.3", + "ajv": "8.12.0", + "blockstore-core": "4.1.0", + "cross-fetch": "3.1.5", + "date-fns": "2.28.0", + "eccrypto": "1.1.6", + "flat": "^5.0.2", + "interface-blockstore": "5.2.0", + "interface-store": "^5.1.0", + "ipfs-unixfs-exporter": "13.1.4", + "ipfs-unixfs-importer": "15.1.4", + "level": "8.0.0", + "lodash": "4.17.21", + "lru-cache": "7.12.0", + "ms": "2.1.3", + "multiformats": "11.0.2", + "randombytes": "2.1.0", + "readable-stream": "4.3.0", + "secp256k1": "5.0.0", + "ulid": "2.3.0", + "uuid": "8.3.2", + "varint": "6.0.0" + }, + "engines": { + "node": ">= 16" + } + }, + "packages/web5-user-agent/node_modules/@tbd54566975/dwn-sdk-js/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "packages/web5-user-agent/node_modules/@types/node": { + "version": "18.16.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", + "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" + }, + "packages/web5-user-agent/node_modules/readable-stream": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", + "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "packages/web5/node_modules/@noble/ed25519": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", + "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/web5/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", + "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/web5/node_modules/@tbd54566975/dwn-sdk-js": { + "version": "0.0.32", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", + "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", + "dependencies": { + "@ipld/dag-cbor": "9.0.0", + "@js-temporal/polyfill": "0.4.3", + "@noble/ed25519": "1.7.1", + "@noble/secp256k1": "1.7.1", + "@scure/base": "1.1.1", + "@swc/helpers": "0.3.8", + "@types/eccrypto": "1.1.3", + "@types/ms": "0.7.31", + "@types/node": "^18.13.0", + "@types/readable-stream": "2.3.15", + "@types/secp256k1": "4.0.3", + "abstract-level": "1.0.3", + "ajv": "8.12.0", + "blockstore-core": "4.1.0", + "cross-fetch": "3.1.5", + "date-fns": "2.28.0", + "eccrypto": "1.1.6", + "flat": "^5.0.2", + "interface-blockstore": "5.2.0", + "interface-store": "^5.1.0", + "ipfs-unixfs-exporter": "13.1.4", + "ipfs-unixfs-importer": "15.1.4", + "level": "8.0.0", + "lodash": "4.17.21", + "lru-cache": "7.12.0", + "ms": "2.1.3", + "multiformats": "11.0.2", + "randombytes": "2.1.0", + "readable-stream": "4.3.0", + "secp256k1": "5.0.0", + "ulid": "2.3.0", + "uuid": "8.3.2", + "varint": "6.0.0" + }, + "engines": { + "node": ">= 16" + } + }, + "packages/web5/node_modules/@types/node": { + "version": "18.16.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", + "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" + }, + "packages/web5/node_modules/readable-stream": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", + "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "packages/web5/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } } } } diff --git a/packages/dids/package.json b/packages/dids/package.json index 40876fefd..9d6b80f96 100644 --- a/packages/dids/package.json +++ b/packages/dids/package.json @@ -80,7 +80,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dwn-sdk-js": "0.0.33", + "@tbd54566975/dwn-sdk-js": "0.0.32", "cross-fetch": "3.1.5" }, "devDependencies": { diff --git a/packages/web5-user-agent/package.json b/packages/web5-user-agent/package.json index 26090df9d..bfbe2b2f4 100644 --- a/packages/web5-user-agent/package.json +++ b/packages/web5-user-agent/package.json @@ -77,7 +77,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.33", + "@tbd54566975/dwn-sdk-js": "0.0.32", "@tbd54566975/web5-agent": "0.1.4", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", diff --git a/packages/web5/package.json b/packages/web5/package.json index 18ec7fcaa..b81c8bdf5 100644 --- a/packages/web5/package.json +++ b/packages/web5/package.json @@ -82,7 +82,7 @@ "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.33", + "@tbd54566975/dwn-sdk-js": "0.0.32", "@tbd54566975/web5-agent": "0.1.4", "@tbd54566975/web5-proxy-agent": "0.1.4", "@tbd54566975/web5-user-agent": "0.1.5", From c0de6891aec2ffd6a287d33b1480fd5e1fa16410 Mon Sep 17 00:00:00 2001 From: Moe Jangda Date: Thu, 1 Jun 2023 12:11:00 -0500 Subject: [PATCH 5/8] bump `dwn-sdk-js` down to `0.0.32` --- packages/web5-agent/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web5-agent/package.json b/packages/web5-agent/package.json index 89a44c962..f6acc2579 100644 --- a/packages/web5-agent/package.json +++ b/packages/web5-agent/package.json @@ -76,7 +76,7 @@ }, "dependencies": { "readable-stream": "4.4.0", - "@tbd54566975/dwn-sdk-js": "0.0.33" + "@tbd54566975/dwn-sdk-js": "0.0.32" }, "devDependencies": { "@types/chai": "4.3.0", From 25769699d65c4e47717532e2278c1aaceee01fb3 Mon Sep 17 00:00:00 2001 From: Moe Jangda Date: Thu, 1 Jun 2023 12:14:10 -0500 Subject: [PATCH 6/8] update package-lock.json --- package-lock.json | 186 +++++++++++++++++++++++----------------------- 1 file changed, 93 insertions(+), 93 deletions(-) diff --git a/package-lock.json b/package-lock.json index b17b82dda..d599a7ca2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -912,98 +912,6 @@ "resolved": "packages/dids", "link": true }, - "node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.33.tgz", - "integrity": "sha512-ZdQtRTd0M2VcgGli7kDzkePsuxpwiOg+PRsBJ/UPC5fc6oflzbRqV6Lg9v8bWHozjdnijP58J3RMWmf4cj7bWw==", - "dependencies": { - "@ipld/dag-cbor": "9.0.0", - "@js-temporal/polyfill": "0.4.3", - "@noble/ed25519": "1.7.1", - "@noble/secp256k1": "1.7.1", - "@scure/base": "1.1.1", - "@swc/helpers": "0.3.8", - "@types/eccrypto": "1.1.3", - "@types/ms": "0.7.31", - "@types/node": "^18.13.0", - "@types/readable-stream": "2.3.15", - "@types/secp256k1": "4.0.3", - "abstract-level": "1.0.3", - "ajv": "8.12.0", - "blockstore-core": "4.1.0", - "cross-fetch": "3.1.5", - "date-fns": "2.28.0", - "eccrypto": "1.1.6", - "flat": "^5.0.2", - "interface-blockstore": "5.2.0", - "interface-store": "^5.1.0", - "ipfs-unixfs-exporter": "13.1.4", - "ipfs-unixfs-importer": "15.1.4", - "level": "8.0.0", - "lodash": "4.17.21", - "lru-cache": "7.12.0", - "ms": "2.1.3", - "multiformats": "11.0.2", - "randombytes": "2.1.0", - "readable-stream": "4.3.0", - "secp256k1": "5.0.0", - "ulid": "2.3.0", - "uuid": "8.3.2", - "varint": "6.0.0" - }, - "engines": { - "node": ">= 16" - } - }, - "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@noble/ed25519": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", - "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@types/node": { - "version": "18.16.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", - "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" - }, - "node_modules/@tbd54566975/dwn-sdk-js/node_modules/readable-stream": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", - "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@tbd54566975/dwn-sdk-js/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@tbd54566975/web5": { "resolved": "packages/web5", "link": true @@ -7930,7 +7838,7 @@ "version": "0.1.4", "license": "Apache-2.0", "dependencies": { - "@tbd54566975/dwn-sdk-js": "0.0.33", + "@tbd54566975/dwn-sdk-js": "0.0.32", "readable-stream": "4.4.0" }, "devDependencies": { @@ -7966,6 +7874,98 @@ "node": ">=18.0.0" } }, + "packages/web5-agent/node_modules/@noble/ed25519": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", + "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/web5-agent/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", + "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "packages/web5-agent/node_modules/@tbd54566975/dwn-sdk-js": { + "version": "0.0.32", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", + "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", + "dependencies": { + "@ipld/dag-cbor": "9.0.0", + "@js-temporal/polyfill": "0.4.3", + "@noble/ed25519": "1.7.1", + "@noble/secp256k1": "1.7.1", + "@scure/base": "1.1.1", + "@swc/helpers": "0.3.8", + "@types/eccrypto": "1.1.3", + "@types/ms": "0.7.31", + "@types/node": "^18.13.0", + "@types/readable-stream": "2.3.15", + "@types/secp256k1": "4.0.3", + "abstract-level": "1.0.3", + "ajv": "8.12.0", + "blockstore-core": "4.1.0", + "cross-fetch": "3.1.5", + "date-fns": "2.28.0", + "eccrypto": "1.1.6", + "flat": "^5.0.2", + "interface-blockstore": "5.2.0", + "interface-store": "^5.1.0", + "ipfs-unixfs-exporter": "13.1.4", + "ipfs-unixfs-importer": "15.1.4", + "level": "8.0.0", + "lodash": "4.17.21", + "lru-cache": "7.12.0", + "ms": "2.1.3", + "multiformats": "11.0.2", + "randombytes": "2.1.0", + "readable-stream": "4.3.0", + "secp256k1": "5.0.0", + "ulid": "2.3.0", + "uuid": "8.3.2", + "varint": "6.0.0" + }, + "engines": { + "node": ">= 16" + } + }, + "packages/web5-agent/node_modules/@tbd54566975/dwn-sdk-js/node_modules/readable-stream": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", + "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "packages/web5-agent/node_modules/@types/node": { + "version": "18.16.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", + "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" + }, + "packages/web5-agent/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "packages/web5-proxy-agent": { "name": "@tbd54566975/web5-proxy-agent", "version": "0.1.4", From 551b72fef54caef6b06ef1efc8423dbee464ad28 Mon Sep 17 00:00:00 2001 From: Frank Hinek Date: Thu, 1 Jun 2023 14:52:02 -0400 Subject: [PATCH 7/8] Bump dwn-sdk-js to 0.0.33 and update tests Signed-off-by: Frank Hinek --- package-lock.json | 468 ++++++-------------------- packages/dids/package.json | 2 +- packages/web5-agent/package.json | 2 +- packages/web5-user-agent/package.json | 2 +- packages/web5/package.json | 2 +- packages/web5/tests/record.spec.ts | 12 +- 6 files changed, 108 insertions(+), 380 deletions(-) diff --git a/package-lock.json b/package-lock.json index d599a7ca2..d588314cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -912,6 +912,98 @@ "resolved": "packages/dids", "link": true }, + "node_modules/@tbd54566975/dwn-sdk-js": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.33.tgz", + "integrity": "sha512-ZdQtRTd0M2VcgGli7kDzkePsuxpwiOg+PRsBJ/UPC5fc6oflzbRqV6Lg9v8bWHozjdnijP58J3RMWmf4cj7bWw==", + "dependencies": { + "@ipld/dag-cbor": "9.0.0", + "@js-temporal/polyfill": "0.4.3", + "@noble/ed25519": "1.7.1", + "@noble/secp256k1": "1.7.1", + "@scure/base": "1.1.1", + "@swc/helpers": "0.3.8", + "@types/eccrypto": "1.1.3", + "@types/ms": "0.7.31", + "@types/node": "^18.13.0", + "@types/readable-stream": "2.3.15", + "@types/secp256k1": "4.0.3", + "abstract-level": "1.0.3", + "ajv": "8.12.0", + "blockstore-core": "4.1.0", + "cross-fetch": "3.1.5", + "date-fns": "2.28.0", + "eccrypto": "1.1.6", + "flat": "^5.0.2", + "interface-blockstore": "5.2.0", + "interface-store": "^5.1.0", + "ipfs-unixfs-exporter": "13.1.4", + "ipfs-unixfs-importer": "15.1.4", + "level": "8.0.0", + "lodash": "4.17.21", + "lru-cache": "7.12.0", + "ms": "2.1.3", + "multiformats": "11.0.2", + "randombytes": "2.1.0", + "readable-stream": "4.3.0", + "secp256k1": "5.0.0", + "ulid": "2.3.0", + "uuid": "8.3.2", + "varint": "6.0.0" + }, + "engines": { + "node": ">= 16" + } + }, + "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@noble/ed25519": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", + "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@noble/secp256k1": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", + "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "node_modules/@tbd54566975/dwn-sdk-js/node_modules/@types/node": { + "version": "18.16.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", + "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" + }, + "node_modules/@tbd54566975/dwn-sdk-js/node_modules/readable-stream": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", + "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@tbd54566975/dwn-sdk-js/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@tbd54566975/web5": { "resolved": "packages/web5", "link": true @@ -7655,7 +7747,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "cross-fetch": "3.1.5" }, "devDependencies": { @@ -7691,98 +7783,6 @@ "node": ">=18.0.0" } }, - "packages/dids/node_modules/@noble/ed25519": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", - "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/dids/node_modules/@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/dids/node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", - "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", - "dependencies": { - "@ipld/dag-cbor": "9.0.0", - "@js-temporal/polyfill": "0.4.3", - "@noble/ed25519": "1.7.1", - "@noble/secp256k1": "1.7.1", - "@scure/base": "1.1.1", - "@swc/helpers": "0.3.8", - "@types/eccrypto": "1.1.3", - "@types/ms": "0.7.31", - "@types/node": "^18.13.0", - "@types/readable-stream": "2.3.15", - "@types/secp256k1": "4.0.3", - "abstract-level": "1.0.3", - "ajv": "8.12.0", - "blockstore-core": "4.1.0", - "cross-fetch": "3.1.5", - "date-fns": "2.28.0", - "eccrypto": "1.1.6", - "flat": "^5.0.2", - "interface-blockstore": "5.2.0", - "interface-store": "^5.1.0", - "ipfs-unixfs-exporter": "13.1.4", - "ipfs-unixfs-importer": "15.1.4", - "level": "8.0.0", - "lodash": "4.17.21", - "lru-cache": "7.12.0", - "ms": "2.1.3", - "multiformats": "11.0.2", - "randombytes": "2.1.0", - "readable-stream": "4.3.0", - "secp256k1": "5.0.0", - "ulid": "2.3.0", - "uuid": "8.3.2", - "varint": "6.0.0" - }, - "engines": { - "node": ">= 16" - } - }, - "packages/dids/node_modules/@types/node": { - "version": "18.16.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", - "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" - }, - "packages/dids/node_modules/readable-stream": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", - "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "packages/dids/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "packages/web5": { "name": "@tbd54566975/web5", "version": "0.7.5", @@ -7791,7 +7791,7 @@ "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "@tbd54566975/web5-proxy-agent": "0.1.4", "@tbd54566975/web5-user-agent": "0.1.5", @@ -7838,7 +7838,7 @@ "version": "0.1.4", "license": "Apache-2.0", "dependencies": { - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "readable-stream": "4.4.0" }, "devDependencies": { @@ -7874,98 +7874,6 @@ "node": ">=18.0.0" } }, - "packages/web5-agent/node_modules/@noble/ed25519": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", - "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/web5-agent/node_modules/@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/web5-agent/node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", - "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", - "dependencies": { - "@ipld/dag-cbor": "9.0.0", - "@js-temporal/polyfill": "0.4.3", - "@noble/ed25519": "1.7.1", - "@noble/secp256k1": "1.7.1", - "@scure/base": "1.1.1", - "@swc/helpers": "0.3.8", - "@types/eccrypto": "1.1.3", - "@types/ms": "0.7.31", - "@types/node": "^18.13.0", - "@types/readable-stream": "2.3.15", - "@types/secp256k1": "4.0.3", - "abstract-level": "1.0.3", - "ajv": "8.12.0", - "blockstore-core": "4.1.0", - "cross-fetch": "3.1.5", - "date-fns": "2.28.0", - "eccrypto": "1.1.6", - "flat": "^5.0.2", - "interface-blockstore": "5.2.0", - "interface-store": "^5.1.0", - "ipfs-unixfs-exporter": "13.1.4", - "ipfs-unixfs-importer": "15.1.4", - "level": "8.0.0", - "lodash": "4.17.21", - "lru-cache": "7.12.0", - "ms": "2.1.3", - "multiformats": "11.0.2", - "randombytes": "2.1.0", - "readable-stream": "4.3.0", - "secp256k1": "5.0.0", - "ulid": "2.3.0", - "uuid": "8.3.2", - "varint": "6.0.0" - }, - "engines": { - "node": ">= 16" - } - }, - "packages/web5-agent/node_modules/@tbd54566975/dwn-sdk-js/node_modules/readable-stream": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", - "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "packages/web5-agent/node_modules/@types/node": { - "version": "18.16.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", - "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" - }, - "packages/web5-agent/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "packages/web5-proxy-agent": { "name": "@tbd54566975/web5-proxy-agent", "version": "0.1.4", @@ -8014,7 +7922,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", @@ -8057,190 +7965,6 @@ "engines": { "node": ">=18.0.0" } - }, - "packages/web5-user-agent/node_modules/@noble/ed25519": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", - "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/web5-user-agent/node_modules/@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/web5-user-agent/node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", - "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", - "dependencies": { - "@ipld/dag-cbor": "9.0.0", - "@js-temporal/polyfill": "0.4.3", - "@noble/ed25519": "1.7.1", - "@noble/secp256k1": "1.7.1", - "@scure/base": "1.1.1", - "@swc/helpers": "0.3.8", - "@types/eccrypto": "1.1.3", - "@types/ms": "0.7.31", - "@types/node": "^18.13.0", - "@types/readable-stream": "2.3.15", - "@types/secp256k1": "4.0.3", - "abstract-level": "1.0.3", - "ajv": "8.12.0", - "blockstore-core": "4.1.0", - "cross-fetch": "3.1.5", - "date-fns": "2.28.0", - "eccrypto": "1.1.6", - "flat": "^5.0.2", - "interface-blockstore": "5.2.0", - "interface-store": "^5.1.0", - "ipfs-unixfs-exporter": "13.1.4", - "ipfs-unixfs-importer": "15.1.4", - "level": "8.0.0", - "lodash": "4.17.21", - "lru-cache": "7.12.0", - "ms": "2.1.3", - "multiformats": "11.0.2", - "randombytes": "2.1.0", - "readable-stream": "4.3.0", - "secp256k1": "5.0.0", - "ulid": "2.3.0", - "uuid": "8.3.2", - "varint": "6.0.0" - }, - "engines": { - "node": ">= 16" - } - }, - "packages/web5-user-agent/node_modules/@tbd54566975/dwn-sdk-js/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "packages/web5-user-agent/node_modules/@types/node": { - "version": "18.16.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", - "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" - }, - "packages/web5-user-agent/node_modules/readable-stream": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", - "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "packages/web5/node_modules/@noble/ed25519": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.1.tgz", - "integrity": "sha512-Rk4SkJFaXZiznFyC/t77Q0NKS4FL7TLJJsVG2V2oiEq3kJVeTdxysEe/yRWSpnWMe808XRDJ+VFh5pt/FN5plw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/web5/node_modules/@noble/secp256k1": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz", - "integrity": "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, - "packages/web5/node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.0.32.tgz", - "integrity": "sha512-SijEHpmJDa0I9hC7jn/8P7XeYeFAi9byMc+b36yuCPDiF+j/hLLYGMpZpnbylJ6+ldWqWWEunumeWjxU4zrc3g==", - "dependencies": { - "@ipld/dag-cbor": "9.0.0", - "@js-temporal/polyfill": "0.4.3", - "@noble/ed25519": "1.7.1", - "@noble/secp256k1": "1.7.1", - "@scure/base": "1.1.1", - "@swc/helpers": "0.3.8", - "@types/eccrypto": "1.1.3", - "@types/ms": "0.7.31", - "@types/node": "^18.13.0", - "@types/readable-stream": "2.3.15", - "@types/secp256k1": "4.0.3", - "abstract-level": "1.0.3", - "ajv": "8.12.0", - "blockstore-core": "4.1.0", - "cross-fetch": "3.1.5", - "date-fns": "2.28.0", - "eccrypto": "1.1.6", - "flat": "^5.0.2", - "interface-blockstore": "5.2.0", - "interface-store": "^5.1.0", - "ipfs-unixfs-exporter": "13.1.4", - "ipfs-unixfs-importer": "15.1.4", - "level": "8.0.0", - "lodash": "4.17.21", - "lru-cache": "7.12.0", - "ms": "2.1.3", - "multiformats": "11.0.2", - "randombytes": "2.1.0", - "readable-stream": "4.3.0", - "secp256k1": "5.0.0", - "ulid": "2.3.0", - "uuid": "8.3.2", - "varint": "6.0.0" - }, - "engines": { - "node": ">= 16" - } - }, - "packages/web5/node_modules/@types/node": { - "version": "18.16.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.16.tgz", - "integrity": "sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==" - }, - "packages/web5/node_modules/readable-stream": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.3.0.tgz", - "integrity": "sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "packages/web5/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } } } } diff --git a/packages/dids/package.json b/packages/dids/package.json index 9d6b80f96..40876fefd 100644 --- a/packages/dids/package.json +++ b/packages/dids/package.json @@ -80,7 +80,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "cross-fetch": "3.1.5" }, "devDependencies": { diff --git a/packages/web5-agent/package.json b/packages/web5-agent/package.json index f6acc2579..89a44c962 100644 --- a/packages/web5-agent/package.json +++ b/packages/web5-agent/package.json @@ -76,7 +76,7 @@ }, "dependencies": { "readable-stream": "4.4.0", - "@tbd54566975/dwn-sdk-js": "0.0.32" + "@tbd54566975/dwn-sdk-js": "0.0.33" }, "devDependencies": { "@types/chai": "4.3.0", diff --git a/packages/web5-user-agent/package.json b/packages/web5-user-agent/package.json index bfbe2b2f4..26090df9d 100644 --- a/packages/web5-user-agent/package.json +++ b/packages/web5-user-agent/package.json @@ -77,7 +77,7 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", diff --git a/packages/web5/package.json b/packages/web5/package.json index b81c8bdf5..18ec7fcaa 100644 --- a/packages/web5/package.json +++ b/packages/web5/package.json @@ -82,7 +82,7 @@ "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", "@tbd54566975/dids": "0.1.5", - "@tbd54566975/dwn-sdk-js": "0.0.32", + "@tbd54566975/dwn-sdk-js": "0.0.33", "@tbd54566975/web5-agent": "0.1.4", "@tbd54566975/web5-proxy-agent": "0.1.4", "@tbd54566975/web5-user-agent": "0.1.5", diff --git a/packages/web5/tests/record.spec.ts b/packages/web5/tests/record.spec.ts index 1a970996b..15932c678 100644 --- a/packages/web5/tests/record.spec.ts +++ b/packages/web5/tests/record.spec.ts @@ -99,11 +99,13 @@ describe('Record', () => { keyEncryptionInputs : [ { derivationScheme : KeyDerivationScheme.Protocols, - publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk + publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk, + publicKeyId : recordEncryptionKeyId }, { derivationScheme : KeyDerivationScheme.Schemas, - publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk + publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk, + publicKeyId : recordEncryptionKeyId }, ] }; @@ -908,11 +910,13 @@ describe('Record', () => { keyEncryptionInputs : [ { derivationScheme : KeyDerivationScheme.Protocols, - publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk + publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk, + publicKeyId : recordEncryptionKeyId }, { derivationScheme : KeyDerivationScheme.Schemas, - publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk + publicKey : encryptionPublicKeyJwk as DwnPublicKeyJwk, + publicKeyId : recordEncryptionKeyId }, ] }; From dca5d813021c1d05025d7ee6b0babc73cd96ab89 Mon Sep 17 00:00:00 2001 From: Frank Hinek Date: Thu, 1 Jun 2023 14:58:33 -0400 Subject: [PATCH 8/8] Bump Web5 JS packages in preparation for 0.7.6 release Signed-off-by: Frank Hinek --- package-lock.json | 24 ++++++++++++------------ packages/dids/package.json | 2 +- packages/web5-agent/package.json | 2 +- packages/web5-proxy-agent/package.json | 4 ++-- packages/web5-user-agent/package.json | 6 +++--- packages/web5/package.json | 10 +++++----- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index d588314cc..17b79c548 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7742,7 +7742,7 @@ }, "packages/dids": { "name": "@tbd54566975/dids", - "version": "0.1.5", + "version": "0.1.6", "license": "Apache-2.0", "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", @@ -7785,16 +7785,16 @@ }, "packages/web5": { "name": "@tbd54566975/web5", - "version": "0.7.5", + "version": "0.7.6", "license": "Apache-2.0", "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dids": "0.1.5", + "@tbd54566975/dids": "0.1.6", "@tbd54566975/dwn-sdk-js": "0.0.33", - "@tbd54566975/web5-agent": "0.1.4", - "@tbd54566975/web5-proxy-agent": "0.1.4", - "@tbd54566975/web5-user-agent": "0.1.5", + "@tbd54566975/web5-agent": "0.1.5", + "@tbd54566975/web5-proxy-agent": "0.1.5", + "@tbd54566975/web5-user-agent": "0.1.6", "level": "8.0.0", "ms": "2.1.3", "readable-web-to-node-stream": "3.0.2" @@ -7835,7 +7835,7 @@ }, "packages/web5-agent": { "name": "@tbd54566975/web5-agent", - "version": "0.1.4", + "version": "0.1.5", "license": "Apache-2.0", "dependencies": { "@tbd54566975/dwn-sdk-js": "0.0.33", @@ -7876,10 +7876,10 @@ }, "packages/web5-proxy-agent": { "name": "@tbd54566975/web5-proxy-agent", - "version": "0.1.4", + "version": "0.1.5", "license": "Apache-2.0", "dependencies": { - "@tbd54566975/web5-agent": "0.1.4" + "@tbd54566975/web5-agent": "0.1.5" }, "devDependencies": { "@types/chai": "4.3.0", @@ -7917,13 +7917,13 @@ }, "packages/web5-user-agent": { "name": "@tbd54566975/web5-user-agent", - "version": "0.1.5", + "version": "0.1.6", "license": "Apache-2.0", "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", - "@tbd54566975/dids": "0.1.5", + "@tbd54566975/dids": "0.1.6", "@tbd54566975/dwn-sdk-js": "0.0.33", - "@tbd54566975/web5-agent": "0.1.4", + "@tbd54566975/web5-agent": "0.1.5", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", "flat": "5.0.2", diff --git a/packages/dids/package.json b/packages/dids/package.json index 40876fefd..ac9b8ab7f 100644 --- a/packages/dids/package.json +++ b/packages/dids/package.json @@ -1,6 +1,6 @@ { "name": "@tbd54566975/dids", - "version": "0.1.5", + "version": "0.1.6", "description": "TBD DIDs library", "type": "module", "main": "./dist/cjs/main.cjs", diff --git a/packages/web5-agent/package.json b/packages/web5-agent/package.json index 89a44c962..b70c0743f 100644 --- a/packages/web5-agent/package.json +++ b/packages/web5-agent/package.json @@ -1,6 +1,6 @@ { "name": "@tbd54566975/web5-agent", - "version": "0.1.4", + "version": "0.1.5", "description": "Web5 Agent", "type": "module", "main": "./dist/cjs/main.cjs", diff --git a/packages/web5-proxy-agent/package.json b/packages/web5-proxy-agent/package.json index 32bfb8aaf..8d526e9a6 100644 --- a/packages/web5-proxy-agent/package.json +++ b/packages/web5-proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "@tbd54566975/web5-proxy-agent", - "version": "0.1.4", + "version": "0.1.5", "description": "Web5 Proxy Agent", "type": "module", "main": "./dist/cjs/main.cjs", @@ -75,7 +75,7 @@ "node": ">=18.0.0" }, "dependencies": { - "@tbd54566975/web5-agent": "0.1.4" + "@tbd54566975/web5-agent": "0.1.5" }, "devDependencies": { "@types/chai": "4.3.0", diff --git a/packages/web5-user-agent/package.json b/packages/web5-user-agent/package.json index 26090df9d..42dd8dae0 100644 --- a/packages/web5-user-agent/package.json +++ b/packages/web5-user-agent/package.json @@ -1,6 +1,6 @@ { "name": "@tbd54566975/web5-user-agent", - "version": "0.1.5", + "version": "0.1.6", "description": "Web5 User Agent", "type": "module", "main": "./dist/cjs/main.cjs", @@ -76,9 +76,9 @@ }, "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", - "@tbd54566975/dids": "0.1.5", + "@tbd54566975/dids": "0.1.6", "@tbd54566975/dwn-sdk-js": "0.0.33", - "@tbd54566975/web5-agent": "0.1.4", + "@tbd54566975/web5-agent": "0.1.5", "abstract-level": "1.0.3", "cross-fetch": "3.1.5", "flat": "5.0.2", diff --git a/packages/web5/package.json b/packages/web5/package.json index 18ec7fcaa..b364d558b 100644 --- a/packages/web5/package.json +++ b/packages/web5/package.json @@ -1,6 +1,6 @@ { "name": "@tbd54566975/web5", - "version": "0.7.5", + "version": "0.7.6", "description": "SDK for accessing the features and capabilities of Web5", "type": "module", "main": "./dist/cjs/main.cjs", @@ -81,11 +81,11 @@ "dependencies": { "@decentralized-identity/ion-tools": "1.0.7", "@tbd54566975/crypto": "0.1.4", - "@tbd54566975/dids": "0.1.5", + "@tbd54566975/dids": "0.1.6", "@tbd54566975/dwn-sdk-js": "0.0.33", - "@tbd54566975/web5-agent": "0.1.4", - "@tbd54566975/web5-proxy-agent": "0.1.4", - "@tbd54566975/web5-user-agent": "0.1.5", + "@tbd54566975/web5-agent": "0.1.5", + "@tbd54566975/web5-proxy-agent": "0.1.5", + "@tbd54566975/web5-user-agent": "0.1.6", "level": "8.0.0", "ms": "2.1.3", "readable-web-to-node-stream": "3.0.2"