logging / bump version

This commit is contained in:
Florian Dold 2019-08-17 18:54:09 +02:00
parent f18d70d0d1
commit f7e118e996
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "taler-wallet", "name": "taler-wallet",
"version": "0.0.6", "version": "0.0.7",
"description": "", "description": "",
"main": "dist/node/index.js", "main": "dist/node/index.js",
"repository": { "repository": {
@ -50,7 +50,7 @@
"@types/urijs": "^1.19.3", "@types/urijs": "^1.19.3",
"axios": "^0.19.0", "axios": "^0.19.0",
"commander": "^2.20.0", "commander": "^2.20.0",
"idb-bridge": "^0.0.6", "idb-bridge": "^0.0.7",
"source-map-support": "^0.5.12", "source-map-support": "^0.5.12",
"urijs": "^1.18.10" "urijs": "^1.18.10"
} }

View File

@ -149,7 +149,6 @@ export async function getDefaultNodeWallet(
} }
myBackend.afterCommitCallback = async () => { myBackend.afterCommitCallback = async () => {
console.log("in afterCommitCallback!");
const dbContent = myBackend.exportDump(); const dbContent = myBackend.exportDump();
fs.writeFileSync(storagePath, JSON.stringify(dbContent, undefined, 2), { encoding: "utf-8" }); fs.writeFileSync(storagePath, JSON.stringify(dbContent, undefined, 2), { encoding: "utf-8" });
}; };
@ -196,12 +195,12 @@ export async function getDefaultNodeWallet(
export async function withdrawTestBalance( export async function withdrawTestBalance(
myWallet: Wallet, myWallet: Wallet,
amount: string = "TESTKUDOS:10", amount: string = "TESTKUDOS:1000",
bankBaseUrl: string = "https://bank.test.taler.net/", bankBaseUrl: string = "https://bank.test.taler.net/",
exchangeBaseUrl: string = "https://exchange.test.taler.net/", exchangeBaseUrl: string = "https://exchange.test.taler.net/",
) { ) {
const reserveResponse = await myWallet.createReserve({ const reserveResponse = await myWallet.createReserve({
amount: amounts.parseOrThrow("TESTKUDOS:10.0"), amount: amounts.parseOrThrow(amount),
exchange: exchangeBaseUrl, exchange: exchangeBaseUrl,
}); });

View File

@ -3240,10 +3240,10 @@ iconv-lite@^0.4.4, iconv-lite@~0.4.13:
dependencies: dependencies:
safer-buffer ">= 2.1.2 < 3" safer-buffer ">= 2.1.2 < 3"
idb-bridge@^0.0.6: idb-bridge@^0.0.7:
version "0.0.6" version "0.0.7"
resolved "https://registry.yarnpkg.com/idb-bridge/-/idb-bridge-0.0.6.tgz#efdf7e6fdb3deec14e4b84c70b0af72e78a52d4d" resolved "https://registry.yarnpkg.com/idb-bridge/-/idb-bridge-0.0.7.tgz#34705d79ab992c4b5d5fa048c313ac5f803a972f"
integrity sha512-0IjViZiibJxHNKJw1D+trd+TS1wDRUUCTstz4ga6uc3Nje4qXOrVDaF56COcvOYywY9w6YCVtN52Am6+Ce85QQ== integrity sha512-vGTYbX6ni8h/6B2POS6f1Nuzp47+Tna5MggQKDmQp1MLCPFbI8RXBzs1rvKWuMx+WKX3LtMWbxSm8hQBnI9DLA==
ieee754@^1.1.4: ieee754@^1.1.4:
version "1.1.13" version "1.1.13"