feat: translation (#389)

This commit is contained in:
Cody Tseng
2025-06-23 23:52:21 +08:00
committed by GitHub
parent e2e115ebeb
commit df9066eae0
43 changed files with 1466 additions and 47 deletions

View File

@@ -562,9 +562,9 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
return event
}
const signHttpAuth = async (url: string, method: string) => {
const signHttpAuth = async (url: string, method: string, content = '') => {
const event = await signEvent({
content: '',
content,
kind: kinds.HTTPAuth,
created_at: dayjs().unix(),
tags: [