Skip to content

Commit 8041c0b

Browse files
committed
Fix for NPM package
1 parent 5744572 commit 8041c0b

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
# 0.1.5 -- NPM Package Tweaks
3+
4+
- Including all stores in lib
5+
26
# 0.1.4 -- NPM Package
37

48
- NPM Package using npmpub

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eth-indexer",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "High performance Ethereum smart contract event indexing for fast local retrieval",
55
"author": "Dominiek Ter Heide <[email protected]>",
66
"license": "MIT",

src/index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@
22
import logger from './logger';
33
import Ethereum from './ethereum';
44

5+
import memoryStore from './stores/memory';
56
import fileStore from './stores/file';
7+
import redisStore from './stores/redis';
8+
import mongodbStore from './stores/mongodb';
9+
import elasticsearchStore from './stores/elasticsearch';
10+
import levelStore from './stores/level';
611

712
export const stores = {
13+
memory: memoryStore,
814
file: fileStore,
15+
redis: redisStore,
16+
mongodb: mongodbStore,
17+
elasticsearch: elasticsearchStore,
18+
level: levelStore,
919
};
1020

1121
const waitForBlockchainSync = client => new Promise((accept) => {

0 commit comments

Comments
 (0)