@dxos/react-client 2.33.7 → 2.33.8-dev.8609bc45
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/.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/.rush/temp/package-deps_build.json +0 -64
- package/out/book/esbuild-server-book.js +0 -195394
- package/out/book/index.html +0 -14
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"packages/sdk/react-client/.rush/temp/shrinkwrap-deps.json": "
|
|
3
|
+
"packages/sdk/react-client/.rush/temp/shrinkwrap-deps.json": "eeb4eb7f15f8f735ca87ed06c3ce81858df8432b",
|
|
4
4
|
"packages/sdk/react-client/.eslintrc.js": "9163b4df6ca99b069e015cef575b6b2a48bc3bb4",
|
|
5
5
|
"packages/sdk/react-client/README.md": "db191a6b720ee3e2792190055405295690168059",
|
|
6
6
|
"packages/sdk/react-client/dx.yml": "fec08e8e0e62b021c09078bc00c4396d4c35f6bd",
|
|
7
7
|
"packages/sdk/react-client/esbuild-server.config.js": "242d722f300c89d550d1a3572c9eaed2f81b0a85",
|
|
8
|
-
"packages/sdk/react-client/package.json": "
|
|
8
|
+
"packages/sdk/react-client/package.json": "0cf415b919d9f43f6e33542587c334ca82f3cf95",
|
|
9
9
|
"packages/sdk/react-client/src/banner.ts": "fbe69c43f2791f466b729d98ad213e8bbc0fa9c4",
|
|
10
10
|
"packages/sdk/react-client/src/containers/BotFactoryClientProvider.tsx": "b0c28d8281640f159e8b2060c977f3d0cbc662da",
|
|
11
11
|
"packages/sdk/react-client/src/containers/ClientProvider.test.tsx": "dc7ff4b7baf181522f3ab4210aed35361fd30939",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"packages/sdk/react-client/src/index.ts": "0401dccb4bffb562c4d3a4553ab635968c309167",
|
|
47
47
|
"packages/sdk/react-client/stories/client.stories.tsx": "e17ca17f95d75d3901b2ba2dec470684b6862a28",
|
|
48
48
|
"packages/sdk/react-client/stories/halo-invitations.stories.tsx": "6cb9b104c61b57c335709a08ef6ce40cb5fd030c",
|
|
49
|
-
"packages/sdk/react-client/stories/halo-recovery.stories.tsx": "
|
|
49
|
+
"packages/sdk/react-client/stories/halo-recovery.stories.tsx": "880882e49e80fa2d786a32f7ca3452f9bf536ab7",
|
|
50
50
|
"packages/sdk/react-client/stories/helpers/ClientPanel.tsx": "af093d33f11d198b99d1342b0c0c1b7acbbe6be8",
|
|
51
51
|
"packages/sdk/react-client/stories/helpers/ContactsSelector.tsx": "f67807e6173d9b48ee1867d488936f3546f4d5eb",
|
|
52
52
|
"packages/sdk/react-client/stories/helpers/Container.tsx": "ab90a46770f01c94687f182627ef132f108a63b7",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"../../packages/sdk/react-client": "../../packages/sdk/react-client:
|
|
2
|
+
"../../packages/sdk/react-client": "../../packages/sdk/react-client:1qbe8ebMevi2qn3mx0xBtBm9E4rJoYFUqsHPhnMLNK4=:",
|
|
3
3
|
"/@babel/code-frame/7.12.11": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",
|
|
4
4
|
"/@babel/code-frame/7.16.0": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==",
|
|
5
5
|
"/@babel/code-frame/7.18.6": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"halo-recovery.stories.d.ts","sourceRoot":"","sources":["../../stories/halo-recovery.stories.tsx"],"names":[],"mappings":";;;;AAqBA,wBAEE;
|
|
1
|
+
{"version":3,"file":"halo-recovery.stories.d.ts","sourceRoot":"","sources":["../../stories/halo-recovery.stories.tsx"],"names":[],"mappings":";;;;AAqBA,wBAEE;AAqFF,eAAO,MAAM,YAAY,mBAaxB,CAAC"}
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.HaloRecovery = void 0;
|
|
30
30
|
const react_1 = __importStar(require("react"));
|
|
31
31
|
const material_1 = require("@mui/material");
|
|
32
|
-
const
|
|
32
|
+
const client_1 = require("@dxos/client");
|
|
33
33
|
const src_1 = require("../src");
|
|
34
34
|
const helpers_1 = require("./helpers");
|
|
35
35
|
exports.default = {
|
|
@@ -40,10 +40,9 @@ const HaloCreationContainer = () => {
|
|
|
40
40
|
const profile = (0, src_1.useProfile)();
|
|
41
41
|
const [seed, setSeed] = (0, react_1.useState)('');
|
|
42
42
|
const handleCreateHalo = async () => {
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
setSeed(seedPhrase);
|
|
43
|
+
const seedphrase = (0, client_1.generateSeedPhrase)();
|
|
44
|
+
await client.halo.createProfile({ seedphrase });
|
|
45
|
+
setSeed(seedphrase);
|
|
47
46
|
};
|
|
48
47
|
return (react_1.default.createElement(material_1.Box, { sx: { padding: 1 } },
|
|
49
48
|
profile && (react_1.default.createElement("p", null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"halo-recovery.stories.js","sourceRoot":"","sources":["../../stories/halo-recovery.stories.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;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