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.mjs CHANGED
@@ -2263,7 +2263,11 @@ function GlitchgrabProviderInner({
2263
2263
  if (typeof window === "undefined") return;
2264
2264
  if (process.env.NODE_ENV === "development") return;
2265
2265
  const EXTENSION_ORIGIN_RE = /\b(?:chrome|safari|moz)-extension:\/\//;
2266
+ const KNOWN_NOISE_RE = [
2267
+ /Object Not Found Matching Id:\d+, MethodName:update, ParamCount:\d+/
2268
+ ];
2266
2269
  const matchesIgnore = (message) => {
2270
+ if (KNOWN_NOISE_RE.some((pattern) => pattern.test(message))) return true;
2267
2271
  if (!ignoreErrors || ignoreErrors.length === 0) return false;
2268
2272
  return ignoreErrors.some(
2269
2273
  (pattern) => pattern instanceof RegExp ? pattern.test(message) : message.includes(pattern)