Skip to content

Commit

Permalink
Address minor nits
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Hinek <[email protected]>
  • Loading branch information
frankhinek committed Apr 21, 2023
1 parent 3f4b8d4 commit 9786d34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/simple-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/dwn/models/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 9786d34

Please sign in to comment.