@dxos/react-client 2.17.2 → 2.17.3
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/.rush/temp/package-deps_build:test.json +6 -6
- package/.rush/temp/shrinkwrap-deps.json +3 -3
- package/dist/src/components/ErrorBoundary.js +1 -1
- package/dist/src/components/ErrorBoundary.js.map +1 -1
- package/dist/src/containers/ClientInitializer.js +4 -4
- package/dist/src/containers/ClientInitializer.js.map +1 -1
- package/dist/src/containers/ClientProvider.js +1 -1
- package/dist/src/containers/ClientProvider.js.map +1 -1
- package/dist/src/containers/ClientProvider.test.js +6 -6
- package/dist/src/containers/ClientProvider.test.js.map +1 -1
- package/dist/src/containers/ProfileInitializer.js +3 -3
- package/dist/src/containers/ProfileInitializer.js.map +1 -1
- package/dist/src/hooks/client/client.test.js +6 -6
- package/dist/src/hooks/client/client.test.js.map +1 -1
- package/dist/src/hooks/client/config.test.js +9 -9
- package/dist/src/hooks/client/config.test.js.map +1 -1
- package/dist/src/hooks/client/context.js +1 -1
- package/dist/src/hooks/client/context.js.map +1 -1
- package/dist/src/hooks/client/useClient.js +1 -1
- package/dist/src/hooks/client/useClient.js.map +1 -1
- package/dist/src/hooks/client/useConfig.js +1 -1
- package/dist/src/hooks/client/useConfig.js.map +1 -1
- package/dist/src/hooks/client/useProfile.js +3 -3
- package/dist/src/hooks/client/useProfile.js.map +1 -1
- package/dist/src/hooks/echo-queries/useContacts.js +3 -3
- package/dist/src/hooks/echo-queries/useContacts.js.map +1 -1
- package/dist/src/hooks/echo-queries/useMembers.js +2 -2
- package/dist/src/hooks/echo-queries/useMembers.js.map +1 -1
- package/dist/src/hooks/echo-queries/useParties.js +5 -5
- package/dist/src/hooks/echo-queries/useParties.js.map +1 -1
- package/dist/src/hooks/echo-selections/useSelection.js +2 -2
- package/dist/src/hooks/echo-selections/useSelection.js.map +1 -1
- package/dist/src/hooks/invitations/useSecretGenerator.js +2 -2
- package/dist/src/hooks/invitations/useSecretGenerator.js.map +1 -1
- package/dist/src/hooks/invitations/useSecretProvider.js +1 -1
- package/dist/src/hooks/invitations/useSecretProvider.js.map +1 -1
- package/dist/src/hooks/util/useResultSet.js +1 -1
- package/dist/src/hooks/util/useResultSet.js.map +1 -1
- package/dist/src/hooks/wns/registryBotFactories.js +4 -4
- package/dist/src/hooks/wns/registryBotFactories.js.map +1 -1
- package/dist/src/hooks/wns/registryBots.js +4 -4
- package/dist/src/hooks/wns/registryBots.js.map +1 -1
- package/dist/stories/client.stories.js +2 -2
- package/dist/stories/client.stories.js.map +1 -1
- package/dist/stories/halo-invitations.stories.js +11 -11
- package/dist/stories/halo-invitations.stories.js.map +1 -1
- package/dist/stories/helpers/Container.js +1 -1
- package/dist/stories/helpers/Container.js.map +1 -1
- package/dist/stories/helpers/PartyJoinPanel.js +3 -3
- package/dist/stories/helpers/PartyJoinPanel.js.map +1 -1
- package/dist/stories/helpers/ThemeProvider.js +1 -1
- package/dist/stories/helpers/ThemeProvider.js.map +1 -1
- package/dist/stories/party-invitations.stories.js +14 -14
- package/dist/stories/party-invitations.stories.js.map +1 -1
- package/dist/tests/config.test.js +3 -3
- package/dist/tests/config.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -10
- package/react-client.build.log +5 -5
- package/src/hooks/wns/registryBotFactories.ts +1 -1
- package/src/hooks/wns/registryBots.ts +1 -1
- package/stories/halo-invitations.stories.tsx +1 -1
- package/stories/party-invitations.stories.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-client",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.3",
|
|
4
4
|
"description": "React client API",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"test": "toolchain test"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@dxos/async": "2.17.
|
|
18
|
-
"@dxos/client": "2.17.
|
|
19
|
-
"@dxos/config": "2.17.
|
|
20
|
-
"@dxos/credentials": "2.17.
|
|
21
|
-
"@dxos/crypto": "2.17.
|
|
22
|
-
"@dxos/debug": "2.17.
|
|
23
|
-
"@dxos/echo-db": "2.17.
|
|
24
|
-
"@dxos/util": "2.17.
|
|
17
|
+
"@dxos/async": "2.17.3",
|
|
18
|
+
"@dxos/client": "2.17.3",
|
|
19
|
+
"@dxos/config": "2.17.3",
|
|
20
|
+
"@dxos/credentials": "2.17.3",
|
|
21
|
+
"@dxos/crypto": "2.17.3",
|
|
22
|
+
"@dxos/debug": "2.17.3",
|
|
23
|
+
"@dxos/echo-db": "2.17.3",
|
|
24
|
+
"@dxos/util": "2.17.3",
|
|
25
25
|
"@types/debug": "^4.1.1",
|
|
26
26
|
"assert": "^2.0.0",
|
|
27
27
|
"debug": "^4.1.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"react-docgen-typescript-loader": "^3.7.2",
|
|
47
47
|
"react-dom": "^17.0.2",
|
|
48
48
|
"react-test-renderer": "^17.0.2",
|
|
49
|
-
"typescript": "^4.
|
|
49
|
+
"typescript": "^4.5.2",
|
|
50
50
|
"webpack": "4.44.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
package/react-client.build.log
CHANGED
|
@@ -2,10 +2,10 @@ Invoking: toolchain build:test
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
typescript
|
|
5
|
-
OK in
|
|
5
|
+
OK in 5662 ms
|
|
6
6
|
|
|
7
7
|
eslint
|
|
8
|
-
OK in
|
|
8
|
+
OK in 5244 ms
|
|
9
9
|
|
|
10
10
|
mocha
|
|
11
11
|
This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills
|
|
@@ -26,8 +26,8 @@ This browser doesn't support cancelAnimationFrame. Make sure that you load a pol
|
|
|
26
26
|
✓ should return custom client config when used properly in a context
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
7 passing (
|
|
29
|
+
7 passing (203ms)
|
|
30
30
|
|
|
31
|
-
OK in
|
|
31
|
+
OK in 7076 ms
|
|
32
32
|
|
|
33
|
-
CHECK COMPLETE in
|
|
33
|
+
CHECK COMPLETE in 17987 ms
|
|
@@ -34,7 +34,7 @@ export const useRegistryBotFactories = () => {
|
|
|
34
34
|
let factoriesResult: QueryRecord[];
|
|
35
35
|
try {
|
|
36
36
|
factoriesResult = await registry.queryRecords({ type: WRN_TYPE_BOT_FACTORY });
|
|
37
|
-
} catch (e) {
|
|
37
|
+
} catch (e: any) {
|
|
38
38
|
log('Querying bot factories unsuccessful.');
|
|
39
39
|
log(e);
|
|
40
40
|
return;
|
|
@@ -42,7 +42,7 @@ export const useRegistryBots = (props: UseRegistryBotsProps = {}) => {
|
|
|
42
42
|
let botsResult: QueryRecord[];
|
|
43
43
|
try {
|
|
44
44
|
botsResult = await registry.queryRecords({ type: WRN_TYPE_BOT });
|
|
45
|
-
} catch (e) {
|
|
45
|
+
} catch (e: any) {
|
|
46
46
|
log('Querying bots unsuccessful.');
|
|
47
47
|
log(e);
|
|
48
48
|
return;
|
|
@@ -106,7 +106,7 @@ const HaloAuthenticationContainer = () => {
|
|
|
106
106
|
await client.echo.halo.join(invitation, secretProvider);
|
|
107
107
|
setStatus({ identity: invitation.identityKey.toString() });
|
|
108
108
|
}
|
|
109
|
-
} catch (err) {
|
|
109
|
+
} catch (err: any) {
|
|
110
110
|
// TODO(burdon): Doesn't support retry. Provide hint (eg, should retry/cancel).
|
|
111
111
|
setStatus({ error: err });
|
|
112
112
|
}
|