@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.
@@ -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) => {