aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-01-05 15:38:43 +0100
committerFlorian Dold <florian@dold.me>2022-01-05 16:48:22 +0100
commitdc040ba41cd6d66fa63b33ed1adfc80f7e6a6861 (patch)
tree4a631b6a7cb879f75258e7b651eb7e371ee27a10 /packages/taler-wallet-cli
parent6e9885441162586abeb64425568273e32e851677 (diff)
update dependencies to fix rollup issue
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/package.json14
-rw-r--r--packages/taler-wallet-cli/src/harness/harness.ts6
2 files changed, 11 insertions, 9 deletions
diff --git a/packages/taler-wallet-cli/package.json b/packages/taler-wallet-cli/package.json
index 4e813fcb7..e38112bb1 100644
--- a/packages/taler-wallet-cli/package.json
+++ b/packages/taler-wallet-cli/package.json
@@ -34,21 +34,21 @@
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-replace": "^2.3.4",
- "@types/node": "^14.14.22",
+ "@types/node": "^17.0.8",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
- "rollup": "^2.37.1",
+ "rollup": "^2.63.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
- "typedoc": "^0.20.16",
- "typescript": "^4.1.3"
+ "typedoc": "^0.22.10",
+ "typescript": "^4.5.4"
},
"dependencies": {
"@gnu-taler/taler-util": "workspace:*",
"@gnu-taler/taler-wallet-core": "workspace:*",
- "axios": "^0.21.1",
+ "axios": "^0.24.0",
"cancellationtoken": "^2.2.0",
- "source-map-support": "^0.5.19",
- "tslib": "^2.1.0"
+ "source-map-support": "^0.5.21",
+ "tslib": "^2.3.1"
}
} \ No newline at end of file
diff --git a/packages/taler-wallet-cli/src/harness/harness.ts b/packages/taler-wallet-cli/src/harness/harness.ts
index 37a192db6..0f2e61a3d 100644
--- a/packages/taler-wallet-cli/src/harness/harness.ts
+++ b/packages/taler-wallet-cli/src/harness/harness.ts
@@ -1609,7 +1609,7 @@ export namespace MerchantPrivateApi {
const baseUrl = merchantService.makeInstanceBaseUrl(instanceName);
let url = new URL("private/orders", baseUrl);
const resp = await axios.post(url.href, req, {
- headers: withAuthorization,
+ headers: withAuthorization as Record<string, string>,
});
return codecForPostOrderResponse().decode(resp.data);
}
@@ -1626,7 +1626,9 @@ export namespace MerchantPrivateApi {
if (query.sessionId) {
reqUrl.searchParams.set("session_id", query.sessionId);
}
- const resp = await axios.get(reqUrl.href, { headers: withAuthorization });
+ const resp = await axios.get(reqUrl.href, {
+ headers: withAuthorization as Record<string, string>,
+ });
return codecForMerchantOrderPrivateStatusResponse().decode(resp.data);
}