@learncard/sss-key-manager 0.1.11 → 0.1.12
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/sss-key-manager.cjs.development.js +20 -4
- package/dist/sss-key-manager.cjs.development.js.map +2 -2
- package/dist/sss-key-manager.cjs.production.min.js +5 -5
- package/dist/sss-key-manager.cjs.production.min.js.map +3 -3
- package/dist/sss-key-manager.esm.js +20 -4
- package/dist/sss-key-manager.esm.js.map +2 -2
- package/package.json +2 -2
|
@@ -285,6 +285,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
285
285
|
SkillTreeNodeValidator: /* @__PURE__ */ __name(() => SkillTreeNodeValidator, "SkillTreeNodeValidator"),
|
|
286
286
|
SkillValidator: /* @__PURE__ */ __name(() => SkillValidator, "SkillValidator"),
|
|
287
287
|
StatusCheckEntryValidator: /* @__PURE__ */ __name(() => StatusCheckEntryValidator, "StatusCheckEntryValidator"),
|
|
288
|
+
StoredCredentialEnvelopeValidator: /* @__PURE__ */ __name(() => StoredCredentialEnvelopeValidator, "StoredCredentialEnvelopeValidator"),
|
|
288
289
|
StringQuery: /* @__PURE__ */ __name(() => StringQuery, "StringQuery"),
|
|
289
290
|
SummaryCredentialDataValidator: /* @__PURE__ */ __name(() => SummaryCredentialDataValidator, "SummaryCredentialDataValidator"),
|
|
290
291
|
SummaryCredentialKeywordValidator: /* @__PURE__ */ __name(() => SummaryCredentialKeywordValidator, "SummaryCredentialKeywordValidator"),
|
|
@@ -305,7 +306,8 @@ var require_types_cjs_development = __commonJS({
|
|
|
305
306
|
VerificationItemValidator: /* @__PURE__ */ __name(() => VerificationItemValidator, "VerificationItemValidator"),
|
|
306
307
|
VerificationMethodValidator: /* @__PURE__ */ __name(() => VerificationMethodValidator, "VerificationMethodValidator"),
|
|
307
308
|
VerificationStatusEnum: /* @__PURE__ */ __name(() => VerificationStatusEnum, "VerificationStatusEnum"),
|
|
308
|
-
VerificationStatusValidator: /* @__PURE__ */ __name(() => VerificationStatusValidator, "VerificationStatusValidator")
|
|
309
|
+
VerificationStatusValidator: /* @__PURE__ */ __name(() => VerificationStatusValidator, "VerificationStatusValidator"),
|
|
310
|
+
isStoredCredentialEnvelope: /* @__PURE__ */ __name(() => isStoredCredentialEnvelope, "isStoredCredentialEnvelope")
|
|
309
311
|
});
|
|
310
312
|
module.exports = __toCommonJS(index_exports);
|
|
311
313
|
var external_exports = {};
|
|
@@ -14123,6 +14125,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14123
14125
|
"vc+sd-jwt",
|
|
14124
14126
|
"mso_mdoc"
|
|
14125
14127
|
]);
|
|
14128
|
+
var StoredCredentialEnvelopeValidator = external_exports.object({
|
|
14129
|
+
format: CredentialFormatValidator,
|
|
14130
|
+
data: external_exports.string()
|
|
14131
|
+
}).passthrough();
|
|
14132
|
+
var isStoredCredentialEnvelope = /* @__PURE__ */ __name2((value) => {
|
|
14133
|
+
if (!value || typeof value !== "object") return false;
|
|
14134
|
+
const candidate = value;
|
|
14135
|
+
if (typeof candidate.format !== "string") return false;
|
|
14136
|
+
if (!CredentialFormatValidator.safeParse(candidate.format).success) return false;
|
|
14137
|
+
return typeof candidate.data === "string" || candidate.data instanceof Uint8Array;
|
|
14138
|
+
}, "isStoredCredentialEnvelope");
|
|
14126
14139
|
var StatusCheckEntryValidator = external_exports.object({
|
|
14127
14140
|
/**
|
|
14128
14141
|
* The `credentialStatus.type` as it appeared on the credential.
|
|
@@ -14454,7 +14467,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14454
14467
|
to: LCNVisibleProfileValidator,
|
|
14455
14468
|
from: external_exports.string(),
|
|
14456
14469
|
received: external_exports.string().optional(),
|
|
14457
|
-
uri: external_exports.string().optional()
|
|
14470
|
+
uri: external_exports.string().optional(),
|
|
14471
|
+
status: external_exports.enum(["active", "revoked", "suspended"]).optional()
|
|
14458
14472
|
});
|
|
14459
14473
|
var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
|
14460
14474
|
records: BoostRecipientValidator.array()
|
|
@@ -14464,7 +14478,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14464
14478
|
from: external_exports.string(),
|
|
14465
14479
|
received: external_exports.string().optional(),
|
|
14466
14480
|
boostUris: external_exports.array(external_exports.string()),
|
|
14467
|
-
credentialUris: external_exports.array(external_exports.string()).optional()
|
|
14481
|
+
credentialUris: external_exports.array(external_exports.string()).optional(),
|
|
14482
|
+
status: external_exports.enum(["active", "revoked", "suspended"]).optional()
|
|
14468
14483
|
});
|
|
14469
14484
|
var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
|
|
14470
14485
|
records: BoostRecipientWithChildrenValidator.array()
|
|
@@ -15550,7 +15565,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15550
15565
|
inboxCredentialId: external_exports.string().optional(),
|
|
15551
15566
|
integrationId: external_exports.string().optional(),
|
|
15552
15567
|
source: CredentialActivitySourceTypeValidator,
|
|
15553
|
-
metadata: external_exports.record(external_exports.string(), external_exports.unknown()).optional()
|
|
15568
|
+
metadata: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
15569
|
+
status: external_exports.enum(["active", "revoked", "suspended"]).optional()
|
|
15554
15570
|
});
|
|
15555
15571
|
var CredentialActivityWithDetailsValidator = CredentialActivityValidator.extend({
|
|
15556
15572
|
boost: external_exports.object({
|