Skip to content

Commit

Permalink
feat: add developerTools smar signal (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuroUhlar authored Jul 22, 2024
1 parent 0589bdd commit 58958a9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/app/playground/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,31 @@ function Playground() {
usedIdentificationEvent?.products?.tampering?.data?.result === true ? tableStyles.red : tableStyles.green,
},
],
[
{
content: [
<DocsLink
href='https://dev.fingerprint.com/docs/smart-signals-overview#developer-tools-detection'
key='devtools'
>
Developer Tools
</DocsLink>,
],
},
{
content: (
<>
{/* @ts-expect-error Not supported in Node SDK yet */}
{usedIdentificationEvent?.products?.developerTools?.data?.result === true ? 'Yes 🔧' : 'Not detected'}{' '}
</>
),
className:
// @ts-expect-error Not supported in Node SDK yet
usedIdentificationEvent?.products?.developerTools?.data?.result === true
? tableStyles.red
: tableStyles.green,
},
],
[
{
content: (
Expand Down

0 comments on commit 58958a9

Please sign in to comment.