Skip to content

Commit

Permalink
Merge branch 'main' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
f-23 committed Jan 14, 2025
2 parents cc4425b + 68ce431 commit 817c5b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Passkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Passkey {
JSON.stringify(request),
false, // forcePlatformKey
false // forceSecurityKey
)
);

if (typeof response === 'string') {
return JSON.parse(response) as PasskeyCreateResult;
Expand Down Expand Up @@ -61,7 +61,7 @@ export class Passkey {
JSON.stringify(request),
true, // forcePlatformKey
false // forceSecurityKey
)
);

if (typeof response === 'string') {
return JSON.parse(response) as PasskeyCreateResult;
Expand Down Expand Up @@ -93,7 +93,7 @@ export class Passkey {
JSON.stringify(request),
false, // forcePlatformKey
true // forceSecurityKey
)
);

if (typeof response === 'string') {
return JSON.parse(response) as PasskeyCreateResult;
Expand All @@ -120,11 +120,11 @@ export class Passkey {
}

try {
const response = await NativePasskey.get(
const response = await NativePasskey.get(
JSON.stringify(request),
false, // forcePlatformKey
false // forceSecurityKey
)
);

if (typeof response === 'string') {
return JSON.parse(response) as PasskeyGetResult;
Expand Down Expand Up @@ -156,7 +156,7 @@ export class Passkey {
JSON.stringify(request),
true, // forcePlatformKey
false // forceSecurityKey
)
);

if (typeof response === 'string') {
return JSON.parse(response) as PasskeyGetResult;
Expand Down Expand Up @@ -188,7 +188,7 @@ export class Passkey {
JSON.stringify(request),
false, // forcePlatformKey
true // forceSecurityKey
)
);

if (typeof response === 'string') {
return JSON.parse(response) as PasskeyGetResult;
Expand Down

0 comments on commit 817c5b7

Please sign in to comment.