shogun-button-react 1.7.5 → 1.8.3
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.
|
@@ -628,7 +628,7 @@ export const ShogunButton = (() => {
|
|
|
628
628
|
const result = await signUp("password", formUsername, formPassword, formPasswordConfirm);
|
|
629
629
|
if (result && result.success) {
|
|
630
630
|
if (sdk === null || sdk === void 0 ? void 0 : sdk.db) {
|
|
631
|
-
await sdk.db.setPasswordHint(formHint);
|
|
631
|
+
await sdk.db.setPasswordHint(username, formPasswordConfirm, formHint, [formSecurityQuestion], [formSecurityAnswer]);
|
|
632
632
|
}
|
|
633
633
|
setModalIsOpen(false);
|
|
634
634
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shogun-button-react",
|
|
3
3
|
"description": "Shogun connector button",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.3",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"src/styles/index.css"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"ethers": "^6.13.5",
|
|
35
35
|
"prettier": "^3.5.3",
|
|
36
36
|
"rxjs": "^7.8.1",
|
|
37
|
-
"shogun-core": "^1.
|
|
37
|
+
"shogun-core": "^1.8.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "^18.0.0",
|