mirror of https://codeberg.org/pzp/pzp-dict.git
Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
|
5a3444baea | |
|
7efeaeaadc | |
|
0d8152e359 |
|
@ -1,5 +1,7 @@
|
|||
# pzp-dict
|
||||
|
||||
Dictionary data structure over append-only logs with pruning
|
||||
|
||||
## Installation
|
||||
|
||||
```js
|
||||
|
|
|
@ -358,6 +358,7 @@ function initDict(peer, config) {
|
|||
|
||||
// prettier-ignore
|
||||
if (!tangle) return cb(null, 0)
|
||||
if (!tangle.root) return cb(null, 0)
|
||||
// prettier-ignore
|
||||
if (!MsgV4.isMoot(tangle.root)) return cb(Error(`Tangle "${tangleID}" is not a moot`))
|
||||
const domain = tangle.root.metadata.domain
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pzp-dict",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Dictionary data structure over append-only logs with pruning",
|
||||
"author": "Andre Staltz <contact@staltz.com>",
|
||||
"license": "MIT",
|
||||
|
@ -32,7 +32,7 @@
|
|||
"bs58": "^5.0.0",
|
||||
"c8": "7",
|
||||
"pzp-caps": "^1.0.0",
|
||||
"pzp-db": "^1.0.1",
|
||||
"pzp-db": "^1.0.3",
|
||||
"pzp-keypair": "^1.0.0",
|
||||
"rimraf": "^4.4.0",
|
||||
"secret-handshake-ext": "0.0.10",
|
||||
|
|
Loading…
Reference in New Issue