taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit cf1634c00ace276989ba245f7c07a43d14a5396f
parent c2b9a77f559b3c79f1e0b9cd75daf56ab691ed8c
Author: Florian Dold <florian@dold.me>
Date:   Mon,  9 Feb 2026 16:46:21 +0100

fix cross-package deep imports

Diffstat:
Mpackages/taler-harness/src/index.ts | 3+--
Mpackages/taler-wallet-core/src/exchanges.ts | 2+-
Mpackages/taler-wallet-webextension/src/wallet/ManageAccount/stories.tsx | 2+-
3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts @@ -85,7 +85,6 @@ import net from "node:net"; import os from "node:os"; import path from "node:path"; import postgres from "postgres"; -import { URLImpl } from "../../taler-util/src/whatwg-url.js"; import { runBench1 } from "./bench1.js"; import { runBench2 } from "./bench2.js"; import { runBench3 } from "./bench3.js"; @@ -2064,7 +2063,7 @@ function merchantDatabase(config: Configuration) { } let path: string | undefined; - const { hostname: DB_HOST, port: DB_PORT } = new URLImpl(dbUrl); + const { hostname: DB_HOST, port: DB_PORT } = new URL(dbUrl); if (DB_HOST.startsWith("%2F")) { path = `${decodeURIComponent(DB_HOST)}/.s.PGSQL.${DB_PORT}`; } diff --git a/packages/taler-wallet-core/src/exchanges.ts b/packages/taler-wallet-core/src/exchanges.ts @@ -101,6 +101,7 @@ import { durationMul, encodeCrock, getRandomBytes, + hashDenomPub, hashFullPaytoUri, j2s, makeErrorDetail, @@ -117,7 +118,6 @@ import { readTalerErrorResponse, throwUnexpectedRequestError, } from "@gnu-taler/taler-util/http"; -import { hashDenomPub } from "../../taler-util/src/taler-crypto.js"; import { PendingTaskType, TaskIdStr, diff --git a/packages/taler-wallet-webextension/src/wallet/ManageAccount/stories.tsx b/packages/taler-wallet-webextension/src/wallet/ManageAccount/stories.tsx @@ -19,8 +19,8 @@ * @author Sebastian Javier Marchano (sebasjm) */ +import { stringifyPaytoUri } from "@gnu-taler/taler-util"; import * as tests from "@gnu-taler/web-util/testing"; -import { stringifyPaytoUri } from "../../../../taler-util/src/payto.js"; import { nullFunction } from "../../mui/handlers.js"; import { ReadyView } from "./views.js";