@learncard/network-plugin 2.5.16 → 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 +4 -4
|
@@ -18096,6 +18096,17 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
18096
18096
|
numberOfGenerations
|
|
18097
18097
|
});
|
|
18098
18098
|
},
|
|
18099
|
+
countBoostRecipientsWithChildren: async (_learnCard, uri, includeUnacceptedBoosts = true, boostQuery, profileQuery, numberOfGenerations = 1) => {
|
|
18100
|
+
if (!userData)
|
|
18101
|
+
throw new Error("Please make an account first!");
|
|
18102
|
+
return client.boost.getBoostRecipientsWithChildrenCount.query({
|
|
18103
|
+
uri,
|
|
18104
|
+
includeUnacceptedBoosts,
|
|
18105
|
+
boostQuery,
|
|
18106
|
+
profileQuery,
|
|
18107
|
+
numberOfGenerations
|
|
18108
|
+
});
|
|
18109
|
+
},
|
|
18099
18110
|
countBoostRecipients: async (_learnCard, uri, includeUnacceptedBoosts = true) => {
|
|
18100
18111
|
if (!userData)
|
|
18101
18112
|
throw new Error("Please make an account first!");
|