@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.
@@ -15671,7 +15671,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15671
15671
  }).catchall(external_exports.any())
15672
15672
  );
15673
15673
  var CredentialSubjectValidator = external_exports.object({ id: external_exports.string().optional() }).catchall(external_exports.any());
15674
- var CredentialStatusValidator = external_exports.object({ type: external_exports.string(), id: external_exports.string() }).catchall(external_exports.any());
15674
+ var CredentialStatusValidator = external_exports.object({ type: external_exports.string(), id: external_exports.string().optional() }).catchall(external_exports.any());
15675
15675
  var CredentialSchemaValidator = external_exports.object({ id: external_exports.string(), type: external_exports.string() }).catchall(external_exports.any());
15676
15676
  var RefreshServiceValidator = external_exports.object({ id: external_exports.string().optional(), type: external_exports.string() }).catchall(external_exports.any());
15677
15677
  var TermsOfUseValidator = external_exports.object({ type: external_exports.string(), id: external_exports.string().optional() }).catchall(external_exports.any());
@@ -16072,8 +16072,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16072
16072
  statusListIndex: external_exports.string().optional()
16073
16073
  });
16074
16074
  var VerificationCheckValidator = external_exports.object({
16075
+ /**
16076
+ * Checks that completed successfully. This does not imply that warnings can be ignored.
16077
+ */
16075
16078
  checks: external_exports.string().array(),
16079
+ /**
16080
+ * Security-relevant conditions that did not prevent the requested cryptographic checks from
16081
+ * completing. In particular, a non-DID issuer warning means the signature is valid but the
16082
+ * named URL issuer's authorization of that signing key was not established.
16083
+ */
16076
16084
  warnings: external_exports.string().array(),
16085
+ /** Verification failures that prevented one or more requested checks from succeeding. */
16077
16086
  errors: external_exports.string().array(),
16078
16087
  /**
16079
16088
  * Per-entry results for the `credentialStatus` check, populated
@@ -17534,7 +17543,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17534
17543
  id: external_exports.string().optional(),
17535
17544
  type: external_exports.literal("BitstringStatusListEntry"),
17536
17545
  statusPurpose: BitstringStatusPurposeValidator,
17537
- statusListIndex: external_exports.string(),
17546
+ statusListIndex: external_exports.string().or(external_exports.number().int().nonnegative()),
17538
17547
  statusListCredential: external_exports.string()
17539
17548
  });
17540
17549
  var AllocatedBitstringStatusListEntryValidator = BitstringStatusListEntryValidator.extend({