@dxos/react-client 2.20.1-dev.215f1a5e → 2.20.1-dev.24334268

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.215f1a5e",
3
+ "version": "2.20.1-dev.24334268",
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.215f1a5e",
12
- "@dxos/bot-factory-client": "2.20.1-dev.215f1a5e",
13
- "@dxos/client": "2.20.1-dev.215f1a5e",
14
- "@dxos/config": "2.20.1-dev.215f1a5e",
15
- "@dxos/credentials": "2.20.1-dev.215f1a5e",
16
- "@dxos/crypto": "2.20.1-dev.215f1a5e",
17
- "@dxos/debug": "2.20.1-dev.215f1a5e",
18
- "@dxos/echo-db": "2.20.1-dev.215f1a5e",
19
- "@dxos/util": "2.20.1-dev.215f1a5e",
11
+ "@dxos/async": "2.20.1-dev.24334268",
12
+ "@dxos/bot-factory-client": "2.20.1-dev.24334268",
13
+ "@dxos/client": "2.20.1-dev.24334268",
14
+ "@dxos/config": "2.20.1-dev.24334268",
15
+ "@dxos/credentials": "2.20.1-dev.24334268",
16
+ "@dxos/crypto": "2.20.1-dev.24334268",
17
+ "@dxos/debug": "2.20.1-dev.24334268",
18
+ "@dxos/echo-db": "2.20.1-dev.24334268",
19
+ "@dxos/util": "2.20.1-dev.24334268",
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.215f1a5e",
26
+ "@dxos/esbuild-plugins": "2.20.1-dev.24334268",
27
27
  "@dxos/esbuild-server": "~1.7.4",
28
28
  "@dxos/toolchain-node-library": "2.20.0",
29
29
  "@mui/material": "^5.0.1",
@@ -0,0 +1,33 @@
1
+ Invoking: toolchain build:test
2
+
3
+
4
+ typescript
5
+ OK in 18474 ms
6
+
7
+ eslint
8
+ OK in 20116 ms
9
+
10
+ mocha
11
+ This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills
12
+ This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills
13
+
14
+
15
+ ClientProvider
16
+ ✓ Renders with children (41ms)
17
+ ✓ Provides the client
18
+
19
+ Client hook
20
+ ✓ should throw when used outside a context
21
+ ✓ should return client when used properly in a context
22
+
23
+ Config hook
24
+ ✓ should throw when used outside a context
25
+ ✓ should return default client config when no config is passed in a context
26
+ ✓ should return custom client config when used properly in a context
27
+
28
+
29
+ 7 passing (981ms)
30
+
31
+ OK in 6836 ms
32
+
33
+ CHECK COMPLETE in 45464 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
  };