From e2c95b6033ebdcfb53ad01307ce40aeb555c3ab8 Mon Sep 17 00:00:00 2001 From: Juraj Uhlar Date: Wed, 4 Dec 2024 19:31:15 +0000 Subject: [PATCH] fix: enable remote control detection --- package.json | 4 ++-- src/app/Providers.tsx | 1 + yarn.lock | 34 +++++++++++++++++----------------- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 04495a78..f6725b02 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@amplitude/analytics-browser": "^2.11.5", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.0", - "@fingerprintjs/fingerprintjs-pro-react": "^2.6.2", + "@fingerprintjs/fingerprintjs-pro-react": "^2.6.3", "@fingerprintjs/fingerprintjs-pro-server-api": "^5.0.0", "@inkeep/uikit": "^0.3.16", "@mui/icons-material": "^5.15.11", @@ -88,4 +88,4 @@ "vitest": "^1.3.1", "zod": "^3.22.4" } -} \ No newline at end of file +} diff --git a/src/app/Providers.tsx b/src/app/Providers.tsx index 65b1cd80..cda884c6 100644 --- a/src/app/Providers.tsx +++ b/src/app/Providers.tsx @@ -20,6 +20,7 @@ export const FP_LOAD_OPTIONS: FingerprintJSPro.LoadOptions = { scriptUrlPattern: [env.NEXT_PUBLIC_SCRIPT_URL_PATTERN, FingerprintJSPro.defaultScriptUrlPattern], endpoint: [env.NEXT_PUBLIC_ENDPOINT, FingerprintJSPro.defaultEndpoint], region: env.NEXT_PUBLIC_REGION, + remoteControlDetection: true, }; function Providers({ children }: PropsWithChildren) { diff --git a/yarn.lock b/yarn.lock index 899acbf4..28e37cd7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1239,12 +1239,12 @@ eslint-config-prettier "9.1.0" eslint-plugin-prettier "5.1.3" -"@fingerprintjs/fingerprintjs-pro-react@^2.6.2": - version "2.6.2" - resolved "https://registry.yarnpkg.com/@fingerprintjs/fingerprintjs-pro-react/-/fingerprintjs-pro-react-2.6.2.tgz#55a045afe64a4fd3fbfb8d01e3c28622104c6604" - integrity sha512-R6FPsdHbu+q2pqSHygrZAnMH0vKbFclomwjWW0FoDlmOYiU1TjG55lvDgYyuPw7Za1BSSi+mAcIANu80rtNFBQ== +"@fingerprintjs/fingerprintjs-pro-react@^2.6.3": + version "2.6.3" + resolved "https://registry.yarnpkg.com/@fingerprintjs/fingerprintjs-pro-react/-/fingerprintjs-pro-react-2.6.3.tgz#f04e043514d141e41b9397648e7e567f84395415" + integrity sha512-/axCq/cfjZkIM+WFZM/05FQvqtNfdKbIFKU6b2yrwPKlgT8BqWkAq8XvFX6JCPlq8/udVLJjFEDCK+1JQh1L6g== dependencies: - "@fingerprintjs/fingerprintjs-pro-spa" "^1.2.0" + "@fingerprintjs/fingerprintjs-pro-spa" "^1.3.1" fast-deep-equal "3.1.3" "@fingerprintjs/fingerprintjs-pro-server-api@^5.0.0": @@ -1252,18 +1252,18 @@ resolved "https://registry.yarnpkg.com/@fingerprintjs/fingerprintjs-pro-server-api/-/fingerprintjs-pro-server-api-5.0.0.tgz#71f1747e6c66ca8e53e2113f6c1842adde685789" integrity sha512-iqnq9L0jNuDplKwNMkc86N7254fQIv8ahguIWFXr8HbD1VS2jg/1iDzWLpgHj/vRyKkrHSlm3hyvGXy9Ld3Cjg== -"@fingerprintjs/fingerprintjs-pro-spa@^1.2.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@fingerprintjs/fingerprintjs-pro-spa/-/fingerprintjs-pro-spa-1.3.0.tgz#97ce1bac6155cdd77b2b60bfeb55b00b28fa2cf2" - integrity sha512-XNZiA9kyuzfBZtCCr7B4x24pkp7WCpxzjAQbH87Iq89yWn48Auxc8Xh4a5q2Bpj9velFp1cdp76h3C0KaUsdwQ== +"@fingerprintjs/fingerprintjs-pro-spa@^1.3.1": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@fingerprintjs/fingerprintjs-pro-spa/-/fingerprintjs-pro-spa-1.3.2.tgz#80654b554ec5e260a0627162f88918a1fd5bab21" + integrity sha512-s1YGsx1XQLmjU+av4UrUHNxyzwPHyZRB0GXJQFOJK8ZHCYc2SNukxnJmZA++bNBa8twU3wW+QgSJhA4Prjnd0g== dependencies: - "@fingerprintjs/fingerprintjs-pro" "^3.8.5" - tslib "^2.5.0" + "@fingerprintjs/fingerprintjs-pro" "^3.11.0" + tslib "^2.7.0" -"@fingerprintjs/fingerprintjs-pro@^3.8.5": - version "3.9.1" - resolved "https://registry.yarnpkg.com/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.9.1.tgz#e8807f766308d2c6a0ce526a42bb01598f660f6b" - integrity sha512-ixtPAhEb1OlOjrBEJROZ/9GWiCFX76OX7X0b1Z61GTkisgNdS9YRFXCnEZcQfKK43THzNQ5ZH235hqM46Fk1QA== +"@fingerprintjs/fingerprintjs-pro@^3.11.0": + version "3.11.4" + resolved "https://registry.yarnpkg.com/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.11.4.tgz#101cfc206ab07373b1c60e531aec9665a3642607" + integrity sha512-4B3CBv744U037yCk9HeIKZE8k2L7094BXZ+/KgYB7BIxUcwRTnRHM9FqRcCG3GRXOhD8WAOONLrKkVsrkjHTHw== dependencies: tslib "^2.4.1" @@ -10042,12 +10042,12 @@ tsconfig-paths@^3.15.0: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^2.0.0, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.5.0, tslib@^2.6.2: +tslib@^2.0.0, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tslib@^2.3.0: +tslib@^2.3.0, tslib@^2.7.0: version "2.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==