@learncard/network-plugin 2.5.9 → 2.5.11
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 +3 -2
- package/dist/lcn-plugin.cjs.development.js.map +2 -2
- package/dist/lcn-plugin.cjs.production.min.js +2 -2
- package/dist/lcn-plugin.cjs.production.min.js.map +3 -3
- package/dist/lcn-plugin.esm.js +3 -2
- package/dist/lcn-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts.map +1 -1
- package/dist/types.d.ts +4 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -18277,14 +18277,15 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
18277
18277
|
boostUri
|
|
18278
18278
|
});
|
|
18279
18279
|
},
|
|
18280
|
-
consentToContract: async (_learnCard, contractUri, { terms, expiresAt, oneTime }) => {
|
|
18280
|
+
consentToContract: async (_learnCard, contractUri, { terms, expiresAt, oneTime }, recipientToken) => {
|
|
18281
18281
|
if (!userData)
|
|
18282
18282
|
throw new Error("Please make an account first!");
|
|
18283
18283
|
return client.contracts.consentToContract.mutate({
|
|
18284
18284
|
contractUri,
|
|
18285
18285
|
terms,
|
|
18286
18286
|
expiresAt,
|
|
18287
|
-
oneTime
|
|
18287
|
+
oneTime,
|
|
18288
|
+
recipientToken
|
|
18288
18289
|
});
|
|
18289
18290
|
},
|
|
18290
18291
|
getConsentedContracts: async (_learnCard, options) => {
|