@learncard/network-plugin 1.7.8 → 1.7.9

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.
@@ -5058,6 +5058,11 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
5058
5058
  includeUnacceptedBoosts
5059
5059
  });
5060
5060
  },
5061
+ countBoostRecipients: async (_learnCard, uri, includeUnacceptedBoosts = true) => {
5062
+ if (!userData)
5063
+ throw new Error("Please make an account first!");
5064
+ return client.boost.getBoostRecipientCount.query({ uri, includeUnacceptedBoosts });
5065
+ },
5061
5066
  updateBoost: async (_learnCard, uri, updates, credential) => {
5062
5067
  if (!userData)
5063
5068
  throw new Error("Please make an account first!");