@learncard/network-plugin 1.8.2 → 1.8.4
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.
- package/dist/lcn-plugin.cjs.development.js +4 -4
- package/dist/lcn-plugin.cjs.development.js.map +2 -2
- package/dist/lcn-plugin.cjs.production.min.js +1 -1
- package/dist/lcn-plugin.cjs.production.min.js.map +2 -2
- package/dist/lcn-plugin.esm.js +4 -4
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/dist/types.d.ts +5 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -5464,16 +5464,16 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
5464
5464
|
throw new Error("Please make an account first!");
|
|
5465
5465
|
return client.boost.getBoost.query({ uri });
|
|
5466
5466
|
},
|
|
5467
|
-
getBoosts: async (_learnCard) => {
|
|
5467
|
+
getBoosts: async (_learnCard, query) => {
|
|
5468
5468
|
console.warn("The getBoosts method is deprecated! Please use getPaginatedBoosts instead!");
|
|
5469
5469
|
if (!userData)
|
|
5470
5470
|
throw new Error("Please make an account first!");
|
|
5471
|
-
return client.boost.getBoosts.query();
|
|
5471
|
+
return client.boost.getBoosts.query({ query });
|
|
5472
5472
|
},
|
|
5473
|
-
countBoosts: async (_learnCard) => {
|
|
5473
|
+
countBoosts: async (_learnCard, query) => {
|
|
5474
5474
|
if (!userData)
|
|
5475
5475
|
throw new Error("Please make an account first!");
|
|
5476
|
-
return client.boost.countBoosts.query();
|
|
5476
|
+
return client.boost.countBoosts.query({ query });
|
|
5477
5477
|
},
|
|
5478
5478
|
getPaginatedBoosts: async (_learnCard, options) => {
|
|
5479
5479
|
if (!userData)
|