@lumiapassport/ui-kit 1.3.1 → 1.3.4
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/iframe/main.js +7 -1
- package/dist/iframe/main.js.map +1 -1
- package/dist/index.cjs +2780 -2717
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2762 -2699
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/iframe/main.js
CHANGED
|
@@ -3634,7 +3634,7 @@ var BackupManager = class {
|
|
|
3634
3634
|
};
|
|
3635
3635
|
|
|
3636
3636
|
// src/iframe/main.ts
|
|
3637
|
-
var IFRAME_VERSION = "1.
|
|
3637
|
+
var IFRAME_VERSION = "1.3.3";
|
|
3638
3638
|
var IframeWallet = class {
|
|
3639
3639
|
constructor() {
|
|
3640
3640
|
console.log("=".repeat(60));
|
|
@@ -3797,6 +3797,12 @@ var IframeWallet = class {
|
|
|
3797
3797
|
origin
|
|
3798
3798
|
);
|
|
3799
3799
|
console.log(`[iframe] \u2705 User authenticated: ${userId}`);
|
|
3800
|
+
if (this.storage.hasKeyshare(userId)) {
|
|
3801
|
+
console.log(`[iframe] \u2139\uFE0F User has existing keyshare, sending WALLET_READY`);
|
|
3802
|
+
this.sendWalletReadyStatus(userId, origin);
|
|
3803
|
+
} else {
|
|
3804
|
+
console.log(`[iframe] \u2139\uFE0F User needs DKG or restore to create/recover keyshare`);
|
|
3805
|
+
}
|
|
3800
3806
|
}
|
|
3801
3807
|
async handleStartDKG(message, origin) {
|
|
3802
3808
|
const { sessionToken, userId, projectId, accessToken } = message.data;
|