@learncard/openid4vc-plugin 0.3.1 → 0.3.2

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.
@@ -60640,7 +60640,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
60640
60640
  }).catchall(external_exports2.any())
60641
60641
  );
60642
60642
  var CredentialSubjectValidator = external_exports2.object({ id: external_exports2.string().optional() }).catchall(external_exports2.any());
60643
- var CredentialStatusValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string() }).catchall(external_exports2.any());
60643
+ var CredentialStatusValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string().optional() }).catchall(external_exports2.any());
60644
60644
  var CredentialSchemaValidator = external_exports2.object({ id: external_exports2.string(), type: external_exports2.string() }).catchall(external_exports2.any());
60645
60645
  var RefreshServiceValidator = external_exports2.object({ id: external_exports2.string().optional(), type: external_exports2.string() }).catchall(external_exports2.any());
60646
60646
  var TermsOfUseValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string().optional() }).catchall(external_exports2.any());
@@ -61041,8 +61041,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
61041
61041
  statusListIndex: external_exports2.string().optional()
61042
61042
  });
61043
61043
  var VerificationCheckValidator = external_exports2.object({
61044
+ /**
61045
+ * Checks that completed successfully. This does not imply that warnings can be ignored.
61046
+ */
61044
61047
  checks: external_exports2.string().array(),
61048
+ /**
61049
+ * Security-relevant conditions that did not prevent the requested cryptographic checks from
61050
+ * completing. In particular, a non-DID issuer warning means the signature is valid but the
61051
+ * named URL issuer's authorization of that signing key was not established.
61052
+ */
61045
61053
  warnings: external_exports2.string().array(),
61054
+ /** Verification failures that prevented one or more requested checks from succeeding. */
61046
61055
  errors: external_exports2.string().array(),
61047
61056
  /**
61048
61057
  * Per-entry results for the `credentialStatus` check, populated
@@ -62497,7 +62506,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
62497
62506
  id: external_exports2.string().optional(),
62498
62507
  type: external_exports2.literal("BitstringStatusListEntry"),
62499
62508
  statusPurpose: BitstringStatusPurposeValidator,
62500
- statusListIndex: external_exports2.string(),
62509
+ statusListIndex: external_exports2.string().or(external_exports2.number().int().nonnegative()),
62501
62510
  statusListCredential: external_exports2.string()
62502
62511
  });
62503
62512
  var AllocatedBitstringStatusListEntryValidator = BitstringStatusListEntryValidator.extend({