aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-06-16 16:19:27 -0300
committerSebastian <sebasjm@gmail.com>2021-06-16 17:17:17 -0300
commit562b2cf8d29cf3392ddd1e1bd0793d92413d9658 (patch)
tree187f5f514e5e53cf4e6bb04f836465ad3d183b31
parent2bb98b13153eeaa4760cbbbba36c0bd2f9eb9477 (diff)
fix: ReferenceError: state is not defined
-rwxr-xr-xpackages/taler-wallet-webextension/clean_and_build.sh1
-rwxr-xr-xpackages/taler-wallet-webextension/pack.sh1
-rw-r--r--packages/taler-wallet-webextension/src/wxBackend.ts2
3 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/clean_and_build.sh b/packages/taler-wallet-webextension/clean_and_build.sh
index 9f9e3c5af..fa9e8d74b 100755
--- a/packages/taler-wallet-webextension/clean_and_build.sh
+++ b/packages/taler-wallet-webextension/clean_and_build.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
+# This file is in the public domain.
pnpm clean && pnpm compile && rm -rf extension/ && ./pack.sh && (cd extension/ && unzip taler*.zip)
diff --git a/packages/taler-wallet-webextension/pack.sh b/packages/taler-wallet-webextension/pack.sh
index d0d3f67e5..e762ab867 100755
--- a/packages/taler-wallet-webextension/pack.sh
+++ b/packages/taler-wallet-webextension/pack.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# This file is in the public domain.
set -eu
diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts
index d3f99d9cb..cbcbf5e0b 100644
--- a/packages/taler-wallet-webextension/src/wxBackend.ts
+++ b/packages/taler-wallet-webextension/src/wxBackend.ts
@@ -36,6 +36,7 @@ import {
handleCoreApiRequest,
runRetryLoop,
handleNotifyReserve,
+ InternalWalletState,
} from "@gnu-taler/taler-wallet-core";
import {
classifyTalerUri,
@@ -47,7 +48,6 @@ import {
} from "@gnu-taler/taler-util";
import { BrowserHttpLib } from "./browserHttpLib";
import { BrowserCryptoWorkerFactory } from "./browserCryptoWorkerFactory";
-import { InternalWalletState } from "@gnu-taler/taler-wallet-core/src/operations/state";
/**
* Currently active wallet instance. Might be unloaded and