@learncard/network-plugin 1.7.8 → 1.7.9
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 +5 -5
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -5058,6 +5058,11 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
5058
5058
|
includeUnacceptedBoosts
|
|
5059
5059
|
});
|
|
5060
5060
|
},
|
|
5061
|
+
countBoostRecipients: async (_learnCard, uri, includeUnacceptedBoosts = true) => {
|
|
5062
|
+
if (!userData)
|
|
5063
|
+
throw new Error("Please make an account first!");
|
|
5064
|
+
return client.boost.getBoostRecipientCount.query({ uri, includeUnacceptedBoosts });
|
|
5065
|
+
},
|
|
5061
5066
|
updateBoost: async (_learnCard, uri, updates, credential) => {
|
|
5062
5067
|
if (!userData)
|
|
5063
5068
|
throw new Error("Please make an account first!");
|