@learncard/network-plugin 1.5.9 → 1.6.0

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.
@@ -4761,10 +4761,10 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
4761
4761
  throw new Error("Please make an account first!");
4762
4762
  return client.profile.connectionRequests.query();
4763
4763
  },
4764
- generateInvite: async (_learnCard, challenge) => {
4764
+ generateInvite: async (_learnCard, challenge, expiration) => {
4765
4765
  if (!userData)
4766
4766
  throw new Error("Please make an account first!");
4767
- return client.profile.generateInvite.mutate({ challenge });
4767
+ return client.profile.generateInvite.mutate({ challenge, expiration });
4768
4768
  },
4769
4769
  blockProfile: async (_learnCard, profileId) => {
4770
4770
  if (!userData)