Repository navigation
·
1 commit
to master
since this release
Patch Changes
-
#63
b5de5c1Thanks @renovate! - fix: updatex-fetchto0.3and migrate the oneshot error handlingx-fetch@0.3replacesResponseErrorwithXFetchErrorplus the
isXFetchErrortype guard, soparseTranslationErrornow narrows through that
guard instead ofinstanceof.The same class also wraps transport failures and bodies that cannot be parsed,
so only a response with an error status is treated as a DeepL status; anok
response can never be reported as a successful translation. The observable
behaviour of the403(withtitle/messagedetail),429and other-status
branches is unchanged.