aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r--packages/taler-wallet-core/src/wallet.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index 357dd586a..e25b4bd95 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -90,6 +90,7 @@ import {
parsePaytoUri,
RefreshReason,
TalerErrorCode,
+ codecForApplyDevExperiment,
URL,
WalletCoreVersion,
WalletNotification,
@@ -109,6 +110,7 @@ import {
importDb,
WalletStoresV1,
} from "./db.js";
+import { applyDevExperiment } from "./dev-experiments.js";
import { getErrorDetailFromException, TalerError } from "./errors.js";
import {
ActiveLongpollInfo,
@@ -1325,6 +1327,11 @@ async function dispatchRequestInternal(
const req = codecForAcceptPeerPullPaymentRequest().decode(payload);
return await acceptPeerPullPayment(ws, req);
}
+ case "applyDevExperiment": {
+ const req = codecForApplyDevExperiment().decode(payload);
+ await applyDevExperiment(ws, req.devExperimentUri);
+ return {};
+ }
case "getVersion": {
const version: WalletCoreVersion = {
hash: GIT_HASH,