@wix/blog 1.0.709 → 1.0.710

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.
@@ -947,11 +947,11 @@ var En = (e6, t2) => {
947
947
  var Dn = (e6) => En(`14bcded7-0066-7c35-14d7-466cb3f09103`, e6);
948
948
  var On = { post: `post`, feed: `feed`, relatedPosts: `related-posts`, comments: `comments`, seo: `seo`, likes: `likes` };
949
949
  var kn = (e6, t2) => e6 && typeof e6[t2] == `function` ? e6 : null;
950
- function An(e6, t2, { feature: n2, action: r2, level: i2 = `error`, contexts: a2 }) {
951
- let o2 = kn(e6, `captureException`);
952
- if (!o2) return;
953
- let s2 = t2 instanceof Error ? t2 : Error(String(t2));
954
- o2.captureException(s2, { level: i2, tags: { feature: n2, action: r2 }, ...a2 ? { contexts: a2 } : {} });
950
+ function An(e6, t2, { feature: n2, action: r2, level: i2 = `error`, tags: a2, contexts: o2 }) {
951
+ let s2 = kn(e6, `captureException`);
952
+ if (!s2) return;
953
+ let c2 = t2 instanceof Error ? t2 : Error(String(t2));
954
+ s2.captureException(c2, { level: i2, tags: { feature: n2, action: r2, ...a2 }, ...o2 ? { contexts: o2 } : {} });
955
955
  }
956
956
  function jn(e6) {
957
957
  return Object.keys(e6).length === 1 && `$and` in e6 && Array.isArray(e6.$and);