@fireproof/core 0.19.111 → 0.19.112-dev-iife
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-OFGPKRCM.js → chunk-D4E6UX6S.js} +3 -8
- package/chunk-D4E6UX6S.js.map +1 -0
- package/{chunk-WS3YRPIA.js → chunk-OKACCIGZ.js} +15 -29
- package/chunk-OKACCIGZ.js.map +1 -0
- package/chunk-PZ5AY32C.js +10 -0
- package/deno.json +1 -2
- package/gateway-3YJXDXD3.js +59 -0
- package/gateway-3YJXDXD3.js.map +1 -0
- package/{gateway-5FCWPX5W.js → gateway-HUSQCAA7.js} +5 -4
- package/gateway-HUSQCAA7.js.map +1 -0
- package/index.cjs +64 -274
- package/index.cjs.map +1 -1
- package/index.d.cts +1 -3
- package/index.d.ts +1 -3
- package/index.global.js +575 -312
- package/index.global.js.map +1 -1
- package/index.js +19 -19
- package/index.js.map +1 -1
- package/{key-bag-file-WADZBHYG.js → key-bag-file-QCOF7UFH.js} +4 -3
- package/{key-bag-file-WADZBHYG.js.map → key-bag-file-QCOF7UFH.js.map} +1 -1
- package/{key-bag-indexdb-PGVAI3FJ.js → key-bag-indexdb-VHX3MZ66.js} +4 -3
- package/{key-bag-indexdb-PGVAI3FJ.js.map → key-bag-indexdb-VHX3MZ66.js.map} +1 -1
- package/metafile-cjs.json +1 -1
- package/metafile-esm.json +1 -1
- package/metafile-iife.json +1 -1
- package/node/chunk-4A4RAVNS.js +17 -0
- package/node/chunk-4A4RAVNS.js.map +1 -0
- package/node/mem-filesystem.cjs +72 -0
- package/node/mem-filesystem.cjs.map +1 -0
- package/node/mem-filesystem.d.cts +25 -0
- package/node/mem-filesystem.d.ts +25 -0
- package/{mem-filesystem-YPPJV7Q2.js → node/mem-filesystem.js} +3 -4
- package/node/mem-filesystem.js.map +1 -0
- package/node/metafile-cjs.json +1 -0
- package/node/metafile-esm.json +1 -0
- package/node/node-filesystem.cjs +86 -0
- package/node/node-filesystem.cjs.map +1 -0
- package/node/node-filesystem.d.cts +36 -0
- package/node/node-filesystem.d.ts +36 -0
- package/{node-filesystem-INX4ZTHE.js → node/node-filesystem.js} +3 -4
- package/node/node-filesystem.js.map +1 -0
- package/node/types-DARSfXlb.d.cts +23 -0
- package/node/types-DARSfXlb.d.ts +23 -0
- package/package.json +15 -6
- package/tests/blockstore/keyed-crypto.test.ts +2 -2
- package/tests/blockstore/store.test.ts +3 -5
- package/tests/fireproof/all-gateway.test.ts +11 -9
- package/utils-GYG2FMCZ.js +13 -0
- package/utils-GYG2FMCZ.js.map +1 -0
- package/web/gateway-impl.cjs +319 -0
- package/web/gateway-impl.cjs.map +1 -0
- package/web/gateway-impl.d.cts +86 -0
- package/web/gateway-impl.d.ts +86 -0
- package/{gateway-H7UD6TNB.js → web/gateway-impl.js} +165 -20
- package/web/gateway-impl.js.map +1 -0
- package/web/metafile-cjs.json +1 -0
- package/web/metafile-esm.json +1 -0
- package/chunk-OFGPKRCM.js.map +0 -1
- package/chunk-PB4BKL4O.js +0 -7
- package/chunk-PB4BKL4O.js.map +0 -1
- package/chunk-WS3YRPIA.js.map +0 -1
- package/gateway-5FCWPX5W.js.map +0 -1
- package/gateway-H7UD6TNB.js.map +0 -1
- package/mem-filesystem-YPPJV7Q2.js.map +0 -1
- package/node-filesystem-INX4ZTHE.js.map +0 -1
- package/utils-QO2HIWGI.js +0 -14
- /package/{utils-QO2HIWGI.js.map → chunk-PZ5AY32C.js.map} +0 -0
package/index.d.cts
CHANGED
@@ -1037,7 +1037,6 @@ declare function fireproof(name: string, opts?: ConfigOpts): Database;
|
|
1037
1037
|
declare function getFileSystem(url: URI): Promise<SysFileSystem>;
|
1038
1038
|
declare function getPath(url: URI, sthis: SuperThis): string;
|
1039
1039
|
declare function getFileName(url: URI, sthis: SuperThis): string;
|
1040
|
-
declare function toArrayBuffer(buffer: Buffer | string): Uint8Array;
|
1041
1040
|
|
1042
1041
|
declare function encodeFile(blob: BlobLike): Promise<{
|
1043
1042
|
cid: AnyLink;
|
@@ -1128,9 +1127,8 @@ declare const index_getFileName: typeof getFileName;
|
|
1128
1127
|
declare const index_getFileSystem: typeof getFileSystem;
|
1129
1128
|
declare const index_getPath: typeof getPath;
|
1130
1129
|
declare const index_runtimeFn: typeof runtimeFn;
|
1131
|
-
declare const index_toArrayBuffer: typeof toArrayBuffer;
|
1132
1130
|
declare namespace index {
|
1133
|
-
export { index_FILESTORE_VERSION as FILESTORE_VERSION, index_INDEXDB_VERSION as INDEXDB_VERSION, index_files as files, index_getFileName as getFileName, index_getFileSystem as getFileSystem, index_getPath as getPath, keyBag as kb, keyedCrypto as kc, index$1 as mf, index_runtimeFn as runtimeFn
|
1131
|
+
export { index_FILESTORE_VERSION as FILESTORE_VERSION, index_INDEXDB_VERSION as INDEXDB_VERSION, index_files as files, index_getFileName as getFileName, index_getFileSystem as getFileSystem, index_getPath as getPath, keyBag as kb, keyedCrypto as kc, index$1 as mf, index_runtimeFn as runtimeFn };
|
1134
1132
|
}
|
1135
1133
|
|
1136
1134
|
declare const PACKAGE_VERSION: string;
|
package/index.d.ts
CHANGED
@@ -1037,7 +1037,6 @@ declare function fireproof(name: string, opts?: ConfigOpts): Database;
|
|
1037
1037
|
declare function getFileSystem(url: URI): Promise<SysFileSystem>;
|
1038
1038
|
declare function getPath(url: URI, sthis: SuperThis): string;
|
1039
1039
|
declare function getFileName(url: URI, sthis: SuperThis): string;
|
1040
|
-
declare function toArrayBuffer(buffer: Buffer | string): Uint8Array;
|
1041
1040
|
|
1042
1041
|
declare function encodeFile(blob: BlobLike): Promise<{
|
1043
1042
|
cid: AnyLink;
|
@@ -1128,9 +1127,8 @@ declare const index_getFileName: typeof getFileName;
|
|
1128
1127
|
declare const index_getFileSystem: typeof getFileSystem;
|
1129
1128
|
declare const index_getPath: typeof getPath;
|
1130
1129
|
declare const index_runtimeFn: typeof runtimeFn;
|
1131
|
-
declare const index_toArrayBuffer: typeof toArrayBuffer;
|
1132
1130
|
declare namespace index {
|
1133
|
-
export { index_FILESTORE_VERSION as FILESTORE_VERSION, index_INDEXDB_VERSION as INDEXDB_VERSION, index_files as files, index_getFileName as getFileName, index_getFileSystem as getFileSystem, index_getPath as getPath, keyBag as kb, keyedCrypto as kc, index$1 as mf, index_runtimeFn as runtimeFn
|
1131
|
+
export { index_FILESTORE_VERSION as FILESTORE_VERSION, index_INDEXDB_VERSION as INDEXDB_VERSION, index_files as files, index_getFileName as getFileName, index_getFileSystem as getFileSystem, index_getPath as getPath, keyBag as kb, keyedCrypto as kc, index$1 as mf, index_runtimeFn as runtimeFn };
|
1134
1132
|
}
|
1135
1133
|
|
1136
1134
|
declare const PACKAGE_VERSION: string;
|