diff options
author | Sebastian <sebasjm@gmail.com> | 2022-03-15 12:23:41 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-03-15 12:23:41 -0300 |
commit | eb18c1f179cb9abadc25c14c39b28e2786fa6f43 (patch) | |
tree | 1efeeb96992a80d904b481859d148bb804124eac | |
parent | bcdd59a1422bfdb0e7cd28dad39f42687ca43e15 (diff) |
webRequestBlocking is required for chromium
-rwxr-xr-x | packages/taler-wallet-webextension/pack.sh | 2 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/permissions.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/pack.sh b/packages/taler-wallet-webextension/pack.sh index 8ea849083..a3876f4c7 100755 --- a/packages/taler-wallet-webextension/pack.sh +++ b/packages/taler-wallet-webextension/pack.sh @@ -24,7 +24,7 @@ rm -rf extension/v2/unpacked mkdir -p extension/v2/unpacked (cd extension/v2/unpacked && unzip ../$zipfile) echo "Packed webextension: extension/v2/$zipfile" - +cp -rf src extension/v2/unpacked vers_manifest=$(jq -r '.version' manifest-v3.json) diff --git a/packages/taler-wallet-webextension/src/permissions.ts b/packages/taler-wallet-webextension/src/permissions.ts index fe8630805..82585b637 100644 --- a/packages/taler-wallet-webextension/src/permissions.ts +++ b/packages/taler-wallet-webextension/src/permissions.ts @@ -15,6 +15,6 @@ */ export const getReadRequestPermissions = () => ({ - permissions: ["webRequest"], + permissions: ["webRequest", "webRequestBlocking"], origins: ["http://*/*", "https://*/*"], })
\ No newline at end of file |