@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.
@@ -15660,7 +15660,8 @@ var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
15660
15660
  did: LCNProfileValidator.shape.did
15661
15661
  });
15662
15662
  var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
15663
- email: LCNProfileValidator.shape.email
15663
+ email: LCNProfileValidator.shape.email,
15664
+ connectedAt: external_exports.iso.datetime().optional().describe("When the viewer and this profile became connected.")
15664
15665
  });
15665
15666
  var LCNVisibleProfileValidator = external_exports.union([
15666
15667
  LCNConnectionProfileValidator.strict(),
@@ -19327,7 +19328,9 @@ async function getLearnCardNetworkPlugin(learnCard, url2, apiTokenOrOptions, opt
19327
19328
  }, "getActivityChain"),
19328
19329
  isServiceTrusted: /* @__PURE__ */ __name(async (_learnCard, serviceDid) => {
19329
19330
  const trustedServices = await client.federation.getTrustedServices.query({});
19330
- return trustedServices.some((s) => s.did === serviceDid);
19331
+ return trustedServices.some(
19332
+ (service) => service.did === serviceDid
19333
+ );
19331
19334
  }, "isServiceTrusted"),
19332
19335
  getTrustedServices: /* @__PURE__ */ __name(async () => {
19333
19336
  return client.federation.getTrustedServices.query({});
@@ -19383,9 +19386,7 @@ var getVerifyBoostPlugin = /* @__PURE__ */ __name(async (learnCard, trustedBoost
19383
19386
  const boostCredential = credential?.boostCredential;
19384
19387
  try {
19385
19388
  if (boostCredential) {
19386
- const verifyBoostCredential = await learnCard.invoke.verifyCredential(
19387
- boostCredential
19388
- );
19389
+ const verifyBoostCredential = await learnCard.invoke.verifyCredential(boostCredential);
19389
19390
  const boostCredentialErrors = verifyBoostCredential.errors ?? [];
19390
19391
  if (verifyBoostCredential.status?.length) {
19391
19392
  verificationCheck.status = [