refactor(dpop): apply typescript prettier

This commit is contained in:
Edouard Vanbelle
2026-08-09 11:02:36 +02:00
parent 6a434aebe6
commit 69c342f2ed
2 changed files with 9 additions and 6 deletions
+8 -3
View File
@@ -41,10 +41,15 @@
* matches `docs/plan/dpop.md`).
*/
import { buildDpopProof, isDpopNonceChallenge, updateNonceFromResponse } from '$lib/auth/dpop-proof';
import {
buildDpopProof,
isDpopNonceChallenge,
updateNonceFromResponse
} from '$lib/auth/dpop-proof';
// eslint-disable-next-line @typescript-eslint/consistent-type-declarations
declare const self: ServiceWorkerGlobalScope;
// `self` is typed as `ServiceWorkerGlobalScope` via the
// `/// <reference lib="webworker" />` directive above — no explicit
// `declare const self` needed under the SvelteKit build context.
const ORIGIN = self.location.origin;