initialization for webextension
This commit is contained in:
parent
425ea0fbca
commit
2ec3f4a5d5
@ -34,6 +34,7 @@ import {
|
|||||||
DbAccess,
|
DbAccess,
|
||||||
WalletStoresV1,
|
WalletStoresV1,
|
||||||
Wallet,
|
Wallet,
|
||||||
|
WalletApiOperation,
|
||||||
} from "@gnu-taler/taler-wallet-core";
|
} from "@gnu-taler/taler-wallet-core";
|
||||||
import {
|
import {
|
||||||
classifyTalerUri,
|
classifyTalerUri,
|
||||||
@ -260,6 +261,7 @@ async function reinitWallet(): Promise<void> {
|
|||||||
http,
|
http,
|
||||||
new BrowserCryptoWorkerFactory(),
|
new BrowserCryptoWorkerFactory(),
|
||||||
);
|
);
|
||||||
|
await wallet.handleCoreApiRequest("initWallet", "native-init", {});
|
||||||
wallet.addNotificationListener((x) => {
|
wallet.addNotificationListener((x) => {
|
||||||
for (const x of notificationPorts) {
|
for (const x of notificationPorts) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user