@fireproof/core 0.4.0 → 0.4.1
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/dist/src/fireproof.d.ts +27 -2
- package/dist/src/fireproof.js +2 -1
- package/dist/src/fireproof.js.map +1 -1
- package/dist/src/fireproof.mjs +2 -1
- package/dist/src/fireproof.mjs.map +1 -1
- package/package.json +1 -1
- package/src/database.js +2 -1
- package/dist/blockstore.js +0 -242
- package/dist/clock.js +0 -355
- package/dist/crypto.js +0 -59
- package/dist/database.js +0 -308
- package/dist/db-index.js +0 -314
- package/dist/fireproof.js +0 -83
- package/dist/hooks/use-fireproof.js +0 -100
- package/dist/listener.js +0 -110
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -17
- package/dist/prolly.js +0 -316
- package/dist/sha1.js +0 -74
- package/dist/src/blockstore.js +0 -242
- package/dist/src/clock.js +0 -355
- package/dist/src/crypto.js +0 -59
- package/dist/src/database.js +0 -312
- package/dist/src/db-index.js +0 -314
- package/dist/src/index.d.ts +0 -321
- package/dist/src/index.js +0 -38936
- package/dist/src/index.js.map +0 -1
- package/dist/src/index.mjs +0 -38931
- package/dist/src/index.mjs.map +0 -1
- package/dist/src/listener.js +0 -108
- package/dist/src/prolly.js +0 -319
- package/dist/src/sha1.js +0 -74
- package/dist/src/utils.js +0 -16
- package/dist/src/valet.js +0 -262
- package/dist/test/block.js +0 -57
- package/dist/test/clock.test.js +0 -556
- package/dist/test/db-index.test.js +0 -231
- package/dist/test/fireproof.test.js +0 -444
- package/dist/test/fulltext.test.js +0 -61
- package/dist/test/helpers.js +0 -39
- package/dist/test/hydrator.test.js +0 -142
- package/dist/test/listener.test.js +0 -103
- package/dist/test/prolly.test.js +0 -162
- package/dist/test/proofs.test.js +0 -45
- package/dist/test/reproduce-fixture-bug.test.js +0 -57
- package/dist/test/valet.test.js +0 -56
- package/dist/utils.js +0 -16
- package/dist/valet.js +0 -262
package/dist/src/fireproof.mjs
CHANGED
@@ -38201,11 +38201,12 @@ class Database {
|
|
38201
38201
|
return doc
|
38202
38202
|
}
|
38203
38203
|
/**
|
38204
|
-
* @typedef {
|
38204
|
+
* @typedef {Object} Document
|
38205
38205
|
* @property {string} _id - The ID of the document (required)
|
38206
38206
|
* @property {string} [_proof] - The proof of the document (optional)
|
38207
38207
|
* @property {string} [_clock] - The clock of the document (optional)
|
38208
38208
|
* @property {any} [key: string] - Index signature notation to allow any other unknown fields
|
38209
|
+
* * @property {Object.<string, any>} [otherProperties] - Any other unknown properties (optional)
|
38209
38210
|
*/
|
38210
38211
|
|
38211
38212
|
/**
|