@dxos/react-client 2.33.5-dev.0d84e06f → 2.33.5-dev.33d2877e
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 +1 -1
- package/.rush/temp/package-deps_build:test.json +2 -2
- package/.rush/temp/package-deps_prerelease.json +2 -2
- package/dist/src/hooks/echo-selections/useSelection.test.js +2 -2
- package/dist/src/hooks/echo-selections/useSelection.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/src/hooks/echo-selections/useSelection.test.tsx +2 -2
- package/tsconfig.json +10 -10
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-client",
|
|
3
|
-
"version": "2.33.5-dev.
|
|
3
|
+
"version": "2.33.5-dev.33d2877e",
|
|
4
4
|
"description": "React client API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "DXOS.org",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"types": "dist/src/index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@dxos/async": "2.33.5-dev.
|
|
11
|
-
"@dxos/bot-factory-client": "2.33.5-dev.
|
|
12
|
-
"@dxos/client": "2.33.5-dev.
|
|
13
|
-
"@dxos/config": "2.33.5-dev.
|
|
14
|
-
"@dxos/credentials": "2.33.5-dev.
|
|
15
|
-
"@dxos/crypto": "2.33.5-dev.
|
|
16
|
-
"@dxos/debug": "2.33.5-dev.
|
|
17
|
-
"@dxos/echo-db": "2.33.5-dev.
|
|
18
|
-
"@dxos/network-manager": "2.33.5-dev.
|
|
19
|
-
"@dxos/react-async": "2.33.5-dev.
|
|
20
|
-
"@dxos/util": "2.33.5-dev.
|
|
10
|
+
"@dxos/async": "2.33.5-dev.33d2877e",
|
|
11
|
+
"@dxos/bot-factory-client": "2.33.5-dev.33d2877e",
|
|
12
|
+
"@dxos/client": "2.33.5-dev.33d2877e",
|
|
13
|
+
"@dxos/config": "2.33.5-dev.33d2877e",
|
|
14
|
+
"@dxos/credentials": "2.33.5-dev.33d2877e",
|
|
15
|
+
"@dxos/crypto": "2.33.5-dev.33d2877e",
|
|
16
|
+
"@dxos/debug": "2.33.5-dev.33d2877e",
|
|
17
|
+
"@dxos/echo-db": "2.33.5-dev.33d2877e",
|
|
18
|
+
"@dxos/network-manager": "2.33.5-dev.33d2877e",
|
|
19
|
+
"@dxos/react-async": "2.33.5-dev.33d2877e",
|
|
20
|
+
"@dxos/util": "2.33.5-dev.33d2877e",
|
|
21
21
|
"assert": "^2.0.0",
|
|
22
22
|
"debug": "^4.3.3",
|
|
23
23
|
"use-subscription": "^1.4.1"
|
|
@@ -16,7 +16,7 @@ import { useSelection } from './useSelection';
|
|
|
16
16
|
const count = 10;
|
|
17
17
|
const TYPE_EXAMPLE = 'example:type/org';
|
|
18
18
|
|
|
19
|
-
const
|
|
19
|
+
const createTestComponents = async () => {
|
|
20
20
|
const config = {};
|
|
21
21
|
const client = new Client(config);
|
|
22
22
|
await client.initialize();
|
|
@@ -55,7 +55,7 @@ afterEach(() => {
|
|
|
55
55
|
|
|
56
56
|
describe.only('useSelection', () => {
|
|
57
57
|
it('gets updated items selection', async () => {
|
|
58
|
-
const { party } = await
|
|
58
|
+
const { party } = await createTestComponents();
|
|
59
59
|
act(() => {
|
|
60
60
|
ReactDOM.render(<UseSelectionTestComponent party={party} />, rootContainer);
|
|
61
61
|
});
|
package/tsconfig.json
CHANGED
|
@@ -14,38 +14,38 @@
|
|
|
14
14
|
"tests"
|
|
15
15
|
],
|
|
16
16
|
"references": [
|
|
17
|
-
{
|
|
18
|
-
"path": "../../common/async"
|
|
19
|
-
},
|
|
20
17
|
{
|
|
21
18
|
"path": "../../bot/bot-factory-client"
|
|
22
19
|
},
|
|
23
20
|
{
|
|
24
|
-
"path": "
|
|
21
|
+
"path": "../../common/async"
|
|
25
22
|
},
|
|
26
23
|
{
|
|
27
|
-
"path": "
|
|
24
|
+
"path": "../../common/crypto"
|
|
28
25
|
},
|
|
29
26
|
{
|
|
30
|
-
"path": "../../
|
|
27
|
+
"path": "../../common/debug"
|
|
31
28
|
},
|
|
32
29
|
{
|
|
33
|
-
"path": "../../common/
|
|
30
|
+
"path": "../../common/react-async"
|
|
34
31
|
},
|
|
35
32
|
{
|
|
36
|
-
"path": "../../common/
|
|
33
|
+
"path": "../../common/util"
|
|
37
34
|
},
|
|
38
35
|
{
|
|
39
36
|
"path": "../../echo/echo-db"
|
|
40
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../halo/credentials"
|
|
40
|
+
},
|
|
41
41
|
{
|
|
42
42
|
"path": "../../mesh/network-manager"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
"path": "
|
|
45
|
+
"path": "../client"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"path": "
|
|
48
|
+
"path": "../config"
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
51
|
}
|