@fireproof/core 0.14.7 → 0.14.9

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.
@@ -1,3 +1,4 @@
1
1
  export declare function getCrypto(): Crypto | null;
2
- export declare const crypto: Crypto | null;
2
+ declare const gotCrypto: Crypto | null;
3
+ export { gotCrypto as crypto };
3
4
  export declare function randomBytes(size: number): Uint8Array;
@@ -24,6 +24,13 @@ export declare class Database {
24
24
  }[];
25
25
  clock: ClockHead;
26
26
  }>;
27
+ allDocuments(): Promise<{
28
+ rows: {
29
+ key: string;
30
+ value: Doc;
31
+ }[];
32
+ clock: ClockHead;
33
+ }>;
27
34
  subscribe(listener: ListenerFn | NoUpdateListenerFn, updates?: boolean): () => void;
28
35
  query(field: string | MapFn, opts?: QueryOpts): Promise<{
29
36
  rows: import("./types").IndexRow[];
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "0.14.7";
1
+ export declare const PACKAGE_VERSION = "0.14.9";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fireproof/core",
3
- "version": "0.14.7",
3
+ "version": "0.14.9",
4
4
  "description": "Live database for the web.",
5
5
  "main": "./dist/browser/fireproof.cjs",
6
6
  "module": "./dist/browser/fireproof.esm.js",
@@ -127,15 +127,9 @@
127
127
  "@ipld/car": "^5.2.0",
128
128
  "@ipld/dag-cbor": "^9.0.3",
129
129
  "@ipld/dag-json": "^10.1.2",
130
- "@ipld/dag-ucan": "^3.3.2",
131
130
  "@ipld/unixfs": "^2.1.1",
132
131
  "@peculiar/webcrypto": "^1.4.3",
133
- "@ucanto/core": "^8.2.0",
134
- "@ucanto/interface": "^8.1.0",
135
- "@web3-storage/clock": "^0.3.0",
136
- "@web3-storage/w3up-client": "^8.0.1",
137
132
  "charwise": "^3.0.1",
138
- "cross-fetch": "^4.0.0",
139
133
  "idb": "^7.1.1",
140
134
  "ipfs-unixfs-exporter": "^13.1.7",
141
135
  "multiformats": "^12.0.1",