@dxos/react-client 0.8.0 → 0.8.1-main.a06ad20
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/types/src/client/AgentHostingProvider.d.ts +1 -1
- package/dist/types/src/client/AgentHostingProvider.d.ts.map +1 -1
- package/dist/types/src/halo/Passkey.stories.d.ts +2 -1
- package/dist/types/src/halo/Passkey.stories.d.ts.map +1 -1
- package/dist/types/src/testing/ClientRepeater.d.ts +2 -2
- package/dist/types/src/testing/ClientRepeater.d.ts.map +1 -1
- package/dist/types/src/testing/ClientRepeater.stories.d.ts +3 -2
- package/dist/types/src/testing/ClientRepeater.stories.d.ts.map +1 -1
- package/dist/types/src/testing/util.d.ts +3 -2
- package/dist/types/src/testing/util.d.ts.map +1 -1
- package/dist/types/src/testing/withClientProvider.stories.d.ts +2 -1
- package/dist/types/src/testing/withClientProvider.stories.d.ts.map +1 -1
- package/package.json +23 -23
|
@@ -13,6 +13,6 @@ export declare const AgentHostingContext: React.Context<AgentHostingProviderClie
|
|
|
13
13
|
* @constructor
|
|
14
14
|
* @deprecated
|
|
15
15
|
*/
|
|
16
|
-
export declare const AgentHostingProvider: (props: PropsWithChildren) =>
|
|
16
|
+
export declare const AgentHostingProvider: (props: PropsWithChildren) => React.JSX.Element;
|
|
17
17
|
export declare const useAgentHostingClient: () => AgentHostingProviderClient | null;
|
|
18
18
|
//# sourceMappingURL=AgentHostingProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentHostingProvider.d.ts","sourceRoot":"","sources":["../../../../src/client/AgentHostingProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAE3F,OAAO,EAAE,KAAK,0BAA0B,EAAgD,MAAM,cAAc,CAAC;AAC7G,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAK3C,MAAM,MAAM,yBAAyB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC;AAEvE,eAAO,MAAM,mBAAmB,kDAAyD,CAAC;AAE1F;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,UAAW,iBAAiB,
|
|
1
|
+
{"version":3,"file":"AgentHostingProvider.d.ts","sourceRoot":"","sources":["../../../../src/client/AgentHostingProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAE3F,OAAO,EAAE,KAAK,0BAA0B,EAAgD,MAAM,cAAc,CAAC;AAC7G,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAK3C,MAAM,MAAM,yBAAyB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC;AAEvE,eAAO,MAAM,mBAAmB,kDAAyD,CAAC;AAE1F;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,UAAW,iBAAiB,sBAM5D,CAAC;AAEF,eAAO,MAAM,qBAAqB,yCAEjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Passkey.stories.d.ts","sourceRoot":"","sources":["../../../../src/halo/Passkey.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;;;;;
|
|
1
|
+
{"version":3,"file":"Passkey.stories.d.ts","sourceRoot":"","sources":["../../../../src/halo/Passkey.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAsB,MAAM,OAAO,CAAC;;;;;AAyH3C,wBAGE;AAsBF,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
1
|
+
import React, { type FC } from 'react';
|
|
2
2
|
import { Client, type PublicKey } from '@dxos/client';
|
|
3
3
|
import { type TypedObject } from '@dxos/echo-schema';
|
|
4
4
|
import { type WithClientProviderProps } from './withClientProvider';
|
|
@@ -24,5 +24,5 @@ export type ClientRepeaterProps<P extends ClientRepeatedComponentProps> = {
|
|
|
24
24
|
* The `Component` property is rendered n times, once for each peer.
|
|
25
25
|
* @deprecated use `withClientProvider`.
|
|
26
26
|
*/
|
|
27
|
-
export declare const ClientRepeater: <P extends ClientRepeatedComponentProps>(props: ClientRepeaterProps<P>) =>
|
|
27
|
+
export declare const ClientRepeater: <P extends ClientRepeatedComponentProps>(props: ClientRepeaterProps<P>) => React.JSX.Element | null;
|
|
28
28
|
//# sourceMappingURL=ClientRepeater.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientRepeater.d.ts","sourceRoot":"","sources":["../../../../src/testing/ClientRepeater.tsx"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"ClientRepeater.d.ts","sourceRoot":"","sources":["../../../../src/testing/ClientRepeater.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAY,KAAK,EAAE,EAAqB,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAGpE,MAAM,MAAM,4BAA4B,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAE/F,MAAM,MAAM,2BAA2B,GAAG;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAGhE,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,4BAA4B,IAAI;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,EAAE,CAAC,2BAA2B,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,GAAG,OAAO,CAAC,CAAC;CAChC,GAAG,IAAI,CAAC,uBAAuB,EAAE,gBAAgB,GAAG,aAAa,GAAG,gBAAgB,CAAC,CAAC;AAEvF;;;;GAIG;AAMH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,4BAA4B,SAAS,mBAAmB,CAAC,CAAC,CAAC,6BA2DnG,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
5
|
decorators: import("@storybook/react").Decorator[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const Default: {
|
|
8
|
-
render: () =>
|
|
9
|
+
render: () => React.JSX.Element;
|
|
9
10
|
};
|
|
10
11
|
export declare const Space: {
|
|
11
|
-
render: () =>
|
|
12
|
+
render: () => React.JSX.Element;
|
|
12
13
|
};
|
|
13
14
|
//# sourceMappingURL=ClientRepeater.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientRepeater.stories.d.ts","sourceRoot":"","sources":["../../../../src/testing/ClientRepeater.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;;;;;
|
|
1
|
+
{"version":3,"file":"ClientRepeater.stories.d.ts","sourceRoot":"","sources":["../../../../src/testing/ClientRepeater.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;AAU1B,wBAGE;AAgCF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,KAAK;;CAEjB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Client, type Config } from '@dxos/client';
|
|
2
3
|
import { type Space } from '@dxos/client/echo';
|
|
3
4
|
export declare const createClient: ({ config, createIdentity, createSpace, }?: {
|
|
@@ -8,6 +9,6 @@ export declare const createClient: ({ config, createIdentity, createSpace, }?: {
|
|
|
8
9
|
client: Client;
|
|
9
10
|
space: Space | undefined;
|
|
10
11
|
}>;
|
|
11
|
-
export declare const createClientContextProvider: (client: Client) => Promise<({ children }: any) =>
|
|
12
|
-
export declare const createClientProvider: (client: Client) => Promise<({ children }: any) =>
|
|
12
|
+
export declare const createClientContextProvider: (client: Client) => Promise<({ children }: any) => React.JSX.Element>;
|
|
13
|
+
export declare const createClientProvider: (client: Client) => Promise<({ children }: any) => React.JSX.Element>;
|
|
13
14
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/testing/util.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/testing/util.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,KAAK,MAAM,EAAY,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAK/C,eAAO,MAAM,YAAY,8CAItB;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE;;;EActE,CAAC;AAEF,eAAO,MAAM,2BAA2B,WAAkB,MAAM,4BACxC,GAAG,uBAC1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,WAAkB,MAAM,4BACjC,GAAG,uBAC1B,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
render: () =>
|
|
5
|
+
render: () => React.JSX.Element | null;
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const Default: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withClientProvider.stories.d.ts","sourceRoot":"","sources":["../../../../src/testing/withClientProvider.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;;;;;
|
|
1
|
+
{"version":3,"file":"withClientProvider.stories.d.ts","sourceRoot":"","sources":["../../../../src/testing/withClientProvider.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;AAgC1B,wBAGE;AAaF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,QAAQ;;CAMpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-client",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1-main.a06ad20",
|
|
4
4
|
"description": "React client API",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -78,40 +78,40 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"react-error-boundary": "^4.0.13",
|
|
81
|
-
"@dxos/
|
|
82
|
-
"@dxos/codec-protobuf": "0.8.
|
|
83
|
-
"@dxos/
|
|
84
|
-
"@dxos/
|
|
85
|
-
"@dxos/
|
|
86
|
-
"@dxos/echo-schema": "0.8.
|
|
87
|
-
"@dxos/echo-signals": "0.8.
|
|
88
|
-
"@dxos/invariant": "0.8.
|
|
89
|
-
"@dxos/log": "0.8.
|
|
90
|
-
"@dxos/
|
|
91
|
-
"@dxos/
|
|
92
|
-
"@dxos/
|
|
93
|
-
"@dxos/protocols": "0.8.
|
|
81
|
+
"@dxos/client": "0.8.1-main.a06ad20",
|
|
82
|
+
"@dxos/codec-protobuf": "0.8.1-main.a06ad20",
|
|
83
|
+
"@dxos/debug": "0.8.1-main.a06ad20",
|
|
84
|
+
"@dxos/config": "0.8.1-main.a06ad20",
|
|
85
|
+
"@dxos/async": "0.8.1-main.a06ad20",
|
|
86
|
+
"@dxos/echo-schema": "0.8.1-main.a06ad20",
|
|
87
|
+
"@dxos/echo-signals": "0.8.1-main.a06ad20",
|
|
88
|
+
"@dxos/invariant": "0.8.1-main.a06ad20",
|
|
89
|
+
"@dxos/log": "0.8.1-main.a06ad20",
|
|
90
|
+
"@dxos/react-hooks": "0.8.1-main.a06ad20",
|
|
91
|
+
"@dxos/util": "0.8.1-main.a06ad20",
|
|
92
|
+
"@dxos/node-std": "0.8.1-main.a06ad20",
|
|
93
|
+
"@dxos/protocols": "0.8.1-main.a06ad20"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@types/react": "~18.2.0",
|
|
97
97
|
"@types/react-dom": "~18.2.0",
|
|
98
98
|
"react": "~18.2.0",
|
|
99
99
|
"react-dom": "~18.2.0",
|
|
100
|
-
"@dxos/
|
|
101
|
-
"@dxos/react-ui
|
|
102
|
-
"@dxos/
|
|
103
|
-
"@dxos/
|
|
104
|
-
"@dxos/
|
|
105
|
-
"@dxos/
|
|
100
|
+
"@dxos/random": "0.8.1-main.a06ad20",
|
|
101
|
+
"@dxos/react-ui": "0.8.1-main.a06ad20",
|
|
102
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.1-main.a06ad20",
|
|
103
|
+
"@dxos/storybook-utils": "0.8.1-main.a06ad20",
|
|
104
|
+
"@dxos/test-utils": "0.8.1-main.a06ad20",
|
|
105
|
+
"@dxos/react-ui-theme": "0.8.1-main.a06ad20"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
108
|
"react": "~18.2.0",
|
|
109
109
|
"react-dom": "~18.2.0"
|
|
110
110
|
},
|
|
111
111
|
"optionalDependencies": {
|
|
112
|
-
"@dxos/random": "0.8.
|
|
113
|
-
"@dxos/react-ui": "0.8.
|
|
114
|
-
"@dxos/react-ui
|
|
112
|
+
"@dxos/random": "0.8.1-main.a06ad20",
|
|
113
|
+
"@dxos/react-ui-theme": "0.8.1-main.a06ad20",
|
|
114
|
+
"@dxos/react-ui": "0.8.1-main.a06ad20"
|
|
115
115
|
},
|
|
116
116
|
"publishConfig": {
|
|
117
117
|
"access": "public"
|