diff options
author | Florian Dold <florian@dold.me> | 2022-10-13 15:14:49 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-10-13 15:14:49 +0200 |
commit | 83d4a1addc313f71a71463f7811f1fcc622b51b6 (patch) | |
tree | 6643f8fb7312e8fdeeb7f6f85b07b1a5f2ca376c /packages/taler-wallet-core/src/headless/NodeHttpLib.ts | |
parent | b0223d662add93bf1b2199b51d6290ba5dadf1e7 (diff) | |
download | wallet-core-83d4a1addc313f71a71463f7811f1fcc622b51b6.tar.xz |
use node16 for wallet-core, delete unused taler-config-lib package
Diffstat (limited to 'packages/taler-wallet-core/src/headless/NodeHttpLib.ts')
-rw-r--r-- | packages/taler-wallet-core/src/headless/NodeHttpLib.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts index 5290bd441..c1d42796d 100644 --- a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts +++ b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts @@ -27,7 +27,7 @@ import { HttpResponse, } from "../util/http.js"; import { RequestThrottler } from "@gnu-taler/taler-util"; -import Axios, { AxiosResponse } from "axios"; +import axios, { AxiosResponse } from "axios"; import { TalerError } from "../errors.js"; import { Logger, bytesToString } from "@gnu-taler/taler-util"; import { TalerErrorCode, URL } from "@gnu-taler/taler-util"; @@ -75,7 +75,7 @@ export class NodeHttpLib implements HttpRequestLibrary { // FIXME: Use AbortController / etc. to handle cancellation let resp: AxiosResponse; try { - let respPromise = Axios({ + let respPromise = axios.default({ method, url: url, responseType: "arraybuffer", |