@learncard/network-brain-client 2.5.35 → 2.5.37
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/CHANGELOG.md +14 -0
- package/dist/brain-client.cjs.development.js +106 -5
- package/dist/brain-client.cjs.development.js.map +2 -2
- package/dist/brain-client.cjs.production.min.js +5 -5
- package/dist/brain-client.cjs.production.min.js.map +3 -3
- package/dist/brain-client.esm.js +35 -5
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/dist/brain-client.esm.js
CHANGED
|
@@ -14143,6 +14143,7 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14143
14143
|
CredentialActivityStatsValidator: /* @__PURE__ */ __name2(() => CredentialActivityStatsValidator, "CredentialActivityStatsValidator"),
|
|
14144
14144
|
CredentialActivityValidator: /* @__PURE__ */ __name2(() => CredentialActivityValidator, "CredentialActivityValidator"),
|
|
14145
14145
|
CredentialActivityWithDetailsValidator: /* @__PURE__ */ __name2(() => CredentialActivityWithDetailsValidator, "CredentialActivityWithDetailsValidator"),
|
|
14146
|
+
CredentialFormatValidator: /* @__PURE__ */ __name2(() => CredentialFormatValidator, "CredentialFormatValidator"),
|
|
14146
14147
|
CredentialInfoValidator: /* @__PURE__ */ __name2(() => CredentialInfoValidator, "CredentialInfoValidator"),
|
|
14147
14148
|
CredentialNameRefValidator: /* @__PURE__ */ __name2(() => CredentialNameRefValidator, "CredentialNameRefValidator"),
|
|
14148
14149
|
CredentialRecordValidator: /* @__PURE__ */ __name2(() => CredentialRecordValidator, "CredentialRecordValidator"),
|
|
@@ -14171,6 +14172,8 @@ var require_types_cjs_development = __commonJS2({
|
|
|
14171
14172
|
GetSkillPathResultValidator: /* @__PURE__ */ __name2(() => GetSkillPathResultValidator, "GetSkillPathResultValidator"),
|
|
14172
14173
|
GetTemplateRecipientsEventValidator: /* @__PURE__ */ __name2(() => GetTemplateRecipientsEventValidator, "GetTemplateRecipientsEventValidator"),
|
|
14173
14174
|
GuardianStatusValidator: /* @__PURE__ */ __name2(() => GuardianStatusValidator, "GuardianStatusValidator"),
|
|
14175
|
+
HolderExportConsentRecordValidator: /* @__PURE__ */ __name2(() => HolderExportConsentRecordValidator, "HolderExportConsentRecordValidator"),
|
|
14176
|
+
HolderExportMetadataValidator: /* @__PURE__ */ __name2(() => HolderExportMetadataValidator, "HolderExportMetadataValidator"),
|
|
14174
14177
|
IdentifierEntryValidator: /* @__PURE__ */ __name2(() => IdentifierEntryValidator, "IdentifierEntryValidator"),
|
|
14175
14178
|
IdentifierTypeValidator: /* @__PURE__ */ __name2(() => IdentifierTypeValidator, "IdentifierTypeValidator"),
|
|
14176
14179
|
IdentityObjectValidator: /* @__PURE__ */ __name2(() => IdentityObjectValidator, "IdentityObjectValidator"),
|
|
@@ -28540,6 +28543,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28540
28543
|
var ClrCredentialValidator = UnsignedClrCredentialValidator.extend({
|
|
28541
28544
|
proof: ProofValidator.or(ProofValidator.array())
|
|
28542
28545
|
});
|
|
28546
|
+
var CredentialFormatValidator = external_exports2.enum([
|
|
28547
|
+
"w3c-vc-2.0",
|
|
28548
|
+
"w3c-vc-1.1",
|
|
28549
|
+
"jwt-vc-json",
|
|
28550
|
+
"dc+sd-jwt",
|
|
28551
|
+
"vc+sd-jwt",
|
|
28552
|
+
"mso_mdoc"
|
|
28553
|
+
]);
|
|
28543
28554
|
var StatusCheckEntryValidator = external_exports2.object({
|
|
28544
28555
|
/**
|
|
28545
28556
|
* The `credentialStatus.type` as it appeared on the credential.
|
|
@@ -28595,7 +28606,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
28595
28606
|
issuee: ProfileValidator.optional(),
|
|
28596
28607
|
credentialSubject: CredentialSubjectValidator.optional()
|
|
28597
28608
|
});
|
|
28598
|
-
var CredentialRecordValidator = external_exports2.object({
|
|
28609
|
+
var CredentialRecordValidator = external_exports2.object({
|
|
28610
|
+
id: external_exports2.string(),
|
|
28611
|
+
uri: external_exports2.string(),
|
|
28612
|
+
format: CredentialFormatValidator.optional(),
|
|
28613
|
+
semanticType: external_exports2.string().optional(),
|
|
28614
|
+
rawWireForm: external_exports2.string().optional()
|
|
28615
|
+
}).catchall(external_exports2.any());
|
|
28599
28616
|
var PaginationOptionsValidator = external_exports2.object({
|
|
28600
28617
|
limit: external_exports2.number(),
|
|
28601
28618
|
cursor: external_exports2.string().optional(),
|
|
@@ -29163,6 +29180,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29163
29180
|
date: external_exports2.string(),
|
|
29164
29181
|
uris: external_exports2.string().array().optional()
|
|
29165
29182
|
});
|
|
29183
|
+
var HolderExportConsentRecordValidator = external_exports2.object({
|
|
29184
|
+
termsUri: external_exports2.string(),
|
|
29185
|
+
status: ConsentFlowTermsStatusValidator,
|
|
29186
|
+
contract: ConsentFlowContractDetailsValidator,
|
|
29187
|
+
terms: ConsentFlowTermsValidator,
|
|
29188
|
+
transactions: ConsentFlowTransactionValidator.array()
|
|
29189
|
+
});
|
|
29190
|
+
var HolderExportMetadataValidator = external_exports2.object({
|
|
29191
|
+
consentRecords: HolderExportConsentRecordValidator.array(),
|
|
29192
|
+
truncated: external_exports2.boolean().optional(),
|
|
29193
|
+
warnings: external_exports2.string().array().optional(),
|
|
29194
|
+
limits: external_exports2.object({
|
|
29195
|
+
maxConsentRecords: external_exports2.number(),
|
|
29196
|
+
maxTransactionsPerConsentRecord: external_exports2.number()
|
|
29197
|
+
}).optional()
|
|
29198
|
+
});
|
|
29166
29199
|
var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
|
|
29167
29200
|
records: ConsentFlowTransactionValidator.array()
|
|
29168
29201
|
});
|
|
@@ -29249,10 +29282,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
29249
29282
|
var LCNNotificationValidator = external_exports2.object({
|
|
29250
29283
|
type: LCNNotificationTypeEnumValidator,
|
|
29251
29284
|
to: LCNProfileValidator.partial().and(external_exports2.object({ did: external_exports2.string() })),
|
|
29252
|
-
from: external_exports2.union([
|
|
29253
|
-
external_exports2.string(),
|
|
29254
|
-
LCNProfileValidator.partial().and(external_exports2.object({ did: external_exports2.string() }))
|
|
29255
|
-
]),
|
|
29285
|
+
from: external_exports2.union([external_exports2.string(), LCNProfileValidator.partial().and(external_exports2.object({ did: external_exports2.string() }))]),
|
|
29256
29286
|
message: LCNNotificationMessageValidator.optional(),
|
|
29257
29287
|
data: LCNNotificationDataValidator.optional(),
|
|
29258
29288
|
sent: external_exports2.iso.datetime().optional(),
|