@learncard/network-plugin 2.13.2 → 2.13.3
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.cjs +9 -15
- package/dist/lcn-plugin.cjs.development.cjs.map +2 -2
- package/dist/lcn-plugin.cjs.production.min.cjs +6 -6
- package/dist/lcn-plugin.cjs.production.min.cjs.map +3 -3
- package/dist/lcn-plugin.esm.js +9 -15
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -16337,27 +16337,21 @@ async function getLearnCardNetworkPlugin(learnCard, url2, apiTokenOrOptions, opt
|
|
|
16337
16337
|
}, "allocateCredentialStatus"),
|
|
16338
16338
|
revokeBoostRecipient: /* @__PURE__ */ __name(async (_learnCard, boostUri, recipientProfileId, credentialUri) => {
|
|
16339
16339
|
await ensureUser();
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
credentialUri
|
|
16344
|
-
});
|
|
16340
|
+
const input = { boostUri, recipientProfileId };
|
|
16341
|
+
if (credentialUri !== void 0) Object.assign(input, { credentialUri });
|
|
16342
|
+
return client.boost.revokeBoostRecipient.mutate(input);
|
|
16345
16343
|
}, "revokeBoostRecipient"),
|
|
16346
16344
|
suspendBoostRecipient: /* @__PURE__ */ __name(async (_learnCard, boostUri, recipientProfileId, credentialUri) => {
|
|
16347
16345
|
await ensureUser();
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
|
|
16351
|
-
credentialUri
|
|
16352
|
-
});
|
|
16346
|
+
const input = { boostUri, recipientProfileId };
|
|
16347
|
+
if (credentialUri !== void 0) Object.assign(input, { credentialUri });
|
|
16348
|
+
return client.boost.suspendBoostRecipient.mutate(input);
|
|
16353
16349
|
}, "suspendBoostRecipient"),
|
|
16354
16350
|
unsuspendBoostRecipient: /* @__PURE__ */ __name(async (_learnCard, boostUri, recipientProfileId, credentialUri) => {
|
|
16355
16351
|
await ensureUser();
|
|
16356
|
-
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
credentialUri
|
|
16360
|
-
});
|
|
16352
|
+
const input = { boostUri, recipientProfileId };
|
|
16353
|
+
if (credentialUri !== void 0) Object.assign(input, { credentialUri });
|
|
16354
|
+
return client.boost.unsuspendBoostRecipient.mutate(input);
|
|
16361
16355
|
}, "unsuspendBoostRecipient"),
|
|
16362
16356
|
deleteBoost: /* @__PURE__ */ __name(async (_learnCard, uri) => {
|
|
16363
16357
|
await ensureUser();
|