@dxos/react-client 2.20.1-dev.df6bc99d → 2.20.1-dev.e197fd2e

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-client",
3
- "version": "2.20.1-dev.df6bc99d",
3
+ "version": "2.20.1-dev.e197fd2e",
4
4
  "description": "React client API",
5
5
  "keywords": [],
6
6
  "license": "AGPL-3.0",
@@ -8,22 +8,22 @@
8
8
  "main": "dist/src/index.js",
9
9
  "types": "dist/src/index.d.ts",
10
10
  "dependencies": {
11
- "@dxos/async": "2.20.1-dev.df6bc99d",
12
- "@dxos/bot-factory-client": "2.20.1-dev.df6bc99d",
13
- "@dxos/client": "2.20.1-dev.df6bc99d",
14
- "@dxos/config": "2.20.1-dev.df6bc99d",
15
- "@dxos/credentials": "2.20.1-dev.df6bc99d",
16
- "@dxos/crypto": "2.20.1-dev.df6bc99d",
17
- "@dxos/debug": "2.20.1-dev.df6bc99d",
18
- "@dxos/echo-db": "2.20.1-dev.df6bc99d",
19
- "@dxos/util": "2.20.1-dev.df6bc99d",
11
+ "@dxos/async": "2.20.1-dev.e197fd2e",
12
+ "@dxos/bot-factory-client": "2.20.1-dev.e197fd2e",
13
+ "@dxos/client": "2.20.1-dev.e197fd2e",
14
+ "@dxos/config": "2.20.1-dev.e197fd2e",
15
+ "@dxos/credentials": "2.20.1-dev.e197fd2e",
16
+ "@dxos/crypto": "2.20.1-dev.e197fd2e",
17
+ "@dxos/debug": "2.20.1-dev.e197fd2e",
18
+ "@dxos/echo-db": "2.20.1-dev.e197fd2e",
19
+ "@dxos/util": "2.20.1-dev.e197fd2e",
20
20
  "assert": "^2.0.0",
21
21
  "debug": "^4.3.3",
22
22
  "react-display-name": "^0.2.5",
23
23
  "use-subscription": "^1.4.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@dxos/esbuild-plugins": "2.20.1-dev.df6bc99d",
26
+ "@dxos/esbuild-plugins": "2.20.1-dev.e197fd2e",
27
27
  "@dxos/esbuild-server": "~1.7.4",
28
28
  "@dxos/toolchain-node-library": "2.20.0",
29
29
  "@mui/material": "^5.0.1",
@@ -1,12 +1,11 @@
1
1
  Invoking: toolchain build:test
2
2
 
3
- ENOENT: no such file or directory, stat '/home/github/_work/protocols/protocols/packages/sdk/react-client/src/proto/gen'
4
3
 
5
4
  typescript
6
- OK in 5389 ms
5
+ OK in 7743 ms
7
6
 
8
7
  eslint
9
- OK in 7472 ms
8
+ OK in 7721 ms
10
9
 
11
10
  mocha
12
11
  This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills
@@ -14,7 +13,7 @@ This browser doesn't support cancelAnimationFrame. Make sure that you load a pol
14
13
 
15
14
 
16
15
  ClientProvider
17
- ✓ Renders with children (39ms)
16
+ ✓ Renders with children
18
17
  ✓ Provides the client
19
18
 
20
19
  Client hook
@@ -27,8 +26,8 @@ This browser doesn't support cancelAnimationFrame. Make sure that you load a pol
27
26
  ✓ should return custom client config when used properly in a context
28
27
 
29
28
 
30
- 7 passing (390ms)
29
+ 7 passing (299ms)
31
30
 
32
- OK in 2591 ms
31
+ OK in 2458 ms
33
32
 
34
- CHECK COMPLETE in 15462 ms
33
+ CHECK COMPLETE in 17937 ms
@@ -18,6 +18,7 @@ export const useMembers = (party: PartyProxy | undefined) => {
18
18
  setMembers(result.value);
19
19
 
20
20
  return result.subscribe(() => {
21
+ // TODO(wittjosiah): Remove interval.
21
22
  const update = setInterval(() => {
22
23
  const newMembers = party.queryMembers().value;
23
24
  const isNameFilled = newMembers.every(m => m.displayName);
@@ -27,7 +28,7 @@ export const useMembers = (party: PartyProxy | undefined) => {
27
28
  }
28
29
  }, 1000);
29
30
  });
30
- }, [party && party.key.toString()]);
31
+ }, [party?.key.toString()]);
31
32
 
32
33
  return members;
33
34
  };