@dxos/react-client 2.19.0 → 2.19.1
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.json +53 -0
- package/.rush/temp/package-deps_build:test.json +3 -3
- package/.rush/temp/shrinkwrap-deps.json +5 -4
- package/dist/src/testing/ProfileInitializer.js +1 -1
- package/dist/src/testing/ProfileInitializer.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -15
- package/react-client.build.log +6 -6
- package/src/testing/ProfileInitializer.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-client",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.1",
|
|
4
4
|
"description": "React client API",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -15,28 +15,28 @@
|
|
|
15
15
|
"test": "toolchain test"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@dxos/async": "2.19.
|
|
19
|
-
"@dxos/client": "2.19.
|
|
20
|
-
"@dxos/config": "2.19.
|
|
21
|
-
"@dxos/credentials": "2.19.
|
|
22
|
-
"@dxos/crypto": "2.19.
|
|
23
|
-
"@dxos/debug": "2.19.
|
|
24
|
-
"@dxos/echo-db": "2.19.
|
|
25
|
-
"@dxos/esbuild-plugins": "2.19.
|
|
26
|
-
"@dxos/esbuild-server": "~1.4.
|
|
27
|
-
"@dxos/util": "2.19.
|
|
28
|
-
"@types/debug": "^4.1.
|
|
18
|
+
"@dxos/async": "2.19.1",
|
|
19
|
+
"@dxos/client": "2.19.1",
|
|
20
|
+
"@dxos/config": "2.19.1",
|
|
21
|
+
"@dxos/credentials": "2.19.1",
|
|
22
|
+
"@dxos/crypto": "2.19.1",
|
|
23
|
+
"@dxos/debug": "2.19.1",
|
|
24
|
+
"@dxos/echo-db": "2.19.1",
|
|
25
|
+
"@dxos/esbuild-plugins": "2.19.1",
|
|
26
|
+
"@dxos/esbuild-server": "~1.4.1",
|
|
27
|
+
"@dxos/util": "2.19.1",
|
|
28
|
+
"@types/debug": "^4.1.7",
|
|
29
29
|
"assert": "^2.0.0",
|
|
30
|
-
"debug": "^4.
|
|
30
|
+
"debug": "^4.3.3",
|
|
31
31
|
"react-display-name": "^0.2.5",
|
|
32
32
|
"use-subscription": "^1.4.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@dxos/toolchain-node-library": "2.19.
|
|
35
|
+
"@dxos/toolchain-node-library": "2.19.1",
|
|
36
36
|
"@mui/material": "^5.0.1",
|
|
37
37
|
"@testing-library/react": "^11.0.4",
|
|
38
38
|
"@testing-library/react-hooks": "5.1.2",
|
|
39
|
-
"@types/debug": "^4.1.
|
|
39
|
+
"@types/debug": "^4.1.7",
|
|
40
40
|
"@types/level-js": "~4.0.1",
|
|
41
41
|
"@types/mocha": "~8.2.2",
|
|
42
42
|
"@types/node": "^14.0.9",
|
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 3964 ms
|
|
6
6
|
|
|
7
7
|
eslint
|
|
8
|
-
OK in
|
|
8
|
+
OK in 8771 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
|
|
@@ -13,7 +13,7 @@ This browser doesn't support cancelAnimationFrame. Make sure that you load a pol
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
ClientProvider
|
|
16
|
-
✓ Renders with children
|
|
16
|
+
✓ Renders with children
|
|
17
17
|
✓ Provides the client
|
|
18
18
|
|
|
19
19
|
Client hook
|
|
@@ -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 (271ms)
|
|
30
30
|
|
|
31
|
-
OK in
|
|
31
|
+
OK in 11463 ms
|
|
32
32
|
|
|
33
|
-
CHECK COMPLETE in
|
|
33
|
+
CHECK COMPLETE in 24205 ms
|
|
@@ -10,7 +10,7 @@ import { useClient, useProfile } from '../hooks';
|
|
|
10
10
|
* Automatically creates a random DXOS profile.
|
|
11
11
|
* @deprecated
|
|
12
12
|
*/
|
|
13
|
-
// TODO(burdon): Testing-only
|
|
13
|
+
// TODO(burdon): Testing-only; replace with useTestProfile();
|
|
14
14
|
export const ProfileInitializer = ({ children }: { children: React.ReactNode }) => {
|
|
15
15
|
const client = useClient();
|
|
16
16
|
const profile = useProfile();
|