@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.
- package/dist/lcn-plugin.cjs.development.js +2 -2
- package/dist/lcn-plugin.cjs.development.js.map +2 -2
- package/dist/lcn-plugin.cjs.production.min.js +1 -1
- package/dist/lcn-plugin.cjs.production.min.js.map +2 -2
- package/dist/lcn-plugin.esm.js +2 -2
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -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)
|