@learncard/openid4vc-plugin 0.3.1 → 0.3.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.
- package/README.md +3 -1
- package/dist/openid4vc-plugin.cjs.development.cjs +11 -2
- package/dist/openid4vc-plugin.cjs.development.cjs.map +2 -2
- package/dist/openid4vc-plugin.cjs.production.min.cjs +1 -1
- package/dist/openid4vc-plugin.cjs.production.min.cjs.map +2 -2
- package/dist/openid4vc-plugin.esm.js +11 -2
- package/dist/openid4vc-plugin.esm.js.map +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -460,7 +460,9 @@ All of these expose pre-authorized-code offers, so the harness works as-is.
|
|
|
460
460
|
When you want deterministic iteration (same offer twice, offline, step-through debugging), run WaltID's issuer in Docker:
|
|
461
461
|
|
|
462
462
|
```bash
|
|
463
|
-
|
|
463
|
+
# Use the same pinned tag as the interop tests (the WALTID_IMAGE_TAG
|
|
464
|
+
# default in tests/openid4vc-interop-e2e/compose.yaml)
|
|
465
|
+
docker run --rm -p 7002:7002 -p 7003:7003 waltid/issuer-api:0.23.0
|
|
464
466
|
# in another terminal, POST an offer config to http://localhost:7002/...
|
|
465
467
|
# then feed the returned offer URI to bun run try-offer
|
|
466
468
|
```
|
|
@@ -60719,7 +60719,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
60719
60719
|
}).catchall(external_exports2.any())
|
|
60720
60720
|
);
|
|
60721
60721
|
var CredentialSubjectValidator = external_exports2.object({ id: external_exports2.string().optional() }).catchall(external_exports2.any());
|
|
60722
|
-
var CredentialStatusValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string() }).catchall(external_exports2.any());
|
|
60722
|
+
var CredentialStatusValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string().optional() }).catchall(external_exports2.any());
|
|
60723
60723
|
var CredentialSchemaValidator = external_exports2.object({ id: external_exports2.string(), type: external_exports2.string() }).catchall(external_exports2.any());
|
|
60724
60724
|
var RefreshServiceValidator = external_exports2.object({ id: external_exports2.string().optional(), type: external_exports2.string() }).catchall(external_exports2.any());
|
|
60725
60725
|
var TermsOfUseValidator = external_exports2.object({ type: external_exports2.string(), id: external_exports2.string().optional() }).catchall(external_exports2.any());
|
|
@@ -61120,8 +61120,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
61120
61120
|
statusListIndex: external_exports2.string().optional()
|
|
61121
61121
|
});
|
|
61122
61122
|
var VerificationCheckValidator = external_exports2.object({
|
|
61123
|
+
/**
|
|
61124
|
+
* Checks that completed successfully. This does not imply that warnings can be ignored.
|
|
61125
|
+
*/
|
|
61123
61126
|
checks: external_exports2.string().array(),
|
|
61127
|
+
/**
|
|
61128
|
+
* Security-relevant conditions that did not prevent the requested cryptographic checks from
|
|
61129
|
+
* completing. In particular, a non-DID issuer warning means the signature is valid but the
|
|
61130
|
+
* named URL issuer's authorization of that signing key was not established.
|
|
61131
|
+
*/
|
|
61124
61132
|
warnings: external_exports2.string().array(),
|
|
61133
|
+
/** Verification failures that prevented one or more requested checks from succeeding. */
|
|
61125
61134
|
errors: external_exports2.string().array(),
|
|
61126
61135
|
/**
|
|
61127
61136
|
* Per-entry results for the `credentialStatus` check, populated
|
|
@@ -62576,7 +62585,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
62576
62585
|
id: external_exports2.string().optional(),
|
|
62577
62586
|
type: external_exports2.literal("BitstringStatusListEntry"),
|
|
62578
62587
|
statusPurpose: BitstringStatusPurposeValidator,
|
|
62579
|
-
statusListIndex: external_exports2.string(),
|
|
62588
|
+
statusListIndex: external_exports2.string().or(external_exports2.number().int().nonnegative()),
|
|
62580
62589
|
statusListCredential: external_exports2.string()
|
|
62581
62590
|
});
|
|
62582
62591
|
var AllocatedBitstringStatusListEntryValidator = BitstringStatusListEntryValidator.extend({
|