@calimero-network/mero-react 9.9.1 → 9.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -527,13 +527,22 @@ interface LoginModalProps {
527
527
  */
528
528
  localNodePorts?: readonly number[];
529
529
  /**
530
- * Adds a second way in: a **Cloud** tab, signing in with a Calimero account
531
- * by enrolling this tab's device key at the wallet. Absent, the modal is
532
- * exactly the node dialog, with no tabs.
530
+ * The second way in: a **Cloud** tab, signing in with a Calimero account by
531
+ * enrolling this tab's device key at the wallet.
533
532
  *
534
- * The values are `useAccountEnrolment`'s; the modal only renders them.
533
+ * - **Omitted** (the default): the tab is shown, sourced from
534
+ * `useAccountEnrolment()` inside the modal — enrolment starts from the tab,
535
+ * and a page coming back from the wallet is completed here, whether or not
536
+ * the modal is open. Nothing to wire; the modal must be inside a
537
+ * `MeroProvider`.
538
+ * - **`false`**: no Cloud tab and no tabs at all — the node dialog as it was.
539
+ * The modal reads no enrolment callback, leaving it to whichever component
540
+ * does.
541
+ * - **An object**: the caller's own enrolment, used verbatim; the modal reads
542
+ * none itself. The values are `useAccountEnrolment`'s, as `ConnectButton`
543
+ * passes them.
535
544
  */
536
- cloud?: {
545
+ cloud?: false | {
537
546
  /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
538
547
  onEnrol: () => void;
539
548
  /** What the last enrolment had to say, shown on the Cloud tab. */
@@ -544,8 +553,12 @@ interface LoginModalProps {
544
553
  customWallet?: boolean;
545
554
  };
546
555
  /**
547
- * The tab selected when the modal opens. Only meaningful with `cloud`.
548
- * Default `'node'`.
556
+ * The tab selected when the modal opens. Ignored with `cloud={false}`.
557
+ *
558
+ * Default `'node'` — except that a modal sourcing its own Cloud tab opens on
559
+ * `'cloud'` when the page is coming back from the wallet, so whatever the
560
+ * completion has to say is where the person is looking. An explicit value
561
+ * always wins.
549
562
  */
550
563
  initialTab?: LoginModalTab;
551
564
  }
@@ -554,7 +567,7 @@ type LoginModalTab = 'node' | 'cloud';
554
567
  /**
555
568
  * LoginModal - Connection modal component
556
569
  */
557
- declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, cloud, initialTab, }: LoginModalProps): React.ReactPortal | null;
570
+ declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, cloud, initialTab: initialTabProp, }: LoginModalProps): React.ReactPortal | null;
558
571
 
