Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
schlagtim committed Feb 13, 2024
1 parent 034e566 commit 9bf7000
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/sd-jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export function provideHasher(alg: string) {
}
var enc = new TextEncoder();
const hasherAndAlgorithm: HasherAndAlgorithm = {
// TODO: how do you properly cast this?
hasher: (input: string) =>
crypto.subtle
.digest(browserAlg, enc.encode(input))
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<slot />
</main>

<footer><p>This is the footer</p></footer>
<footer><p></p></footer>
</div>

<style>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
let jwtSignature = "";
let disclosures: Promise<DisclosureWithDigest[] | undefined> | undefined;
let alg: any;
let jwtPayloadSelection = "credential";
let jwtPayloadSelection: string;
$: sdJWt = encodedJwt ? decodeSdJwt(encodedJwt) : undefined;
$: jwtHeader = formatJsonObject(sdJWt?.header);
Expand Down

0 comments on commit 9bf7000

Please sign in to comment.