diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-30 10:30:32 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-30 10:30:40 -0300 |
commit | d5a46a3bc4025d9c2abd2d73831bf033272f174d (patch) | |
tree | 981a114f8805baaf09c51c3878b5c1be9be30e67 /packages/taler-util/src/taler-types.ts | |
parent | eca75bbeb2c9a4ae7fcb58c1cfeb5957720a8b40 (diff) | |
download | wallet-core-d5a46a3bc4025d9c2abd2d73831bf033272f174d.tar.xz |
check conversion URL
Diffstat (limited to 'packages/taler-util/src/taler-types.ts')
-rw-r--r-- | packages/taler-util/src/taler-types.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index e32c5a99d..3b96c52fe 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -38,6 +38,7 @@ import { codecForMap, codecForNumber, codecForString, + codecForStringURL, codecOptional, } from "./codec.js"; import { strcmp } from "./helpers.js"; @@ -2372,7 +2373,7 @@ export interface ExchangeWireAccount { export const codecForExchangeWireAccount = (): Codec<ExchangeWireAccount> => buildCodecForObject<ExchangeWireAccount>() - .property("conversion_url", codecOptional(codecForString())) + .property("conversion_url", codecOptional(codecForStringURL())) .property("credit_restrictions", codecForList(codecForAny())) .property("debit_restrictions", codecForList(codecForAny())) .property("master_sig", codecForString()) |