@saasbase-io/core-elements 1.1.1 → 1.1.2

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.mjs CHANGED
@@ -1192,9 +1192,13 @@ class lr {
1192
1192
  }
1193
1193
  const n = yield this.loginflow.processEvent(t, (l) => M(this, void 0, void 0, function* () {
1194
1194
  var d;
1195
- !((d = l.data) === null || d === void 0) && d.conditional_create_enabled && (console.log("attempt to register a passkey conditionally"), yield this.registerPasskey(i, !0));
1195
+ if (!((d = l.data) === null || d === void 0) && d.conditional_create_enabled) {
1196
+ console.log("attempt to register a passkey conditionally");
1197
+ const u = yield this.registerPasskey(i, !0);
1198
+ u && (u.render_spec = void 0);
1199
+ }
1196
1200
  }));
1197
- if (r.onFlowStateChange) {
1201
+ if (console.log("render spec", n.render_spec), r.onFlowStateChange) {
1198
1202
  const l = sessionStorage.getItem("saasbase_loginflow_state");
1199
1203
  let d = "custom";
1200
1204
  if (l)
@@ -1271,7 +1275,7 @@ class lr {
1271
1275
  conditional: o
1272
1276
  }
1273
1277
  });
1274
- return console.log("passkey creation response", i), i;
1278
+ return console.log("passkey creation res", i), i;
1275
1279
  } catch (r) {
1276
1280
  console.log("error", r);
1277
1281
  }