@learncard/network-plugin 2.5.17 → 2.5.18
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 +11 -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 +11 -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 +2 -2
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -18071,6 +18071,17 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
18071
18071
|
numberOfGenerations
|
|
18072
18072
|
});
|
|
18073
18073
|
},
|
|
18074
|
+
countBoostRecipientsWithChildren: async (_learnCard, uri, includeUnacceptedBoosts = true, boostQuery, profileQuery, numberOfGenerations = 1) => {
|
|
18075
|
+
if (!userData)
|
|
18076
|
+
throw new Error("Please make an account first!");
|
|
18077
|
+
return client.boost.getBoostRecipientsWithChildrenCount.query({
|
|
18078
|
+
uri,
|
|
18079
|
+
includeUnacceptedBoosts,
|
|
18080
|
+
boostQuery,
|
|
18081
|
+
profileQuery,
|
|
18082
|
+
numberOfGenerations
|
|
18083
|
+
});
|
|
18084
|
+
},
|
|
18074
18085
|
countBoostRecipients: async (_learnCard, uri, includeUnacceptedBoosts = true) => {
|
|
18075
18086
|
if (!userData)
|
|
18076
18087
|
throw new Error("Please make an account first!");
|