OverviewFilesCommitsIssuesDocsReleasesPeers

favela-android / lib / adopt.js

9 lines · javascript ref:
// MOVED: the ceremony now lives in hyper-proto-peer/lib/adopt.js.
//
// It belongs beside coowner.js — the ceremony it drives — because ANY node holding the DID must be able
// to mint an invite for the next device, not just the phone. Keet's `addDevice` is available to every
// active member and confers nothing on the adder; ours should be too.
//
// The phone keeps importing from here so lib/node.js and test/adopt.test.mjs are unchanged.
export { mintAdoptInvite, joinAdoptInvite } from 'hyper-proto-peer/lib/adopt.js'