559
572
  interface AccountSignInPanelProps {
560
573
  /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
@@ -1283,6 +1296,27 @@ declare function useJoinInvitation(): {
1283
1296
  * - `returning` is true when this page load carries an enrolment callback,
1284
1297
  * success or error, so a caller can show the place the note appears.
1285
1298
  */
1299
+ /**
1300
+ * Whether this page load is the one coming back from the wallet — a completed
1301
+ * enrolment or a declined one — WITHOUT consuming it.
1302
+ *
1303
+ * `useAccountEnrolment` reads the callback once and strips it from the address
1304
+ * bar, so a second reader finds nothing. That makes `returning` from the hook
1305
+ * unusable for the one decision that has to be taken before the hook runs: a
1306
+ * component that owns `LoginModal`'s `isOpen` and wants the dialog open on the
1307
+ * way back. This is the answer for it, as a `useState` initialiser:
1308
+ *
1309
+ * ```tsx
1310
+ * const [open, setOpen] = useState(isReturningFromWallet);
1311
+ * <LoginModal isOpen={open} ... /> // sources its own Cloud tab, lands on it
1312
+ * ```
1313
+ *
1314
+ * The parent's initialiser runs before the modal's hook reads the fragment, so
1315
+ * the two agree. `ConnectButton` needs none of this: it owns both.
1316
+ */
1317
+ declare function isReturningFromWallet(location?: {
1318
+ hash: string;
1319
+ } | undefined): boolean;
1286
1320
  interface UseAccountEnrolmentOptions {
1287
1321
  /**
1288
1322
  * Point enrolment at a wallet other than the hosted one.
@@ -2093,4 +2127,4 @@ declare function clearContextIdentity(): void;
2093
2127
  */
2094
2128
  declare function clearAllStorage(): void;
2095
2129
 
2096
- export { type AccountAdminDeps, type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type FoundedDelegatedNamespace, HA_ACCOUNT_NOT_LINKED_MESSAGE, HA_REFUSAL_MESSAGES, InvitationNotClaimableError, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
2130
+ export { type AccountAdminDeps, type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type FoundedDelegatedNamespace, HA_ACCOUNT_NOT_LINKED_MESSAGE, HA_REFUSAL_MESSAGES, InvitationNotClaimableError, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, isReturningFromWallet, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
package/dist/index.d.ts CHANGED
@@ -527,13 +527,22 @@ interface LoginModalProps {
527
527
  */
528
528
  localNodePorts?: readonly number[];
529
529
  /**
530
- * Adds a second way in: a **Cloud** tab, signing in with a Calimero account
531
- * by enrolling this tab's device key at the wallet. Absent, the modal is
532
- * exactly the node dialog, with no tabs.
530
+ * The second way in: a **Cloud** tab, signing in with a Calimero account by
531
+ * enrolling this tab's device key at the wallet.
533
532
  *
534
- * The values are `useAccountEnrolment`'s; the modal only renders them.
533
+ * - **Omitted** (the default): the tab is shown, sourced from
534
+ * `useAccountEnrolment()` inside the modal — enrolment starts from the tab,
535
+ * and a page coming back from the wallet is completed here, whether or not
536
+ * the modal is open. Nothing to wire; the modal must be inside a
537
+ * `MeroProvider`.
538
+ * - **`false`**: no Cloud tab and no tabs at all — the node dialog as it was.
539
+ * The modal reads no enrolment callback, leaving it to whichever component
540
+ * does.
541
+ * - **An object**: the caller's own enrolment, used verbatim; the modal reads
542
+ * none itself. The values are `useAccountEnrolment`'s, as `ConnectButton`
543
+ * passes them.
535
544
  */
536
- cloud?: {
545
+ cloud?: false | {
537
546
  /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
538
547
  onEnrol: () => void;
539
548
  /** What the last enrolment had to say, shown on the Cloud tab. */
@@ -544,8 +553,12 @@ interface LoginModalProps {
544
553
  customWallet?: boolean;
545
554
  };
546
555
  /**
547
- * The tab selected when the modal opens. Only meaningful with `cloud`.
548
- * Default `'node'`.
556
+ * The tab selected when the modal opens. Ignored with `cloud={false}`.
557
+ *
558
+ * Default `'node'` — except that a modal sourcing its own Cloud tab opens on
559
+ * `'cloud'` when the page is coming back from the wallet, so whatever the
560
+ * completion has to say is where the person is looking. An explicit value
561
+ * always wins.
549
562
  */
550
563
  initialTab?: LoginModalTab;
551
564
  }
@@ -554,7 +567,7 @@ type LoginModalTab = 'node' | 'cloud';
554
567
  /**
555
568
  * LoginModal - Connection modal component
556
569
  */
557
- declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, cloud, initialTab, }: LoginModalProps): React.ReactPortal | null;
570
+ declare function LoginModal({ onConnect, onClose, isOpen, theme, localNodePorts, cloud, initialTab: initialTabProp, }: LoginModalProps): React.ReactPortal | null;
558
571
 
559
572
  interface AccountSignInPanelProps {
560
573
  /** Start enrolment — normally `useAccountEnrolment().goToWallet`. */
@@ -1283,6 +1296,27 @@ declare function useJoinInvitation(): {
1283
1296
  * - `returning` is true when this page load carries an enrolment callback,
1284
1297
  * success or error, so a caller can show the place the note appears.
1285
1298
  */
1299
+ /**
1300
+ * Whether this page load is the one coming back from the wallet — a completed
1301
+ * enrolment or a declined one — WITHOUT consuming it.
1302
+ *
1303
+ * `useAccountEnrolment` reads the callback once and strips it from the address
1304
+ * bar, so a second reader finds nothing. That makes `returning` from the hook
1305
+ * unusable for the one decision that has to be taken before the hook runs: a
1306
+ * component that owns `LoginModal`'s `isOpen` and wants the dialog open on the
1307
+ * way back. This is the answer for it, as a `useState` initialiser:
1308
+ *
1309
+ * ```tsx
1310
+ * const [open, setOpen] = useState(isReturningFromWallet);
1311
+ * <LoginModal isOpen={open} ... /> // sources its own Cloud tab, lands on it
1312
+ * ```
1313
+ *
1314
+ * The parent's initialiser runs before the modal's hook reads the fragment, so
1315
+ * the two agree. `ConnectButton` needs none of this: it owns both.
1316
+ */
1317
+ declare function isReturningFromWallet(location?: {
1318
+ hash: string;
1319
+ } | undefined): boolean;
1286
1320
  interface UseAccountEnrolmentOptions {
1287
1321
  /**
1288
1322
  * Point enrolment at a wallet other than the hosted one.
@@ -2093,4 +2127,4 @@ declare function clearContextIdentity(): void;
2093
2127
  */
2094
2128
  declare function clearAllStorage(): void;
2095
2129
 
2096
- export { type AccountAdminDeps, type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type FoundedDelegatedNamespace, HA_ACCOUNT_NOT_LINKED_MESSAGE, HA_REFUSAL_MESSAGES, InvitationNotClaimableError, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
2130
+ export { type AccountAdminDeps, type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, type BootstrapFailure, type BootstrapFromInvitationInput, type BootstrapResult, type BootstrapStep, type BootstrapSuccess, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type DelegatedCredential, type DelegatedSession, type ExecutionResult, type FoundedDelegatedNamespace, HA_ACCOUNT_NOT_LINKED_MESSAGE, HA_REFUSAL_MESSAGES, InvitationNotClaimableError, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, type JoinWithNodeFailure, type JoinWithNodeInput, type JoinWithNodeResult, type JoinWithNodeStep, type JoinWithNodeSuccess, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, NoRelayError, NotForAccountError, type RelayResolutionFailure, type RelayResolutionStep, type ResolveRelayFromInvitationInput, type ResolveRelayResult, type ResolvedInvitationRelay, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, bootstrapFromInvitation, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearDelegatedCredential, clearNodeUrl, clearTokenNodeUrl, createAccountAdmin, createDelegatedContext, createNodeAdmin, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getTokenNodeUrl, isFinalInvitationError, isReturningFromWallet, joinWithNode, listDelegatedContexts, localStorageTokenStorage, normaliseAccount, pinRelayNodeKey, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveMeroTheme, resolveRelayFromInvitation, saveDelegatedCredential, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };