@learncard/network-plugin 2.5.4 → 2.5.6
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 +19 -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 +19 -0
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -18042,6 +18042,25 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
18042
18042
|
throw new Error("Please make an account first!");
|
|
18043
18043
|
return client.boost.getBoostRecipientCount.query({ uri, includeUnacceptedBoosts });
|
|
18044
18044
|
},
|
|
18045
|
+
getConnectedBoostRecipients: async (_learnCard, uri, { limit = 25, cursor = void 0, includeUnacceptedBoosts = true, query } = {}) => {
|
|
18046
|
+
if (!userData)
|
|
18047
|
+
throw new Error("Please make an account first!");
|
|
18048
|
+
return client.boost.getConnectedBoostRecipients.query({
|
|
18049
|
+
uri,
|
|
18050
|
+
limit,
|
|
18051
|
+
cursor,
|
|
18052
|
+
includeUnacceptedBoosts,
|
|
18053
|
+
query
|
|
18054
|
+
});
|
|
18055
|
+
},
|
|
18056
|
+
countConnectedBoostRecipients: async (_learnCard, uri, includeUnacceptedBoosts = true) => {
|
|
18057
|
+
if (!userData)
|
|
18058
|
+
throw new Error("Please make an account first!");
|
|
18059
|
+
return client.boost.getConnectedBoostRecipientCount.query({
|
|
18060
|
+
uri,
|
|
18061
|
+
includeUnacceptedBoosts
|
|
18062
|
+
});
|
|
18063
|
+
},
|
|
18045
18064
|
getBoostChildrenProfileManagers: async (_learnCard, uri, options) => {
|
|
18046
18065
|
if (!userData)
|
|
18047
18066
|
throw new Error("Please make an account first!");
|