diff options
author | Florian Dold <florian@dold.me> | 2022-10-13 14:14:41 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-10-13 14:14:41 +0200 |
commit | 7b40a9f41583a59d8d6bbfacd4bba27a34a0791f (patch) | |
tree | cad4ddd4129c3bbfcf3100d8024b07382f3a489c /packages/taler-wallet-webextension | |
parent | 3a91f3ff88db8f00255caa39746c70f1e47e0a86 (diff) |
-fix missing enum case
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r-- | packages/taler-wallet-webextension/src/platform/chrome.ts | 3 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/wxBackend.ts | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/platform/chrome.ts b/packages/taler-wallet-webextension/src/platform/chrome.ts index 99c0c134f..e56c0b3e9 100644 --- a/packages/taler-wallet-webextension/src/platform/chrome.ts +++ b/packages/taler-wallet-webextension/src/platform/chrome.ts @@ -271,6 +271,9 @@ function openWalletURIFromPopup(talerUri: string): void { `Response with HTTP 402 the Taler header but could not classify ${talerUri}`, ); return; + case TalerUriType.TalerDevExperiment: + logger.warn(`taler://dev-experiment URIs are not allowed in headers`); + return; default: { const error: never = uriType; logger.warn( diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index 8689c92c7..1bb8ac332 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -301,6 +301,10 @@ function parseTalerUriAndRedirect(tabId: number, talerUri: string): void { `Response with HTTP 402 the Taler header but could not classify ${talerUri}`, ); return; + case TalerUriType.TalerDevExperiment: + // FIXME: Implement! + logger.warn("not implemented"); + return; default: { const error: never = uriType; logger.warn( |