Skip to content

Commit

Permalink
Bump up Yorkie to v0.4.18 (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins authored Apr 24, 2024
1 parent caae354 commit 11aff65
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Common Environment Variables
REACT_APP_JS_SDK_VERSION=0.4.13
REACT_APP_JS_SDK_VERSION=0.4.18
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"react-scripts": "5.0.0",
"sass": "^1.55.0",
"typescript": "~4.1.5",
"yorkie-js-sdk": "^0.4.13"
"yorkie-js-sdk": "^0.4.18"
},
"husky": {
"hooks": {
Expand Down
3 changes: 2 additions & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ export async function listDocumentHistories(

const histories: Array<DocumentHistory> = [];
for (let i = 0; i < changes.length; i++) {
document.applyChanges([changes[i]]);
// TODO(hackerwins): We need to extract OpSource from JS SDK.
document.applyChanges([changes[i]], 'Remote' as any);
histories.push({
serverSeq: pbChanges[i].id!.serverSeq,
snapshot: document.toJSON(),
Expand Down

0 comments on commit 11aff65

Please sign in to comment.