From 9786d34e0dedaeb68c519b78844cd613042f819b Mon Sep 17 00:00:00 2001 From: Frank Hinek Date: Fri, 21 Apr 2023 07:11:55 -0400 Subject: [PATCH] Address minor nits Signed-off-by: Frank Hinek --- examples/simple-agent/package.json | 2 +- src/dwn/models/record.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/simple-agent/package.json b/examples/simple-agent/package.json index 7f4055f1e..581a17e32 100644 --- a/examples/simple-agent/package.json +++ b/examples/simple-agent/package.json @@ -16,7 +16,7 @@ "dependencies": { "@koa/cors": "4.0.0", "@koa/router": "12.0.0", - "@tbd54566975/web5": "0.3.1-unstable.e2dfe57-2023.3.23-19-07-37", + "@tbd54566975/web5": "0.5.0", "koa": "2.14.1", "koa-body": "6.0.1", "mkdirp": "2.1.5", diff --git a/src/dwn/models/record.js b/src/dwn/models/record.js index 716311c9b..6ff2471b6 100644 --- a/src/dwn/models/record.js +++ b/src/dwn/models/record.js @@ -36,7 +36,6 @@ export class Record { // If the record was created from a RecordsRead reply then it will have a `data` property. if (options?.data) { - // this.#readableStream = isReadableWebStream(options.data) ? toIsomorphicReadableStream(options.data) : options.data; this.#readableStream = isReadableWebStream(options.data) ? new ReadableWebToNodeStream(options.data) : options.data; } }