Skip to content

Commit

Permalink
v0.2.9 (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Dec 4, 2023
1 parent 5da1845 commit bf1f40a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/dwn-sdk-js",
"version": "0.2.8",
"version": "0.2.9",
"description": "A reference implementation of https://identity.foundation/decentralized-web-node/spec/",
"repository": {
"type": "git",
Expand Down Expand Up @@ -157,4 +157,4 @@
"license-check": "license-report --only=prod > license-report.json && node ./build/license-check.cjs",
"publish:unstable": "./build/publish-unstable.sh"
}
}
}
2 changes: 1 addition & 1 deletion src/handlers/records-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class RecordsQueryHandler implements MethodHandler {
[{ recordId: recordsWrite.recordId, isLatestBaseState: false, method: DwnMethodName.Write }]
);
const initialWrite = initialWriteQueryResult.messages[0] as RecordsQueryReplyEntry;
delete initialWrite.encodedData;
delete initialWrite.encodedData; // defensive measure but technically optional because we do this when an update RecordsWrite takes place
recordsWrite.initialWrite = initialWrite;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/records-read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class RecordsReadHandler implements MethodHandler {
[{ recordId: record.recordId, isLatestBaseState: false, method: DwnMethodName.Write }]
);
const initialWrite = initialWriteQueryResult.messages[0] as RecordsQueryReplyEntry;
delete initialWrite.encodedData;
delete initialWrite.encodedData; // defensive measure but technically optional because we do this when an update RecordsWrite takes place
record.initialWrite = initialWrite;
}

Expand Down

0 comments on commit bf1f40a

Please sign in to comment.