@arcote.tech/arc 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -819,7 +819,7 @@ class RTCClient {
|
|
|
819
819
|
console.error(`Collection ${collection3} not found`);
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
|
-
const deserializedItems = items.map((item) => c.
|
|
822
|
+
const deserializedItems = items.map((item) => c.deserialize(item));
|
|
823
823
|
this.model.executeCommand(async (ctx) => {
|
|
824
824
|
for (const item of deserializedItems) {
|
|
825
825
|
const id3 = item._id;
|
|
@@ -832,7 +832,6 @@ class RTCClient {
|
|
|
832
832
|
}
|
|
833
833
|
break;
|
|
834
834
|
case "sync-done":
|
|
835
|
-
window.localStorage.setItem("lastSync", message.date);
|
|
836
835
|
break;
|
|
837
836
|
case "collection-changes":
|
|
838
837
|
const deserializedChanges = deserializeChanges(message.changes, (name) => this.model.getCollection(name));
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.0.
|
|
7
|
+
"version": "0.0.6",
|
|
8
8
|
"private": false,
|
|
9
9
|
"author": "Przemysław Krasiński [arcote.tech]",
|
|
10
10
|
"description": "Arc is a framework designed to align code closely with business logic, streamlining development and enhancing productivity.",
|