@lumiapassport/ui-kit 1.15.11 → 1.15.13

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.
@@ -15,7 +15,7 @@
15
15
  <meta http-equiv="X-Content-Type-Options" content="nosniff" />
16
16
  <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
17
17
 
18
- <title>Lumia Passport Secure Wallet - iframe version 1.15.11</title>
18
+ <title>Lumia Passport Secure Wallet - iframe version 1.15.13</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -4403,7 +4403,7 @@ var SigningManager = class extends TokenRefreshApiClient {
4403
4403
  };
4404
4404
 
4405
4405
  // src/iframe/main.ts
4406
- var IFRAME_VERSION = "1.15.11";
4406
+ var IFRAME_VERSION = "1.15.13";
4407
4407
  var IframeWallet = class {
4408
4408
  constructor() {
4409
4409
  console.log("=".repeat(60));
package/dist/index.cjs CHANGED
@@ -111,7 +111,7 @@ function getServiceUrls() {
111
111
  }
112
112
  function getIframeUrl() {
113
113
  const config = DEFAULT_LUMIA_PASSPORT_CONFIG;
114
- const buildIframeUrl = "http://localhost:5173/iframe/index.html";
114
+ const buildIframeUrl = "https://auth.lumiapassport.com";
115
115
  const iframeUrl = buildIframeUrl || config.services.iframeUrl || "https://auth.lumiapassport.com";
116
116
  return iframeUrl;
117
117
  }
@@ -5570,7 +5570,7 @@ function Header() {
5570
5570
  // package.json
5571
5571
  var package_default = {
5572
5572
  name: "@lumiapassport/ui-kit",
5573
- version: "1.15.11",
5573
+ version: "1.15.13",
5574
5574
  description: "React UI components and hooks for Lumia Passport authentication and Account Abstraction",
5575
5575
  type: "module",
5576
5576
  main: "./dist/index.cjs",
@@ -9021,8 +9021,13 @@ function PasswordPasskey(props) {
9021
9021
  setUsePasskey,
9022
9022
  setRestoreFile
9023
9023
  } = useRestoreStore();
9024
+ const { config } = useLumiaPassportConfig();
9025
+ const isPasskeyEnabled = config.current.passkey.enabled;
9026
+ (0, import_react29.useEffect)(() => {
9027
+ if (!isPasskeyEnabled && usePasskey) setUsePasskey(false);
9028
+ }, [isPasskeyEnabled, usePasskey]);
9024
9029
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
9025
- mode === "backup" && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-center justify-center px-[var(--l-pass-pd)]", children: [
9030
+ mode === "backup" && isPasskeyEnabled && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-center justify-center px-[var(--l-pass-pd)]", children: [
9026
9031
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
9027
9032
  Button,
9028
9033
  {