@learncard/network-plugin 1.5.4 → 1.5.6

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.
@@ -4524,6 +4524,9 @@ var LCNProfileValidator = mod.object({
4524
4524
  isServiceProfile: mod.boolean().default(false).optional(),
4525
4525
  notificationsWebhook: mod.string().url().startsWith("https://").optional()
4526
4526
  });
4527
+ var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
4528
+ records: LCNProfileValidator.array()
4529
+ });
4527
4530
  var LCNProfileConnectionStatusEnum = mod.enum([
4528
4531
  "CONNECTED",
4529
4532
  "PENDING_REQUEST_SENT",
@@ -4887,6 +4890,21 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
4887
4890
  updates: { credential, ...updates }
4888
4891
  });
4889
4892
  },
4893
+ getBoostAdmins: async (_learnCard, uri, options = {}) => {
4894
+ if (!userData)
4895
+ throw new Error("Please make an account first!");
4896
+ return client.boost.getBoostAdmins.query({ uri, ...options });
4897
+ },
4898
+ addBoostAdmin: async (_learnCard, uri, profileId) => {
4899
+ if (!userData)
4900
+ throw new Error("Please make an account first!");
4901
+ return client.boost.addBoostAdmin.mutate({ uri, profileId });
4902
+ },
4903
+ removeBoostAdmin: async (_learnCard, uri, profileId) => {
4904
+ if (!userData)
4905
+ throw new Error("Please make an account first!");
4906
+ return client.boost.removeBoostAdmin.mutate({ uri, profileId });
4907
+ },
4890
4908
  deleteBoost: async (_learnCard, uri) => {
4891
4909
  if (!userData)
4892
4910
  throw new Error("Please make an account first!");