diff options
author | Sebastian <sebasjm@gmail.com> | 2024-06-13 10:46:14 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-06-13 12:40:35 -0300 |
commit | 9f08f6e95c6b76ce12d7946901787f8a6884533b (patch) | |
tree | a7755cb7489eb54bc8a46edf81c4223134db5b9a /packages/taler-util/src/payto.ts | |
parent | 9e7731e560ae360ed9f00cf2065c0a80c3eb8a85 (diff) | |
download | wallet-core-9f08f6e95c6b76ce12d7946901787f8a6884533b.tar.xz |
fix issues found in QC meeting
- templates payment timeout en merchant backoffice has a layout problem
- Summary is editable with empty summary
- better example for account info url
- repeat password
- delete transfers
Diffstat (limited to 'packages/taler-util/src/payto.ts')
-rw-r--r-- | packages/taler-util/src/payto.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-util/src/payto.ts b/packages/taler-util/src/payto.ts index 39c25cffd..ac21fc398 100644 --- a/packages/taler-util/src/payto.ts +++ b/packages/taler-util/src/payto.ts @@ -16,6 +16,7 @@ import { generateFakeSegwitAddress } from "./bitcoin.js"; import { Codec, Context, DecodingError, buildCodecForObject, codecForStringURL, renderContext } from "./codec.js"; +import { AccessToken, codecForAccessToken, codecOptional } from "./index.js"; import { URLSearchParams } from "./url.js"; export type PaytoUri = @@ -301,6 +302,7 @@ export function talerPaytoFromExchangeReserve( export type AccountLetter = { accountURI: PaytoString; infoURL: string; + accountToken?: AccessToken; }; export const codecForAccountLetter = @@ -308,4 +310,5 @@ export const codecForAccountLetter = buildCodecForObject<AccountLetter>() .property("infoURL", codecForStringURL(true)) .property("accountURI", codecForPaytoString()) + .property("accountToken", codecOptional(codecForAccessToken())) .build("AccountLetter"); |