@learncard/sss-key-manager 0.1.9 → 0.1.11

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.
@@ -25,9 +25,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  mod
26
26
  ));
27
27
 
28
- // ../learn-card-types/dist/types.cjs.development.js
28
+ // ../learn-card-types/dist/types.cjs.development.cjs
29
29
  var require_types_cjs_development = __commonJS({
30
- "../learn-card-types/dist/types.cjs.development.js"(exports, module) {
30
+ "../learn-card-types/dist/types.cjs.development.cjs"(exports, module) {
31
31
  "use strict";
32
32
  var __defProp2 = Object.defineProperty;
33
33
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -137,6 +137,7 @@ var require_types_cjs_development = __commonJS({
137
137
  CredentialActivityStatsValidator: /* @__PURE__ */ __name(() => CredentialActivityStatsValidator, "CredentialActivityStatsValidator"),
138
138
  CredentialActivityValidator: /* @__PURE__ */ __name(() => CredentialActivityValidator, "CredentialActivityValidator"),
139
139
  CredentialActivityWithDetailsValidator: /* @__PURE__ */ __name(() => CredentialActivityWithDetailsValidator, "CredentialActivityWithDetailsValidator"),
140
+ CredentialFormatValidator: /* @__PURE__ */ __name(() => CredentialFormatValidator, "CredentialFormatValidator"),
140
141
  CredentialInfoValidator: /* @__PURE__ */ __name(() => CredentialInfoValidator, "CredentialInfoValidator"),
141
142
  CredentialNameRefValidator: /* @__PURE__ */ __name(() => CredentialNameRefValidator, "CredentialNameRefValidator"),
142
143
  CredentialRecordValidator: /* @__PURE__ */ __name(() => CredentialRecordValidator, "CredentialRecordValidator"),
@@ -165,6 +166,8 @@ var require_types_cjs_development = __commonJS({
165
166
  GetSkillPathResultValidator: /* @__PURE__ */ __name(() => GetSkillPathResultValidator, "GetSkillPathResultValidator"),
166
167
  GetTemplateRecipientsEventValidator: /* @__PURE__ */ __name(() => GetTemplateRecipientsEventValidator, "GetTemplateRecipientsEventValidator"),
167
168
  GuardianStatusValidator: /* @__PURE__ */ __name(() => GuardianStatusValidator, "GuardianStatusValidator"),
169
+ HolderExportConsentRecordValidator: /* @__PURE__ */ __name(() => HolderExportConsentRecordValidator, "HolderExportConsentRecordValidator"),
170
+ HolderExportMetadataValidator: /* @__PURE__ */ __name(() => HolderExportMetadataValidator, "HolderExportMetadataValidator"),
168
171
  IdentifierEntryValidator: /* @__PURE__ */ __name(() => IdentifierEntryValidator, "IdentifierEntryValidator"),
169
172
  IdentifierTypeValidator: /* @__PURE__ */ __name(() => IdentifierTypeValidator, "IdentifierTypeValidator"),
170
173
  IdentityObjectValidator: /* @__PURE__ */ __name(() => IdentityObjectValidator, "IdentityObjectValidator"),
@@ -14112,6 +14115,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14112
14115
  var ClrCredentialValidator = UnsignedClrCredentialValidator.extend({
14113
14116
  proof: ProofValidator.or(ProofValidator.array())
14114
14117
  });
14118
+ var CredentialFormatValidator = external_exports.enum([
14119
+ "w3c-vc-2.0",
14120
+ "w3c-vc-1.1",
14121
+ "jwt-vc-json",
14122
+ "dc+sd-jwt",
14123
+ "vc+sd-jwt",
14124
+ "mso_mdoc"
14125
+ ]);
14115
14126
  var StatusCheckEntryValidator = external_exports.object({
14116
14127
  /**
14117
14128
  * The `credentialStatus.type` as it appeared on the credential.
@@ -14167,7 +14178,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14167
14178
  issuee: ProfileValidator.optional(),
14168
14179
  credentialSubject: CredentialSubjectValidator.optional()
14169
14180
  });
14170
- var CredentialRecordValidator = external_exports.object({ id: external_exports.string(), uri: external_exports.string() }).catchall(external_exports.any());
14181
+ var CredentialRecordValidator = external_exports.object({
14182
+ id: external_exports.string(),
14183
+ uri: external_exports.string(),
14184
+ format: CredentialFormatValidator.optional(),
14185
+ semanticType: external_exports.string().optional(),
14186
+ rawWireForm: external_exports.string().optional()
14187
+ }).catchall(external_exports.any());
14171
14188
  var PaginationOptionsValidator = external_exports.object({
14172
14189
  limit: external_exports.number(),
14173
14190
  cursor: external_exports.string().optional(),
@@ -14735,6 +14752,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14735
14752
  date: external_exports.string(),
14736
14753
  uris: external_exports.string().array().optional()
14737
14754
  });
14755
+ var HolderExportConsentRecordValidator = external_exports.object({
14756
+ termsUri: external_exports.string(),
14757
+ status: ConsentFlowTermsStatusValidator,
14758
+ contract: ConsentFlowContractDetailsValidator,
14759
+ terms: ConsentFlowTermsValidator,
14760
+ transactions: ConsentFlowTransactionValidator.array()
14761
+ });
14762
+ var HolderExportMetadataValidator = external_exports.object({
14763
+ consentRecords: HolderExportConsentRecordValidator.array(),
14764
+ truncated: external_exports.boolean().optional(),
14765
+ warnings: external_exports.string().array().optional(),
14766
+ limits: external_exports.object({
14767
+ maxConsentRecords: external_exports.number(),
14768
+ maxTransactionsPerConsentRecord: external_exports.number()
14769
+ }).optional()
14770
+ });
14738
14771
  var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
14739
14772
  records: ConsentFlowTransactionValidator.array()
14740
14773
  });
@@ -14821,10 +14854,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14821
14854
  var LCNNotificationValidator = external_exports.object({
14822
14855
  type: LCNNotificationTypeEnumValidator,
14823
14856
  to: LCNProfileValidator.partial().and(external_exports.object({ did: external_exports.string() })),
14824
- from: external_exports.union([
14825
- external_exports.string(),
14826
- LCNProfileValidator.partial().and(external_exports.object({ did: external_exports.string() }))
14827
- ]),
14857
+ from: external_exports.union([external_exports.string(), LCNProfileValidator.partial().and(external_exports.object({ did: external_exports.string() }))]),
14828
14858
  message: LCNNotificationMessageValidator.optional(),
14829
14859
  data: LCNNotificationDataValidator.optional(),
14830
14860
  sent: external_exports.iso.datetime().optional(),
@@ -15584,9 +15614,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15584
15614
  }
15585
15615
  });
15586
15616
 
15587
- // ../learn-card-types/dist/index.js
15617
+ // ../learn-card-types/dist/index.cjs
15588
15618
  var require_dist = __commonJS({
15589
- "../learn-card-types/dist/index.js"(exports, module) {
15619
+ "../learn-card-types/dist/index.cjs"(exports, module) {
15590
15620
  "use strict";
15591
15621
  if (false) {
15592
15622
  module.exports = null;