Skip to content

v1.0.2

Compare
Choose a tag to compare
@flux627 flux627 released this 17 Aug 14:48
· 200 commits to master since this release

This is a project restructure that removes abstract class implementations. Class implementations will now reside in separate repositories.

Breaking changes

  • Project now has simpler, flatter directory structure, and flatter import tree. Classes are now available at the root level, e.g.:
// ES6
import { AbstractActionHandler } from "demux-js"
// Using require
const { AbstractActionHandler } = require("demux-js")
  • Since class implementations are removed, you'll now have to require either demux-eos or demux-postgres depending on which one you need.

  • Block info has now been factored into its own interface BlockInfo, and is thus nested as its own attribute inside Block. This is useful if you ever need to extend block info within your own implementations.