OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-identity2 / index.js

14 lines · javascript ref:
// hyper-identity2 — the identity layer on autobee.
//
// Same registry, same ops, same apply as `hyper-identity`; all of that lives in
// `hyper-identity-core` and is shared, not copied. What differs is the engine, and the engine is
// the PACKAGE — pick the one you want rather than passing a flag that could be wrong.
//
// It depends on autobee and NOT on autobase, which is the whole point: a consumer already running
// autobee (favela-peer) can use the identity layer without carrying a second multi-writer engine.

export { IdentityRegistry } from './lib/registry.js'
export { Hyperbee2View, BatchView } from './lib/view-shim.js'
export { adaptHost } from './lib/adapt-host.js'
export { OpTypes, encodeOp, decodeOp, validateOp, createApplyFunction } from 'hyper-identity-core'