diff --git a/.changeset/eighty-trees-spend.md b/.changeset/eighty-trees-spend.md deleted file mode 100644 index 1953d2f..0000000 --- a/.changeset/eighty-trees-spend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': patch ---- - -**related-visitors**: Add mention that the API is billable \ No newline at end of file diff --git a/.changeset/fuzzy-apes-talk.md b/.changeset/fuzzy-apes-talk.md deleted file mode 100644 index 61e7bbc..0000000 --- a/.changeset/fuzzy-apes-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': minor ---- - -Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. diff --git a/.changeset/great-ligers-smile.md b/.changeset/great-ligers-smile.md deleted file mode 100644 index 57644d8..0000000 --- a/.changeset/great-ligers-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': major ---- - -Rename `EventUpdateRequest` type to `EventsUpdateRequest` diff --git a/.changeset/khaki-results-help.md b/.changeset/khaki-results-help.md deleted file mode 100644 index d904d36..0000000 --- a/.changeset/khaki-results-help.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': minor ---- - -- Make the `GeolocationCity` field `name` **required**. -- Make the `GeolocationSubdivision` field `isoCode` **required**. -- Make the `GeolocationSubdivision` field `name` **required**. -- Make the `IPInfoASN` field `name` **required** . -- Make the `IPInfoDataCenter` field `name` **required**. -- Add **optional** `IdentificationConfidence` field `comment`. -- **events**: Add **optional** `Botd` field `meta`. -- **events**: Add **optional** `Identification` field `components`. -- **events**: Make the `VPN` field `originCountry` **required**. -- **visitors**: Add **optional** `Visit` field `components`. -- **webhook**: Add **optional** `Webhook` field `components`. diff --git a/.changeset/large-lights-push.md b/.changeset/large-lights-push.md deleted file mode 100644 index ae84c5f..0000000 --- a/.changeset/large-lights-push.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': major ---- - -- Remove the `BrowserDetails` field `botProbability`. -- Update the `IdentificationConfidence` field `score` type format: `float` -> `double`. -- Make the `RawDeviceAttributeError` field `name` **optional** . -- Make the `RawDeviceAttributeError` field `message` **optional** . -- **events**: Remove the `EventsResponse` field `error`. - - [note]: The errors are represented by `ErrorResponse` model. -- **events**: Update the `HighActivity` field `dailyRequests` type format: `number` -> `int64`. -- **events**: Specify the `Tampering` field `anomalyScore` type format: `double`. -- **webhook**: Make the `Webhook` fields **optional**: `visitorId`, `visitorFound`, `firstSeenAt`, `lastSeenAt`, `browserDetails`, `incognito`. -- **webhook**: Make the `WebhookClonedApp` field `result` **optional**. -- **webhook**: Make the `WebhookDeveloperTools` field `result` **optional**. -- **webhook**: Make the `WebhookEmulator` field `result` **optional**. -- **webhook**: Make the `WebhookFactoryReset` fields `time` and `timestamp` **optional**. -- **webhook**: Make the `WebhookFrida` field `result` **optional**. -- **webhook**: Update the `WebhookHighActivity` field `dailyRequests` type format: `number` -> `int64`. -- **webhook**: Make the `WebhookIPBlocklist` fields `result` and `details` **optional**. -- **webhook**: Make the `WebhookJailbroken` field `result` **optional**. -- **webhook**: Make the `WebhookLocationSpoofing` field `result` **optional**. -- **webhook**: Make the `WebhookPrivacySettings` field `result` **optional**. -- **webhook**: Make the `WebhookProxy` field `result` **optional**. -- **webhook**: Make the `WebhookRemoteControl` field `result` **optional**. -- **webhook**: Make the `WebhookRootApps` field `result` **optional**. -- **webhook**: Make the `WebhookSuspectScore` field `result` **optional**. -- **webhook**: Make the `WebhookTampering` fields `result`, `anomalyScore` and `antiDetectBrowser` **optional**. -- **webhook**: Specify the `WebhookTampering` field `anomalyScore` type format: `double`. -- **webhook**: Make the `WebhookTor` field `result` **optional**. -- **webhook**: Make the `WebhookVelocity` fields **optional**: `distinctIp`, `distinctLinkedId`, `distinctCountry`, `events`, `ipEvents`, `distinctIpByLinkedId`, `distinctVisitorIdByLinkedId`. -- **webhook**: Make the `WebhookVirtualMachine` field `result` **optional**. -- **webhook**: Make the `WebhookVPN` fields **optional**: `result`, `confidence`, `originTimezone`, `methods`. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index be492c1..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "mode": "exit", - "tag": "test", - "initialVersions": { - "@fingerprintjs/fingerprintjs-pro-server-api": "5.2.0", - "fingerprintjs-pro-server-api-node-sdk-example": "1.0.0" - }, - "changesets": [ - "eighty-trees-spend", - "fuzzy-apes-talk", - "great-ligers-smile", - "khaki-results-help", - "large-lights-push", - "quiet-parrots-stick", - "real-elephants-appear", - "shy-worms-wish", - "sweet-pumas-divide", - "wet-games-sneeze" - ] -} diff --git a/.changeset/quiet-parrots-stick.md b/.changeset/quiet-parrots-stick.md deleted file mode 100644 index 302ca58..0000000 --- a/.changeset/quiet-parrots-stick.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': major ---- - -- Rename `BotdResult` -> `Botd`. -- Rename `BotdDetectionResult` -> `BotdBot`: - - Extract `result` type as `BotdBotResult`. -- Rename `ClonedAppResult` -> `ClonedApp`. -- Rename `DeveloperToolsResult` -> `DeveloperTools`. -- Rename `EmulatorResult` -> `Emulator`. -- Refactor error models: - - Remove `ErrorCommon403Response`, `ErrorCommon429Response`, `ErrorEvent404Response`, `TooManyRequestsResponse`, `ErrorVisits403`, `ErrorUpdateEvent400Response`, `ErrorUpdateEvent409Response`, `ErrorVisitor400Response`, `ErrorVisitor404Response`, `IdentificationError`, `ProductError`. - - Introduce `ErrorResponse` and `ErrorPlainResponse`. - - [note]: `ErrorPlainResponse` has a different format `{ "error": string }` and it is used only in `GET /visitors`. - - Extract `error` type as `Error`. - - Extract `error.code` type as `ErrorCode`. -- Rename `EventResponse` -> `EventsGetResponse`. -- Rename `EventUpdateRequest` -> `EventsUpdateRequest`. -- Rename `FactoryResetResult` -> `FactoryReset`. -- Rename `FridaResult` -> `Frida`. -- Rename `IPLocation` -> `Geolocation`: - - Rename `IPLocationCity` -> `GeolocationCity`. - - Extract `subdivisions` type as `GeolocationSubdivisions`. - - Rename `Location` -> `GeolocationContinent`: - - Introduce a dedicated type `GeolocationCountry`. - - Rename `Subdivision` -> `GeolocationSubdivision`. -- Rename `HighActivityResult` -> `HighActivity`. -- Rename `Confidence` -> `IdentificationConfidence`. -- Rename `SeenAt` -> `IdentificationSeenAt`. -- Rename `IncognitoResult` -> `Incognito`. -- Rename `IpBlockListResult` -> `IPBlocklist`: - - Extract `details` type as `IPBlocklistDetails`. -- Rename `IpInfoResult` -> `IPInfo`: - - Rename `IpInfoResultV4` -> `IPInfoV4`. - - Rename `IpInfoResultV6` -> `IPInfoV6`. - - Rename `ASN` -> `IPInfoASN`. - - Rename `DataCenter` -> `IPInfoDataCenter`. -- Rename `JailbrokenResult` -> `Jailbroken`. -- Rename `LocationSpoofingResult` -> `LocationSpoofing`. -- Rename `PrivacySettingsResult` -> `PrivacySettings`. -- Rename `ProductsResponse` -> `Products`: - - Rename inner types: `ProductsResponseIdentification` -> `ProductIdentification`, `ProductsResponseIdentificationData` -> `Identification`, `ProductsResponseBotd` -> `ProductBotd`, `SignalResponseRootApps` -> `ProductRootApps`, `SignalResponseEmulator` -> `ProductEmulator`, `SignalResponseIpInfo` -> `ProductIPInfo`, `SignalResponseIpBlocklist` -> `ProductIPBlocklist`, `SignalResponseTor` -> `ProductTor`, `SignalResponseVpn` -> `ProductVPN`, `SignalResponseProxy` -> `ProductProxy`, `ProxyResult` -> `Proxy`, `SignalResponseIncognito` -> `ProductIncognito`, `SignalResponseTampering` -> `ProductTampering`, `SignalResponseClonedApp` -> `ProductClonedApp`, `SignalResponseFactoryReset` -> `ProductFactoryReset`, `SignalResponseJailbroken` -> `ProductJailbroken`, `SignalResponseFrida` -> `ProductFrida`, `SignalResponsePrivacySettings` -> `ProductPrivacySettings`, `SignalResponseVirtualMachine` -> `ProductVirtualMachine`, `SignalResponseRawDeviceAttributes` -> `ProductRawDeviceAttributes`, `RawDeviceAttributesResultValue` -> `RawDeviceAttributes`, `SignalResponseHighActivity` -> `ProductHighActivity`, `SignalResponseLocationSpoofing` -> `ProductLocationSpoofing`, `SignalResponseSuspectScore` -> `ProductSuspectScore`, `SignalResponseRemoteControl` -> `ProductRemoteControl`, `SignalResponseVelocity` -> `ProductVelocity`, `SignalResponseDeveloperTools` -> `ProductDeveloperTools`. - - Extract `identification.data` type as `Identification`. -- Rename `RawDeviceAttributesResult` -> `RawDeviceAttributes`: - - Extract item type as `RawDeviceAttribute`. - - Extract `error` type as `RawDeviceAttributeError`. -- Rename `RemoteControlResult` -> `RemoteControl`. -- Rename `RootAppsResult` -> `RootApps`. -- Rename `SuspectScoreResult` -> `SuspectScore`. -- Extract new model `Tag`. -- Rename `TamperingResult` -> `Tampering`. -- Rename `TorResult` -> `Tor`. -- Rename `VelocityResult` -> `Velocity`: - - Rename `VelocityIntervals` -> `VelocityData`. - - Rename `VelocityIntervalResult` -> `VelocityIntervals`. -- Rename `VirtualMachineResult` -> `VirtualMachine`. -- Rename the `Visit` field `ipLocation` type `DeprecatedIPLocation` -> `DeprecatedGeolocation`. - - Instead of `DeprecatedIPLocationCity` use common `GeolocationCity` -- Rename `Response` -> `VisitorsGetResponse`. - - Omit extra inner type `ResponseVisits` -- Rename `VpnResult` -> `VPN`. - - Extract `confidence` type as `VPNConfidence`. - - Extract `methods` type as `VPNMethods`. -- Rename `WebhookVisit` -> `Webhook`. - - Introduce new inner types: `WebhookRootApps`, `WebhookEmulator`, `WebhookIPInfo`, `WebhookIPBlocklist`, `WebhookTor`, `WebhookVPN`, `WebhookProxy`, `WebhookTampering`, `WebhookClonedApp`, `WebhookFactoryReset`, `WebhookJailbroken`, `WebhookFrida`, `WebhookPrivacySettings`, `WebhookVirtualMachine`, `WebhookRawDeviceAttributes`, `WebhookHighActivity`, `WebhookLocationSpoofing`, `WebhookSuspectScore`, `WebhookRemoteControl`, `WebhookVelocity`, `WebhookDeveloperTools`. \ No newline at end of file diff --git a/.changeset/real-elephants-appear.md b/.changeset/real-elephants-appear.md deleted file mode 100644 index e3e6230..0000000 --- a/.changeset/real-elephants-appear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': major ---- - -Remove utility functions for checking error type, such as `isEventError`, `isUpdateEventError`, etc. diff --git a/.changeset/shy-worms-wish.md b/.changeset/shy-worms-wish.md deleted file mode 100644 index 3b1ffac..0000000 --- a/.changeset/shy-worms-wish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': minor ---- - -Remove `ipv4` format from `ip` field in `Botd`, `Identification`, `Visit` and `Webhook` models. \ No newline at end of file diff --git a/.changeset/sweet-pumas-divide.md b/.changeset/sweet-pumas-divide.md deleted file mode 100644 index e9d5a72..0000000 --- a/.changeset/sweet-pumas-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': major ---- - -Reduce thrown errors to `TooManyRequestsError` and `RequestError` diff --git a/.changeset/wet-games-sneeze.md b/.changeset/wet-games-sneeze.md deleted file mode 100644 index ab7e121..0000000 --- a/.changeset/wet-games-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@fingerprintjs/fingerprintjs-pro-server-api': major ---- - -Rename `VisitWebhook` type to `Webhook` diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f1f0e9..e9aaaea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,126 @@ # Fingerprint Server API Node.js SDK +## 6.0.0 + +### Major Changes + +The underlying Server API hasn’t changed, but we made SDK type and class generation more precise, resulting in small breaking changes for the SDK itself. This change should make the SDK API a lot more stable going forward + +- Rename `EventUpdateRequest` type to `EventsUpdateRequest` ([54b92b2](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/54b92b2afa0efeacb2e510f98df74e133ef58aac)) +- - Remove the `BrowserDetails` field `botProbability`. + - Update the `IdentificationConfidence` field `score` type format: `float` -> `double`. + - Make the `RawDeviceAttributeError` field `name` **optional** . + - Make the `RawDeviceAttributeError` field `message` **optional** . + - **events**: Remove the `EventsResponse` field `error`. + - [note]: The errors are represented by `ErrorResponse` model. + - **events**: Update the `HighActivity` field `dailyRequests` type format: `number` -> `int64`. + - **events**: Specify the `Tampering` field `anomalyScore` type format: `double`. + - **webhook**: Make the `Webhook` fields **optional**: `visitorId`, `visitorFound`, `firstSeenAt`, `lastSeenAt`, `browserDetails`, `incognito`. + - **webhook**: Make the `WebhookClonedApp` field `result` **optional**. + - **webhook**: Make the `WebhookDeveloperTools` field `result` **optional**. + - **webhook**: Make the `WebhookEmulator` field `result` **optional**. + - **webhook**: Make the `WebhookFactoryReset` fields `time` and `timestamp` **optional**. + - **webhook**: Make the `WebhookFrida` field `result` **optional**. + - **webhook**: Update the `WebhookHighActivity` field `dailyRequests` type format: `number` -> `int64`. + - **webhook**: Make the `WebhookIPBlocklist` fields `result` and `details` **optional**. + - **webhook**: Make the `WebhookJailbroken` field `result` **optional**. + - **webhook**: Make the `WebhookLocationSpoofing` field `result` **optional**. + - **webhook**: Make the `WebhookPrivacySettings` field `result` **optional**. + - **webhook**: Make the `WebhookProxy` field `result` **optional**. + - **webhook**: Make the `WebhookRemoteControl` field `result` **optional**. + - **webhook**: Make the `WebhookRootApps` field `result` **optional**. + - **webhook**: Make the `WebhookSuspectScore` field `result` **optional**. + - **webhook**: Make the `WebhookTampering` fields `result`, `anomalyScore` and `antiDetectBrowser` **optional**. + - **webhook**: Specify the `WebhookTampering` field `anomalyScore` type format: `double`. + - **webhook**: Make the `WebhookTor` field `result` **optional**. + - **webhook**: Make the `WebhookVelocity` fields **optional**: `distinctIp`, `distinctLinkedId`, `distinctCountry`, `events`, `ipEvents`, `distinctIpByLinkedId`, `distinctVisitorIdByLinkedId`. + - **webhook**: Make the `WebhookVirtualMachine` field `result` **optional**. + - **webhook**: Make the `WebhookVPN` fields **optional**: `result`, `confidence`, `originTimezone`, `methods`. ([68b89bf](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/68b89bfa8c0d269db3d613cacb59b9d41614a99f)) +- - Rename `BotdResult` -> `Botd`. + - Rename `BotdDetectionResult` -> `BotdBot`: + - Extract `result` type as `BotdBotResult`. + - Rename `ClonedAppResult` -> `ClonedApp`. + - Rename `DeveloperToolsResult` -> `DeveloperTools`. + - Rename `EmulatorResult` -> `Emulator`. + - Refactor error models: + - Remove `ErrorCommon403Response`, `ErrorCommon429Response`, `ErrorEvent404Response`, `TooManyRequestsResponse`, `ErrorVisits403`, `ErrorUpdateEvent400Response`, `ErrorUpdateEvent409Response`, `ErrorVisitor400Response`, `ErrorVisitor404Response`, `IdentificationError`, `ProductError`. + - Introduce `ErrorResponse` and `ErrorPlainResponse`. + - [note]: `ErrorPlainResponse` has a different format `{ "error": string }` and it is used only in `GET /visitors`. + - Extract `error` type as `Error`. + - Extract `error.code` type as `ErrorCode`. + - Rename `EventResponse` -> `EventsGetResponse`. + - Rename `EventUpdateRequest` -> `EventsUpdateRequest`. + - Rename `FactoryResetResult` -> `FactoryReset`. + - Rename `FridaResult` -> `Frida`. + - Rename `IPLocation` -> `Geolocation`: + - Rename `IPLocationCity` -> `GeolocationCity`. + - Extract `subdivisions` type as `GeolocationSubdivisions`. + - Rename `Location` -> `GeolocationContinent`: + - Introduce a dedicated type `GeolocationCountry`. + - Rename `Subdivision` -> `GeolocationSubdivision`. + - Rename `HighActivityResult` -> `HighActivity`. + - Rename `Confidence` -> `IdentificationConfidence`. + - Rename `SeenAt` -> `IdentificationSeenAt`. + - Rename `IncognitoResult` -> `Incognito`. + - Rename `IpBlockListResult` -> `IPBlocklist`: + - Extract `details` type as `IPBlocklistDetails`. + - Rename `IpInfoResult` -> `IPInfo`: + - Rename `IpInfoResultV4` -> `IPInfoV4`. + - Rename `IpInfoResultV6` -> `IPInfoV6`. + - Rename `ASN` -> `IPInfoASN`. + - Rename `DataCenter` -> `IPInfoDataCenter`. + - Rename `JailbrokenResult` -> `Jailbroken`. + - Rename `LocationSpoofingResult` -> `LocationSpoofing`. + - Rename `PrivacySettingsResult` -> `PrivacySettings`. + - Rename `ProductsResponse` -> `Products`: + - Rename inner types: `ProductsResponseIdentification` -> `ProductIdentification`, `ProductsResponseIdentificationData` -> `Identification`, `ProductsResponseBotd` -> `ProductBotd`, `SignalResponseRootApps` -> `ProductRootApps`, `SignalResponseEmulator` -> `ProductEmulator`, `SignalResponseIpInfo` -> `ProductIPInfo`, `SignalResponseIpBlocklist` -> `ProductIPBlocklist`, `SignalResponseTor` -> `ProductTor`, `SignalResponseVpn` -> `ProductVPN`, `SignalResponseProxy` -> `ProductProxy`, `ProxyResult` -> `Proxy`, `SignalResponseIncognito` -> `ProductIncognito`, `SignalResponseTampering` -> `ProductTampering`, `SignalResponseClonedApp` -> `ProductClonedApp`, `SignalResponseFactoryReset` -> `ProductFactoryReset`, `SignalResponseJailbroken` -> `ProductJailbroken`, `SignalResponseFrida` -> `ProductFrida`, `SignalResponsePrivacySettings` -> `ProductPrivacySettings`, `SignalResponseVirtualMachine` -> `ProductVirtualMachine`, `SignalResponseRawDeviceAttributes` -> `ProductRawDeviceAttributes`, `RawDeviceAttributesResultValue` -> `RawDeviceAttributes`, `SignalResponseHighActivity` -> `ProductHighActivity`, `SignalResponseLocationSpoofing` -> `ProductLocationSpoofing`, `SignalResponseSuspectScore` -> `ProductSuspectScore`, `SignalResponseRemoteControl` -> `ProductRemoteControl`, `SignalResponseVelocity` -> `ProductVelocity`, `SignalResponseDeveloperTools` -> `ProductDeveloperTools`. + - Extract `identification.data` type as `Identification`. + - Rename `RawDeviceAttributesResult` -> `RawDeviceAttributes`: + - Extract item type as `RawDeviceAttribute`. + - Extract `error` type as `RawDeviceAttributeError`. + - Rename `RemoteControlResult` -> `RemoteControl`. + - Rename `RootAppsResult` -> `RootApps`. + - Rename `SuspectScoreResult` -> `SuspectScore`. + - Extract new model `Tag`. + - Rename `TamperingResult` -> `Tampering`. + - Rename `TorResult` -> `Tor`. + - Rename `VelocityResult` -> `Velocity`: + - Rename `VelocityIntervals` -> `VelocityData`. + - Rename `VelocityIntervalResult` -> `VelocityIntervals`. + - Rename `VirtualMachineResult` -> `VirtualMachine`. + - Rename the `Visit` field `ipLocation` type `DeprecatedIPLocation` -> `DeprecatedGeolocation`. + - Instead of `DeprecatedIPLocationCity` use common `GeolocationCity` + - Rename `Response` -> `VisitorsGetResponse`. + - Omit extra inner type `ResponseVisits` + - Rename `VpnResult` -> `VPN`. + - Extract `confidence` type as `VPNConfidence`. + - Extract `methods` type as `VPNMethods`. + - Rename `WebhookVisit` -> `Webhook`. + - Introduce new inner types: `WebhookRootApps`, `WebhookEmulator`, `WebhookIPInfo`, `WebhookIPBlocklist`, `WebhookTor`, `WebhookVPN`, `WebhookProxy`, `WebhookTampering`, `WebhookClonedApp`, `WebhookFactoryReset`, `WebhookJailbroken`, `WebhookFrida`, `WebhookPrivacySettings`, `WebhookVirtualMachine`, `WebhookRawDeviceAttributes`, `WebhookHighActivity`, `WebhookLocationSpoofing`, `WebhookSuspectScore`, `WebhookRemoteControl`, `WebhookVelocity`, `WebhookDeveloperTools`. ([68b89bf](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/68b89bfa8c0d269db3d613cacb59b9d41614a99f)) +- Remove utility functions for checking error type, such as `isEventError`, `isUpdateEventError`, etc. ([a17b73f](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/a17b73f720bf3fd34f004b93959aeb968a27fc24)) +- Reduce thrown errors to `TooManyRequestsError` and `RequestError` ([6f4076e](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/6f4076ec3ef5cfd212c292110be008c49fd516e5)) +- Rename `VisitWebhook` type to `Webhook` ([980bab0](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/980bab0e6c80e9763f07505a1273919b3e283776)) + +### Minor Changes + +- Added new `ipEvents`, `distinctIpByLinkedId`, and `distinctVisitorIdByLinkedId` fields to the `velocity` Smart Signal. ([68b89bf](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/68b89bfa8c0d269db3d613cacb59b9d41614a99f)) +- - Make the `GeolocationCity` field `name` **required**. + - Make the `GeolocationSubdivision` field `isoCode` **required**. + - Make the `GeolocationSubdivision` field `name` **required**. + - Make the `IPInfoASN` field `name` **required** . + - Make the `IPInfoDataCenter` field `name` **required**. + - Add **optional** `IdentificationConfidence` field `comment`. + - **events**: Add **optional** `Botd` field `meta`. + - **events**: Add **optional** `Identification` field `components`. + - **events**: Make the `VPN` field `originCountry` **required**. + - **visitors**: Add **optional** `Visit` field `components`. + - **webhook**: Add **optional** `Webhook` field `components`. ([68b89bf](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/68b89bfa8c0d269db3d613cacb59b9d41614a99f)) +- Remove `ipv4` format from `ip` field in `Botd`, `Identification`, `Visit` and `Webhook` models. ([b707bfa](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/b707bfa957362165dfe7fba01b43772db89d9f00)) + +### Patch Changes + +- **related-visitors**: Add mention that the API is billable ([68b89bf](https://github.com/fingerprintjs/fingerprint-pro-server-api-node-sdk/commit/68b89bfa8c0d269db3d613cacb59b9d41614a99f)) + ## 6.0.0-test.0 ### Major Changes diff --git a/package.json b/package.json index 594dc0a..cb73afb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fingerprintjs/fingerprintjs-pro-server-api", - "version": "6.0.0-test.0", + "version": "6.0.0", "description": "Node.js wrapper for FingerprintJS Sever API", "main": "dist/index.cjs", "module": "dist/index.mjs",