@fireproof/core 0.3.6 → 0.3.8
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 +1 -1
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +17 -0
- package/hooks/use-fireproof.js +1 -1
- package/index.js +6 -0
- package/package.json +6 -13
- package/src/blockstore.js +2 -3
- package/src/clock.js +3 -4
- package/src/crypto.js +0 -1
- package/src/db-index.js +5 -10
- package/src/fireproof.js +10 -15
- package/src/hydrator.js +3 -3
- package/src/listener.js +1 -2
- package/src/prolly.js +24 -11
- package/src/sha1.js +1 -2
- package/src/valet.js +5 -7
- package/test/db-index.test.js +4 -4
- package/test/fireproof.test.js +7 -5
- package/test/fulltext.test.js +1 -1
- package/test/hydrator.test.js +3 -3
- package/test/listener.test.js +4 -4
- package/test/proofs.test.js +1 -1
- package/test/reproduce-fixture-bug.test.js +2 -2
- package/test/valet.test.js +1 -1
- package/src/index.js +0 -6
- package/tsconfig.json +0 -104
package/README.md
CHANGED
@@ -18,7 +18,7 @@ Fireproof is alpha software, you should only use it if you are planning to contr
|
|
18
18
|
## Usage
|
19
19
|
|
20
20
|
```js
|
21
|
-
import
|
21
|
+
import Fireproof from 'fireproof';
|
22
22
|
|
23
23
|
async function main() {
|
24
24
|
const database = Fireproof.storage('my-db');
|