1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-21 07:27:23 +01:00
bitwarden-estensione-browser/libs/common
Andreas Coroiu 551d2c2441
[PM-5302] Refactor Passkey feature enable/disable logic (#7242)
* feat: add missing tests for `isFido2FeatureEnabled`

* feat: add user logged in check

* chore: rewrite with cartesian product

* chore: remove test

The test was more complex than the actual function, removing.

* feat: add domain exclusion

* feat: add origin equal vault case

* chore: clean up the old code from `content-secript`

* feat: return early to avoid making api calls

* fix: prettier linting

* fix: incorrect logic inversion

---------

Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2024-01-02 13:42:16 -05:00
..
spec Ps/allow state provider migrations from v 9 (#7263) 2023-12-18 07:50:04 -05:00
src [PM-5302] Refactor Passkey feature enable/disable logic (#7242) 2024-01-02 13:42:16 -05:00
custom-matchers.d.ts
jest.config.js
package.json
test.setup.ts
tsconfig.json
tsconfig.spec.json