@learncard/network-plugin 2.4.7 → 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.
@@ -10225,7 +10225,7 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
10225
10225
  throw new Error("Please make an account first!");
10226
10226
  return client.boost.deleteBoost.mutate({ uri });
10227
10227
  },
10228
- sendBoost: async (_learnCard, profileId, boostUri, options = { encrypt: true }) => {
10228
+ sendBoost: async (_learnCard, profileId, boostUri, options = { encrypt: true, skipNotification: false }) => {
10229
10229
  if (!userData)
10230
10230
  throw new Error("Please make an account first!");
10231
10231
  const result = await _learnCard.invoke.resolveFromLCN(boostUri);
@@ -10256,12 +10256,22 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
10256
10256
  return client.boost.sendBoost.mutate({
10257
10257
  profileId,
10258
10258
  uri: boostUri,
10259
- credential: vc
10259
+ credential: vc,
10260
+ options: {
10261
+ skipNotification: typeof options === "object" && options.skipNotification
10262
+ }
10260
10263
  });
10261
10264
  }
10262
10265
  const lcnDid = await client.utilities.getDid.query();
10263
10266
  const credential = await _learnCard.invoke.getDIDObject().createDagJWE(vc, [userData.did, targetProfile.did, lcnDid]);
10264
- return client.boost.sendBoost.mutate({ profileId, uri: boostUri, credential });
10267
+ return client.boost.sendBoost.mutate({
10268
+ profileId,
10269
+ uri: boostUri,
10270
+ credential,
10271
+ options: {
10272
+ skipNotification: typeof options === "object" && options.skipNotification
10273
+ }
10274
+ });
10265
10275
  },
10266
10276
  registerSigningAuthority: async (_learnCard, endpoint, name, _did) => {
10267
10277
  if (!userData)