1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Rittson
0f0adc9bd9 Add jsdoc comments for user verification, password reprompt, and appApiAction (#754)
* Rename and add comments to clarify password reprompt classes

* Add comment for appApiAction
2022-04-12 11:48:33 +10:00
Matt Gibson
f88515745c Remove error Response type check (#731)
* Remove error Response type check

Minimization is impacting type checking in a non-consistent way.
The previous type check works locally,
but not from build artifacts 🤷. We only set `captchaRequired` on
our errors when we want a resubmit with captcha included, so we're safe
keying off that

* linter
2022-03-18 12:24:22 +10:00
Matt Gibson
3ec0f6977a Check runtime name vs mangled name (#724) 2022-03-14 20:12:31 -05:00
Oscar Hinton
60878cd4ed Add eslint (#610) 2022-02-22 15:39:11 +01:00
Oscar Hinton
193434461d Apply Prettier (#581) 2021-12-16 13:36:21 +01:00
Oscar Hinton
83548a6753 Remove deprecated index.ts (#490)
* Remove deprecated index.ts

* Update tests
2021-09-17 14:57:31 +02:00
Matt Gibson
d3ee08abb6 Log full error for better debugging support (#473) 2021-08-31 14:59:54 -05:00
Matt Gibson
c77441b353 Use both instanceof and constructor name as type identification (#438)
* Use both instanceof and constructor name as type identification

* Linter fix
2021-07-23 11:47:06 -05:00
Matt Gibson
e9d9cd0182 Feature/use hcaptcha on register if bot (#434)
* Parse captcha required from error messages

CaptchaProtectedAttribute produces an error with captcha information.
We want to parse that data out to make it easily accessible to components

* Don't show error on catpcha

The component should hande this situation.

* Add captchaResponse to captcha protected api endpoints

* Extract captcha logic to abstract base class

* Add captcha to register

* linter fixes

* Make sure to log Captcha required responses

* Match file naming convention

* Separate import into logical groups by folder

* PR review
2021-07-22 12:28:45 -05:00
Oscar Hinton
1016bbfb9e Split jslib into multiple modules (#363)
* Split jslib into multiple modules
2021-06-03 18:58:57 +02:00