@learncard/sss-key-manager 0.1.18 → 0.1.19

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.
@@ -15677,7 +15677,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15677
15677
  }).catchall(external_exports.any())
15678
15678
  );
15679
15679
  var CredentialSubjectValidator = external_exports.object({ id: external_exports.string().optional() }).catchall(external_exports.any());
15680
- var CredentialStatusValidator = external_exports.object({ type: external_exports.string(), id: external_exports.string() }).catchall(external_exports.any());
15680
+ var CredentialStatusValidator = external_exports.object({ type: external_exports.string(), id: external_exports.string().optional() }).catchall(external_exports.any());
15681
15681
  var CredentialSchemaValidator = external_exports.object({ id: external_exports.string(), type: external_exports.string() }).catchall(external_exports.any());
15682
15682
  var RefreshServiceValidator = external_exports.object({ id: external_exports.string().optional(), type: external_exports.string() }).catchall(external_exports.any());
15683
15683
  var TermsOfUseValidator = external_exports.object({ type: external_exports.string(), id: external_exports.string().optional() }).catchall(external_exports.any());
@@ -16078,8 +16078,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16078
16078
  statusListIndex: external_exports.string().optional()
16079
16079
  });
16080
16080
  var VerificationCheckValidator = external_exports.object({
16081
+ /**
16082
+ * Checks that completed successfully. This does not imply that warnings can be ignored.
16083
+ */
16081
16084
  checks: external_exports.string().array(),
16085
+ /**
16086
+ * Security-relevant conditions that did not prevent the requested cryptographic checks from
16087
+ * completing. In particular, a non-DID issuer warning means the signature is valid but the
16088
+ * named URL issuer's authorization of that signing key was not established.
16089
+ */
16082
16090
  warnings: external_exports.string().array(),
16091
+ /** Verification failures that prevented one or more requested checks from succeeding. */
16083
16092
  errors: external_exports.string().array(),
16084
16093
  /**
16085
16094
  * Per-entry results for the `credentialStatus` check, populated
@@ -17540,7 +17549,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17540
17549
  id: external_exports.string().optional(),
17541
17550
  type: external_exports.literal("BitstringStatusListEntry"),
17542
17551
  statusPurpose: BitstringStatusPurposeValidator,
17543
- statusListIndex: external_exports.string(),
17552
+ statusListIndex: external_exports.string().or(external_exports.number().int().nonnegative()),
17544
17553
  statusListCredential: external_exports.string()
17545
17554
  });
17546
17555
  var AllocatedBitstringStatusListEntryValidator = BitstringStatusListEntryValidator.extend({