[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated (f262b288 -> 8425d79d)
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated (f262b288 -> 8425d79d) |
Date: |
Thu, 04 Feb 2021 18:26:27 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a change to branch master
in repository wallet-core.
from f262b288 use new auth token for merchant in integration tests
new b4d85be1 formatting
new 8425d79d make auth token optional
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
packages/taler-wallet-core/package.json | 4 ++--
packages/taler-wallet-core/src/types/walletTypes.ts | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/packages/taler-wallet-core/package.json
b/packages/taler-wallet-core/package.json
index 96111f34..82ef825b 100644
--- a/packages/taler-wallet-core/package.json
+++ b/packages/taler-wallet-core/package.json
@@ -33,6 +33,7 @@
"types": "./lib/index.d.ts",
"devDependencies": {
"@ava/typescript": "^1.1.1",
+ "@gnu-taler/pogen": "workspace:*",
"@microsoft/api-extractor": "^7.13.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
@@ -47,7 +48,6 @@
"jed": "^1.1.1",
"nyc": "^15.1.0",
"po2json": "^0.4.5",
- "@gnu-taler/pogen": "workspace:*",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.37.1",
@@ -57,11 +57,11 @@
"typescript": "^4.1.3"
},
"dependencies": {
+ "@gnu-taler/idb-bridge": "workspace:*",
"@types/node": "^14.14.22",
"axios": "^0.21.1",
"big-integer": "^1.6.48",
"fflate": "^0.6.0",
- "@gnu-taler/idb-bridge": "workspace:*",
"source-map-support": "^0.5.19",
"tslib": "^2.1.0"
},
diff --git a/packages/taler-wallet-core/src/types/walletTypes.ts
b/packages/taler-wallet-core/src/types/walletTypes.ts
index 1b98df27..02214091 100644
--- a/packages/taler-wallet-core/src/types/walletTypes.ts
+++ b/packages/taler-wallet-core/src/types/walletTypes.ts
@@ -689,7 +689,7 @@ export interface GetExchangeTosResult {
export interface TestPayArgs {
merchantBaseUrl: string;
- merchantAuthToken: string;
+ merchantAuthToken?: string;
amount: string;
summary: string;
}
@@ -697,7 +697,7 @@ export interface TestPayArgs {
export const codecForTestPayArgs = (): Codec<TestPayArgs> =>
buildCodecForObject<TestPayArgs>()
.property("merchantBaseUrl", codecForString())
- .property("merchantAuthToken", codecForString())
+ .property("merchantAuthToken", codecOptional(codecForString()))
.property("amount", codecForString())
.property("summary", codecForString())
.build("TestPayArgs");
@@ -706,7 +706,7 @@ export interface IntegrationTestArgs {
exchangeBaseUrl: string;
bankBaseUrl: string;
merchantBaseUrl: string;
- merchantAuthToken: string;
+ merchantAuthToken?: string;
amountToWithdraw: string;
amountToSpend: string;
}
@@ -716,7 +716,7 @@ export const codecForIntegrationTestArgs = ():
Codec<IntegrationTestArgs> =>
.property("exchangeBaseUrl", codecForString())
.property("bankBaseUrl", codecForString())
.property("merchantBaseUrl", codecForString())
- .property("merchantAuthToken", codecForString())
+ .property("merchantAuthToken", codecOptional(codecForString()))
.property("amountToSpend", codecForAmountString())
.property("amountToWithdraw", codecForAmountString())
.build("IntegrationTestArgs");
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-wallet-core] branch master updated (f262b288 -> 8425d79d),
gnunet <=