Skip to content

Commit

Permalink
Merge pull request #34 from multiversx/development
Browse files Browse the repository at this point in the history
Add utils
  • Loading branch information
arhtudormorar authored Apr 23, 2024
2 parents e46d4c7 + 2355f77 commit f27c0da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@multiversx/sdk-web-wallet-cross-window-provider",
"version": "0.0.38",
"version": "0.0.39",
"description": "Signing provider for dApps: Cross Window",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
4 changes: 2 additions & 2 deletions src/CrossWindowProvider/CrossWindowProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { SignableMessage, Transaction } from '@multiversx/sdk-core';
import { WindowManager } from '../WindowManager';
import { safeWindow } from '../constants';
import {
ErrAccountNotConnected,
Expand All @@ -17,7 +16,7 @@ import {
CrossWindowProviderResponseEnums,
SignMessageStatusEnum
} from '../types';
import './PopupConsent';
import { WindowManager } from '../WindowManager';
import { PopupConsent, confirmationDialogTag } from './PopupConsent';

interface ICrossWindowWalletAccount {
Expand Down Expand Up @@ -289,6 +288,7 @@ export class CrossWindowProvider {
}

protected async openPopupConsent(): Promise<boolean> {
require('./PopupConsent');
const dialog = safeWindow.document?.createElement('div');
const document = safeWindow.document;

Expand Down

0 comments on commit f27c0da

Please sign in to comment.