@learncard/network-plugin 2.4.6 → 2.4.8

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.
@@ -10200,7 +10200,7 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
10200
10200
  throw new Error("Please make an account first!");
10201
10201
  return client.boost.deleteBoost.mutate({ uri });
10202
10202
  },
10203
- sendBoost: async (_learnCard, profileId, boostUri, options = { encrypt: true }) => {
10203
+ sendBoost: async (_learnCard, profileId, boostUri, options = { encrypt: true, skipNotification: false }) => {
10204
10204
  if (!userData)
10205
10205
  throw new Error("Please make an account first!");
10206
10206
  const result = await _learnCard.invoke.resolveFromLCN(boostUri);
@@ -10231,12 +10231,22 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
10231
10231
  return client.boost.sendBoost.mutate({
10232
10232
  profileId,
10233
10233
  uri: boostUri,
10234
- credential: vc
10234
+ credential: vc,
10235
+ options: {
10236
+ skipNotification: typeof options === "object" && options.skipNotification
10237
+ }
10235
10238
  });
10236
10239
  }
10237
10240
  const lcnDid = await client.utilities.getDid.query();
10238
10241
  const credential = await _learnCard.invoke.getDIDObject().createDagJWE(vc, [userData.did, targetProfile.did, lcnDid]);
10239
- return client.boost.sendBoost.mutate({ profileId, uri: boostUri, credential });
10242
+ return client.boost.sendBoost.mutate({
10243
+ profileId,
10244
+ uri: boostUri,
10245
+ credential,
10246
+ options: {
10247
+ skipNotification: typeof options === "object" && options.skipNotification
10248
+ }
10249
+ });
10240
10250
  },
10241
10251
  registerSigningAuthority: async (_learnCard, endpoint, name, _did) => {
10242
10252
  if (!userData)