@learncard/render-method-plugin 10.0.0 → 10.0.1
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/dist/render-method-plugin.cjs.development.cjs +24 -2
- package/dist/render-method-plugin.cjs.development.cjs.map +2 -2
- package/dist/render-method-plugin.cjs.production.min.cjs +10 -10
- package/dist/render-method-plugin.cjs.production.min.cjs.map +2 -2
- package/dist/render-method-plugin.esm.js +24 -2
- package/dist/render-method-plugin.esm.js.map +2 -2
- package/package.json +8 -8
|
@@ -32206,7 +32206,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32206
32206
|
verificationMethod: external_exports2.string(),
|
|
32207
32207
|
jws: external_exports2.string().optional()
|
|
32208
32208
|
}).catchall(external_exports2.any()).superRefine((proof, ctx) => {
|
|
32209
|
-
if (proof.created === void 0 &&
|
|
32209
|
+
if (proof.created === void 0 && // These standardized Data Integrity suites make created optional.
|
|
32210
|
+
// Keep the prior requirement for legacy and unknown proof suites.
|
|
32211
|
+
// https://www.w3.org/TR/vc-di-eddsa/#proof-configuration-eddsa-jcs-2022
|
|
32212
|
+
// https://www.w3.org/TR/vc-di-bbs/#proof-configuration
|
|
32213
|
+
(proof.type !== "DataIntegrityProof" || ![
|
|
32214
|
+
"ecdsa-rdfc-2019",
|
|
32215
|
+
"ecdsa-jcs-2019",
|
|
32216
|
+
"ecdsa-sd-2023",
|
|
32217
|
+
"eddsa-rdfc-2022",
|
|
32218
|
+
"eddsa-jcs-2022",
|
|
32219
|
+
"bbs-2023"
|
|
32220
|
+
].includes(proof.cryptosuite))) {
|
|
32210
32221
|
ctx.addIssue({
|
|
32211
32222
|
code: "custom",
|
|
32212
32223
|
path: ["created"],
|
|
@@ -35803,7 +35814,18 @@ var ProofValidator = external_exports.object({
|
|
|
35803
35814
|
verificationMethod: external_exports.string(),
|
|
35804
35815
|
jws: external_exports.string().optional()
|
|
35805
35816
|
}).catchall(external_exports.any()).superRefine((proof, ctx) => {
|
|
35806
|
-
if (proof.created === void 0 &&
|
|
35817
|
+
if (proof.created === void 0 && // These standardized Data Integrity suites make created optional.
|
|
35818
|
+
// Keep the prior requirement for legacy and unknown proof suites.
|
|
35819
|
+
// https://www.w3.org/TR/vc-di-eddsa/#proof-configuration-eddsa-jcs-2022
|
|
35820
|
+
// https://www.w3.org/TR/vc-di-bbs/#proof-configuration
|
|
35821
|
+
(proof.type !== "DataIntegrityProof" || ![
|
|
35822
|
+
"ecdsa-rdfc-2019",
|
|
35823
|
+
"ecdsa-jcs-2019",
|
|
35824
|
+
"ecdsa-sd-2023",
|
|
35825
|
+
"eddsa-rdfc-2022",
|
|
35826
|
+
"eddsa-jcs-2022",
|
|
35827
|
+
"bbs-2023"
|
|
35828
|
+
].includes(proof.cryptosuite))) {
|
|
35807
35829
|
ctx.addIssue({
|
|
35808
35830
|
code: "custom",
|
|
35809
35831
|
path: ["created"],
|