fingerprintjs / fingerprint-pro-server-api-php-sdk

PHP SDK for Fingerprint Pro Server API
MIT License
17 stars 6 forks source link

Class VpnResultMethods is missing osMismatch #97

Open manuel-watchenterprise opened 1 month ago

manuel-watchenterprise commented 1 month ago

The VpnResultMethods class does not include / handle osMismatch data which, however, exists in API response. This way, the information is lost and is not accessible as the class stores in its container only those properties that are known.

Original JSON response:

{
  "vpn": {
    "data": {
      "result": false,
      "originTimezone": "Europe/Budapest",
      "originCountry": "unknown",
      "methods": {
        "timezoneMismatch": false,
        "publicVPN": false,
        "auxiliaryMobile": false,
        "osMismatch": false
      }
    }
  }
}
makma commented 1 month ago

Hello @manuel-watchenterprise, Yes, you are right, the SDK has not been upgraded, yet. We are working on it right now.

ccing @Orkuncakilkaya as an owner of this initiative

Orkuncakilkaya commented 1 month ago

Hey @manuel-watchenterprise 👋 This will be released in the following major Fingerprint Pro Server API PHP SDK release.