@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.
@@ -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
- return client.boost.revokeBoostRecipient.mutate({
16358
- boostUri,
16359
- recipientProfileId,
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
- return client.boost.suspendBoostRecipient.mutate({
16366
- boostUri,
16367
- recipientProfileId,
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
- return client.boost.unsuspendBoostRecipient.mutate({
16374
- boostUri,
16375
- recipientProfileId,
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();