@learncard/network-brain-client 2.5.51 → 2.5.52
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/brain-client.cjs.development.cjs +1657 -1615
- package/dist/brain-client.cjs.development.cjs.map +2 -2
- package/dist/brain-client.cjs.production.min.cjs +13 -13
- package/dist/brain-client.cjs.production.min.cjs.map +3 -3
- package/dist/brain-client.esm.js +36 -1
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +7 -6
package/dist/brain-client.esm.js
CHANGED
|
@@ -16097,6 +16097,12 @@ var require_types_cjs_development = __commonJS({
|
|
|
16097
16097
|
LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name2(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
|
|
16098
16098
|
LCNBoostStatus: /* @__PURE__ */ __name2(() => LCNBoostStatus, "LCNBoostStatus"),
|
|
16099
16099
|
LCNConnectionProfileValidator: /* @__PURE__ */ __name2(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
|
|
16100
|
+
LCNConnectionPromptActionResultValidator: /* @__PURE__ */ __name2(() => LCNConnectionPromptActionResultValidator, "LCNConnectionPromptActionResultValidator"),
|
|
16101
|
+
LCNConnectionPromptActionStatusValidator: /* @__PURE__ */ __name2(() => LCNConnectionPromptActionStatusValidator, "LCNConnectionPromptActionStatusValidator"),
|
|
16102
|
+
LCNConnectionPromptMetadataValidator: /* @__PURE__ */ __name2(() => LCNConnectionPromptMetadataValidator, "LCNConnectionPromptMetadataValidator"),
|
|
16103
|
+
LCNConnectionPromptStatusValidator: /* @__PURE__ */ __name2(() => LCNConnectionPromptStatusValidator, "LCNConnectionPromptStatusValidator"),
|
|
16104
|
+
LCNConnectionPromptSurfaceValidator: /* @__PURE__ */ __name2(() => LCNConnectionPromptSurfaceValidator, "LCNConnectionPromptSurfaceValidator"),
|
|
16105
|
+
LCNConnectionPromptValidator: /* @__PURE__ */ __name2(() => LCNConnectionPromptValidator, "LCNConnectionPromptValidator"),
|
|
16100
16106
|
LCNDomainOrOriginValidator: /* @__PURE__ */ __name2(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
|
|
16101
16107
|
LCNInboxContactMethodValidator: /* @__PURE__ */ __name2(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
|
|
16102
16108
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name2(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
@@ -16108,6 +16114,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
16108
16114
|
LCNNotificationDataValidator: /* @__PURE__ */ __name2(() => LCNNotificationDataValidator, "LCNNotificationDataValidator"),
|
|
16109
16115
|
LCNNotificationInboxValidator: /* @__PURE__ */ __name2(() => LCNNotificationInboxValidator, "LCNNotificationInboxValidator"),
|
|
16110
16116
|
LCNNotificationMessageValidator: /* @__PURE__ */ __name2(() => LCNNotificationMessageValidator, "LCNNotificationMessageValidator"),
|
|
16117
|
+
LCNNotificationMetadataValidator: /* @__PURE__ */ __name2(() => LCNNotificationMetadataValidator, "LCNNotificationMetadataValidator"),
|
|
16111
16118
|
LCNNotificationTypeEnumValidator: /* @__PURE__ */ __name2(() => LCNNotificationTypeEnumValidator, "LCNNotificationTypeEnumValidator"),
|
|
16112
16119
|
LCNNotificationValidator: /* @__PURE__ */ __name2(() => LCNNotificationValidator, "LCNNotificationValidator"),
|
|
16113
16120
|
LCNProfileConnectionStatusEnum: /* @__PURE__ */ __name2(() => LCNProfileConnectionStatusEnum, "LCNProfileConnectionStatusEnum"),
|
|
@@ -32584,6 +32591,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32584
32591
|
isServiceProfile: true,
|
|
32585
32592
|
display: true
|
|
32586
32593
|
});
|
|
32594
|
+
var LCNConnectionPromptStatusValidator = external_exports2.enum(["PENDING", "SKIPPED", "CONNECTED"]);
|
|
32595
|
+
var LCNConnectionPromptSurfaceValidator = external_exports2.enum(["POST_CLAIM", "NOTIFICATION"]);
|
|
32596
|
+
var LCNConnectionPromptActionStatusValidator = external_exports2.enum([
|
|
32597
|
+
"PENDING",
|
|
32598
|
+
"SKIPPED",
|
|
32599
|
+
"CONNECTED",
|
|
32600
|
+
"STALE"
|
|
32601
|
+
]);
|
|
32602
|
+
var LCNConnectionPromptValidator = external_exports2.object({
|
|
32603
|
+
promptId: external_exports2.string().uuid(),
|
|
32604
|
+
status: LCNConnectionPromptStatusValidator,
|
|
32605
|
+
surface: LCNConnectionPromptSurfaceValidator,
|
|
32606
|
+
triggerId: external_exports2.string(),
|
|
32607
|
+
triggeredAt: external_exports2.iso.datetime(),
|
|
32608
|
+
updatedAt: external_exports2.iso.datetime(),
|
|
32609
|
+
counterpart: LCNPublicProfileValidator
|
|
32610
|
+
});
|
|
32611
|
+
var LCNConnectionPromptActionResultValidator = external_exports2.object({
|
|
32612
|
+
promptId: external_exports2.string().uuid(),
|
|
32613
|
+
status: LCNConnectionPromptActionStatusValidator
|
|
32614
|
+
});
|
|
32615
|
+
var LCNConnectionPromptMetadataValidator = external_exports2.object({
|
|
32616
|
+
promptId: external_exports2.string().uuid(),
|
|
32617
|
+
counterpartProfileId: external_exports2.string()
|
|
32618
|
+
});
|
|
32587
32619
|
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
32588
32620
|
bio: LCNProfileValidator.shape.bio,
|
|
32589
32621
|
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
@@ -33148,12 +33180,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33148
33180
|
}),
|
|
33149
33181
|
timestamp: external_exports2.iso.datetime().optional()
|
|
33150
33182
|
});
|
|
33183
|
+
var LCNNotificationMetadataValidator = external_exports2.object({
|
|
33184
|
+
connectionPrompt: LCNConnectionPromptMetadataValidator.optional()
|
|
33185
|
+
}).catchall(external_exports2.unknown());
|
|
33151
33186
|
var LCNNotificationDataValidator = external_exports2.object({
|
|
33152
33187
|
vcUris: external_exports2.array(external_exports2.string()).optional(),
|
|
33153
33188
|
vpUris: external_exports2.array(external_exports2.string()).optional(),
|
|
33154
33189
|
transaction: ConsentFlowTransactionValidator.optional(),
|
|
33155
33190
|
inbox: LCNNotificationInboxValidator.optional(),
|
|
33156
|
-
metadata:
|
|
33191
|
+
metadata: LCNNotificationMetadataValidator.optional()
|
|
33157
33192
|
}).loose();
|
|
33158
33193
|
var LCNNotificationValidator = external_exports2.object({
|
|
33159
33194
|
type: LCNNotificationTypeEnumValidator,
|