@learncard/network-plugin 1.8.0 → 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 +3 -3
|
@@ -5470,6 +5470,11 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
5470
5470
|
throw new Error("Please make an account first!");
|
|
5471
5471
|
return client.boost.getBoosts.query();
|
|
5472
5472
|
},
|
|
5473
|
+
countBoosts: async (_learnCard) => {
|
|
5474
|
+
if (!userData)
|
|
5475
|
+
throw new Error("Please make an account first!");
|
|
5476
|
+
return client.boost.countBoosts.query();
|
|
5477
|
+
},
|
|
5473
5478
|
getPaginatedBoosts: async (_learnCard, options) => {
|
|
5474
5479
|
if (!userData)
|
|
5475
5480
|
throw new Error("Please make an account first!");
|