@learncard/network-brain-client 2.6.1 → 2.6.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.
@@ -11163,7 +11163,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11163
11163
  var Vz = "PIN recovery is not available for this account.";
11164
11164
  var jz = /^Incorrect PIN\. (\d+) attempts left\.$/;
11165
11165
  var Dz = l((e) => `Incorrect PIN. ${e} attempts left.`, "escrowPinMismatchMessage");
11166
- var Nz = n.object({ state: n.enum(["none", "enabled", "locked", "stale"]), enabled: n.boolean(), attemptsRemaining: n.number().int().nonnegative(), salt: n.string().optional() });
11166
+ 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() });
11167
11167
  var ab = ["revocation", "suspension"];
11168
11168
  var Ez = 131072;
11169
11169
  var oa = n.enum(ab);
@@ -36116,7 +36116,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
36116
36116
  state: external_exports.enum(["none", "enabled", "locked", "stale"]),
36117
36117
  enabled: external_exports.boolean(),
36118
36118
  attemptsRemaining: external_exports.number().int().nonnegative(),
36119
- salt: external_exports.string().optional()
36119
+ salt: external_exports.string().optional(),
36120
+ /**
36121
+ * Verified wrong PIN entries against the current PIN (successful releases and
36122
+ * unresolved reservations are not counted). Omitted when the server cannot tell,
36123
+ * e.g. legacy records that predate the verified counter.
36124
+ */
36125
+ wrongAttempts: external_exports.number().int().nonnegative().optional()
36120
36126
  });
36121
36127
  var BITSTRING_STATUS_PURPOSES = ["revocation", "suspension"];
36122
36128
  var DEFAULT_BITSTRING_STATUS_LIST_SIZE = 131072;