@fireproof/core 0.19.112 → 0.19.114

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/{chunk-D4E6UX6S.js → chunk-JO62JMEP.js} +12 -7
  2. package/chunk-JO62JMEP.js.map +1 -0
  3. package/{chunk-PWEDYV5H.js → chunk-UUOLR3GZ.js} +2 -2
  4. package/deno.json +8 -8
  5. package/{gateway-72EUHYEL.js → gateway-UT5GFV5R.js} +3 -3
  6. package/index.cjs +15 -10
  7. package/index.cjs.map +1 -1
  8. package/index.d.cts +4 -4
  9. package/index.d.ts +4 -4
  10. package/index.global.js +148 -30851
  11. package/index.global.js.map +1 -1
  12. package/index.js +8 -8
  13. package/index.js.map +1 -1
  14. package/{key-bag-file-VP6Y7N26.js → key-bag-file-GTGVZHHM.js} +3 -3
  15. package/{key-bag-indexdb-VOVNNCXQ.js → key-bag-indexdb-NZMTNJLK.js} +3 -3
  16. package/metafile-cjs.json +1 -1
  17. package/metafile-esm.json +1 -1
  18. package/metafile-iife.json +1 -1
  19. package/package.json +9 -9
  20. package/tests/fireproof/fireproof.test.ts +1 -1
  21. package/{utils-WS4AZWA7.js → utils-5UEZAKVP.js} +3 -3
  22. package/web/gateway-impl.cjs +7 -2
  23. package/web/gateway-impl.cjs.map +1 -1
  24. package/web/gateway-impl.d.cts +1 -1
  25. package/web/gateway-impl.d.ts +1 -1
  26. package/web/gateway-impl.js +7 -2
  27. package/web/gateway-impl.js.map +1 -1
  28. package/web/metafile-cjs.json +1 -1
  29. package/web/metafile-esm.json +1 -1
  30. package/chunk-D4E6UX6S.js.map +0 -1
  31. /package/{chunk-PWEDYV5H.js.map → chunk-UUOLR3GZ.js.map} +0 -0
  32. /package/{gateway-72EUHYEL.js.map → gateway-UT5GFV5R.js.map} +0 -0
  33. /package/{key-bag-file-VP6Y7N26.js.map → key-bag-file-GTGVZHHM.js.map} +0 -0
  34. /package/{key-bag-indexdb-VOVNNCXQ.js.map → key-bag-indexdb-NZMTNJLK.js.map} +0 -0
  35. /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> {