From 4bcf64c00119977aba030b04c5bb3f47744d5944 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 18:53:40 +0000 Subject: [PATCH] Version Packages --- .changeset/observational-interception.md | 7 ------- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 .changeset/observational-interception.md diff --git a/.changeset/observational-interception.md b/.changeset/observational-interception.md deleted file mode 100644 index 68e3964..0000000 --- a/.changeset/observational-interception.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@hsblabs/fetch-interceptor": minor ---- - -Preserve original fetch and XHR outcomes when request or response observation fails, normalize XHR no-body and status-0 responses safely, and make adapter installation transactional. - -Keep failed adapter restoration retriable without stacking interception, make fetch error classification safe for arbitrary rejection values, narrow `FetchInterceptorError` by transport, and remove the runtime-only options type from package exports. diff --git a/CHANGELOG.md b/CHANGELOG.md index abfc47c..e252ec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## 0.3.0 + +### Minor Changes + +- 06a1067: Preserve original fetch and XHR outcomes when request or response observation fails, normalize XHR no-body and status-0 responses safely, and make adapter installation transactional. + + Keep failed adapter restoration retriable without stacking interception, make fetch error classification safe for arbitrary rejection values, narrow `FetchInterceptorError` by transport, and remove the runtime-only options type from package exports. + ## 0.2.0 - Add `onError` support for failed `fetch` and `XMLHttpRequest` requests. diff --git a/package.json b/package.json index 53af58d..7a7ed58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hsblabs/fetch-interceptor", - "version": "0.2.0", + "version": "0.3.0", "description": "Lightweight TypeScript library for intercepting browser fetch and XMLHttpRequest traffic.", "type": "module", "types": "./dist/index.d.ts",