From 1c7423dbad6c7a7d8efffadb3c854d961da17336 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 17 Jun 2021 12:40:42 -0300 Subject: fix support with webpack{4,5} in browser environment added missing .js extension to the imports split index use browser field in package json --- packages/taler-wallet-core/src/headless/NodeHttpLib.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/taler-wallet-core/src/headless/NodeHttpLib.ts') diff --git a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts index 525ac8557..1dd207345 100644 --- a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts +++ b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts @@ -24,13 +24,13 @@ import { HttpRequestLibrary, HttpRequestOptions, HttpResponse, -} from "../util/http"; -import { RequestThrottler } from "../util/RequestThrottler"; +} from "../util/http.js"; +import { RequestThrottler } from "../util/RequestThrottler.js"; import Axios, { AxiosResponse } from "axios"; -import { OperationFailedError, makeErrorDetails } from "../errors"; -import { URL } from "../util/url"; +import { OperationFailedError, makeErrorDetails } from "../errors.js"; +import { URL } from "../util/url.js"; import { Logger } from "@gnu-taler/taler-util"; -import { bytesToString } from "../crypto/talerCrypto"; +import { bytesToString } from "../crypto/talerCrypto.js"; import { TalerErrorCode } from "@gnu-taler/taler-util"; const logger = new Logger("NodeHttpLib.ts"); -- cgit v1.2.3