@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
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -18017,6 +18017,25 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
18017
18017
|
throw new Error("Please make an account first!");
|
|
18018
18018
|
return client.boost.getBoostRecipientCount.query({ uri, includeUnacceptedBoosts });
|
|
18019
18019
|
},
|
|
18020
|
+
getConnectedBoostRecipients: async (_learnCard, uri, { limit = 25, cursor = void 0, includeUnacceptedBoosts = true, query } = {}) => {
|
|
18021
|
+
if (!userData)
|
|
18022
|
+
throw new Error("Please make an account first!");
|
|
18023
|
+
return client.boost.getConnectedBoostRecipients.query({
|
|
18024
|
+
uri,
|
|
18025
|
+
limit,
|
|
18026
|
+
cursor,
|
|
18027
|
+
includeUnacceptedBoosts,
|
|
18028
|
+
query
|
|
18029
|
+
});
|
|
18030
|
+
},
|
|
18031
|
+
countConnectedBoostRecipients: async (_learnCard, uri, includeUnacceptedBoosts = true) => {
|
|
18032
|
+
if (!userData)
|
|
18033
|
+
throw new Error("Please make an account first!");
|
|
18034
|
+
return client.boost.getConnectedBoostRecipientCount.query({
|
|
18035
|
+
uri,
|
|
18036
|
+
includeUnacceptedBoosts
|
|
18037
|
+
});
|
|
18038
|
+
},
|
|
18020
18039
|
getBoostChildrenProfileManagers: async (_learnCard, uri, options) => {
|
|
18021
18040
|
if (!userData)
|
|
18022
18041
|
throw new Error("Please make an account first!");
|