@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.
@@ -907,11 +907,11 @@ var En = (e6, t2) => {
907
907
  var Dn = (e6) => En(`14bcded7-0066-7c35-14d7-466cb3f09103`, e6);
908
908
  var On = { post: `post`, feed: `feed`, relatedPosts: `related-posts`, comments: `comments`, seo: `seo`, likes: `likes` };
909
909
  var kn = (e6, t2) => e6 && typeof e6[t2] == `function` ? e6 : null;
910
- function An(e6, t2, { feature: n2, action: r2, level: i2 = `error`, contexts: a2 }) {
911
- let o2 = kn(e6, `captureException`);
912
- if (!o2) return;
913
- let s2 = t2 instanceof Error ? t2 : Error(String(t2));
914
- o2.captureException(s2, { level: i2, tags: { feature: n2, action: r2 }, ...a2 ? { contexts: a2 } : {} });
910
+ function An(e6, t2, { feature: n2, action: r2, level: i2 = `error`, tags: a2, contexts: o2 }) {
911
+ let s2 = kn(e6, `captureException`);
912
+ if (!s2) return;
913
+ let c2 = t2 instanceof Error ? t2 : Error(String(t2));
914
+ s2.captureException(c2, { level: i2, tags: { feature: n2, action: r2, ...a2 }, ...o2 ? { contexts: o2 } : {} });
915
915
  }
916
916
  function jn(e6) {
917
917
  return Object.keys(e6).length === 1 && `$and` in e6 && Array.isArray(e6.$and);