@learncard/network-plugin 1.4.7 → 1.4.8

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.
@@ -12446,7 +12446,7 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
12446
12446
  throw new Error("Please make an account first!");
12447
12447
  return client.profile.unblockProfile.mutate({ profileId });
12448
12448
  },
12449
- getBlockedProfiles: async (_learnCard) => {
12449
+ getBlockedProfiles: async () => {
12450
12450
  if (!userData)
12451
12451
  throw new Error("Please make an account first!");
12452
12452
  return client.profile.blocked.query();
@@ -12533,12 +12533,17 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
12533
12533
  throw new Error("Please make an account first!");
12534
12534
  return client.boost.createBoost.mutate({ credential, ...metadata });
12535
12535
  },
12536
+ getBoost: async (_learnCard, uri) => {
12537
+ if (!userData)
12538
+ throw new Error("Please make an account first!");
12539
+ return client.boost.getBoost.query({ uri });
12540
+ },
12536
12541
  getBoosts: async () => {
12537
12542
  if (!userData)
12538
12543
  throw new Error("Please make an account first!");
12539
12544
  return client.boost.getBoosts.query();
12540
12545
  },
12541
- getBoostRecipients: async (_learnCard, uri, limit = 25, skip) => {
12546
+ getBoostRecipients: async (_learnCard, uri, limit = 25, skip = void 0) => {
12542
12547
  if (!userData)
12543
12548
  throw new Error("Please make an account first!");
12544
12549
  return client.boost.getBoostRecipients.query({ uri, limit, skip });
@@ -12592,12 +12597,16 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
12592
12597
  const credential = await _learnCard.invoke.getDIDObject().createDagJWE(vc, [userData.did, targetProfile.did, lcnDid]);
12593
12598
  return client.boost.sendBoost.mutate({ profileId, uri: boostUri, credential });
12594
12599
  },
12595
- registerSigningAuthority: async (_learnCard, endpoint, name3, did2) => {
12600
+ registerSigningAuthority: async (_learnCard, endpoint, name3, _did) => {
12596
12601
  if (!userData)
12597
12602
  throw new Error("Please make an account first!");
12598
- return client.profile.registerSigningAuthority.mutate({ endpoint, name: name3, did: did2 });
12603
+ return client.profile.registerSigningAuthority.mutate({
12604
+ endpoint,
12605
+ name: name3,
12606
+ did: _did
12607
+ });
12599
12608
  },
12600
- getRegisteredSigningAuthorities: async (_learnCard, endpoint, name3, did2) => {
12609
+ getRegisteredSigningAuthorities: async (_learnCard, _endpoint, _name, _did) => {
12601
12610
  if (!userData)
12602
12611
  throw new Error("Please make an account first!");
12603
12612
  return client.profile.signingAuthorities.query();