OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-identity / lib / auth / identity-apply.js

8 lines · javascript ref:
// Moved to `hyper-identity-core`. Kept as a re-export — see identity-operations.js.
//
// ⚠ The core's apply speaks `addWriter(key, { isIndexer })`. This package is the AUTOBASE binding,
// so it passes an `adaptHost` that translates to autobase's `{ indexer }` — see
// identity-registry.js. Calling the core's apply from here WITHOUT that adapter would hand autobase
// an option it does not know, and autobase would create a plain writer where an indexer was meant.
export { createApplyFunction } from 'hyper-identity-core/apply'