From 328d0483d387de4955eb2d1ef81dc8ebe3f547cd Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 29 May 2026 20:38:58 +0000 Subject: [PATCH 1/2] Use 'GeoIP'/'GeoLite' branding in documentation and prose MaxMind no longer ships the legacy products, so refer to the products as 'GeoIP' and 'GeoLite' rather than 'GeoIP2'/'GeoLite2' in prose. Technical identifiers (packages, class names, filenames, edition IDs, hostnames, URLs) are unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/response/records.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/response/records.ts b/src/response/records.ts index 93be29b9..7952e428 100644 --- a/src/response/records.ts +++ b/src/response/records.ts @@ -24,7 +24,7 @@ export interface ScoreIpAddress { } /** - * A subclass of the GeoIP2 Country model with minFraud-specific additions. + * A subclass of the GeoIP Country model with minFraud-specific additions. */ export interface GeoIPCountry extends CountryRecord { /** @@ -37,7 +37,7 @@ export interface GeoIPCountry extends CountryRecord { } /** - * A subclass of the GeoIP2 Location model with minFraud-specific additions. + * A subclass of the GeoIP Location model with minFraud-specific additions. */ export interface GeoIPLocation extends LocationRecord { /** @@ -64,7 +64,7 @@ export interface IpRiskReasons { } /** - * Model for minFraud GeoIP2 Insights data. + * Model for minFraud GeoIP Insights data. */ export interface IpAddress extends Insights { /** From 6b8893ec8759e318317408eef04371eb9ee1c43d Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 29 May 2026 20:45:28 +0000 Subject: [PATCH 2/2] Update remaining GeoIP2 product prose to GeoIP Co-Authored-By: Claude Opus 4.8 (1M context) --- CLAUDE.md | 4 ++-- src/response/models/factors.ts | 2 +- src/response/models/insights.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index b956afa0..9c552d50 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -124,7 +124,7 @@ await client.reportTransaction(report); **Exception:** Use plain `string` only when the API documentation explicitly states "additional values may be added in the future" AND you want to allow any string value (e.g., `phone.numberType`). -#### 6. **GeoIP2 Integration** +#### 6. **GeoIP Integration** The Insights and Factors responses include IP geolocation data from the @maxmind/geoip2-node library: ```typescript @@ -331,7 +331,7 @@ try { } ``` -### Problem: GeoIP2 Type Conflicts +### Problem: GeoIP Type Conflicts The IP address data comes from @maxmind/geoip2-node and needs augmentation. diff --git a/src/response/models/factors.ts b/src/response/models/factors.ts index e68e96f7..7192a134 100644 --- a/src/response/models/factors.ts +++ b/src/response/models/factors.ts @@ -11,7 +11,7 @@ export default class Factors extends Insights { public readonly riskScoreReasons?: records.RiskScoreReason[]; /** - * An object containing GeoIP2 and minFraud Insights information about the IP + * An object containing GeoIP and minFraud Insights information about the IP * address. * * @deprecated replaced by {@link riskScoreReasons}. diff --git a/src/response/models/insights.ts b/src/response/models/insights.ts index e4a08a97..334245ce 100644 --- a/src/response/models/insights.ts +++ b/src/response/models/insights.ts @@ -31,7 +31,7 @@ export default class Insights extends Score { */ public readonly email?: records.Email; /** - * An object containing GeoIP2 and minFraud Insights information about the IP address. + * An object containing GeoIP and minFraud Insights information about the IP address. */ public readonly ipAddress?: records.IpAddress; /**