EOSIO / EOSIO/demux-js-eos

Error while importing "demux-eos"

Open
#103 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
39
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I am experiencing an error while importing the `demux-eos` package following the instructions written in the readme.

## What is not working

```
const {NodeosActionReader} = require("demux-eos/v1.8")

import {NodeosActionReader} from "demux-eos/v1.8"
```

Results in an import error.

Also in the doc sometimes the `v` for the version is missing like in `NodeosActionReader` setup section, last line of the text I attach here:

```
NodeosActionReader

Makes requests directly to a specified Nodeos API endpoint to obtain block data.
Setup

All that is required is a running Nodeos instance that has the chain_api_plugin enabled.
Example

const { BaseActionWatcher } = require("demux")
const { NodeosActionReader } = require("demux-eos/1.8")
```

## What is working

`const { NodeosActionReader } = require("demux-eos")`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.