@learncard/network-plugin 2.13.15 → 2.13.16

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.
@@ -15639,7 +15639,8 @@ var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
15639
15639
  did: LCNProfileValidator.shape.did
15640
15640
  });
15641
15641
  var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
15642
- email: LCNProfileValidator.shape.email
15642
+ email: LCNProfileValidator.shape.email,
15643
+ connectedAt: external_exports.iso.datetime().optional().describe("When the viewer and this profile became connected.")
15643
15644
  });
15644
15645
  var LCNVisibleProfileValidator = external_exports.union([
15645
15646
  LCNConnectionProfileValidator.strict(),
@@ -19310,7 +19311,9 @@ async function getLearnCardNetworkPlugin(learnCard, url2, apiTokenOrOptions, opt
19310
19311
  }, "getActivityChain"),
19311
19312
  isServiceTrusted: /* @__PURE__ */ __name(async (_learnCard, serviceDid) => {
19312
19313
  const trustedServices = await client.federation.getTrustedServices.query({});
19313
- return trustedServices.some((s) => s.did === serviceDid);
19314
+ return trustedServices.some(
19315
+ (service) => service.did === serviceDid
19316
+ );
19314
19317
  }, "isServiceTrusted"),
19315
19318
  getTrustedServices: /* @__PURE__ */ __name(async () => {
19316
19319
  return client.federation.getTrustedServices.query({});
@@ -19366,9 +19369,7 @@ var getVerifyBoostPlugin = /* @__PURE__ */ __name(async (learnCard, trustedBoost
19366
19369
  const boostCredential = credential?.boostCredential;
19367
19370
  try {
19368
19371
  if (boostCredential) {
19369
- const verifyBoostCredential = await learnCard.invoke.verifyCredential(
19370
- boostCredential
19371
- );
19372
+ const verifyBoostCredential = await learnCard.invoke.verifyCredential(boostCredential);
19372
19373
  const boostCredentialErrors = verifyBoostCredential.errors ?? [];
19373
19374
  if (verifyBoostCredential.status?.length) {
19374
19375
  verificationCheck.status = [