@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.
@@ -4785,10 +4785,10 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
4785
4785
  throw new Error("Please make an account first!");
4786
4786
  return client.profile.connectionRequests.query();
4787
4787
  },
4788
- generateInvite: async (_learnCard, challenge) => {
4788
+ generateInvite: async (_learnCard, challenge, expiration) => {
4789
4789
  if (!userData)
4790
4790
  throw new Error("Please make an account first!");
4791
- return client.profile.generateInvite.mutate({ challenge });
4791
+ return client.profile.generateInvite.mutate({ challenge, expiration });
4792
4792
  },
4793
4793
  blockProfile: async (_learnCard, profileId) => {
4794
4794
  if (!userData)