@learncard/network-plugin 2.5.10 → 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 +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -18252,14 +18252,15 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
18252
18252
|
boostUri
|
|
18253
18253
|
});
|
|
18254
18254
|
},
|
|
18255
|
-
consentToContract: async (_learnCard, contractUri, { terms, expiresAt, oneTime }) => {
|
|
18255
|
+
consentToContract: async (_learnCard, contractUri, { terms, expiresAt, oneTime }, recipientToken) => {
|
|
18256
18256
|
if (!userData)
|
|
18257
18257
|
throw new Error("Please make an account first!");
|
|
18258
18258
|
return client.contracts.consentToContract.mutate({
|
|
18259
18259
|
contractUri,
|
|
18260
18260
|
terms,
|
|
18261
18261
|
expiresAt,
|
|
18262
|
-
oneTime
|
|
18262
|
+
oneTime,
|
|
18263
|
+
recipientToken
|
|
18263
18264
|
});
|
|
18264
18265
|
},
|
|
18265
18266
|
getConsentedContracts: async (_learnCard, options) => {
|