ahmed-rivet-convex 1.1.0 → 1.1.1
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/out/{chunk-MCG5AQEZ.js → chunk-CIYYQODG.js} +2 -2
- package/out/{chunk-ZYE2DHSS.js → chunk-IX5565UC.js} +24 -4
- package/out/chunk-IX5565UC.js.map +7 -0
- package/out/chunk-KCEOIJW2.js +17819 -0
- package/out/chunk-KCEOIJW2.js.map +7 -0
- package/out/{chunk-SGW2EIVJ.js → chunk-MWDKU7HM.js} +6 -3
- package/out/chunk-MWDKU7HM.js.map +7 -0
- package/out/{chunk-XA7M42FO.js → chunk-PLO7T2RY.js} +4 -4
- package/out/chunk-ZUNY3WVN.js +422 -0
- package/out/chunk-ZUNY3WVN.js.map +7 -0
- package/out/{lazy-inspector-HLG4GCCV.js → lazy-inspector-YFQGAJWW.js} +3 -3
- package/out/react.js +3 -3
- package/out/replicache/src/config.d.ts +13 -2
- package/out/zero.js +4 -4
- package/package.json +1 -1
- package/out/chunk-SGW2EIVJ.js.map +0 -7
- package/out/chunk-ZYE2DHSS.js.map +0 -7
- /package/out/{chunk-MCG5AQEZ.js.map → chunk-CIYYQODG.js.map} +0 -0
- /package/out/{chunk-XA7M42FO.js.map → chunk-PLO7T2RY.js.map} +0 -0
- /package/out/{lazy-inspector-HLG4GCCV.js.map → lazy-inspector-YFQGAJWW.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
isProd,
|
|
12
12
|
throwInvalidType,
|
|
13
13
|
unreachable
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MWDKU7HM.js";
|
|
15
15
|
import {
|
|
16
16
|
__export,
|
|
17
17
|
__reExport
|
|
@@ -8572,4 +8572,4 @@ export {
|
|
|
8572
8572
|
Client,
|
|
8573
8573
|
TDigest
|
|
8574
8574
|
};
|
|
8575
|
-
//# sourceMappingURL=chunk-
|
|
8575
|
+
//# sourceMappingURL=chunk-CIYYQODG.js.map
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
withWrite,
|
|
135
135
|
withWriteNoImplicitCommit,
|
|
136
136
|
wrapIterable
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-CIYYQODG.js";
|
|
138
138
|
import {
|
|
139
139
|
assert,
|
|
140
140
|
assertArray,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
hasOwn,
|
|
148
148
|
isProd,
|
|
149
149
|
unreachable
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-MWDKU7HM.js";
|
|
151
151
|
import {
|
|
152
152
|
__export
|
|
153
153
|
} from "./chunk-424PT5DM.js";
|
|
@@ -545,6 +545,26 @@ var ReadImpl = class {
|
|
|
545
545
|
if (this.#closed) {
|
|
546
546
|
return transactionIsClosedRejection();
|
|
547
547
|
}
|
|
548
|
+
const pre = globalThis.__pbIdbPrefetch;
|
|
549
|
+
const dbName = this.#tx.db.name;
|
|
550
|
+
const early = pre && dbName ? pre[dbName] : void 0;
|
|
551
|
+
if (pre && early) {
|
|
552
|
+
delete pre[dbName];
|
|
553
|
+
const live = () => this.getAll();
|
|
554
|
+
return early.then((r) => {
|
|
555
|
+
if (!r || !r.keys || !r.vals) return live();
|
|
556
|
+
const map = /* @__PURE__ */ new Map();
|
|
557
|
+
for (let i = 0; i < r.keys.length; i++) {
|
|
558
|
+
map.set(
|
|
559
|
+
r.keys[i],
|
|
560
|
+
deepFreezeAllowUndefined(
|
|
561
|
+
r.vals[i]
|
|
562
|
+
)
|
|
563
|
+
);
|
|
564
|
+
}
|
|
565
|
+
return map;
|
|
566
|
+
}, live);
|
|
567
|
+
}
|
|
548
568
|
return new Promise((resolve, reject) => {
|
|
549
569
|
const store = objectStore(this.#tx);
|
|
550
570
|
const keysReq = store.getAllKeys();
|
|
@@ -14757,7 +14777,7 @@ function makeMessage(message, context, logLevel) {
|
|
|
14757
14777
|
}
|
|
14758
14778
|
|
|
14759
14779
|
// ../zero-client/src/client/version.ts
|
|
14760
|
-
var version2 = "1.
|
|
14780
|
+
var version2 = "1.1.1";
|
|
14761
14781
|
|
|
14762
14782
|
// ../zero-client/src/client/log-options.ts
|
|
14763
14783
|
var LevelFilterLogSink = class {
|
|
@@ -17783,4 +17803,4 @@ export {
|
|
|
17783
17803
|
pako/dist/pako.esm.mjs:
|
|
17784
17804
|
(*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)
|
|
17785
17805
|
*/
|
|
17786
|
-
//# sourceMappingURL=chunk-
|
|
17806
|
+
//# sourceMappingURL=chunk-IX5565UC.js.map
|