summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/host-impl.qtart.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-04-24 12:53:20 -0300
committerSebastian <sebasjm@gmail.com>2023-04-24 12:53:20 -0300
commit205d7364ed74d90068ae2a1cc402e77ac2f0bbad (patch)
treea6fba8791c77a891bee2d64ffc4d8cf0c97f76ee /packages/taler-wallet-core/src/host-impl.qtart.ts
parent3004ece1f8153fdf8ddb283e5d767dd5b5c2e179 (diff)
downloadwallet-core-205d7364ed74d90068ae2a1cc402e77ac2f0bbad.tar.gz
wallet-core-205d7364ed74d90068ae2a1cc402e77ac2f0bbad.tar.bz2
wallet-core-205d7364ed74d90068ae2a1cc402e77ac2f0bbad.zip
wallet effective config
Diffstat (limited to 'packages/taler-wallet-core/src/host-impl.qtart.ts')
-rw-r--r--packages/taler-wallet-core/src/host-impl.qtart.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/host-impl.qtart.ts b/packages/taler-wallet-core/src/host-impl.qtart.ts
index db7a1fa5c..d10914b10 100644
--- a/packages/taler-wallet-core/src/host-impl.qtart.ts
+++ b/packages/taler-wallet-core/src/host-impl.qtart.ts
@@ -89,7 +89,10 @@ export async function createNativeWalletHost2(
if (args.httpLib) {
myHttpLib = args.httpLib;
} else {
- myHttpLib = createPlatformHttpLib();
+ myHttpLib = createPlatformHttpLib({
+ enableThrottling: true,
+ allowHttp: args.config?.features?.allowHttp,
+ });
}
const myVersionChange = (): Promise<void> => {