Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions arcjet-astro/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import { baseUrl, isDevelopment, logLevel, platform } from "@arcjet/env";
import { Logger } from "@arcjet/logger";
Expand Down Expand Up @@ -227,7 +227,7 @@ export function createArcjetClient<
const headers = new ArcjetHeaders(request.headers);

const url = new URL(request.url);
let ip = findIP(
let ip = findIp(
{
ip: clientAddress,
headers,
Expand Down
4 changes: 2 additions & 2 deletions arcjet-bun/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import type { Server } from "bun";
import { env } from "bun";
Expand Down Expand Up @@ -223,7 +223,7 @@ export default function arcjet<
const headers = new ArcjetHeaders(request.headers);

const url = new URL(request.url);
let ip = findIP(
let ip = findIp(
{
// This attempts to lookup the IP in the `ipCache`. This is primarily a
// workaround to the API design in Bun that requires access to the
Expand Down
4 changes: 2 additions & 2 deletions arcjet-deno/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import { baseUrl, isDevelopment, logLevel, platform } from "@arcjet/env";
import { Logger } from "@arcjet/logger";
Expand Down Expand Up @@ -225,7 +225,7 @@ export default function arcjet<
const headers = new ArcjetHeaders(request.headers);

const url = new URL(request.url);
let ip = findIP(
let ip = findIp(
{
// This attempts to lookup the IP in the `ipCache`. This is primarily a
// workaround to the API design in Deno that requires access to the
Expand Down
4 changes: 2 additions & 2 deletions arcjet-nest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import { baseUrl, isDevelopment, logLevel, platform } from "@arcjet/env";
import { Logger } from "@arcjet/logger";
Expand Down Expand Up @@ -242,7 +242,7 @@ function arcjet<
// We construct an ArcjetHeaders to normalize over Headers
const headers = new ArcjetHeaders(request.headers);

let ip = findIP(
let ip = findIp(
{
ip: request.ip,
socket: request.socket,
Expand Down
4 changes: 2 additions & 2 deletions arcjet-next/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import { baseUrl, isDevelopment, logLevel, platform } from "@arcjet/env";
import { Logger } from "@arcjet/logger";
Expand Down Expand Up @@ -436,7 +436,7 @@ export default function arcjet<
// We construct an ArcjetHeaders to normalize over Headers
const headers = new ArcjetHeaders(request.headers);

let ip = findIP(
let ip = findIp(
{
ip: request.ip,
socket: request.socket,
Expand Down
4 changes: 2 additions & 2 deletions arcjet-node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import type { Env } from "@arcjet/env";
import { baseUrl, isDevelopment, logLevel, platform } from "@arcjet/env";
Expand Down Expand Up @@ -265,7 +265,7 @@ export default function arcjet<
// We construct an ArcjetHeaders to normalize over Headers
const headers = new ArcjetHeaders(request.headers);

let ip = findIP(
let ip = findIp(
{
socket: request.socket,
headers,
Expand Down
4 changes: 2 additions & 2 deletions arcjet-remix/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import { baseUrl, isDevelopment, logLevel, platform } from "@arcjet/env";
import { Logger } from "@arcjet/logger";
Expand Down Expand Up @@ -202,7 +202,7 @@ export default function arcjet<
const headers = new ArcjetHeaders(request.headers);

const url = new URL(request.url);
let ip = findIP(
let ip = findIp(
{
// The `getLoadContext` API will attach the `ip` to the context
ip: context?.ip,
Expand Down
4 changes: 2 additions & 2 deletions arcjet-sveltekit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
Arcjet,
CharacteristicProps,
} from "arcjet";
import findIP, { parseProxy } from "@arcjet/ip";
import findIp, { parseProxy } from "@arcjet/ip";
import { ArcjetHeaders } from "@arcjet/headers";
import { baseUrl, isDevelopment, logLevel, platform } from "@arcjet/env";
import { Logger } from "@arcjet/logger";
Expand Down Expand Up @@ -218,7 +218,7 @@ export default function arcjet<
// We construct an ArcjetHeaders to normalize over Headers
const headers = new ArcjetHeaders(event.request.headers);

let ip = findIP(
let ip = findIp(
{
ip: event.getClientAddress(),
headers,
Expand Down
Loading