@dxos/halo-react 0.0.0 → 0.11.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/lib/index.mjs +124 -0
- package/dist/lib/index.mjs.map +1 -0
- package/dist/types/src/useIdentity.d.ts.map +1 -1
- package/dist/types/src/useMembers.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -5
- package/src/useIdentity.ts +11 -1
- package/src/useMembers.ts +1 -0
- package/dist/lib/browser/index.mjs +0 -132
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/node-esm/index.mjs +0 -134
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { createContext, useContext, useMemo } from "react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Atom, Result, useAtomValue } from "@effect-atom/atom-react";
|
|
4
|
+
import * as Stream from "effect/Stream";
|
|
5
|
+
import { Identity, Space } from "@dxos/halo";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Option from "effect/Option";
|
|
8
|
+
//#region src/HaloProvider.tsx
|
|
9
|
+
/**
|
|
10
|
+
* React context carrying the HALO services. Hooks read it, provide it into a service stream, and
|
|
11
|
+
* surface the result through the default {@link Atom} runtime.
|
|
12
|
+
*/
|
|
13
|
+
var HaloServicesContext = createContext(void 0);
|
|
14
|
+
/**
|
|
15
|
+
* Provides the HALO services to the hook library. Wrap the application (or the subtree that uses
|
|
16
|
+
* the hooks) in this provider. Replaces `ClientProvider` for HALO concerns.
|
|
17
|
+
*/
|
|
18
|
+
var HaloProvider = ({ services, children }) => /* @__PURE__ */ jsx(HaloServicesContext.Provider, {
|
|
19
|
+
value: services,
|
|
20
|
+
children
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* Returns the HALO services context. Throws if no {@link HaloProvider} is above in the tree.
|
|
24
|
+
*/
|
|
25
|
+
var useHaloServices = () => {
|
|
26
|
+
const services = useContext(HaloServicesContext);
|
|
27
|
+
if (!services) throw new Error("Missing HaloProvider.");
|
|
28
|
+
return services;
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/useCredentials.ts
|
|
32
|
+
var EMPTY$4 = [];
|
|
33
|
+
/**
|
|
34
|
+
* Returns the local identity's HALO credentials. Reactive: re-renders when credentials are
|
|
35
|
+
* written. Replaces `@dxos/react-client`'s `useCredentials`.
|
|
36
|
+
*/
|
|
37
|
+
var useCredentials = () => {
|
|
38
|
+
const services = useHaloServices();
|
|
39
|
+
const atom = useMemo(() => Atom.make(Identity.credentials.pipe(Stream.provideContext(services))), [services]);
|
|
40
|
+
return Result.getOrElse(useAtomValue(atom), () => EMPTY$4);
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/useDevices.ts
|
|
44
|
+
var EMPTY$3 = [];
|
|
45
|
+
/**
|
|
46
|
+
* Returns the devices belonging to the local identity. Reactive. Replaces
|
|
47
|
+
* `@dxos/react-client`'s `useDevices`.
|
|
48
|
+
*/
|
|
49
|
+
var useDevices = () => {
|
|
50
|
+
const services = useHaloServices();
|
|
51
|
+
const atom = useMemo(() => Atom.make(Identity.devices.pipe(Stream.provideContext(services))), [services]);
|
|
52
|
+
return Result.getOrElse(useAtomValue(atom), () => EMPTY$3);
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/useIdentity.ts
|
|
56
|
+
/**
|
|
57
|
+
* Returns the local identity, or `undefined` if none exists. Reactive: re-renders when the
|
|
58
|
+
* identity is created or its profile changes. Replaces `@dxos/react-client`'s `useIdentity`.
|
|
59
|
+
*/
|
|
60
|
+
var useIdentity = () => {
|
|
61
|
+
const services = useHaloServices();
|
|
62
|
+
const atom = useMemo(() => Atom.make(Identity.identity.pipe(Stream.provideContext(services), Stream.map(Option.getOrUndefined)), { initialValue: Option.getOrUndefined(Effect.runSync(Identity.getSnapshot.pipe(Effect.provide(services)))) }), [services]);
|
|
63
|
+
return Result.getOrElse(useAtomValue(atom), () => void 0);
|
|
64
|
+
};
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/useInvitations.ts
|
|
67
|
+
var EMPTY$2 = [];
|
|
68
|
+
/**
|
|
69
|
+
* Returns the active (host-created) invitation flows for a space. Reactive. Replaces
|
|
70
|
+
* `@dxos/react-client`'s `useSpaceInvitations`. Drive an individual flow through the
|
|
71
|
+
* `Invitation` verbs (`events` / `authenticate` / `cancel` / `code`).
|
|
72
|
+
*/
|
|
73
|
+
var useSpaceInvitations = (spaceId) => {
|
|
74
|
+
const services = useHaloServices();
|
|
75
|
+
const atom = useMemo(() => Atom.make((spaceId ? Space.invitations(spaceId) : Stream.empty).pipe(Stream.provideContext(services))), [services, spaceId]);
|
|
76
|
+
return Result.getOrElse(useAtomValue(atom), () => EMPTY$2);
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Returns the active device-invitation flows for the local identity. Reactive. Replaces
|
|
80
|
+
* `useHaloInvitations`.
|
|
81
|
+
*/
|
|
82
|
+
var useHaloInvitations = () => {
|
|
83
|
+
const services = useHaloServices();
|
|
84
|
+
const atom = useMemo(() => Atom.make(Identity.invitations.pipe(Stream.provideContext(services))), [services]);
|
|
85
|
+
return Result.getOrElse(useAtomValue(atom), () => EMPTY$2);
|
|
86
|
+
};
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/useMembers.ts
|
|
89
|
+
var EMPTY$1 = [];
|
|
90
|
+
/**
|
|
91
|
+
* Returns the membership of a space. Reactive: re-renders on join/leave/role/presence changes.
|
|
92
|
+
* Replaces `@dxos/react-client`'s `useMembers` (which took a `PublicKey`; this takes a
|
|
93
|
+
* {@link SpaceId}).
|
|
94
|
+
*/
|
|
95
|
+
var useMembers = (spaceId) => {
|
|
96
|
+
const services = useHaloServices();
|
|
97
|
+
const atom = useMemo(() => Atom.make((spaceId ? Space.members(spaceId) : Stream.empty).pipe(Stream.provideContext(services))), [services, spaceId]);
|
|
98
|
+
return Result.getOrElse(useAtomValue(atom), () => EMPTY$1);
|
|
99
|
+
};
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region src/useSpaces.ts
|
|
102
|
+
var EMPTY = [];
|
|
103
|
+
/**
|
|
104
|
+
* Returns the spaces known to the local identity. By default only `ready` spaces are returned;
|
|
105
|
+
* pass `{ all: true }` for every space. Reactive. Replaces `@dxos/react-client`'s `useSpaces`.
|
|
106
|
+
*/
|
|
107
|
+
var useSpaces = ({ all = false } = {}) => {
|
|
108
|
+
const services = useHaloServices();
|
|
109
|
+
const atom = useMemo(() => Atom.make(Space.spaces.pipe(Stream.provideContext(services))), [services]);
|
|
110
|
+
const spaces = Result.getOrElse(useAtomValue(atom), () => EMPTY);
|
|
111
|
+
return useMemo(() => all ? spaces : spaces.filter((space) => space.state === "ready"), [spaces, all]);
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Resolves a single space by id, or `undefined`. Reactive. Replaces `useSpace`. Unlike the
|
|
115
|
+
* legacy hook this takes a {@link SpaceId} only (no `PublicKey`).
|
|
116
|
+
*/
|
|
117
|
+
var useSpace = (spaceId) => {
|
|
118
|
+
const spaces = useSpaces({ all: true });
|
|
119
|
+
return useMemo(() => spaceId ? spaces.find((space) => space.id === spaceId) : void 0, [spaces, spaceId]);
|
|
120
|
+
};
|
|
121
|
+
//#endregion
|
|
122
|
+
export { HaloProvider, useCredentials, useDevices, useHaloInvitations, useHaloServices, useIdentity, useMembers, useSpace, useSpaceInvitations, useSpaces };
|
|
123
|
+
|
|
124
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/HaloProvider.tsx","../../src/useCredentials.ts","../../src/useDevices.ts","../../src/useIdentity.ts","../../src/useInvitations.ts","../../src/useMembers.ts","../../src/useSpaces.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\nimport * as Context from 'effect/Context';\nimport React, { type PropsWithChildren, createContext, useContext } from 'react';\n\nimport { type Identity, type Space } from '@dxos/halo';\n\n/**\n * The HALO services, as the tag union carried in an Effect service {@link Context.Context}.\n */\nexport type HaloServices = Identity.Service | Space.Service;\n\n/**\n * React context carrying the HALO services. Hooks read it, provide it into a service stream, and\n * surface the result through the default {@link Atom} runtime.\n */\nconst HaloServicesContext = createContext<Context.Context<HaloServices> | undefined>(undefined);\n\nexport type HaloProviderProps = PropsWithChildren<{\n /**\n * The HALO services context. Build it from a concrete backing — e.g. the client adapter's\n * `makeIdentityService` / `makeSpaceService` from `@dxos/halo-adapter-client` — and pass it\n * here.\n */\n services: Context.Context<HaloServices>;\n}>;\n\n/**\n * Provides the HALO services to the hook library. Wrap the application (or the subtree that uses\n * the hooks) in this provider. Replaces `ClientProvider` for HALO concerns.\n */\nexport const HaloProvider = ({ services, children }: HaloProviderProps) => (\n <HaloServicesContext.Provider value={services}>{children}</HaloServicesContext.Provider>\n);\n\n/**\n * Returns the HALO services context. Throws if no {@link HaloProvider} is above in the tree.\n */\nexport const useHaloServices = (): Context.Context<HaloServices> => {\n const services = useContext(HaloServicesContext);\n if (!services) {\n throw new Error('Missing HaloProvider.');\n }\n return services;\n};\n","//\n// Copyright 2026 DXOS.org\n//\n\nimport { Atom, Result, useAtomValue } from '@effect-atom/atom-react';\nimport * as Stream from 'effect/Stream';\nimport { useMemo } from 'react';\n\nimport { Identity } from '@dxos/halo';\n\nimport { useHaloServices } from './HaloProvider';\n\nconst EMPTY: readonly Identity.Credential[] = [];\n\n/**\n * Returns the local identity's HALO credentials. Reactive: re-renders when credentials are\n * written. Replaces `@dxos/react-client`'s `useCredentials`.\n */\nexport const useCredentials = (): readonly Identity.Credential[] => {\n const services = useHaloServices();\n const atom = useMemo(() => Atom.make(Identity.credentials.pipe(Stream.provideContext(services))), [services]);\n return Result.getOrElse(useAtomValue(atom), () => EMPTY);\n};\n","//\n// Copyright 2026 DXOS.org\n//\n\nimport { Atom, Result, useAtomValue } from '@effect-atom/atom-react';\nimport * as Stream from 'effect/Stream';\nimport { useMemo } from 'react';\n\nimport { Identity } from '@dxos/halo';\n\nimport { useHaloServices } from './HaloProvider';\n\nconst EMPTY: readonly Identity.DeviceInfo[] = [];\n\n/**\n * Returns the devices belonging to the local identity. Reactive. Replaces\n * `@dxos/react-client`'s `useDevices`.\n */\nexport const useDevices = (): readonly Identity.DeviceInfo[] => {\n const services = useHaloServices();\n const atom = useMemo(() => Atom.make(Identity.devices.pipe(Stream.provideContext(services))), [services]);\n return Result.getOrElse(useAtomValue(atom), () => EMPTY);\n};\n","//\n// Copyright 2026 DXOS.org\n//\n\nimport { Atom, Result, useAtomValue } from '@effect-atom/atom-react';\nimport * as Effect from 'effect/Effect';\nimport * as Option from 'effect/Option';\nimport * as Stream from 'effect/Stream';\nimport { useMemo } from 'react';\n\nimport { Identity } from '@dxos/halo';\n\nimport { useHaloServices } from './HaloProvider';\n\n/**\n * Returns the local identity, or `undefined` if none exists. Reactive: re-renders when the\n * identity is created or its profile changes. Replaces `@dxos/react-client`'s `useIdentity`.\n */\nexport const useIdentity = (): Identity.Info | undefined => {\n const services = useHaloServices();\n const atom = useMemo(\n () =>\n Atom.make(Identity.identity.pipe(Stream.provideContext(services), Stream.map(Option.getOrUndefined)), {\n // The stream emits the current identity, but only after its first (async) subscription\n // tick — until then the atom would sit at `Result.Initial` and callers would see \"no\n // identity\" for the first render(s) even when one already exists. Seed it with the\n // service's synchronous snapshot so the current identity is available on the very first\n // render; the stream's value takes over as soon as it arrives (and covers post-mount\n // create/update).\n initialValue: Option.getOrUndefined(Effect.runSync(Identity.getSnapshot.pipe(Effect.provide(services)))),\n }),\n [services],\n );\n return Result.getOrElse(useAtomValue(atom), () => undefined);\n};\n","//\n// Copyright 2026 DXOS.org\n//\n\nimport { Atom, Result, useAtomValue } from '@effect-atom/atom-react';\nimport * as Stream from 'effect/Stream';\nimport { useMemo } from 'react';\n\nimport { Identity, type Invitation, Space } from '@dxos/halo';\nimport { type SpaceId } from '@dxos/keys';\n\nimport { useHaloServices } from './HaloProvider';\n\nconst EMPTY: readonly Invitation.Flow[] = [];\n\n/**\n * Returns the active (host-created) invitation flows for a space. Reactive. Replaces\n * `@dxos/react-client`'s `useSpaceInvitations`. Drive an individual flow through the\n * `Invitation` verbs (`events` / `authenticate` / `cancel` / `code`).\n */\nexport const useSpaceInvitations = (spaceId?: SpaceId): readonly Invitation.Flow[] => {\n const services = useHaloServices();\n const atom = useMemo(\n () => Atom.make((spaceId ? Space.invitations(spaceId) : Stream.empty).pipe(Stream.provideContext(services))),\n [services, spaceId],\n );\n return Result.getOrElse(useAtomValue(atom), () => EMPTY);\n};\n\n/**\n * Returns the active device-invitation flows for the local identity. Reactive. Replaces\n * `useHaloInvitations`.\n */\nexport const useHaloInvitations = (): readonly Invitation.Flow[] => {\n const services = useHaloServices();\n const atom = useMemo(() => Atom.make(Identity.invitations.pipe(Stream.provideContext(services))), [services]);\n return Result.getOrElse(useAtomValue(atom), () => EMPTY);\n};\n","//\n// Copyright 2026 DXOS.org\n//\n\nimport { Atom, Result, useAtomValue } from '@effect-atom/atom-react';\nimport * as Stream from 'effect/Stream';\nimport { useMemo } from 'react';\n\nimport { Space } from '@dxos/halo';\nimport { type SpaceId } from '@dxos/keys';\n\nimport { useHaloServices } from './HaloProvider';\n\nconst EMPTY: readonly Space.Member[] = [];\n\n/**\n * Returns the membership of a space. Reactive: re-renders on join/leave/role/presence changes.\n * Replaces `@dxos/react-client`'s `useMembers` (which took a `PublicKey`; this takes a\n * {@link SpaceId}).\n */\nexport const useMembers = (spaceId?: SpaceId): readonly Space.Member[] => {\n const services = useHaloServices();\n const atom = useMemo(\n () => Atom.make((spaceId ? Space.members(spaceId) : Stream.empty).pipe(Stream.provideContext(services))),\n [services, spaceId],\n );\n\n return Result.getOrElse(useAtomValue(atom), () => EMPTY);\n};\n","//\n// Copyright 2026 DXOS.org\n//\n\nimport { Atom, Result, useAtomValue } from '@effect-atom/atom-react';\nimport * as Stream from 'effect/Stream';\nimport { useMemo } from 'react';\n\nimport { Space } from '@dxos/halo';\nimport { type SpaceId } from '@dxos/keys';\n\nimport { useHaloServices } from './HaloProvider';\n\nconst EMPTY: readonly Space.Info[] = [];\n\nexport type UseSpacesOptions = {\n /** Include spaces that are not yet `ready` (default: only `ready` spaces). */\n all?: boolean;\n};\n\n/**\n * Returns the spaces known to the local identity. By default only `ready` spaces are returned;\n * pass `{ all: true }` for every space. Reactive. Replaces `@dxos/react-client`'s `useSpaces`.\n */\nexport const useSpaces = ({ all = false }: UseSpacesOptions = {}): readonly Space.Info[] => {\n const services = useHaloServices();\n const atom = useMemo(() => Atom.make(Space.spaces.pipe(Stream.provideContext(services))), [services]);\n const spaces = Result.getOrElse(useAtomValue(atom), () => EMPTY);\n return useMemo(() => (all ? spaces : spaces.filter((space) => space.state === 'ready')), [spaces, all]);\n};\n\n/**\n * Resolves a single space by id, or `undefined`. Reactive. Replaces `useSpace`. Unlike the\n * legacy hook this takes a {@link SpaceId} only (no `PublicKey`).\n */\nexport const useSpace = (spaceId?: SpaceId): Space.Info | undefined => {\n const spaces = useSpaces({ all: true });\n return useMemo(() => (spaceId ? spaces.find((space) => space.id === spaceId) : undefined), [spaces, spaceId]);\n};\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIdentity.d.ts","sourceRoot":"","sources":["../../../src/useIdentity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIdentity.d.ts","sourceRoot":"","sources":["../../../src/useIdentity.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,QAAQ,CAAC,IAAI,GAAG,SAgB9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMembers.d.ts","sourceRoot":"","sources":["../../../src/useMembers.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAM1C;;;;GAIG;AACH,eAAO,MAAM,UAAU,aAAc,OAAO,KAAG,SAAS,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"useMembers.d.ts","sourceRoot":"","sources":["../../../src/useMembers.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAM1C;;;;GAIG;AACH,eAAO,MAAM,UAAU,aAAc,OAAO,KAAG,SAAS,KAAK,CAAC,MAAM,EAQnE,CAAC"}
|