Skip to content

Commit b1c4e28

Browse files
authored
Merge pull request #1471 from maxmind/greg/deprecate-subscores
Deprecate Factors subscores
2 parents 45fcd87 + d9dd3e6 commit b1c4e28

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
CHANGELOG
22
=========
33

4+
7.1.0
5+
-----------------
6+
7+
* The minFraud Factors subscores have been deprecated. They will be removed
8+
in March 2025. Please see [our release notes](https://dev.maxmind.com/minfraud/release-notes/2024/#deprecation-of-risk-factor-scoressubscores)
9+
for more information.
10+
411
7.1.0-beta.1 (2024-09-06)
512
-------------------------
613

src/response/models/factors.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export default class Factors extends Insights {
1313
/**
1414
* An object containing GeoIP2 and minFraud Insights information about the IP
1515
* address.
16+
*
17+
* @deprecated replaced by {@link riskScoreReasons}.
1618
*/
1719
public readonly subscores: records.Subscores;
1820

src/response/records.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ export interface RiskScoreReason {
464464
/**
465465
* This object contains scores for many of the individual risk factors that
466466
* are used to calculate the overall risk score.
467+
*
468+
* @deprecated replaced by {@link RiskScoreReason}.
467469
*/
468470
export interface Subscores {
469471
/**

0 commit comments

Comments
 (0)