@mearl/browser-core 3.0.0 → 3.0.1

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.
@@ -115,7 +115,7 @@ export declare function shouldWaitForPotentialNavigation(action: string, observa
115
115
  mutationCount?: number;
116
116
  effects?: Partial<PageEffects>;
117
117
  }): boolean;
118
- export declare function isPotentialNavigationRequest(resourceType: string, url?: string): boolean;
118
+ export declare function isPotentialNavigationRequest(resourceType: string, _url?: string): boolean;
119
119
  export declare function resolveNavigationWaitOptions(options?: PageObservationWaitOptions): {
120
120
  graceMs: number;
121
121
  timeoutMs: number;
@@ -24,7 +24,7 @@ export function shouldWaitForPotentialNavigation(action, observation) {
24
24
  observation.effects?.focus !== undefined;
25
25
  return !hasEffect && (observation.mutationCount ?? 0) <= 1;
26
26
  }
27
- export function isPotentialNavigationRequest(resourceType, url = '') {
27
+ export function isPotentialNavigationRequest(resourceType, _url = '') {
28
28
  const normalizedType = resourceType.toLowerCase();
29
29
  if (normalizedType === 'xhr' || normalizedType === 'fetch')
30
30
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mearl/browser-core",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Shared pure-logic utilities for Mearl — usable in both browser extension and Node.js environments",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",