@fireproof/core 0.20.0-dev-preview-51 → 0.20.0-dev-preview-53
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/README.md +147 -59
- package/deno.json +2 -2
- package/index.cjs +2 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +1 -1
- package/index.d.ts +1 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/metafile-cjs.json +1 -1
- package/metafile-esm.json +1 -1
- package/package.json +4 -4
- package/react/index.cjs +64 -0
- package/react/index.cjs.map +1 -1
- package/react/index.d.cts +290 -2
- package/react/index.d.ts +290 -2
- package/react/index.js +54 -0
- package/react/index.js.map +1 -1
- package/react/metafile-cjs.json +1 -1
- package/react/metafile-esm.json +1 -1
- package/tests/react/img-file.test.tsx +199 -0
- package/tests/react/useFireproof.test.tsx +418 -334
package/index.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Logger, Future,
|
1
|
+
import { Logger, Future, URI, CryptoRuntime, ResolveOnce, Result, ResolveSeq, CTCryptoKey, CoerceURI, LRUSet, Env, EnvFactoryOpts, runtimeFn } from '@adviser/cement';
|
2
2
|
import { EventLink } from '@fireproof/vendor/@web3-storage/pail/clock/api';
|
3
3
|
import { Operation } from '@fireproof/vendor/@web3-storage/pail/crdt/api';
|
4
4
|
import { Version, Block as Block$1, UnknownLink, CID, ByteView, ArrayBufferView, Link, MultihashHasher, BlockView } from 'multiformats';
|
package/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Logger, Future,
|
1
|
+
import { Logger, Future, URI, CryptoRuntime, ResolveOnce, Result, ResolveSeq, CTCryptoKey, CoerceURI, LRUSet, Env, EnvFactoryOpts, runtimeFn } from '@adviser/cement';
|
2
2
|
import { EventLink } from '@fireproof/vendor/@web3-storage/pail/clock/api';
|
3
3
|
import { Operation } from '@fireproof/vendor/@web3-storage/pail/crdt/api';
|
4
4
|
import { Version, Block as Block$1, UnknownLink, CID, ByteView, ArrayBufferView, Link, MultihashHasher, BlockView } from 'multiformats';
|
package/index.js
CHANGED
@@ -2163,6 +2163,7 @@ var DatabaseImpl = class {
|
|
2163
2163
|
}
|
2164
2164
|
async allDocs(opts = {}) {
|
2165
2165
|
await this.ready();
|
2166
|
+
void opts;
|
2166
2167
|
this.logger.Debug().Msg("allDocs");
|
2167
2168
|
const { result, head } = await this.ledger.crdt.allDocs();
|
2168
2169
|
const rows = result.map(({ id: key, value, del }) => ({
|
@@ -5256,7 +5257,7 @@ __export(file_exports, {
|
|
5256
5257
|
|
5257
5258
|
// src/version.ts
|
5258
5259
|
var PACKAGE_VERSION = Object.keys({
|
5259
|
-
"0.20.0-dev-preview-
|
5260
|
+
"0.20.0-dev-preview-53": "xxxx"
|
5260
5261
|
})[0];
|
5261
5262
|
export {
|
5262
5263
|
CRDTImpl,
|