-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support trusted proxy configuration on each adapter #2394
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
😎 Merged successfully - details. |
davidmytton
approved these changes
Dec 3, 2024
blaine-arcjet
force-pushed
the
phated/trusted-proxies-adapters
branch
from
December 3, 2024 17:17
d6722bd
to
6ea8a38
Compare
trunk-io bot
pushed a commit
that referenced
this pull request
Dec 3, 2024
Automatically generated with [Release Please](https://github.com/googleapis/release-please). --- <details><summary>@arcjet/analyze: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/analyze-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/analyze:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/body: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/body-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/body:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/bun: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/bun-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/ip bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/logger bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/transport bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/decorate: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/decorate-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/decorate:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/sprintf bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/deno: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/deno-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/ip bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/logger bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/transport bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/duration: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/duration-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/duration:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/env: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/env-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/env:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/eslint-config: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/eslint-config-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/eslint-config:** Synchronize arcjet-js versions </details> <details><summary>@arcjet/headers: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/headers-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/headers:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/ip: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/ip-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * **ip:** Allow trusted proxies to exclude when looking for global IP ([#2393](#2393)) ([58286b7](58286b7)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/logger: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/logger-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/logger:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/sprintf bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/nest: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/nest-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/ip bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/logger bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/transport bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/body bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/next: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/next-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/ip bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/logger bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/transport bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/node: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/node-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/ip bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/logger bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/transport bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/body bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/protocol: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/protocol-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/protocol:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/redact: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/redact-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/redact:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/redact-wasm bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/redact-wasm: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/redact-wasm-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/redact-wasm:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/remix: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/remix-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/ip bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/logger bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/transport bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/rollup-config: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/rollup-config-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/rollup-config:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/runtime: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/runtime-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/runtime:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/sprintf: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/sprintf-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/sprintf:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/sveltekit: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/sveltekit-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/ip bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/logger bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/transport bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * arcjet bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/transport: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/transport-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/transport:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@arcjet/tsconfig: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@arcjet/tsconfig-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@arcjet/tsconfig:** Synchronize arcjet-js versions </details> <details><summary>@nosecone/next: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@nosecone/next-v1.0.0-alpha.34) (2024-12-03) ### 🚀 New Features * **nosecone-next:** Keep `'self'` script-src in defaults ([#2378](#2378)) ([13348c8](13348c8)) ### Dependencies * The following workspace dependencies were updated * dependencies * nosecone bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>@nosecone/sveltekit: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.33...@nosecone/sveltekit-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **@nosecone/sveltekit:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * nosecone bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>arcjet: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](v1.0.0-alpha.33...arcjet-v1.0.0-alpha.34) (2024-12-03) ### 🧹 Miscellaneous Chores * **arcjet:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/analyze bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/duration bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/headers bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/protocol bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/runtime bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> <details><summary>1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](v1.0.0-alpha.33...v1.0.0-alpha.34) (2024-12-03) ### ⚠ BREAKING CHANGES * **nosecone:** Remove `upgradeInsecureRequests` default value ([#2401](#2401)) ### 🚀 New Features * **ip:** Allow trusted proxies to exclude when looking for global IP ([#2393](#2393)) ([58286b7](58286b7)) * **nosecone-next:** Keep `'self'` script-src in defaults ([#2378](#2378)) ([13348c8](13348c8)) * Support trusted proxy configuration on each adapter ([#2394](#2394)) ([f9587d8](f9587d8)), closes [#2346](#2346) ### 🪲 Bug Fixes * **nosecone:** Remove `upgradeInsecureRequests` default value ([#2401](#2401)) ([093dc53](093dc53)) ### 📝 Documentation * Add nosecone section to root README ([#2404](#2404)) ([4674fa4](4674fa4)) ### 🧹 Miscellaneous Chores * **nosecone:** Add JSDoc comments to NoseconeOptions ([#2380](#2380)) ([53ec4eb](53ec4eb)) </details> <details><summary>nosecone: 1.0.0-alpha.34</summary> ## [1.0.0-alpha.34](v1.0.0-alpha.33...nosecone-v1.0.0-alpha.34) (2024-12-03) ### ⚠ BREAKING CHANGES * **nosecone:** Remove `upgradeInsecureRequests` default value ([#2401](#2401)) ### 🪲 Bug Fixes * **nosecone:** Remove `upgradeInsecureRequests` default value ([#2401](#2401)) ([093dc53](093dc53)) ### 🧹 Miscellaneous Chores * **nosecone:** Add JSDoc comments to NoseconeOptions ([#2380](#2380)) ([53ec4eb](53ec4eb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/rollup-config bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 * @arcjet/tsconfig bumped from 1.0.0-alpha.33 to 1.0.0-alpha.34 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This builds upon #2393 and allows trusted proxies to be configured when setting up the Arcjet SDK.
This is only done in each adapter because the core
arcjet
package doesn't do IP lookups. Instead, each adapter uses@arcjet/ip
to detect the IP address for that specific framework.This required me to change the way we import the core options and then we need to export a new
ArcjetOptions
type which will override any other export, such as theexport * from "arcjet"
, from the core package.By configuring trusted proxies on the SDK, the proxy IP addresses will be excluded from any detected IP.
Closes #2346