@mitumba/sdk 1.23.0 → 1.24.0

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
@@ -409,6 +409,13 @@ var AuthModule = class {
409
409
  await this.client.setSession(result);
410
410
  return result;
411
411
  }
412
+ /**
413
+ * Send a 2FA challenge during login (for SMS/email methods).
414
+ * Call before verify2FA when the user picks a non-TOTP method.
415
+ */
416
+ async sendLogin2FAChallenge(input, options) {
417
+ return this.client.post("/auth/2fa/login/challenge", input, options);
418
+ }
412
419
  /**
413
420
  * Send a verification code to the user's email.
414
421
  */