Fix invalid schemas (#19548)

* fix: account selection invalid schema definition

* fix: token-input invalid schema definition
This commit is contained in:
Lungu Cristian 2024-04-08 13:33:30 +03:00 committed by GitHub
parent 32098d2548
commit 5fba1dbfa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@
[:catn [:catn
[:props [:props
[:map [:map
[:token {:optional true} [:maybe :string :keyword]] [:token {:optional true} [:maybe [:or :string :keyword]]]
[:currency {:optional true} [:maybe :string :keyword]] [:currency {:optional true} [:maybe [:or :string :keyword]]]
[:error? {:optional true} [:maybe :boolean]] [:error? {:optional true} [:maybe :boolean]]
[:title {:optional true} [:maybe :string]] [:title {:optional true} [:maybe :string]]
[:conversion {:optional true} [:maybe :double]] [:conversion {:optional true} [:maybe :double]]

View File

@ -81,7 +81,7 @@
[:cat [:cat
[:map {:closed true} [:map {:closed true}
[:community-id string?] [:community-id string?]
[:password [:maybe [:or string? object?]]] [:password [:maybe [:or string? security/?masked-password]]]
[:pub-key string?] [:pub-key string?]
[:addresses-to-reveal [:addresses-to-reveal
[:or [:set string?] [:or [:set string?]