@learncard/network-plugin 2.4.8 → 2.4.9

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.
@@ -9985,10 +9985,10 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
9985
9985
  const credential = await _learnCard.invoke.getDIDObject().createDagJWE(vc, [userData.did, target.did]);
9986
9986
  return client.credential.sendCredential.mutate({ profileId, credential });
9987
9987
  },
9988
- acceptCredential: async (_learnCard, uri) => {
9988
+ acceptCredential: async (_learnCard, uri, options) => {
9989
9989
  if (!userData)
9990
9990
  throw new Error("Please make an account first!");
9991
- return client.credential.acceptCredential.mutate({ uri });
9991
+ return client.credential.acceptCredential.mutate({ uri, options });
9992
9992
  },
9993
9993
  getReceivedCredentials: async (_learnCard, from) => {
9994
9994
  if (!userData)