@frontegg/types 7.120.0 → 7.122.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.
@@ -315,6 +315,14 @@ export interface PrivacyLocalization {
315
315
  * Enroll MFA Authenticator app dialog body description
316
316
  */
317
317
  enrollDescription: string;
318
+ /**
319
+ * Prompt when the user cannot scan the QR on the same device
320
+ */
321
+ cantScanQuestion: string;
322
+ /**
323
+ * Label for the visible TOTP setup key
324
+ */
325
+ setupKeyLabel: string;
318
326
  cancel: string;
319
327
  confirm: string;
320
328
  };
@@ -268,9 +268,57 @@ export interface LoginLocalization {
268
268
  */
269
269
  forceMfaInputPlaceholder: string;
270
270
  /**
271
- * Force MFA section verify button text
271
+ * Force MFA section verify / enable button text
272
272
  */
273
273
  forceMfaVerifyButton: string;
274
+ /**
275
+ * Helper text under the QR code listing supported authenticator apps
276
+ */
277
+ forceMfaQrHelper: string;
278
+ /**
279
+ * Prompt shown when the user cannot scan the QR on the same device
280
+ */
281
+ forceMfaCantScanQuestion: string;
282
+ /**
283
+ * Link / button to switch from QR scan to manual setup key entry
284
+ */
285
+ forceMfaEnterSetupKey: string;
286
+ /**
287
+ * Footer link under "Authenticate another way" for manual TOTP setup
288
+ */
289
+ forceMfaCantScanSetupManually: string;
290
+ /**
291
+ * Manual setup key flow — step 1 (legacy; prefer forceMfaSetupKeyDescription)
292
+ */
293
+ forceMfaSetupKeyStep1: string;
294
+ /**
295
+ * Manual setup key flow — step 2 (legacy)
296
+ */
297
+ forceMfaSetupKeyStep2: string;
298
+ /**
299
+ * Manual setup key flow — step 3 (legacy)
300
+ */
301
+ forceMfaSetupKeyStep3: string;
302
+ /**
303
+ * Centered instructions for the manual setup-key enrollment view
304
+ */
305
+ forceMfaSetupKeyDescription: string;
306
+ /**
307
+ * Label for the visible TOTP setup key
308
+ */
309
+ forceMfaSetupKeyLabel: string;
310
+ /**
311
+ * Copy setup key button label
312
+ */
313
+ forceMfaCopy: string;
314
+ /**
315
+ * Copied confirmation shown after tapping Copy
316
+ */
317
+ forceMfaCopied: string;
318
+ /**
319
+ * Link to return from setup key view to the QR code view
320
+ */
321
+ forceMfaBackToQr: string;
274
322
  /**
275
323
  * text to display number of days to remember a device
276
324
  * will be used ONLY if there are less than 365 days left
@@ -250,6 +250,14 @@ interface LoginBoxOptionalCommon {
250
250
  * that rely on email links
251
251
  */
252
252
  prestep?: PrestepOptions;
253
+ /**
254
+ * When true, after a successful MFA challenge the last used factor is stored
255
+ * in sessionStorage (keyed by application). On the next MFA challenge in the
256
+ * same browser session, that factor is pre-selected when still available.
257
+ * The user can always switch to another enrolled factor via "More ways to authenticate".
258
+ * Default: false (opt-in).
259
+ */
260
+ rememberLastMfaFactor?: boolean;
253
261
  }
254
262
  export interface LoginBoxCommonTheme extends BaseTheme, LoginBoxOptionalCommon {
255
263
  /**
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.120.0
1
+ /** @license Frontegg v7.122.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.120.0
1
+ /** @license Frontegg v7.122.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "7.120.0",
3
+ "version": "7.122.0",
4
4
  "main": "./node/index.js",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/redux-store": "7.120.0",
9
+ "@frontegg/redux-store": "7.122.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },