diff options
author | Florian Dold <florian@dold.me> | 2024-08-27 01:56:53 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-08-27 01:56:53 +0200 |
commit | 6f6e9a6fab4ecbf05264766e9b2661bdebad49eb (patch) | |
tree | 6e625cf6ca126628b16a062915d19c04030e1956 /packages/web-util/src/context | |
parent | 2785521f6eaaed711ba5705086988f30746748b7 (diff) |
auditor SPA: minor cleanup, base URL canonicalization
Diffstat (limited to 'packages/web-util/src/context')
-rw-r--r-- | packages/web-util/src/context/api.ts | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/web-util/src/context/api.ts b/packages/web-util/src/context/api.ts index c1eaa37f8..89561e239 100644 --- a/packages/web-util/src/context/api.ts +++ b/packages/web-util/src/context/api.ts @@ -19,7 +19,12 @@ * @author Sebastian Javier Marchano (sebasjm) */ -import { TalerBankIntegrationHttpClient, TalerCoreBankHttpClient, TalerRevenueHttpClient, TalerWireGatewayHttpClient } from "@gnu-taler/taler-util"; +import { + TalerBankIntegrationHttpClient, + TalerCoreBankHttpClient, + TalerRevenueHttpClient, + TalerWireGatewayHttpClient, +} from "@gnu-taler/taler-util"; import { ComponentChildren, createContext, h, VNode } from "preact"; import { useContext } from "preact/hooks"; import { defaultRequestHandler } from "../utils/request.js"; @@ -29,10 +34,10 @@ interface Type { * @deprecated this show not be used */ request: typeof defaultRequestHandler; - bankCore: TalerCoreBankHttpClient, - bankIntegration: TalerBankIntegrationHttpClient, - bankWire: TalerWireGatewayHttpClient, - bankRevenue: TalerRevenueHttpClient, + bankCore: TalerCoreBankHttpClient; + bankIntegration: TalerBankIntegrationHttpClient; + bankWire: TalerWireGatewayHttpClient; + bankRevenue: TalerRevenueHttpClient; } const Context = createContext<Type>({ request: defaultRequestHandler } as any); |