diff --git a/.changeset/friendly-coats-move.md b/.changeset/friendly-coats-move.md new file mode 100644 index 00000000..ebe52abd --- /dev/null +++ b/.changeset/friendly-coats-move.md @@ -0,0 +1,5 @@ +--- +'@node-real/walletkit': patch +--- + +Update modal zIndex & binance wallet id diff --git a/packages/walletkit/src/core/providers/ThemeProvider/themes/base.ts b/packages/walletkit/src/core/providers/ThemeProvider/themes/base.ts index 682c7346..1df2db2a 100644 --- a/packages/walletkit/src/core/providers/ThemeProvider/themes/base.ts +++ b/packages/walletkit/src/core/providers/ThemeProvider/themes/base.ts @@ -17,8 +17,8 @@ const radii = { }; const zIndices = { - modal: 2300, - toast: 2500, + modal: 1300, + toast: 1500, }; export const base = { diff --git a/packages/walletkit/src/evm/wallets/binanceWallet/index.tsx b/packages/walletkit/src/evm/wallets/binanceWallet/index.tsx index 3a2018a3..96f4601f 100644 --- a/packages/walletkit/src/evm/wallets/binanceWallet/index.tsx +++ b/packages/walletkit/src/evm/wallets/binanceWallet/index.tsx @@ -38,7 +38,7 @@ export function binanceWallet(props: InjectedEvmWalletOptions = {}): EvmWallet { return injected({ shimDisconnect: true, target: { - id: binanceWallet().id, + id: this.id, name: binanceWallet().name, async provider() { if (isMobile() && binanceWallet().isInstalled() && !isReady) {