@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.
Files changed (63) hide show
  1. package/.rush/temp/package-deps_build:test.json +6 -6
  2. package/.rush/temp/shrinkwrap-deps.json +3 -3
  3. package/dist/src/components/ErrorBoundary.js +1 -1
  4. package/dist/src/components/ErrorBoundary.js.map +1 -1
  5. package/dist/src/containers/ClientInitializer.js +4 -4
  6. package/dist/src/containers/ClientInitializer.js.map +1 -1
  7. package/dist/src/containers/ClientProvider.js +1 -1
  8. package/dist/src/containers/ClientProvider.js.map +1 -1
  9. package/dist/src/containers/ClientProvider.test.js +6 -6
  10. package/dist/src/containers/ClientProvider.test.js.map +1 -1
  11. package/dist/src/containers/ProfileInitializer.js +3 -3
  12. package/dist/src/containers/ProfileInitializer.js.map +1 -1
  13. package/dist/src/hooks/client/client.test.js +6 -6
  14. package/dist/src/hooks/client/client.test.js.map +1 -1
  15. package/dist/src/hooks/client/config.test.js +9 -9
  16. package/dist/src/hooks/client/config.test.js.map +1 -1
  17. package/dist/src/hooks/client/context.js +1 -1
  18. package/dist/src/hooks/client/context.js.map +1 -1
  19. package/dist/src/hooks/client/useClient.js +1 -1
  20. package/dist/src/hooks/client/useClient.js.map +1 -1
  21. package/dist/src/hooks/client/useConfig.js +1 -1
  22. package/dist/src/hooks/client/useConfig.js.map +1 -1
  23. package/dist/src/hooks/client/useProfile.js +3 -3
  24. package/dist/src/hooks/client/useProfile.js.map +1 -1
  25. package/dist/src/hooks/echo-queries/useContacts.js +3 -3
  26. package/dist/src/hooks/echo-queries/useContacts.js.map +1 -1
  27. package/dist/src/hooks/echo-queries/useMembers.js +2 -2
  28. package/dist/src/hooks/echo-queries/useMembers.js.map +1 -1
  29. package/dist/src/hooks/echo-queries/useParties.js +5 -5
  30. package/dist/src/hooks/echo-queries/useParties.js.map +1 -1
  31. package/dist/src/hooks/echo-selections/useSelection.js +2 -2
  32. package/dist/src/hooks/echo-selections/useSelection.js.map +1 -1
  33. package/dist/src/hooks/invitations/useSecretGenerator.js +2 -2
  34. package/dist/src/hooks/invitations/useSecretGenerator.js.map +1 -1
  35. package/dist/src/hooks/invitations/useSecretProvider.js +1 -1
  36. package/dist/src/hooks/invitations/useSecretProvider.js.map +1 -1
  37. package/dist/src/hooks/util/useResultSet.js +1 -1
  38. package/dist/src/hooks/util/useResultSet.js.map +1 -1
  39. package/dist/src/hooks/wns/registryBotFactories.js +4 -4
  40. package/dist/src/hooks/wns/registryBotFactories.js.map +1 -1
  41. package/dist/src/hooks/wns/registryBots.js +4 -4
  42. package/dist/src/hooks/wns/registryBots.js.map +1 -1
  43. package/dist/stories/client.stories.js +2 -2
  44. package/dist/stories/client.stories.js.map +1 -1
  45. package/dist/stories/halo-invitations.stories.js +11 -11
  46. package/dist/stories/halo-invitations.stories.js.map +1 -1
  47. package/dist/stories/helpers/Container.js +1 -1
  48. package/dist/stories/helpers/Container.js.map +1 -1
  49. package/dist/stories/helpers/PartyJoinPanel.js +3 -3
  50. package/dist/stories/helpers/PartyJoinPanel.js.map +1 -1
  51. package/dist/stories/helpers/ThemeProvider.js +1 -1
  52. package/dist/stories/helpers/ThemeProvider.js.map +1 -1
  53. package/dist/stories/party-invitations.stories.js +14 -14
  54. package/dist/stories/party-invitations.stories.js.map +1 -1
  55. package/dist/tests/config.test.js +3 -3
  56. package/dist/tests/config.test.js.map +1 -1
  57. package/dist/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +10 -10
  59. package/react-client.build.log +5 -5
  60. package/src/hooks/wns/registryBotFactories.ts +1 -1
  61. package/src/hooks/wns/registryBots.ts +1 -1
  62. package/stories/halo-invitations.stories.tsx +1 -1
  63. 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.2",
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.2",
18
- "@dxos/client": "2.17.2",
19
- "@dxos/config": "2.17.2",
20
- "@dxos/credentials": "2.17.2",
21
- "@dxos/crypto": "2.17.2",
22
- "@dxos/debug": "2.17.2",
23
- "@dxos/echo-db": "2.17.2",
24
- "@dxos/util": "2.17.2",
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.3.5",
49
+ "typescript": "^4.5.2",
50
50
  "webpack": "4.44.2"
51
51
  },
52
52
  "peerDependencies": {
@@ -2,10 +2,10 @@ Invoking: toolchain build:test
2
2
 
3
3
 
4
4
  typescript
5
- OK in 6712 ms
5
+ OK in 5662 ms
6
6
 
7
7
  eslint
8
- OK in 6818 ms
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 (414ms)
29
+ 7 passing (203ms)
30
30
 
31
- OK in 8545 ms
31
+ OK in 7076 ms
32
32
 
33
- CHECK COMPLETE in 22082 ms
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
  }
@@ -142,7 +142,7 @@ const PartyJoinContainer = () => {
142
142
  await party.open();
143
143
 
144
144
  setStatus({ party: party.key.toHex() });
145
- } catch (error) {
145
+ } catch (error: any) {
146
146
  setStatus({ error });
147
147
  }
148
148
  };