@fireproof/core 0.19.112 → 0.19.114
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/{chunk-D4E6UX6S.js → chunk-JO62JMEP.js} +12 -7
- package/chunk-JO62JMEP.js.map +1 -0
- package/{chunk-PWEDYV5H.js → chunk-UUOLR3GZ.js} +2 -2
- package/deno.json +8 -8
- package/{gateway-72EUHYEL.js → gateway-UT5GFV5R.js} +3 -3
- package/index.cjs +15 -10
- package/index.cjs.map +1 -1
- package/index.d.cts +4 -4
- package/index.d.ts +4 -4
- package/index.global.js +148 -30851
- package/index.global.js.map +1 -1
- package/index.js +8 -8
- package/index.js.map +1 -1
- package/{key-bag-file-VP6Y7N26.js → key-bag-file-GTGVZHHM.js} +3 -3
- package/{key-bag-indexdb-VOVNNCXQ.js → key-bag-indexdb-NZMTNJLK.js} +3 -3
- package/metafile-cjs.json +1 -1
- package/metafile-esm.json +1 -1
- package/metafile-iife.json +1 -1
- package/package.json +9 -9
- package/tests/fireproof/fireproof.test.ts +1 -1
- package/{utils-WS4AZWA7.js → utils-5UEZAKVP.js} +3 -3
- package/web/gateway-impl.cjs +7 -2
- package/web/gateway-impl.cjs.map +1 -1
- package/web/gateway-impl.d.cts +1 -1
- package/web/gateway-impl.d.ts +1 -1
- package/web/gateway-impl.js +7 -2
- package/web/gateway-impl.js.map +1 -1
- package/web/metafile-cjs.json +1 -1
- package/web/metafile-esm.json +1 -1
- package/chunk-D4E6UX6S.js.map +0 -1
- /package/{chunk-PWEDYV5H.js.map → chunk-UUOLR3GZ.js.map} +0 -0
- /package/{gateway-72EUHYEL.js.map → gateway-UT5GFV5R.js.map} +0 -0
- /package/{key-bag-file-VP6Y7N26.js.map → key-bag-file-GTGVZHHM.js.map} +0 -0
- /package/{key-bag-indexdb-VOVNNCXQ.js.map → key-bag-indexdb-NZMTNJLK.js.map} +0 -0
- /package/{utils-WS4AZWA7.js.map → utils-5UEZAKVP.js.map} +0 -0
package/index.d.cts
CHANGED
@@ -5,7 +5,7 @@ import { Operation } from '@web3-storage/pail/crdt/api';
|
|
5
5
|
import { ByteView, ArrayBufferView, Version, Block as Block$1, Link, CID, BlockView, MultihashHasher } from 'multiformats';
|
6
6
|
import { MemoryBlockstore } from '@web3-storage/pail/block';
|
7
7
|
import { BlockFetcher as BlockFetcher$1 } from '@web3-storage/pail/api';
|
8
|
-
import { CarReader } from '@ipld/car';
|
8
|
+
import { CarReader } from '@ipld/car/reader';
|
9
9
|
import { IDBPDatabase } from 'idb';
|
10
10
|
import { EventBlock } from '@web3-storage/pail/clock';
|
11
11
|
import { PathLike, MakeDirectoryOptions, Stats } from 'fs';
|
@@ -865,9 +865,9 @@ type UpdateListenerFn<T extends DocTypes> = (docs: DocWithId<T>[]) => Promise<vo
|
|
865
865
|
type NoUpdateListenerFn = () => Promise<void> | void;
|
866
866
|
type ListenerFn<T extends DocTypes> = UpdateListenerFn<T> | NoUpdateListenerFn;
|
867
867
|
interface CRDTEntry {
|
868
|
-
data: string;
|
869
|
-
parents: string[];
|
870
|
-
cid: string;
|
868
|
+
readonly data: string;
|
869
|
+
readonly parents: string[];
|
870
|
+
readonly cid: string;
|
871
871
|
}
|
872
872
|
|
873
873
|
interface WriteQueue<T extends DocTypes> {
|
package/index.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { Operation } from '@web3-storage/pail/crdt/api';
|
|
5
5
|
import { ByteView, ArrayBufferView, Version, Block as Block$1, Link, CID, BlockView, MultihashHasher } from 'multiformats';
|
6
6
|
import { MemoryBlockstore } from '@web3-storage/pail/block';
|
7
7
|
import { BlockFetcher as BlockFetcher$1 } from '@web3-storage/pail/api';
|
8
|
-
import { CarReader } from '@ipld/car';
|
8
|
+
import { CarReader } from '@ipld/car/reader';
|
9
9
|
import { IDBPDatabase } from 'idb';
|
10
10
|
import { EventBlock } from '@web3-storage/pail/clock';
|
11
11
|
import { PathLike, MakeDirectoryOptions, Stats } from 'fs';
|
@@ -865,9 +865,9 @@ type UpdateListenerFn<T extends DocTypes> = (docs: DocWithId<T>[]) => Promise<vo
|
|
865
865
|
type NoUpdateListenerFn = () => Promise<void> | void;
|
866
866
|
type ListenerFn<T extends DocTypes> = UpdateListenerFn<T> | NoUpdateListenerFn;
|
867
867
|
interface CRDTEntry {
|
868
|
-
data: string;
|
869
|
-
parents: string[];
|
870
|
-
cid: string;
|
868
|
+
readonly data: string;
|
869
|
+
readonly parents: string[];
|
870
|
+
readonly cid: string;
|
871
871
|
}
|
872
872
|
|
873
873
|
interface WriteQueue<T extends DocTypes> {
|