chore: lint
This commit is contained in:
parent
041bd0daff
commit
413c9cc575
@ -8,6 +8,7 @@
|
|||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||||
|
"lint:fix": "eslint . --fix --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -370,7 +370,7 @@ createNostrHttpAuthToken = async (
|
|||||||
): Promise<string> => {
|
): Promise<string> => {
|
||||||
const createdAt = Math.round(Date.now() / 1000)
|
const createdAt = Math.round(Date.now() / 1000)
|
||||||
|
|
||||||
let authEvent = new NDKEvent(undefined)
|
const authEvent = new NDKEvent(undefined)
|
||||||
authEvent.kind = 27235
|
authEvent.kind = 27235
|
||||||
authEvent.tags = nostrTags
|
authEvent.tags = nostrTags
|
||||||
authEvent.content = `sigit-${createdAt}`
|
authEvent.content = `sigit-${createdAt}`
|
||||||
|
Loading…
Reference in New Issue
Block a user