Bump matrix-js-sdk to v36.1.0 (#2967)

Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
This commit is contained in:
TimoandHugh Nimmo-Smith authored and GitHub committed 2025-02-03 12:28:12 +00:00
1 parent 1dde54daa9
commit bff2b73c85
7 files changed
+18 -17

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ Please see LICENSE in the repository root for full details.
*/
import { type FC, useCallback, useState, type FormEventHandler } from "react";
import { randomString } from "matrix-js-sdk/src/randomstring";
import { secureRandomString } from "matrix-js-sdk/src/randomstring";
import { Trans, useTranslation } from "react-i18next";
import { Button, Heading, Text } from "@vector-im/compound-web";
import { logger } from "matrix-js-sdk/src/logger";
@@ -67,7 +67,7 @@ export const UnauthenticatedView: FC = () => {
const userName = generateRandomName();
const [client, session] = await register(
userName,
randomString(16),
secureRandomString(16),
displayName,
recaptchaResponse,
true,