hyoo_sync_client 0.0.50 → 0.0.52
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/node.d.ts +2 -2
- package/node.deps.json +1 -1
- package/node.js +7 -5
- package/node.js.map +1 -1
- package/node.mjs +7 -5
- package/node.mjs.map +1 -1
- package/node.test.js +13 -6
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +2 -2
- package/web.deps.json +1 -1
- package/web.js +7 -5
- package/web.js.map +1 -1
- package/web.mjs +7 -5
- package/web.mjs.map +1 -1
- package/web.test.js +6 -1
- package/web.test.js.map +1 -1
package/web.mjs
CHANGED
|
@@ -32,7 +32,7 @@ $.$$ = $
|
|
|
32
32
|
//hyoo/hyoo.ts
|
|
33
33
|
;
|
|
34
34
|
"use strict";
|
|
35
|
-
let $hyoo_sync_revision = "
|
|
35
|
+
let $hyoo_sync_revision = "3406820";
|
|
36
36
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
37
37
|
;
|
|
38
38
|
"use strict";
|
|
@@ -1484,6 +1484,8 @@ var $;
|
|
|
1484
1484
|
result = compare_map(left, right);
|
|
1485
1485
|
else if (ArrayBuffer.isView(left))
|
|
1486
1486
|
result = compare_buffer(left, right);
|
|
1487
|
+
else if (Symbol.iterator in left)
|
|
1488
|
+
result = compare_iterator(left[Symbol.iterator](), right[Symbol.iterator]());
|
|
1487
1489
|
else if (Symbol.toPrimitive in left)
|
|
1488
1490
|
result = compare_primitive(left, right);
|
|
1489
1491
|
else
|
|
@@ -2196,8 +2198,8 @@ var $;
|
|
|
2196
2198
|
"use strict";
|
|
2197
2199
|
var $;
|
|
2198
2200
|
(function ($) {
|
|
2199
|
-
async function $hyoo_sync_peer(path) {
|
|
2200
|
-
let serial = $mol_state_local.value('$hyoo_sync_peer');
|
|
2201
|
+
async function $hyoo_sync_peer(path, next) {
|
|
2202
|
+
let serial = $mol_state_local.value('$hyoo_sync_peer', next);
|
|
2201
2203
|
if (typeof serial === 'string') {
|
|
2202
2204
|
return await $hyoo_crowd_peer.restore(serial);
|
|
2203
2205
|
}
|
|
@@ -3424,8 +3426,8 @@ var $;
|
|
|
3424
3426
|
log_pack(data) {
|
|
3425
3427
|
return data;
|
|
3426
3428
|
}
|
|
3427
|
-
peer() {
|
|
3428
|
-
return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()');
|
|
3429
|
+
peer(next) {
|
|
3430
|
+
return $mol_wire_sync($hyoo_sync_peer)(this + '.peer()', next);
|
|
3429
3431
|
}
|
|
3430
3432
|
world() {
|
|
3431
3433
|
$mol_wire_solid();
|