Resolve "Support Wallet Offline Mode"

This commit is contained in:
2026-01-05 12:26:10 +00:00
committed by Emergent Reasons
parent b47a7c43ad
commit 38dc5be0f4
6 changed files with 116 additions and 59 deletions
+2 -3
View File
@@ -6,10 +6,9 @@ export const MetadataRegistrySchema = z
description: z.string().optional(),
uris: z
.object({
// Since 'icon' and 'web' are strongly recommended uri identifiers(https://github.com/bitjson/chip-bcmr?tab=readme-ov-file#recommended-uri-identifiers)
// We require it as non optional.
// 'icon' and 'web' are strongly recommended uri identifiers(https://github.com/bitjson/chip-bcmr?tab=readme-ov-file#recommended-uri-identifiers)
icon: z.url(),
web: z.url(),
web: z.url().optional(),
})
// Allows any other keys with any values.
.catchall(z.unknown()),