@learncard/helpers 1.7.1 → 1.7.3
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/helpers.cjs.development.cjs +8 -2
- package/dist/helpers.cjs.development.cjs.map +2 -2
- package/dist/helpers.cjs.production.min.cjs +2 -2
- package/dist/helpers.cjs.production.min.cjs.map +2 -2
- package/dist/helpers.esm.js +7 -1
- package/dist/helpers.esm.js.map +2 -2
- package/package.json +2 -2
|
@@ -10458,7 +10458,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10458
10458
|
var Vz = "PIN recovery is not available for this account.";
|
|
10459
10459
|
var jz = /^Incorrect PIN\. (\d+) attempts left\.$/;
|
|
10460
10460
|
var Dz = l((e) => `Incorrect PIN. ${e} attempts left.`, "escrowPinMismatchMessage");
|
|
10461
|
-
var Nz = n.object({ state: n.enum(["none", "enabled", "locked", "stale"]), enabled: n.boolean(), attemptsRemaining: n.number().int().nonnegative(), salt: n.string().optional() });
|
|
10461
|
+
var Nz = n.object({ state: n.enum(["none", "enabled", "locked", "stale"]), enabled: n.boolean(), attemptsRemaining: n.number().int().nonnegative(), salt: n.string().optional(), wrongAttempts: n.number().int().nonnegative().optional() });
|
|
10462
10462
|
var ab = ["revocation", "suspension"];
|
|
10463
10463
|
var Ez = 131072;
|
|
10464
10464
|
var oa = n.enum(ab);
|
|
@@ -34746,7 +34746,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
34746
34746
|
state: external_exports.enum(["none", "enabled", "locked", "stale"]),
|
|
34747
34747
|
enabled: external_exports.boolean(),
|
|
34748
34748
|
attemptsRemaining: external_exports.number().int().nonnegative(),
|
|
34749
|
-
salt: external_exports.string().optional()
|
|
34749
|
+
salt: external_exports.string().optional(),
|
|
34750
|
+
/**
|
|
34751
|
+
* Verified wrong PIN entries against the current PIN (successful releases and
|
|
34752
|
+
* unresolved reservations are not counted). Omitted when the server cannot tell,
|
|
34753
|
+
* e.g. legacy records that predate the verified counter.
|
|
34754
|
+
*/
|
|
34755
|
+
wrongAttempts: external_exports.number().int().nonnegative().optional()
|
|
34750
34756
|
});
|
|
34751
34757
|
var BITSTRING_STATUS_PURPOSES = ["revocation", "suspension"];
|
|
34752
34758
|
var DEFAULT_BITSTRING_STATUS_LIST_SIZE = 131072;
|