@learncard/network-brain-client 2.5.48 → 2.5.49

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.
@@ -32029,7 +32029,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
32029
32029
  }).catchall(external_exports2.any())
32030
32030
  );
32031
32031
  var CredentialSubjectValidator = external_exports2.object({ id: external_exports2.string().optional() }).catchall(external_exports2.any());
32032
- var CredentialStatusValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string() }).catchall(external_exports2.any());
32032
+ var CredentialStatusValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string().optional() }).catchall(external_exports2.any());
32033
32033
  var CredentialSchemaValidator = external_exports2.object({ id: external_exports2.string(), type: external_exports2.string() }).catchall(external_exports2.any());
32034
32034
  var RefreshServiceValidator = external_exports2.object({ id: external_exports2.string().optional(), type: external_exports2.string() }).catchall(external_exports2.any());
32035
32035
  var TermsOfUseValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string().optional() }).catchall(external_exports2.any());
@@ -32430,8 +32430,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
32430
32430
  statusListIndex: external_exports2.string().optional()
32431
32431
  });
32432
32432
  var VerificationCheckValidator = external_exports2.object({
32433
+ /**
32434
+ * Checks that completed successfully. This does not imply that warnings can be ignored.
32435
+ */
32433
32436
  checks: external_exports2.string().array(),
32437
+ /**
32438
+ * Security-relevant conditions that did not prevent the requested cryptographic checks from
32439
+ * completing. In particular, a non-DID issuer warning means the signature is valid but the
32440
+ * named URL issuer's authorization of that signing key was not established.
32441
+ */
32434
32442
  warnings: external_exports2.string().array(),
32443
+ /** Verification failures that prevented one or more requested checks from succeeding. */
32435
32444
  errors: external_exports2.string().array(),
32436
32445
  /**
32437
32446
  * Per-entry results for the `credentialStatus` check, populated
@@ -33895,7 +33904,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
33895
33904
  id: external_exports2.string().optional(),
33896
33905
  type: external_exports2.literal("BitstringStatusListEntry"),
33897
33906
  statusPurpose: BitstringStatusPurposeValidator,
33898
- statusListIndex: external_exports2.string(),
33907
+ statusListIndex: external_exports2.string().or(external_exports2.number().int().nonnegative()),
33899
33908
  statusListCredential: external_exports2.string()
33900
33909
  });
33901
33910
  var AllocatedBitstringStatusListEntryValidator = BitstringStatusListEntryValidator.extend({