@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.
@@ -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
- return client.boost.revokeBoostRecipient.mutate({
16341
- boostUri,
16342
- recipientProfileId,
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
- return client.boost.suspendBoostRecipient.mutate({
16349
- boostUri,
16350
- recipientProfileId,
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
- return client.boost.unsuspendBoostRecipient.mutate({
16357
- boostUri,
16358
- recipientProfileId,
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();