@learncard/sss-key-manager 0.1.19 → 0.1.20
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 +36 -1
- package/dist/sss-key-manager.cjs.development.js.map +2 -2
- package/dist/sss-key-manager.cjs.production.min.js +19 -19
- package/dist/sss-key-manager.cjs.production.min.js.map +3 -3
- package/dist/sss-key-manager.esm.js +36 -1
- package/dist/sss-key-manager.esm.js.map +2 -2
- package/package.json +5 -4
- package/src/sss-strategy.test.ts +404 -246
|
@@ -197,6 +197,12 @@ var require_types_cjs_development = __commonJS({
|
|
|
197
197
|
LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
|
|
198
198
|
LCNBoostStatus: /* @__PURE__ */ __name(() => LCNBoostStatus, "LCNBoostStatus"),
|
|
199
199
|
LCNConnectionProfileValidator: /* @__PURE__ */ __name(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
|
|
200
|
+
LCNConnectionPromptActionResultValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptActionResultValidator, "LCNConnectionPromptActionResultValidator"),
|
|
201
|
+
LCNConnectionPromptActionStatusValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptActionStatusValidator, "LCNConnectionPromptActionStatusValidator"),
|
|
202
|
+
LCNConnectionPromptMetadataValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptMetadataValidator, "LCNConnectionPromptMetadataValidator"),
|
|
203
|
+
LCNConnectionPromptStatusValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptStatusValidator, "LCNConnectionPromptStatusValidator"),
|
|
204
|
+
LCNConnectionPromptSurfaceValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptSurfaceValidator, "LCNConnectionPromptSurfaceValidator"),
|
|
205
|
+
LCNConnectionPromptValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptValidator, "LCNConnectionPromptValidator"),
|
|
200
206
|
LCNDomainOrOriginValidator: /* @__PURE__ */ __name(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
|
|
201
207
|
LCNInboxContactMethodValidator: /* @__PURE__ */ __name(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
|
|
202
208
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
@@ -208,6 +214,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
208
214
|
LCNNotificationDataValidator: /* @__PURE__ */ __name(() => LCNNotificationDataValidator, "LCNNotificationDataValidator"),
|
|
209
215
|
LCNNotificationInboxValidator: /* @__PURE__ */ __name(() => LCNNotificationInboxValidator, "LCNNotificationInboxValidator"),
|
|
210
216
|
LCNNotificationMessageValidator: /* @__PURE__ */ __name(() => LCNNotificationMessageValidator, "LCNNotificationMessageValidator"),
|
|
217
|
+
LCNNotificationMetadataValidator: /* @__PURE__ */ __name(() => LCNNotificationMetadataValidator, "LCNNotificationMetadataValidator"),
|
|
211
218
|
LCNNotificationTypeEnumValidator: /* @__PURE__ */ __name(() => LCNNotificationTypeEnumValidator, "LCNNotificationTypeEnumValidator"),
|
|
212
219
|
LCNNotificationValidator: /* @__PURE__ */ __name(() => LCNNotificationValidator, "LCNNotificationValidator"),
|
|
213
220
|
LCNProfileConnectionStatusEnum: /* @__PURE__ */ __name(() => LCNProfileConnectionStatusEnum, "LCNProfileConnectionStatusEnum"),
|
|
@@ -16232,6 +16239,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16232
16239
|
isServiceProfile: true,
|
|
16233
16240
|
display: true
|
|
16234
16241
|
});
|
|
16242
|
+
var LCNConnectionPromptStatusValidator = external_exports.enum(["PENDING", "SKIPPED", "CONNECTED"]);
|
|
16243
|
+
var LCNConnectionPromptSurfaceValidator = external_exports.enum(["POST_CLAIM", "NOTIFICATION"]);
|
|
16244
|
+
var LCNConnectionPromptActionStatusValidator = external_exports.enum([
|
|
16245
|
+
"PENDING",
|
|
16246
|
+
"SKIPPED",
|
|
16247
|
+
"CONNECTED",
|
|
16248
|
+
"STALE"
|
|
16249
|
+
]);
|
|
16250
|
+
var LCNConnectionPromptValidator = external_exports.object({
|
|
16251
|
+
promptId: external_exports.string().uuid(),
|
|
16252
|
+
status: LCNConnectionPromptStatusValidator,
|
|
16253
|
+
surface: LCNConnectionPromptSurfaceValidator,
|
|
16254
|
+
triggerId: external_exports.string(),
|
|
16255
|
+
triggeredAt: external_exports.iso.datetime(),
|
|
16256
|
+
updatedAt: external_exports.iso.datetime(),
|
|
16257
|
+
counterpart: LCNPublicProfileValidator
|
|
16258
|
+
});
|
|
16259
|
+
var LCNConnectionPromptActionResultValidator = external_exports.object({
|
|
16260
|
+
promptId: external_exports.string().uuid(),
|
|
16261
|
+
status: LCNConnectionPromptActionStatusValidator
|
|
16262
|
+
});
|
|
16263
|
+
var LCNConnectionPromptMetadataValidator = external_exports.object({
|
|
16264
|
+
promptId: external_exports.string().uuid(),
|
|
16265
|
+
counterpartProfileId: external_exports.string()
|
|
16266
|
+
});
|
|
16235
16267
|
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
16236
16268
|
bio: LCNProfileValidator.shape.bio,
|
|
16237
16269
|
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
@@ -16796,12 +16828,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16796
16828
|
}),
|
|
16797
16829
|
timestamp: external_exports.iso.datetime().optional()
|
|
16798
16830
|
});
|
|
16831
|
+
var LCNNotificationMetadataValidator = external_exports.object({
|
|
16832
|
+
connectionPrompt: LCNConnectionPromptMetadataValidator.optional()
|
|
16833
|
+
}).catchall(external_exports.unknown());
|
|
16799
16834
|
var LCNNotificationDataValidator = external_exports.object({
|
|
16800
16835
|
vcUris: external_exports.array(external_exports.string()).optional(),
|
|
16801
16836
|
vpUris: external_exports.array(external_exports.string()).optional(),
|
|
16802
16837
|
transaction: ConsentFlowTransactionValidator.optional(),
|
|
16803
16838
|
inbox: LCNNotificationInboxValidator.optional(),
|
|
16804
|
-
metadata:
|
|
16839
|
+
metadata: LCNNotificationMetadataValidator.optional()
|
|
16805
16840
|
}).loose();
|
|
16806
16841
|
var LCNNotificationValidator = external_exports.object({
|
|
16807
16842
|
type: LCNNotificationTypeEnumValidator,
|