@matchain/matchid-sdk-react 0.1.9 → 0.1.10
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/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/example/index.html +1 -1
- package/example/src/pages/Login.tsx +11 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1049,7 +1049,8 @@ function useWallet() {
|
|
|
1049
1049
|
did: overview?.did?.split(":")[2] || ""
|
|
1050
1050
|
});
|
|
1051
1051
|
} else {
|
|
1052
|
-
|
|
1052
|
+
await recoveryWallet("ethereum", "user_passcode_recovery_key");
|
|
1053
|
+
await getSign();
|
|
1053
1054
|
}
|
|
1054
1055
|
});
|
|
1055
1056
|
};
|
|
@@ -1087,7 +1088,8 @@ function useWallet() {
|
|
|
1087
1088
|
did: overview?.did?.split(":")[2] || ""
|
|
1088
1089
|
});
|
|
1089
1090
|
} else {
|
|
1090
|
-
|
|
1091
|
+
await recoveryWallet("ethereum", "user_passcode_recovery_key");
|
|
1092
|
+
await getSign();
|
|
1091
1093
|
}
|
|
1092
1094
|
});
|
|
1093
1095
|
};
|