@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
|
@@ -16354,27 +16354,21 @@ async function getLearnCardNetworkPlugin(learnCard, url2, apiTokenOrOptions, opt
|
|
|
16354
16354
|
}, "allocateCredentialStatus"),
|
|
16355
16355
|
revokeBoostRecipient: /* @__PURE__ */ __name(async (_learnCard, boostUri, recipientProfileId, credentialUri) => {
|
|
16356
16356
|
await ensureUser();
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
|
|
16360
|
-
credentialUri
|
|
16361
|
-
});
|
|
16357
|
+
const input = { boostUri, recipientProfileId };
|
|
16358
|
+
if (credentialUri !== void 0) Object.assign(input, { credentialUri });
|
|
16359
|
+
return client.boost.revokeBoostRecipient.mutate(input);
|
|
16362
16360
|
}, "revokeBoostRecipient"),
|
|
16363
16361
|
suspendBoostRecipient: /* @__PURE__ */ __name(async (_learnCard, boostUri, recipientProfileId, credentialUri) => {
|
|
16364
16362
|
await ensureUser();
|
|
16365
|
-
|
|
16366
|
-
|
|
16367
|
-
|
|
16368
|
-
credentialUri
|
|
16369
|
-
});
|
|
16363
|
+
const input = { boostUri, recipientProfileId };
|
|
16364
|
+
if (credentialUri !== void 0) Object.assign(input, { credentialUri });
|
|
16365
|
+
return client.boost.suspendBoostRecipient.mutate(input);
|
|
16370
16366
|
}, "suspendBoostRecipient"),
|
|
16371
16367
|
unsuspendBoostRecipient: /* @__PURE__ */ __name(async (_learnCard, boostUri, recipientProfileId, credentialUri) => {
|
|
16372
16368
|
await ensureUser();
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
|
|
16376
|
-
credentialUri
|
|
16377
|
-
});
|
|
16369
|
+
const input = { boostUri, recipientProfileId };
|
|
16370
|
+
if (credentialUri !== void 0) Object.assign(input, { credentialUri });
|
|
16371
|
+
return client.boost.unsuspendBoostRecipient.mutate(input);
|
|
16378
16372
|
}, "unsuspendBoostRecipient"),
|
|
16379
16373
|
deleteBoost: /* @__PURE__ */ __name(async (_learnCard, uri) => {
|
|
16380
16374
|
await ensureUser();
|