hyoo_sync_client 0.0.278 → 0.0.279
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.deps.json +1 -1
- package/node.js +3 -1
- package/node.js.map +1 -1
- package/node.mjs +3 -1
- package/node.test.js +3 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +3 -1
- package/web.js.map +1 -1
- package/web.mjs +3 -1
package/node.mjs
CHANGED
|
@@ -4470,7 +4470,9 @@ var $;
|
|
|
4470
4470
|
return new Proxy({}, {
|
|
4471
4471
|
ownKeys: () => [...this.native.objectStoreNames],
|
|
4472
4472
|
has: (_, name) => this.native.objectStoreNames.contains(name),
|
|
4473
|
-
get: (_, name) =>
|
|
4473
|
+
get: (_, name, proxy) => (name in proxy)
|
|
4474
|
+
? new $mol_db_store(this.native.objectStore(name))
|
|
4475
|
+
: undefined,
|
|
4474
4476
|
});
|
|
4475
4477
|
}
|
|
4476
4478
|
store_make(name) {
|
package/node.test.js
CHANGED
|
@@ -4462,7 +4462,9 @@ var $;
|
|
|
4462
4462
|
return new Proxy({}, {
|
|
4463
4463
|
ownKeys: () => [...this.native.objectStoreNames],
|
|
4464
4464
|
has: (_, name) => this.native.objectStoreNames.contains(name),
|
|
4465
|
-
get: (_, name) =>
|
|
4465
|
+
get: (_, name, proxy) => (name in proxy)
|
|
4466
|
+
? new $mol_db_store(this.native.objectStore(name))
|
|
4467
|
+
: undefined,
|
|
4466
4468
|
});
|
|
4467
4469
|
}
|
|
4468
4470
|
store_make(name) {
|