@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.
@@ -5082,6 +5082,11 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
5082
5082
  includeUnacceptedBoosts
5083
5083
  });
5084
5084
  },
5085
+ countBoostRecipients: async (_learnCard, uri, includeUnacceptedBoosts = true) => {
5086
+ if (!userData)
5087
+ throw new Error("Please make an account first!");
5088
+ return client.boost.getBoostRecipientCount.query({ uri, includeUnacceptedBoosts });
5089
+ },
5085
5090
  updateBoost: async (_learnCard, uri, updates, credential) => {
5086
5091
  if (!userData)
5087
5092
  throw new Error("Please make an account first!");