@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.
- 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/types.d.ts +3 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -9960,10 +9960,10 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
|
|
|
9960
9960
|
const credential = await _learnCard.invoke.getDIDObject().createDagJWE(vc, [userData.did, target.did]);
|
|
9961
9961
|
return client.credential.sendCredential.mutate({ profileId, credential });
|
|
9962
9962
|
},
|
|
9963
|
-
acceptCredential: async (_learnCard, uri) => {
|
|
9963
|
+
acceptCredential: async (_learnCard, uri, options) => {
|
|
9964
9964
|
if (!userData)
|
|
9965
9965
|
throw new Error("Please make an account first!");
|
|
9966
|
-
return client.credential.acceptCredential.mutate({ uri });
|
|
9966
|
+
return client.credential.acceptCredential.mutate({ uri, options });
|
|
9967
9967
|
},
|
|
9968
9968
|
getReceivedCredentials: async (_learnCard, from) => {
|
|
9969
9969
|
if (!userData)
|