From 2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 5 Apr 2023 17:38:34 +0200 Subject: wallet-core: towards DD37 for deposits --- packages/taler-util/src/http-common.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/taler-util/src/http-common.ts') diff --git a/packages/taler-util/src/http-common.ts b/packages/taler-util/src/http-common.ts index e5dd92567..1329c8a55 100644 --- a/packages/taler-util/src/http-common.ts +++ b/packages/taler-util/src/http-common.ts @@ -104,6 +104,8 @@ export interface HttpRequestLibrary { * Make an HTTP GET request. * * FIXME: Get rid of this, we want the API surface to be minimal. + * + * @deprecated use fetch instead */ get(url: string, opt?: HttpRequestOptions): Promise; @@ -111,6 +113,8 @@ export interface HttpRequestLibrary { * Make an HTTP POST request with a JSON body. * * FIXME: Get rid of this, we want the API surface to be minimal. + * + * @deprecated use fetch instead */ postJson( url: string, -- cgit v1.2.3