@dxos/react-client 2.33.7 → 2.33.8-dev.6bc74570
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 +3 -3
- package/.rush/temp/package-deps_build_test.json +3 -3
- package/.rush/temp/shrinkwrap-deps.json +1 -1
- package/dist/stories/halo-recovery.stories.d.ts.map +1 -1
- package/dist/stories/halo-recovery.stories.js +4 -5
- package/dist/stories/halo-recovery.stories.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -14
- package/react-client.build.log +6 -6
- package/stories/halo-recovery.stories.tsx +4 -5
- package/out/book/esbuild-server-book.js +0 -195394
- package/out/book/index.html +0 -14
package/package.json
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-client",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.8-dev.6bc74570",
|
|
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.
|
|
11
|
-
"@dxos/bot-factory-client": "2.33.
|
|
12
|
-
"@dxos/client": "2.33.
|
|
13
|
-
"@dxos/config": "2.33.
|
|
14
|
-
"@dxos/codec-protobuf": "2.33.
|
|
15
|
-
"@dxos/
|
|
16
|
-
"@dxos/
|
|
17
|
-
"@dxos/
|
|
18
|
-
"@dxos/
|
|
19
|
-
"@dxos/
|
|
20
|
-
"@dxos/
|
|
21
|
-
"@dxos/util": "2.33.7",
|
|
10
|
+
"@dxos/async": "2.33.8-dev.6bc74570",
|
|
11
|
+
"@dxos/bot-factory-client": "2.33.8-dev.6bc74570",
|
|
12
|
+
"@dxos/client": "2.33.8-dev.6bc74570",
|
|
13
|
+
"@dxos/config": "2.33.8-dev.6bc74570",
|
|
14
|
+
"@dxos/codec-protobuf": "2.33.8-dev.6bc74570",
|
|
15
|
+
"@dxos/debug": "2.33.8-dev.6bc74570",
|
|
16
|
+
"@dxos/echo-db": "2.33.8-dev.6bc74570",
|
|
17
|
+
"@dxos/network-manager": "2.33.8-dev.6bc74570",
|
|
18
|
+
"@dxos/protocols": "2.33.8-dev.6bc74570",
|
|
19
|
+
"@dxos/react-async": "2.33.8-dev.6bc74570",
|
|
20
|
+
"@dxos/util": "2.33.8-dev.6bc74570",
|
|
22
21
|
"assert": "^2.0.0",
|
|
23
22
|
"debug": "^4.3.3",
|
|
24
23
|
"use-subscription": "^1.8.0"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
27
|
-
"@dxos/crypto": "2.33.
|
|
26
|
+
"@dxos/crypto": "2.33.8-dev.6bc74570",
|
|
28
27
|
"@dxos/esbuild-plugins": "~2.28.10",
|
|
29
28
|
"@dxos/eslint-plugin": "~1.0.34",
|
|
30
29
|
"@dxos/protocols-toolchain": "2.33.7",
|
package/react-client.build.log
CHANGED
|
@@ -2,20 +2,20 @@ Invoking: toolchain build:test
|
|
|
2
2
|
|
|
3
3
|
Tests started
|
|
4
4
|
Typescript
|
|
5
|
-
OK in
|
|
5
|
+
OK in 8832 ms
|
|
6
6
|
no problems
|
|
7
|
-
OK in
|
|
7
|
+
OK in 7647 ms
|
|
8
8
|
|
|
9
9
|
Mocha Tests
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
useSelection
|
|
13
13
|
Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
|
|
14
|
-
✓ gets updated items selection (
|
|
14
|
+
✓ gets updated items selection (302ms)
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
1 passing (
|
|
17
|
+
1 passing (308ms)
|
|
18
18
|
|
|
19
|
-
OK in
|
|
19
|
+
OK in 2689 ms
|
|
20
20
|
|
|
21
|
-
Tests complete in
|
|
21
|
+
Tests complete in 19189 ms
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
Box, Button, Divider, Input, Paper, Toolbar
|
|
9
9
|
} from '@mui/material';
|
|
10
10
|
|
|
11
|
-
import { generateSeedPhrase
|
|
11
|
+
import { generateSeedPhrase } from '@dxos/client';
|
|
12
12
|
|
|
13
13
|
import {
|
|
14
14
|
ClientProvider, useClient,
|
|
@@ -29,10 +29,9 @@ const HaloCreationContainer = () => {
|
|
|
29
29
|
const [seed, setSeed] = useState('');
|
|
30
30
|
|
|
31
31
|
const handleCreateHalo = async () => {
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
setSeed(seedPhrase);
|
|
32
|
+
const seedphrase = generateSeedPhrase();
|
|
33
|
+
await client.halo.createProfile({ seedphrase });
|
|
34
|
+
setSeed(seedphrase);
|
|
36
35
|
};
|
|
37
36
|
|
|
38
37
|
return (
|