Skip to content

Commit

Permalink
#6: Fixed SameDevice detection
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyjamer committed Mar 14, 2024
1 parent 9c36d34 commit 44a88ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export class WalletPluginWebAuth extends AbstractWalletPlugin {
const request = modifiedRequest.encode(true, false, `${this.scheme}:`)

// Mobile will return true or false, desktop will return undefined
const isSameDevice = this.data.sameDevice !== false
const isSameDevice = this.data.sameDevice === true

// Same device request
const sameDeviceRequest = modifiedRequest.clone()
Expand Down

0 comments on commit 44a88ba

Please sign in to comment.