@learncard/sss-key-manager 0.1.0 → 0.1.3
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 +68 -3
- package/dist/sss-key-manager.cjs.development.js.map +2 -2
- package/dist/sss-key-manager.cjs.production.min.js +5 -5
- package/dist/sss-key-manager.cjs.production.min.js.map +3 -3
- package/dist/sss-key-manager.esm.js +68 -3
- package/dist/sss-key-manager.esm.js.map +2 -2
- package/package.json +2 -2
|
@@ -60,12 +60,14 @@ var require_types_cjs_development = __commonJS({
|
|
|
60
60
|
AgeRatingValidator: /* @__PURE__ */ __name(() => AgeRatingValidator, "AgeRatingValidator"),
|
|
61
61
|
AlignmentTargetTypeValidator: /* @__PURE__ */ __name(() => AlignmentTargetTypeValidator, "AlignmentTargetTypeValidator"),
|
|
62
62
|
AlignmentValidator: /* @__PURE__ */ __name(() => AlignmentValidator, "AlignmentValidator"),
|
|
63
|
+
AllowConnectionRequestsEnum: /* @__PURE__ */ __name(() => AllowConnectionRequestsEnum, "AllowConnectionRequestsEnum"),
|
|
63
64
|
AppBoostValidator: /* @__PURE__ */ __name(() => AppBoostValidator, "AppBoostValidator"),
|
|
64
65
|
AppEventInputValidator: /* @__PURE__ */ __name(() => AppEventInputValidator, "AppEventInputValidator"),
|
|
65
66
|
AppEventResponseValidator: /* @__PURE__ */ __name(() => AppEventResponseValidator, "AppEventResponseValidator"),
|
|
66
67
|
AppEventValidator: /* @__PURE__ */ __name(() => AppEventValidator, "AppEventValidator"),
|
|
67
68
|
AppListingStatusValidator: /* @__PURE__ */ __name(() => AppListingStatusValidator, "AppListingStatusValidator"),
|
|
68
69
|
AppStoreListingCreateValidator: /* @__PURE__ */ __name(() => AppStoreListingCreateValidator, "AppStoreListingCreateValidator"),
|
|
70
|
+
AppStoreListingSubmitterValidator: /* @__PURE__ */ __name(() => AppStoreListingSubmitterValidator, "AppStoreListingSubmitterValidator"),
|
|
69
71
|
AppStoreListingUpdateValidator: /* @__PURE__ */ __name(() => AppStoreListingUpdateValidator, "AppStoreListingUpdateValidator"),
|
|
70
72
|
AppStoreListingValidator: /* @__PURE__ */ __name(() => AppStoreListingValidator, "AppStoreListingValidator"),
|
|
71
73
|
AuthGrantQueryValidator: /* @__PURE__ */ __name(() => AuthGrantQueryValidator, "AuthGrantQueryValidator"),
|
|
@@ -90,6 +92,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
90
92
|
ConsentFlowContractDataValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDataValidator, "ConsentFlowContractDataValidator"),
|
|
91
93
|
ConsentFlowContractDetailsValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDetailsValidator, "ConsentFlowContractDetailsValidator"),
|
|
92
94
|
ConsentFlowContractQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowContractQueryValidator, "ConsentFlowContractQueryValidator"),
|
|
95
|
+
ConsentFlowContractRequestForProfileListValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileListValidator, "ConsentFlowContractRequestForProfileListValidator"),
|
|
96
|
+
ConsentFlowContractRequestForProfileValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileValidator, "ConsentFlowContractRequestForProfileValidator"),
|
|
97
|
+
ConsentFlowContractRequestReadStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestReadStatusValidator, "ConsentFlowContractRequestReadStatusValidator"),
|
|
98
|
+
ConsentFlowContractRequestStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestStatusValidator, "ConsentFlowContractRequestStatusValidator"),
|
|
93
99
|
ConsentFlowContractValidator: /* @__PURE__ */ __name(() => ConsentFlowContractValidator, "ConsentFlowContractValidator"),
|
|
94
100
|
ConsentFlowDataForDidQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataForDidQueryValidator, "ConsentFlowDataForDidQueryValidator"),
|
|
95
101
|
ConsentFlowDataQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataQueryValidator, "ConsentFlowDataQueryValidator"),
|
|
@@ -161,9 +167,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
161
167
|
JWKValidator: /* @__PURE__ */ __name(() => JWKValidator, "JWKValidator"),
|
|
162
168
|
JWKWithPrivateKeyValidator: /* @__PURE__ */ __name(() => JWKWithPrivateKeyValidator, "JWKWithPrivateKeyValidator"),
|
|
163
169
|
KnownAchievementTypeValidator: /* @__PURE__ */ __name(() => KnownAchievementTypeValidator, "KnownAchievementTypeValidator"),
|
|
170
|
+
LCNAuthedProfileValidator: /* @__PURE__ */ __name(() => LCNAuthedProfileValidator, "LCNAuthedProfileValidator"),
|
|
164
171
|
LCNBoostClaimLinkOptionsValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkOptionsValidator, "LCNBoostClaimLinkOptionsValidator"),
|
|
165
172
|
LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
|
|
166
173
|
LCNBoostStatus: /* @__PURE__ */ __name(() => LCNBoostStatus, "LCNBoostStatus"),
|
|
174
|
+
LCNConnectionProfileValidator: /* @__PURE__ */ __name(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
|
|
167
175
|
LCNDomainOrOriginValidator: /* @__PURE__ */ __name(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
|
|
168
176
|
LCNInboxContactMethodValidator: /* @__PURE__ */ __name(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
|
|
169
177
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
@@ -183,8 +191,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
183
191
|
LCNProfileManagerValidator: /* @__PURE__ */ __name(() => LCNProfileManagerValidator, "LCNProfileManagerValidator"),
|
|
184
192
|
LCNProfileQueryValidator: /* @__PURE__ */ __name(() => LCNProfileQueryValidator, "LCNProfileQueryValidator"),
|
|
185
193
|
LCNProfileValidator: /* @__PURE__ */ __name(() => LCNProfileValidator, "LCNProfileValidator"),
|
|
194
|
+
LCNPublicProfileValidator: /* @__PURE__ */ __name(() => LCNPublicProfileValidator, "LCNPublicProfileValidator"),
|
|
186
195
|
LCNSigningAuthorityForUserValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityForUserValidator, "LCNSigningAuthorityForUserValidator"),
|
|
187
196
|
LCNSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityValidator, "LCNSigningAuthorityValidator"),
|
|
197
|
+
LCNVisibleProfileValidator: /* @__PURE__ */ __name(() => LCNVisibleProfileValidator, "LCNVisibleProfileValidator"),
|
|
188
198
|
LaunchTypeValidator: /* @__PURE__ */ __name(() => LaunchTypeValidator, "LaunchTypeValidator"),
|
|
189
199
|
LinkProviderFrameworkInputValidator: /* @__PURE__ */ __name(() => LinkProviderFrameworkInputValidator, "LinkProviderFrameworkInputValidator"),
|
|
190
200
|
PaginatedAppStoreListingsValidator: /* @__PURE__ */ __name(() => PaginatedAppStoreListingsValidator, "PaginatedAppStoreListingsValidator"),
|
|
@@ -209,9 +219,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
209
219
|
PaginatedLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedLCNProfilesValidator, "PaginatedLCNProfilesValidator"),
|
|
210
220
|
PaginatedSkillFrameworksValidator: /* @__PURE__ */ __name(() => PaginatedSkillFrameworksValidator, "PaginatedSkillFrameworksValidator"),
|
|
211
221
|
PaginatedSkillTreeValidator: /* @__PURE__ */ __name(() => PaginatedSkillTreeValidator, "PaginatedSkillTreeValidator"),
|
|
222
|
+
PaginatedVisibleLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedVisibleLCNProfilesValidator, "PaginatedVisibleLCNProfilesValidator"),
|
|
212
223
|
PaginationOptionsValidator: /* @__PURE__ */ __name(() => PaginationOptionsValidator, "PaginationOptionsValidator"),
|
|
213
224
|
PaginationResponseValidator: /* @__PURE__ */ __name(() => PaginationResponseValidator, "PaginationResponseValidator"),
|
|
214
225
|
ProfileValidator: /* @__PURE__ */ __name(() => ProfileValidator, "ProfileValidator"),
|
|
226
|
+
ProfileVisibilityEnum: /* @__PURE__ */ __name(() => ProfileVisibilityEnum, "ProfileVisibilityEnum"),
|
|
215
227
|
PromotionLevelValidator: /* @__PURE__ */ __name(() => PromotionLevelValidator, "PromotionLevelValidator"),
|
|
216
228
|
ProofValidator: /* @__PURE__ */ __name(() => ProofValidator, "ProofValidator"),
|
|
217
229
|
RefreshServiceValidator: /* @__PURE__ */ __name(() => RefreshServiceValidator, "RefreshServiceValidator"),
|
|
@@ -14112,6 +14124,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14112
14124
|
idBackgroundColor: external_exports.string().optional(),
|
|
14113
14125
|
repeatIdBackgroundImage: external_exports.boolean().optional()
|
|
14114
14126
|
});
|
|
14127
|
+
var ProfileVisibilityEnum = external_exports.enum(["public", "connections_only", "private"]);
|
|
14128
|
+
var AllowConnectionRequestsEnum = external_exports.enum(["anyone", "invite_only"]);
|
|
14115
14129
|
var LCNProfileValidator = external_exports.object({
|
|
14116
14130
|
profileId: external_exports.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
14117
14131
|
displayName: external_exports.string().default("").describe("Human-readable display name for the profile."),
|
|
@@ -14119,6 +14133,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14119
14133
|
bio: external_exports.string().default("").describe("Longer bio for the profile."),
|
|
14120
14134
|
did: external_exports.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
14121
14135
|
isPrivate: external_exports.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
14136
|
+
profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
|
|
14137
|
+
showEmail: external_exports.boolean().default(false).optional().describe("Whether to show email to connections."),
|
|
14138
|
+
allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
|
|
14122
14139
|
email: external_exports.string().optional().describe("Contact email address for the profile. (deprecated)"),
|
|
14123
14140
|
image: external_exports.string().optional().describe("Profile image URL for the profile."),
|
|
14124
14141
|
heroImage: external_exports.string().optional().describe("Hero image URL for the profile."),
|
|
@@ -14133,6 +14150,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14133
14150
|
country: external_exports.string().optional().describe("Country for the profile."),
|
|
14134
14151
|
approved: external_exports.boolean().optional().describe("Approval status for the profile.")
|
|
14135
14152
|
});
|
|
14153
|
+
var LCNPublicProfileValidator = LCNProfileValidator.pick({
|
|
14154
|
+
profileId: true,
|
|
14155
|
+
displayName: true,
|
|
14156
|
+
shortBio: true,
|
|
14157
|
+
image: true,
|
|
14158
|
+
heroImage: true,
|
|
14159
|
+
type: true,
|
|
14160
|
+
isServiceProfile: true,
|
|
14161
|
+
display: true
|
|
14162
|
+
});
|
|
14163
|
+
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
14164
|
+
bio: LCNProfileValidator.shape.bio,
|
|
14165
|
+
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
14166
|
+
role: LCNProfileValidator.shape.role,
|
|
14167
|
+
highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
|
|
14168
|
+
did: LCNProfileValidator.shape.did
|
|
14169
|
+
});
|
|
14170
|
+
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
14171
|
+
email: LCNProfileValidator.shape.email
|
|
14172
|
+
});
|
|
14173
|
+
var LCNVisibleProfileValidator = external_exports.union([
|
|
14174
|
+
LCNConnectionProfileValidator.strict(),
|
|
14175
|
+
LCNAuthedProfileValidator.strict(),
|
|
14176
|
+
LCNPublicProfileValidator.strict(),
|
|
14177
|
+
LCNProfileValidator
|
|
14178
|
+
]);
|
|
14136
14179
|
var LCNProfileQueryValidator = external_exports.object({
|
|
14137
14180
|
profileId: StringQuery,
|
|
14138
14181
|
displayName: StringQuery,
|
|
@@ -14146,6 +14189,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14146
14189
|
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
14147
14190
|
records: LCNProfileValidator.array()
|
|
14148
14191
|
});
|
|
14192
|
+
var PaginatedVisibleLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
14193
|
+
records: LCNVisibleProfileValidator.array()
|
|
14194
|
+
});
|
|
14149
14195
|
var LCNProfileConnectionStatusEnum = external_exports.enum([
|
|
14150
14196
|
"CONNECTED",
|
|
14151
14197
|
"PENDING_REQUEST_SENT",
|
|
@@ -14279,7 +14325,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14279
14325
|
records: BoostValidator.array()
|
|
14280
14326
|
});
|
|
14281
14327
|
var BoostRecipientValidator = external_exports.object({
|
|
14282
|
-
to:
|
|
14328
|
+
to: LCNVisibleProfileValidator,
|
|
14283
14329
|
from: external_exports.string(),
|
|
14284
14330
|
received: external_exports.string().optional(),
|
|
14285
14331
|
uri: external_exports.string().optional()
|
|
@@ -14288,7 +14334,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14288
14334
|
records: BoostRecipientValidator.array()
|
|
14289
14335
|
});
|
|
14290
14336
|
var BoostRecipientWithChildrenValidator = external_exports.object({
|
|
14291
|
-
to:
|
|
14337
|
+
to: LCNVisibleProfileValidator,
|
|
14292
14338
|
from: external_exports.string(),
|
|
14293
14339
|
received: external_exports.string().optional(),
|
|
14294
14340
|
boostUris: external_exports.array(external_exports.string()),
|
|
@@ -14432,6 +14478,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14432
14478
|
autoBoosts: external_exports.string().array().optional(),
|
|
14433
14479
|
writers: external_exports.array(LCNProfileValidator).optional()
|
|
14434
14480
|
});
|
|
14481
|
+
var ConsentFlowContractRequestStatusValidator = external_exports.enum(["pending", "accepted", "denied"]).nullable();
|
|
14482
|
+
var ConsentFlowContractRequestReadStatusValidator = external_exports.enum(["unseen", "seen"]).nullable();
|
|
14483
|
+
var ConsentFlowContractRequestForProfileValidator = external_exports.object({
|
|
14484
|
+
profile: LCNProfileValidator,
|
|
14485
|
+
status: ConsentFlowContractRequestStatusValidator,
|
|
14486
|
+
readStatus: ConsentFlowContractRequestReadStatusValidator.optional()
|
|
14487
|
+
});
|
|
14488
|
+
var ConsentFlowContractRequestForProfileListValidator = external_exports.array(
|
|
14489
|
+
ConsentFlowContractRequestForProfileValidator
|
|
14490
|
+
);
|
|
14435
14491
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
14436
14492
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
14437
14493
|
});
|
|
@@ -14593,6 +14649,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14593
14649
|
"APP_LISTING_SUBMITTED",
|
|
14594
14650
|
"APP_LISTING_APPROVED",
|
|
14595
14651
|
"APP_LISTING_REJECTED",
|
|
14652
|
+
"APP_LISTING_WITHDRAWN",
|
|
14596
14653
|
"DEVICE_LINK_REQUEST"
|
|
14597
14654
|
]);
|
|
14598
14655
|
var LCNNotificationMessageValidator = external_exports.object({
|
|
@@ -15120,6 +15177,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15120
15177
|
"DEMOTED"
|
|
15121
15178
|
]);
|
|
15122
15179
|
var AgeRatingValidator = external_exports.enum(["4+", "9+", "12+", "17+"]);
|
|
15180
|
+
var AppStoreListingSubmitterValidator = external_exports.object({
|
|
15181
|
+
profileId: external_exports.string(),
|
|
15182
|
+
displayName: external_exports.string(),
|
|
15183
|
+
email: external_exports.string().optional()
|
|
15184
|
+
});
|
|
15123
15185
|
var AppStoreListingValidator = external_exports.object({
|
|
15124
15186
|
listing_id: external_exports.string(),
|
|
15125
15187
|
slug: external_exports.string().optional(),
|
|
@@ -15141,7 +15203,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15141
15203
|
screenshots: external_exports.array(external_exports.string()).optional(),
|
|
15142
15204
|
hero_background_color: external_exports.string().optional(),
|
|
15143
15205
|
min_age: external_exports.number().int().min(0).max(18).optional(),
|
|
15144
|
-
age_rating: AgeRatingValidator.optional()
|
|
15206
|
+
age_rating: AgeRatingValidator.optional(),
|
|
15207
|
+
submitted_at: external_exports.string().optional(),
|
|
15208
|
+
submitter: AppStoreListingSubmitterValidator.optional(),
|
|
15209
|
+
contact_email: external_exports.string().email().optional()
|
|
15145
15210
|
});
|
|
15146
15211
|
var AppStoreListingCreateValidator = AppStoreListingValidator.omit({
|
|
15147
15212
|
listing_id: true,
|