@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.
Files changed (48) hide show
  1. package/dist/src/fireproof.d.ts +27 -2
  2. package/dist/src/fireproof.js +2 -1
  3. package/dist/src/fireproof.js.map +1 -1
  4. package/dist/src/fireproof.mjs +2 -1
  5. package/dist/src/fireproof.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/src/database.js +2 -1
  8. package/dist/blockstore.js +0 -242
  9. package/dist/clock.js +0 -355
  10. package/dist/crypto.js +0 -59
  11. package/dist/database.js +0 -308
  12. package/dist/db-index.js +0 -314
  13. package/dist/fireproof.js +0 -83
  14. package/dist/hooks/use-fireproof.js +0 -100
  15. package/dist/listener.js +0 -110
  16. package/dist/main.js +0 -2
  17. package/dist/main.js.LICENSE.txt +0 -17
  18. package/dist/prolly.js +0 -316
  19. package/dist/sha1.js +0 -74
  20. package/dist/src/blockstore.js +0 -242
  21. package/dist/src/clock.js +0 -355
  22. package/dist/src/crypto.js +0 -59
  23. package/dist/src/database.js +0 -312
  24. package/dist/src/db-index.js +0 -314
  25. package/dist/src/index.d.ts +0 -321
  26. package/dist/src/index.js +0 -38936
  27. package/dist/src/index.js.map +0 -1
  28. package/dist/src/index.mjs +0 -38931
  29. package/dist/src/index.mjs.map +0 -1
  30. package/dist/src/listener.js +0 -108
  31. package/dist/src/prolly.js +0 -319
  32. package/dist/src/sha1.js +0 -74
  33. package/dist/src/utils.js +0 -16
  34. package/dist/src/valet.js +0 -262
  35. package/dist/test/block.js +0 -57
  36. package/dist/test/clock.test.js +0 -556
  37. package/dist/test/db-index.test.js +0 -231
  38. package/dist/test/fireproof.test.js +0 -444
  39. package/dist/test/fulltext.test.js +0 -61
  40. package/dist/test/helpers.js +0 -39
  41. package/dist/test/hydrator.test.js +0 -142
  42. package/dist/test/listener.test.js +0 -103
  43. package/dist/test/prolly.test.js +0 -162
  44. package/dist/test/proofs.test.js +0 -45
  45. package/dist/test/reproduce-fixture-bug.test.js +0 -57
  46. package/dist/test/valet.test.js +0 -56
  47. package/dist/utils.js +0 -16
  48. package/dist/valet.js +0 -262
@@ -38201,11 +38201,12 @@ class Database {
38201
38201
  return doc
38202
38202
  }
38203
38203
  /**
38204
- * @typedef {any} Document
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
  /**