aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-17 18:54:09 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-17 18:54:09 +0200
commitf7e118e996b333b6a34080243a2bf12a0af73e62 (patch)
tree6e2b7e1f15616acbafd746131dc0cdafcbd3bc3b
parentf18d70d0d18b1258ebf36dabb2025eaf181e8032 (diff)
logging / bump version
-rw-r--r--package.json4
-rw-r--r--src/headless/helpers.ts5
-rw-r--r--yarn.lock8
3 files changed, 8 insertions, 9 deletions
diff --git a/package.json b/package.json
index e1992490a..63e0177a9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "taler-wallet",
- "version": "0.0.6",
+ "version": "0.0.7",
"description": "",
"main": "dist/node/index.js",
"repository": {
@@ -50,7 +50,7 @@
"@types/urijs": "^1.19.3",
"axios": "^0.19.0",
"commander": "^2.20.0",
- "idb-bridge": "^0.0.6",
+ "idb-bridge": "^0.0.7",
"source-map-support": "^0.5.12",
"urijs": "^1.18.10"
}
diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts
index 0ac7accb6..5b26c6cea 100644
--- a/src/headless/helpers.ts
+++ b/src/headless/helpers.ts
@@ -149,7 +149,6 @@ export async function getDefaultNodeWallet(
}
myBackend.afterCommitCallback = async () => {
- console.log("in afterCommitCallback!");
const dbContent = myBackend.exportDump();
fs.writeFileSync(storagePath, JSON.stringify(dbContent, undefined, 2), { encoding: "utf-8" });
};
@@ -196,12 +195,12 @@ export async function getDefaultNodeWallet(
export async function withdrawTestBalance(
myWallet: Wallet,
- amount: string = "TESTKUDOS:10",
+ amount: string = "TESTKUDOS:1000",
bankBaseUrl: string = "https://bank.test.taler.net/",
exchangeBaseUrl: string = "https://exchange.test.taler.net/",
) {
const reserveResponse = await myWallet.createReserve({
- amount: amounts.parseOrThrow("TESTKUDOS:10.0"),
+ amount: amounts.parseOrThrow(amount),
exchange: exchangeBaseUrl,
});
diff --git a/yarn.lock b/yarn.lock
index 8e2162ca5..15f01b489 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3240,10 +3240,10 @@ iconv-lite@^0.4.4, iconv-lite@~0.4.13:
dependencies:
safer-buffer ">= 2.1.2 < 3"
-idb-bridge@^0.0.6:
- version "0.0.6"
- resolved "https://registry.yarnpkg.com/idb-bridge/-/idb-bridge-0.0.6.tgz#efdf7e6fdb3deec14e4b84c70b0af72e78a52d4d"
- integrity sha512-0IjViZiibJxHNKJw1D+trd+TS1wDRUUCTstz4ga6uc3Nje4qXOrVDaF56COcvOYywY9w6YCVtN52Am6+Ce85QQ==
+idb-bridge@^0.0.7:
+ version "0.0.7"
+ resolved "https://registry.yarnpkg.com/idb-bridge/-/idb-bridge-0.0.7.tgz#34705d79ab992c4b5d5fa048c313ac5f803a972f"
+ integrity sha512-vGTYbX6ni8h/6B2POS6f1Nuzp47+Tna5MggQKDmQp1MLCPFbI8RXBzs1rvKWuMx+WKX3LtMWbxSm8hQBnI9DLA==
ieee754@^1.1.4:
version "1.1.13"