@fireproof/core 0.5.13 → 0.5.14
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/hooks/use-fireproof.js +2 -1
- package/dist/src/blockstore.js +4 -4
- package/dist/src/clock.js +109 -37
- package/dist/src/crypto.js +1 -1
- package/dist/src/database.js +20 -19
- package/dist/src/db-index.js +6 -6
- package/dist/src/fireproof.d.ts +3 -2
- package/dist/src/fireproof.js +426 -308
- package/dist/src/fireproof.js.map +1 -1
- package/dist/src/fireproof.mjs +426 -308
- package/dist/src/fireproof.mjs.map +1 -1
- package/dist/src/listener.js +2 -3
- package/dist/src/prolly.js +74 -25
- package/dist/src/sha1.js +2 -1
- package/dist/src/sync.js +28 -9
- package/dist/src/valet.js +5 -1
- package/package.json +2 -2
- package/src/blockstore.js +1 -0
- package/src/clock.js +123 -37
- package/src/crypto.js +1 -1
- package/src/database.js +15 -12
- package/src/db-index.js +1 -1
- package/src/prolly.js +82 -24
- package/src/sync.js +20 -13
- package/src/valet.js +5 -5
package/src/valet.js
CHANGED
@@ -39,11 +39,11 @@ export class Valet {
|
|
39
39
|
this.name = name
|
40
40
|
this.setKeyMaterial(keyMaterial)
|
41
41
|
this.uploadQueue = cargoQueue(async (tasks, callback) => {
|
42
|
-
console.log(
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
)
|
42
|
+
// console.log(
|
43
|
+
// 'queue worker',
|
44
|
+
// tasks.length,
|
45
|
+
// tasks.reduce((acc, t) => acc + t.value.length, 0)
|
46
|
+
// )
|
47
47
|
if (this.uploadFunction) {
|
48
48
|
// todo we can coalesce these into a single car file
|
49
49
|
return await this.withDB(async db => {
|