You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")
I just tried it today for our project, you could use the latest (but not officially released) version [email protected] then const {NodeosActionReader} = require("demux-eos/v1.8") works nicely.
I am experiencing an error while importing the
demux-eos
package following the instructions written in the readme.What is not working
Results in an import error.
Also in the doc sometimes the
v
for the version is missing like inNodeosActionReader
setup section, last line of the text I attach here:What is working
const { NodeosActionReader } = require("demux-eos")
The text was updated successfully, but these errors were encountered: