@learncard/network-brain-client 2.5.36 → 2.5.38
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 +112 -11
- package/dist/brain-client.cjs.development.js.map +3 -3
- package/dist/brain-client.cjs.production.min.js +5 -5
- package/dist/brain-client.cjs.production.min.js.map +4 -4
- package/dist/brain-client.esm.js +40 -10
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/dist/brain-client.esm.js
CHANGED
|
@@ -147,9 +147,9 @@ var require_split_on_first = __commonJS({
|
|
|
147
147
|
});
|
|
148
148
|
|
|
149
149
|
// ../../learn-card-helpers/dist/helpers.esm.js
|
|
150
|
-
var import_decode_uri_component = __toESM(require_decode_uri_component());
|
|
151
|
-
var import_filter_obj = __toESM(require_filter_obj());
|
|
152
|
-
var import_split_on_first = __toESM(require_split_on_first());
|
|
150
|
+
var import_decode_uri_component = __toESM(require_decode_uri_component(), 1);
|
|
151
|
+
var import_filter_obj = __toESM(require_filter_obj(), 1);
|
|
152
|
+
var import_split_on_first = __toESM(require_split_on_first(), 1);
|
|
153
153
|
|
|
154
154
|
// ../../../node_modules/.pnpm/immer@10.2.0/node_modules/immer/dist/immer.mjs
|
|
155
155
|
var NOTHING = /* @__PURE__ */ Symbol.for("immer-nothing");
|
|
@@ -14033,7 +14033,7 @@ var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod
|
|
|
14033
14033
|
mod
|
|
14034
14034
|
)), "__toESM");
|
|
14035
14035
|
var require_types_cjs_development = __commonJS2({
|
|
14036
|
-
"../learn-card-types/dist/types.cjs.development.
|
|
14036
|
+
"../learn-card-types/dist/types.cjs.development.cjs"(exports, module) {
|
|
14037
14037
|
"use strict";
|
|
14038
14038
|
var __defProp22 = Object.defineProperty;
|
|
14039
14039
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
@@ -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(),
|
|
@@ -30015,7 +30045,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
30015
30045
|
}
|
|
30016
30046
|
});
|
|
30017
30047
|
var require_dist = __commonJS2({
|
|
30018
|
-
"../learn-card-types/dist/index.
|
|
30048
|
+
"../learn-card-types/dist/index.cjs"(exports, module) {
|
|
30019
30049
|
"use strict";
|
|
30020
30050
|
if (false) {
|
|
30021
30051
|
module.exports = null;
|