btc-wallet 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +8 -1
- package/dist/index.js.map +2 -2
- package/esm/index.js +8 -1
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/esm/index.js
CHANGED
@@ -2348,6 +2348,13 @@ function setupWalletButton(network, wallet, originalWallet) {
|
|
2348
2348
|
iframeUrl: network === "testnet" ? "https://wallet-dev.satoshibridge.top" : "https://wallet.satoshibridge.top",
|
2349
2349
|
iframeStyle: { width: "400px", height: "650px" }
|
2350
2350
|
});
|
2351
|
+
iframe.addEventListener("mouseenter", () => {
|
2352
|
+
var _a;
|
2353
|
+
(_a = document.activeElement) == null ? void 0 : _a.setAttribute("tabindex", "null");
|
2354
|
+
setTimeout(() => {
|
2355
|
+
iframe.focus();
|
2356
|
+
}, 0);
|
2357
|
+
});
|
2351
2358
|
const button = createFloatingButtonWithIframe({
|
2352
2359
|
openImageUrl: "https://assets.deltatrade.ai/wallet-assets/wallet-btn.png",
|
2353
2360
|
closeImageUrl: "https://assets.deltatrade.ai/wallet-assets/wallet-btn-active.png",
|
@@ -2870,7 +2877,7 @@ function pollTransactionStatuses(network, hashes) {
|
|
2870
2877
|
|
2871
2878
|
// src/index.ts
|
2872
2879
|
var getVersion = () => {
|
2873
|
-
return "0.1.
|
2880
|
+
return "0.1.4";
|
2874
2881
|
};
|
2875
2882
|
if (typeof window !== "undefined") {
|
2876
2883
|
window.__PARTICLE_BTC_CONNECT_VERSION = getVersion();
|