@dxos/react-client 2.17.1 → 2.17.2
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:test.json +3 -3
- package/dist/src/hooks/client/useClient.js +1 -1
- package/dist/src/hooks/client/useClient.js.map +1 -1
- package/dist/src/hooks/client/useConfig.js +1 -1
- package/dist/src/hooks/client/useConfig.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/react-client.build.log +5 -5
- package/src/hooks/client/useClient.ts +1 -1
- package/src/hooks/client/useConfig.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-client",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.2",
|
|
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.
|
|
18
|
-
"@dxos/client": "2.17.
|
|
19
|
-
"@dxos/config": "2.17.
|
|
20
|
-
"@dxos/credentials": "2.17.
|
|
21
|
-
"@dxos/crypto": "2.17.
|
|
22
|
-
"@dxos/debug": "2.17.
|
|
23
|
-
"@dxos/echo-db": "2.17.
|
|
24
|
-
"@dxos/util": "2.17.
|
|
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",
|
|
25
25
|
"@types/debug": "^4.1.1",
|
|
26
26
|
"assert": "^2.0.0",
|
|
27
27
|
"debug": "^4.1.1",
|
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 6712 ms
|
|
6
6
|
|
|
7
7
|
eslint
|
|
8
|
-
OK in
|
|
8
|
+
OK in 6818 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 (
|
|
29
|
+
7 passing (414ms)
|
|
30
30
|
|
|
31
|
-
OK in
|
|
31
|
+
OK in 8545 ms
|
|
32
32
|
|
|
33
|
-
CHECK COMPLETE in
|
|
33
|
+
CHECK COMPLETE in 22082 ms
|
|
@@ -13,5 +13,5 @@ import { ClientContext } from './context';
|
|
|
13
13
|
* To be used with `ClientProvider` or `ClientInitializer` component wrapper.
|
|
14
14
|
*/
|
|
15
15
|
export const useClient = () => {
|
|
16
|
-
return useContext(ClientContext) ?? raise(new Error('
|
|
16
|
+
return useContext(ClientContext) ?? raise(new Error('ClientContext no set.'));
|
|
17
17
|
};
|
|
@@ -13,6 +13,6 @@ import { ClientContext } from './context';
|
|
|
13
13
|
* To be used with `ClientProvider` or `ClientInitializer` component wrapper.
|
|
14
14
|
*/
|
|
15
15
|
export const useConfig = () => {
|
|
16
|
-
const { config } = useContext(ClientContext) ?? raise(new Error('
|
|
16
|
+
const { config } = useContext(ClientContext) ?? raise(new Error('ClientContext no set.'));
|
|
17
17
|
return config;
|
|
18
18
|
};
|