logging / bump version
This commit is contained in:
parent
f18d70d0d1
commit
f7e118e996
@ -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"
|
||||
}
|
||||
|
@ -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,
|
||||
});
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user