Skip to content

v0.6.1

Compare
Choose a tag to compare
@Mizzick Mizzick released this 03 Sep 09:18
· 665 commits to master since this release
  • Performance issues

However it was necessary to change public methods signatures in this release:

matchRequest


    /**
     * Matches the specified request against the filtering engine and returns the matching result.
     * In case frameRules parameter is not specified, frame rules will be selected matching request.sourceUrl.
     *
     * @param request - request to check
     * @param frameRules - source rules or undefined
     * @return matching result
     */
    matchRequest(request: Request, frameRule: NetworkRule | null = null): MatchingResult
matchFrame
    /**
     * Matches current frame and returns document-level allowlist rule if found.
     *
     * @param frameUrl
     */
    matchFrame(frameUrl: string): NetworkRule | null