diff options
author | Sebastian <sebasjm@gmail.com> | 2022-04-27 14:33:52 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-04-27 14:33:52 -0300 |
commit | 451dd746daeb57cfe0a601d1bf1f2b5506a5fc3c (patch) | |
tree | 975b98de7c3d28f62e05396a01129c69efbeb66b /packages/taler-wallet-webextension/src/platform/firefox.ts | |
parent | 0b8e0a0806947472181b13a3c0dda9947a326b28 (diff) | |
download | wallet-core-451dd746daeb57cfe0a601d1bf1f2b5506a5fc3c.tar.xz |
toggle permission
Diffstat (limited to 'packages/taler-wallet-webextension/src/platform/firefox.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/platform/firefox.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/platform/firefox.ts b/packages/taler-wallet-webextension/src/platform/firefox.ts index 21d0e187b..d5beda324 100644 --- a/packages/taler-wallet-webextension/src/platform/firefox.ts +++ b/packages/taler-wallet-webextension/src/platform/firefox.ts @@ -15,7 +15,7 @@ */ import { CrossBrowserPermissionsApi, Permissions, PlatformAPI } from "./api.js"; -import chromePlatform, { contains as chromeContains, remove as chromeRemove, request as chromeRequest } from "./chrome.js"; +import chromePlatform, { containsHostPermissions as chromeContains, removeHostPermissions as chromeRemove, requestHostPermissions as chromeRequest } from "./chrome.js"; const api: PlatformAPI = { ...chromePlatform, @@ -40,9 +40,9 @@ function addPermissionsListener(callback: (p: Permissions) => void): void { function getPermissionsApi(): CrossBrowserPermissionsApi { return { addPermissionsListener, - contains: chromeContains, - request: chromeRequest, - remove: chromeRemove + containsHostPermissions: chromeContains, + requestHostPermissions: chromeRequest, + removeHostPermissions: chromeRemove } } |