Skip to content

Commit 96c21a8

Browse files
committed
chore: fmt
1 parent 44ee30d commit 96c21a8

File tree

2 files changed

+25
-14
lines changed

2 files changed

+25
-14
lines changed
Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
/* eslint-disable */
22
// Generated by Wrangler by running `wrangler types --include-runtime=false` (hash: 1d34b249aada6580464f0661df2a5822)
33
declare namespace Cloudflare {
4-
interface GlobalProps {
5-
mainModule: typeof import("./worker/index");
6-
}
7-
interface Env {
8-
NONCE_STORE: KVNamespace;
9-
JWT_SECRET: string;
10-
VITE_ENABLE_TUNNEL: string;
11-
CLOUDFLARE_TUNNEL_HOSTNAME: string;
12-
CLOUDFLARE_TUNNEL_SSL: string;
13-
}
4+
interface GlobalProps {
5+
mainModule: typeof import('./worker/index')
6+
}
7+
interface Env {
8+
NONCE_STORE: KVNamespace
9+
JWT_SECRET: string
10+
VITE_ENABLE_TUNNEL: string
11+
CLOUDFLARE_TUNNEL_HOSTNAME: string
12+
CLOUDFLARE_TUNNEL_SSL: string
13+
}
1414
}
1515
interface Env extends Cloudflare.Env {}
1616
type StringifyValues<EnvType extends Record<string, unknown>> = {
17-
[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;
18-
};
17+
[Binding in keyof EnvType]: EnvType[Binding] extends string
18+
? EnvType[Binding]
19+
: string
20+
}
1921
declare namespace NodeJS {
20-
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "JWT_SECRET" | "VITE_ENABLE_TUNNEL" | "CLOUDFLARE_TUNNEL_HOSTNAME" | "CLOUDFLARE_TUNNEL_SSL">> {}
22+
interface ProcessEnv
23+
extends StringifyValues<
24+
Pick<
25+
Cloudflare.Env,
26+
| 'JWT_SECRET'
27+
| 'VITE_ENABLE_TUNNEL'
28+
| 'CLOUDFLARE_TUNNEL_HOSTNAME'
29+
| 'CLOUDFLARE_TUNNEL_SSL'
30+
>
31+
> {}
2132
}

src/core/internal/siwe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,4 @@ function normalizeDomain(domain: string | undefined) {
180180
return normalized.length > 0 ? normalized : undefined
181181
}
182182

183-
export const parseMessage = Siwe.parseMessage
183+
export const parseMessage = Siwe.parseMessage

0 commit comments

Comments
 (0)