diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/anastasis-core/src/anastasis-data.ts | 8 | ||||
-rw-r--r-- | packages/anastasis-core/src/index.ts | 1 | ||||
-rw-r--r-- | packages/anastasis-core/src/reducer-types.ts | 6 |
3 files changed, 11 insertions, 4 deletions
diff --git a/packages/anastasis-core/src/anastasis-data.ts b/packages/anastasis-core/src/anastasis-data.ts index cac4dc6c6..4cd9285fd 100644 --- a/packages/anastasis-core/src/anastasis-data.ts +++ b/packages/anastasis-core/src/anastasis-data.ts @@ -24,6 +24,14 @@ export const anastasisData = { name: "Anastasis SARL, Luxembourg", }, { + url: "http://v1.anastasis.taler.net/", + restricted: "xx", + }, + { + url: "https://v1.anastasis.lu/", + restricted: "xx", + }, + { url: "http://localhost:8086/", restricted: "xx", }, diff --git a/packages/anastasis-core/src/index.ts b/packages/anastasis-core/src/index.ts index b5e0517e6..b933c4e74 100644 --- a/packages/anastasis-core/src/index.ts +++ b/packages/anastasis-core/src/index.ts @@ -1521,6 +1521,7 @@ async function enterSecret( core_secret: { mime: args.secret.mime ?? "text/plain", value: args.secret.value, + filename: args.secret.filename, }, // A new secret invalidates the existing recovery data. recovery_data: undefined, diff --git a/packages/anastasis-core/src/reducer-types.ts b/packages/anastasis-core/src/reducer-types.ts index ca8edff40..4b87d3ae6 100644 --- a/packages/anastasis-core/src/reducer-types.ts +++ b/packages/anastasis-core/src/reducer-types.ts @@ -229,10 +229,7 @@ export interface ReducerStateRecovery { */ recovered_key_shares?: { [truth_uuid: string]: KeyShare }; - core_secret?: { - mime: string; - value: string; - }; + core_secret?: CoreSecret; authentication_providers?: AuthenticationProviderStatusMap; } @@ -390,6 +387,7 @@ export interface ActionArgsEnterSecret { secret: { value: string; mime?: string; + filename?: string; }; expiration: TalerProtocolTimestamp; } |