@learncard/network-plugin 1.8.1 → 1.8.2
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 +5 -0
- 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 +5 -0
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -5446,6 +5446,11 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
5446
5446
|
throw new Error("Please make an account first!");
|
|
5447
5447
|
return client.boost.getBoosts.query();
|
|
5448
5448
|
},
|
|
5449
|
+
countBoosts: async (_learnCard) => {
|
|
5450
|
+
if (!userData)
|
|
5451
|
+
throw new Error("Please make an account first!");
|
|
5452
|
+
return client.boost.countBoosts.query();
|
|
5453
|
+
},
|
|
5449
5454
|
getPaginatedBoosts: async (_learnCard, options) => {
|
|
5450
5455
|
if (!userData)
|
|
5451
5456
|
throw new Error("Please make an account first!");
|