@learncard/network-plugin 1.8.2 → 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.
- 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 +3 -3
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -5440,16 +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
5448
|
},
|
|
5449
|
-
countBoosts: async (_learnCard) => {
|
|
5449
|
+
countBoosts: async (_learnCard, query) => {
|
|
5450
5450
|
if (!userData)
|
|
5451
5451
|
throw new Error("Please make an account first!");
|
|
5452
|
-
return client.boost.countBoosts.query();
|
|
5452
|
+
return client.boost.countBoosts.query({ query });
|
|
5453
5453
|
},
|
|
5454
5454
|
getPaginatedBoosts: async (_learnCard, options) => {
|
|
5455
5455
|
if (!userData)
|