@learncard/network-plugin 1.8.1 → 1.8.3

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.
@@ -5440,11 +5440,16 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
5440
5440
  throw new Error("Please make an account first!");
5441
5441
  return client.boost.getBoost.query({ uri });
5442
5442
  },
5443
- getBoosts: async (_learnCard) => {
5443
+ getBoosts: async (_learnCard, query) => {
5444
5444
  console.warn("The getBoosts method is deprecated! Please use getPaginatedBoosts instead!");
5445
5445
  if (!userData)
5446
5446
  throw new Error("Please make an account first!");
5447
- return client.boost.getBoosts.query();
5447
+ return client.boost.getBoosts.query({ query });
5448
+ },
5449
+ countBoosts: async (_learnCard, query) => {
5450
+ if (!userData)
5451
+ throw new Error("Please make an account first!");
5452
+ return client.boost.countBoosts.query({ query });
5448
5453
  },
5449
5454
  getPaginatedBoosts: async (_learnCard, options) => {
5450
5455
  if (!userData)