Skip to content

Commit ab94ceb

Browse files
committed
some operators use useMap and prefix
1 parent 8b7482c commit ab94ceb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

operators/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function votesFor(msgKey) {
4747
type('vote'),
4848
equal(seekVoteLink, msgKey, {
4949
prefix: 32,
50+
useMap: true,
5051
indexType: 'value_content_vote_link',
5152
})
5253
)()
@@ -57,6 +58,7 @@ function contact(feedId) {
5758
type('contact'),
5859
equal(seekContact, feedId, {
5960
prefix: 32,
61+
useMap: true,
6062
indexType: 'value_content_contact',
6163
})
6264
)()
@@ -72,20 +74,23 @@ function mentions(key) {
7274
function hasRoot(msgKey) {
7375
return equal(seekRoot, msgKey, {
7476
prefix: 32,
77+
useMap: true,
7578
indexType: 'value_content_root',
7679
})
7780
}
7881

7982
function hasFork(msgKey) {
8083
return equal(seekFork, msgKey, {
8184
prefix: 32,
85+
useMap: true,
8286
indexType: 'value_content_fork',
8387
})
8488
}
8589

8690
function hasBranch(msgKey) {
8791
return equal(seekBranch, msgKey, {
8892
prefix: 32,
93+
useMap: true,
8994
indexType: 'value_content_branch',
9095
})
9196
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"fastintcompression": "0.0.4",
1717
"flumecodec": "0.0.1",
1818
"flumelog-offset": "3.4.4",
19-
"jitdb": "^1.0.5",
19+
"jitdb": "^1.1.0",
2020
"level": "^6.0.1",
2121
"lodash.debounce": "^4.0.8",
2222
"mkdirp": "^1.0.4",

0 commit comments

Comments
 (0)