@dxos/react-client 2.19.9-dev.f021db64 → 2.19.10-dev.9987f7cd

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.19.9-dev.f021db64",
3
+ "version": "2.19.10-dev.9987f7cd",
4
4
  "description": "React client API",
5
5
  "keywords": [],
6
6
  "license": "AGPL-3.0",
@@ -8,24 +8,24 @@
8
8
  "main": "dist/src/index.js",
9
9
  "types": "dist/src/index.d.ts",
10
10
  "dependencies": {
11
- "@dxos/async": "2.19.9-dev.f021db64",
12
- "@dxos/bot-factory-client": "2.19.9-dev.f021db64",
13
- "@dxos/client": "2.19.9-dev.f021db64",
14
- "@dxos/config": "2.19.9-dev.f021db64",
15
- "@dxos/credentials": "2.19.9-dev.f021db64",
16
- "@dxos/crypto": "2.19.9-dev.f021db64",
17
- "@dxos/debug": "2.19.9-dev.f021db64",
18
- "@dxos/echo-db": "2.19.9-dev.f021db64",
19
- "@dxos/util": "2.19.9-dev.f021db64",
11
+ "@dxos/async": "2.19.10-dev.9987f7cd",
12
+ "@dxos/bot-factory-client": "2.19.10-dev.9987f7cd",
13
+ "@dxos/client": "2.19.10-dev.9987f7cd",
14
+ "@dxos/config": "2.19.10-dev.9987f7cd",
15
+ "@dxos/credentials": "2.19.10-dev.9987f7cd",
16
+ "@dxos/crypto": "2.19.10-dev.9987f7cd",
17
+ "@dxos/debug": "2.19.10-dev.9987f7cd",
18
+ "@dxos/echo-db": "2.19.10-dev.9987f7cd",
19
+ "@dxos/util": "2.19.10-dev.9987f7cd",
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.19.9-dev.f021db64",
26
+ "@dxos/esbuild-plugins": "2.19.10-dev.9987f7cd",
27
27
  "@dxos/esbuild-server": "~1.7.2",
28
- "@dxos/toolchain-node-library": "2.19.8",
28
+ "@dxos/toolchain-node-library": "2.19.9",
29
29
  "@mui/material": "^5.0.1",
30
30
  "@testing-library/react": "^11.0.4",
31
31
  "@testing-library/react-hooks": "5.1.2",
@@ -3,10 +3,10 @@ Invoking: toolchain build:test
3
3
  ENOENT: no such file or directory, stat '/home/github/_work/protocols/protocols/packages/sdk/react-client/src/proto/gen'
4
4
 
5
5
  typescript
6
- OK in 3339 ms
6
+ OK in 10823 ms
7
7
 
8
8
  eslint
9
- OK in 6636 ms
9
+ OK in 13406 ms
10
10
 
11
11
  mocha
12
12
  This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills
@@ -14,7 +14,7 @@ This browser doesn't support cancelAnimationFrame. Make sure that you load a pol
14
14
 
15
15
 
16
16
  ClientProvider
17
- ✓ Renders with children
17
+ ✓ Renders with children (41ms)
18
18
  ✓ Provides the client
19
19
 
20
20
  Client hook
@@ -27,8 +27,8 @@ This browser doesn't support cancelAnimationFrame. Make sure that you load a pol
27
27
  ✓ should return custom client config when used properly in a context
28
28
 
29
29
 
30
- 7 passing (245ms)
30
+ 7 passing (627ms)
31
31
 
32
- OK in 2207 ms
32
+ OK in 4006 ms
33
33
 
34
- CHECK COMPLETE in 12189 ms
34
+ CHECK COMPLETE in 28246 ms
@@ -78,7 +78,7 @@ const PartyInvitationContainer = () => {
78
78
  } else {
79
79
  const invitation = await client.echo.createInvitation(partyKey!);
80
80
  invitation.connected.on(() => setPin(invitation.secret.toString()));
81
- invitation.finshed.on(() => resetInvitations());
81
+ invitation.finished.on(() => resetInvitations());
82
82
  setInvitationCode(encodeInvitation(invitation.descriptor));
83
83
  }
84
84
  });
@@ -156,7 +156,7 @@ const PartyJoinContainer = () => {
156
156
 
157
157
  try {
158
158
  const invitation = decodeInvitation(invitationCode);
159
- if (invitation.type === InvitationDescriptorType.OFFLINE_KEY) {
159
+ if (invitation.type === InvitationDescriptorType.OFFLINE) {
160
160
  const party = await client.echo.joinParty(invitation);
161
161
  await party.open();
162
162
  setStatus({ party: party.key.toHex() });