@minca/core
@minca/core Self-sovereign, peer-to-peer protocol for the browser.
Identity via WebAuthn passkeys, data as signed Versions, sync by range-based set reconciliation (Negentropy), and end-to-end encryption for private Spaces.
Classes
Interfaces
- AccessGenesis
- AccessHistory
- AccessState
- AccountProfileView
- AccountStore
- AccountSummary
- AccountVault
- ActionSchema
- ActivityMatch
- AppAutomation
- AuthOptions
- AutomationProposal
- BlobStore
- BodyPlace
- BoolExpr
- CacheConfig
- CapabilityGate
- CapabilityGateConfig
- CarriedSpace
- CarrierConfig
- CarrierSummary
- CelExpr
- Channel
- ChannelKind
- Cited
- ClaimedWriter
- ClientAuth
- CollectionContract
- CollectionDef
- CollectionDefinition
- CollectionRules
- ComputedContext
- ContactKeyPair
- ContactRequest
- ContactView
- Contract
- ContractContext
- CopyAccountParams
- CopyResult
- CreateSpaceParams
- CryptoKeyPairResult
- CryptoProvider
- DefineCollection
- Delegation
- DelegationPayload
- DeviceKey
- DeviceWrap
- DirectBody
- DirectContent
- DirectMessage
- DirectoryHandleLike
- DynExpr
- Emitter
- EncryptedAdapterOptions
- EncryptedVersionBody
- FileHandleLike
- FileLimits
- FileRef
- FolderAdapter
- FolderReconciliation
- FolderReload
- FundLine
- FundOffer
- FundPayment
- HeadStore
- HostClient
- HostConfig
- HostConnectorOffer
- HostDescription
- HostedBot
- Hosting
- HostingView
- HostLimits
- HostStatus
- Identity
- IdentityManager
- InboxView
- Include
- IncomingValidation
- IntExpr
- InviteLinkOptions
- InviteOptions
- InvitePreview
- IssueOptions
- Item
- Keeper
- KnockView
- Line
- Link
- ListExpr
- ListOptions
- Membership
- Mesh
- MeshConfig
- MeshStatus
- MessagePortLike
- Mirror
- MirrorConfig
- NetworkManager
- NetworkManagerConfig
- NetworkMessage
- NewSpace
- NodeAccount
- NodeAction
- NodeAutomations
- NodeCollection
- NodeCollections
- NodeConfig
- NodeContacts
- NodeDirect
- NodeHosting
- NodeInbox
- NodeNetwork
- NodeNetworkConfig
- NodeRecord
- NodeRecords
- NodeSpaces
- NoteRequest
- NoteTerms
- NotifyMatch
- NumExpr
- Operators
- OperatorsFor
- OverSpace
- OwnAutomationView
- P2PNode
- PairingTicket
- PasskeyAuth
- PasskeyOptions
- PasskeyRegistration
- PassphraseWrap
- PeerInfo
- PeerTransport
- PendingConnection
- ProtocolError
- Query
- QueryRecord
- QueryResult
- QuerySource
- RelayedSignal
- RelayKind
- RelayLink
- RelayStatus
- Rendezvous
- Requirement
- RoleDefinition
- RolePreset
- RootSigner
- Round
- S3Config
- SchemaEngine
- SchemaIssue
- SeenSignals
- SentKnockView
- ServerAuth
- SignalledTransport
- SignedStatus
- Signer
- Space
- SpaceAccess
- SpaceGrant
- SpaceHostClient
- SpaceHostingView
- SpaceInvite
- SpaceInviteView
- SpaceKey
- SpaceKeyPair
- SpaceManager
- SpaceProfile
- SpaceRecord
- SpaceRole
- SpaceStatus
- SpaceSummary
- SpaceUsage
- StandardJSONSchemaV1
- StandardSchemaIssue
- StandardSchemaV1
- StorageAdapter
- StoredCollection
- StoreOptions
- StrExpr
- Subscription
- SubscriptionKey
- Sum
- SyncEngine
- SyncEngineConfig
- SyncState
- Typed
- UnsignedVersion
- ValidationResult
- VerifyOptions
- Version
- VersionExpr
- Wake
- WakeView
- WatchNotificationsOptions
- WebSocketTransportConfig
- WorkerLike
- WorkerNodeConfig
- WritableFileLike
- WriterKeySource
Type Aliases
- AccessEvent
- BatchOp
- BodyOf
- BoolLike
- Bound
- CarrierEvent
- CarrierNode
- CelInt
- ChannelSide
- CollectionRef
- ComputedFields
- ComputedIn
- ComputedOf
- ComputedResult
- ComputedValues
- Condition
- ConnectionState
- Constitution
- Envelope
- EventStatus
- Expr
- Filter
- FilterOf
- FilterSubject
- FoundingRole
- HostNode
- IncludedOf
- IncludeMap
- JsonSchema
- Needs
- NetworkEvents
- NodeEvent
- NoteCheck
- ObjExpr
- PayAnswer
- PeerTransportEvents
- Policy
- ProtocolErrorCode
- RecordVerdict
- RelayLinkEvents
- RelayState
- RendezvousEvents
- Result
- ResultFor
- ResultOf
- RolesTo
- SeedWrap
- SignalKind
- SortDirection
- SortOf
- SpaceTop
- SpaceVisibility
- StandardSchemaResult
- Statement
- StoreFactory
- SubscriptionState
- SyncMessage
- Taken
- TypedFilter
- Verified
- WorkerStores
Variables
- ACCESS_COLLECTIONS
- ACCESS_COMMAND
- ACCOUNT_COMMAND
- ALL_COMMAND
- ASSIGN_COLLECTION
- CATALOG_COLLECTION
- CLI_PASSPHRASE_LABEL
- CODE_CHANNEL
- COLLECTION_DEFINE
- community
- CONSTITUTION
- coop
- DEFAULT_ENCRYPTED_PREFIXES
- DEFINE_COMMAND
- DELEGATION_TYPE
- DEVICE_LIMITS
- HOST_DESCRIPTION_PATH
- HOSTING_COLLECTION
- INVITE_COLLECTION
- KEY_CHANGE
- MAX_DIRECT_TO
- MAX_HOPS
- MAX_INCLUDE_DEPTH
- MAX_PROPOSALS
- MAX_RELAYS
- MEMBER_REMOVE
- MEMBERSHIP_COLLECTION
- NODE_ACTIONS
- P256_MULTICODEC
- PAIRING_CHANNEL
- PASSPHRASE_ITERATIONS
- PEER_CONTENT_NOTE
- PEERS_MESSAGE
- PERSON_ONLY
- READ_COMMAND
- RECORD_DELETE
- RECORD_READ
- RECORD_WRITE
- RECORDS_COMMAND
- RECOVERY_SEED_BYTES
- REMOVE_COLLECTION
- REQUEST_WINDOW_SECONDS
- REVOKE_COLLECTION
- ROLE_ASSIGN
- ROLE_COLLECTION
- ROLE_DEFINE
- ROLE_UNASSIGN
- rolePresets
- SESSION_COMMAND
- SIGNAL_MESSAGE
- solo
- SPACE_KEEPERS
- SPACE_RELAYS
- SPACE_SUCCEED
- STAFF_COLLECTIONS
- STEPDOWN_COLLECTION
- STRONG_REMOVE
- SUCCEED_COLLECTION
- SYNC_PROTOCOL_VERSION
- team
- WRITE_COMMAND
Functions
- accessGenesisOf
- accountDataPath
- assignKey
- asStandardSchema
- authenticatePasskey
- base64UrlDecode
- base64UrlEncode
- browserWriterKeys
- bytesToHex
- callAction
- canonicalize
- channelKeyPair
- channelRoom
- checkActionInput
- checkAppAutomation
- checkComputed
- checkFilter
- checkFoundingRoles
- checkOwnAutomation
- checkPublishableSchema
- checkQuery
- checkRelays
- checkRules
- checkSpace
- checkStoredCollection
- cidFromBytes
- collection
- commandCovers
- computedSchemas
- concatBytes
- constitutionOf
- constitutionProblem
- contactKeyPair
- contactPublicKey
- contract
- contractCostHints
- copyAccountData
- createBrowserAccountStore
- createCapabilityGate
- createCarrierNode
- createClientAuth
- createCryptoGate
- createDeviceKey
- createDirectoryBlobStore
- createEmitter
- createEncryptedAdapter
- createFolderAccountStore
- createFolderAdapter
- createHostClient
- createHostNode
- createIdentityManager
- createLocalRootSigner
- createMemoryBlobStore
- createMesh
- createMeshAuth
- createMirror
- createNetworkManager
- createNode
- createP256Provider
- createReconciler
- createRelayLink
- createRendezvous
- createRTCTransport
- createS3BlobStore
- createSchemaEngine
- createSeenSignals
- createServerAuth
- createSigner
- createSpaceHostClient
- createSpaceManager
- createSyncEngine
- createVault
- createVersion
- createVersionCheck
- createWebSocketTransport
- decodePairingTicket
- delegationId
- deleteDeviceKey
- deleteMirrored
- deriveAccountKey
- deriveAccountRegistry
- deriveChannel
- deriveContactKeyBytes
- deriveContactsSpace
- deriveInboxKeyBytes
- deriveInboxSignKeyBytes
- deriveInviteKey
- deriveLocalKey
- deriveNameKeyBytes
- deriveReadKey
- describeCollection
- describeHost
- deviceWrapsFor
- didOf
- didToPublicKey
- directBound
- directoryStores
- directRecipients
- displayName
- encodePairingTicket
- err
- evaluatePolicy
- fieldValue
- fingerprintOf
- folderStores
- foundersOf
- generateInviteSecret
- generateRecoveryCode
- generateSeed
- generateSpaceKey
- getDeviceKey
- getVersionId
- grantFits
- grantsRecordsOnly
- hasPlatformAuthenticator
- hexToBytes
- hostLimits
- indexedDBStores
- inviteKey
- isCommand
- isContactPublicKey
- isControlMessage
- isMember
- isProtocolError
- isSealedBody
- issueDelegation
- isValidRecoveryCode
- keyKind
- lineKey
- matches
- may
- newAccountId
- newPairingSecret
- newSubscriptionSeed
- normalizeRecoveryCode
- noteCovers
- noteGrants
- noteSpaces
- noteTerms
- offeredActions
- ok
- onePerKey
- onePerSecret
- openBody
- openDirect
- openEnvelope
- openFrom
- openValue
- openValueFrom
- overSpaces
- ownedKey
- ownQuery
- pairingCode
- pairingCommitment
- parseDelegation
- parseSpaceInvite
- parseSyncMessage
- peerNonce
- plainQuery
- policyProblem
- protocolError
- publicKeyToDid
- quickAddBody
- readers
- readFolderFile
- readPayAnswer
- readStatus
- reconcileFolder
- recordTitle
- recoveryCodeToSeed
- registerPasskey
- relayKind
- relayRoom
- remoteNode
- remoteSigner
- remoteTransport
- removalKey
- renamePasskey
- rendezvousKeys
- replayAccess
- revokeKey
- roleKey
- rolesOf
- rootFromSeed
- runAction
- runQuery
- sealBody
- sealDirect
- sealEnvelope
- sealTo
- sealValue
- sealValueTo
- seedToRecoveryCode
- serveNode
- serveSigner
- serveTransport
- sha256
- shouldInitiate
- signedPart
- signInvite
- signRequest
- signStatus
- spaceIdOf
- spaceKeyFromRaw
- spaceSubscription
- startNodeInWorker
- stepDownKey
- subscriptionKey
- succeedKey
- titleField
- toJsonSchema
- unwrapSeedWithDeviceKey
- unwrapSeedWithPassphrase
- utf8Decode
- utf8Encode
- validateJsonSchema
- verifyDelegation
- verifyInvite
- verifyNote
- verifyRequest
- watchNotifications
- withWrap
- wrapSeedWithDeviceKey
- wrapSeedWithPassphrase
- writeFolderFile
- writeRequirement
References
createIndexedDBAdapter
Re-exports createIndexedDBAdapter
createStorageProvider
Re-exports createStorageProvider
ensureFolderPermission
Re-exports ensureFolderPermission
FolderAccessMode
Re-exports FolderAccessMode
forgetDataFolder
Re-exports forgetDataFolder
isFolderStorageAvailable
Re-exports isFolderStorageAvailable
pickDataFolder
Re-exports pickDataFolder
queryFolderPermission
Re-exports queryFolderPermission
recallDataFolder
Re-exports recallDataFolder
rememberDataFolder
Re-exports rememberDataFolder
StorageProvider
Re-exports StorageProvider