glitchgrab 1.25.0 → 1.26.0

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/index.js CHANGED
@@ -2306,7 +2306,11 @@ function GlitchgrabProviderInner({
2306
2306
  if (typeof window === "undefined") return;
2307
2307
  if (process.env.NODE_ENV === "development") return;
2308
2308
  const EXTENSION_ORIGIN_RE = /\b(?:chrome|safari|moz)-extension:\/\//;
2309
+ const KNOWN_NOISE_RE = [
2310
+ /Object Not Found Matching Id:\d+, MethodName:update, ParamCount:\d+/
2311
+ ];
2309
2312
  const matchesIgnore = (message) => {
2313
+ if (KNOWN_NOISE_RE.some((pattern) => pattern.test(message))) return true;
2310
2314
  if (!ignoreErrors || ignoreErrors.length === 0) return false;
2311
2315
  return ignoreErrors.some(
2312
2316
  (pattern) => pattern instanceof RegExp ? pattern.test(message) : message.includes(pattern)