From dc1db8b99bec4f0efe59c4cf2c7fa81772ccc098 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:24:12 +0000 Subject: [PATCH] chore: release @monetizationos/proxy --- .changeset/forward-client-ip.md | 5 ----- CHANGELOG.md | 6 ++++++ package.json | 2 +- src/apiRequestHeaders.ts | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 .changeset/forward-client-ip.md diff --git a/.changeset/forward-client-ip.md b/.changeset/forward-client-ip.md deleted file mode 100644 index 904803d9..00000000 --- a/.changeset/forward-client-ip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@monetizationos/proxy': patch ---- - -Add `MOSProxyBuilder.withClientIP((request) => ...)` so each CDN runtime supplies the end-user IP for MOS API requests as `http.clientIP`. Applies to surface-decisions and authenticated `/mos-api/*` routes. diff --git a/CHANGELOG.md b/CHANGELOG.md index bd4ccc22..c808e8b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @monetizationos/proxy +## 1.5.2 + +### Patch Changes + +- [#30](https://github.com/MonetizationOS/mos-proxy/pull/30) [`9a48c30`](https://github.com/MonetizationOS/mos-proxy/commit/9a48c302d3f6a0a6f70f7b0023666cd8e5166597) Thanks [@filipe-boleto](https://github.com/filipe-boleto)! - Add `MOSProxyBuilder.withClientIP((request) => ...)` so each CDN runtime supplies the end-user IP for MOS API requests as `http.clientIP`. Applies to surface-decisions and authenticated `/mos-api/*` routes. + ## 1.5.1 ### Patch Changes diff --git a/package.json b/package.json index 7d13017a..8c2bad0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@monetizationos/proxy", - "version": "1.5.1", + "version": "1.5.2", "description": "Platform-agnostic MonetizationOS proxy core", "license": "MIT", "type": "module", diff --git a/src/apiRequestHeaders.ts b/src/apiRequestHeaders.ts index eeba92b5..07a54301 100644 --- a/src/apiRequestHeaders.ts +++ b/src/apiRequestHeaders.ts @@ -2,7 +2,7 @@ import { formatClientRuntimeHeader } from './clientRuntime' export const MOS_PROXY_VERSION_HEADER = 'X-MOS-Proxy-Version' export const MOS_PROXY_CLIENT_HEADER = 'X-MOS-Proxy-Client' -export const MOS_PROXY_PACKAGE_VERSION = '1.5.1' +export const MOS_PROXY_PACKAGE_VERSION = '1.5.2' export const setMosProxyHeaders = (headers: Headers): void => { headers.set(MOS_PROXY_VERSION_HEADER, MOS_PROXY_PACKAGE_VERSION)