btc-wallet 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/dist/index.js
CHANGED
|
@@ -2389,6 +2389,13 @@ function setupWalletButton(network, wallet, originalWallet) {
|
|
|
2389
2389
|
iframeUrl: network === "testnet" ? "https://wallet-dev.satoshibridge.top" : "https://wallet.satoshibridge.top",
|
|
2390
2390
|
iframeStyle: { width: "400px", height: "650px" }
|
|
2391
2391
|
});
|
|
2392
|
+
iframe.addEventListener("mouseenter", () => {
|
|
2393
|
+
var _a;
|
|
2394
|
+
(_a = document.activeElement) == null ? void 0 : _a.setAttribute("tabindex", "null");
|
|
2395
|
+
setTimeout(() => {
|
|
2396
|
+
iframe.focus();
|
|
2397
|
+
}, 0);
|
|
2398
|
+
});
|
|
2392
2399
|
const button = createFloatingButtonWithIframe({
|
|
2393
2400
|
openImageUrl: "https://assets.deltatrade.ai/wallet-assets/wallet-btn.png",
|
|
2394
2401
|
closeImageUrl: "https://assets.deltatrade.ai/wallet-assets/wallet-btn-active.png",
|
|
@@ -2911,7 +2918,7 @@ function pollTransactionStatuses(network, hashes) {
|
|
|
2911
2918
|
|
|
2912
2919
|
// src/index.ts
|
|
2913
2920
|
var getVersion = () => {
|
|
2914
|
-
return "0.1.
|
|
2921
|
+
return "0.1.4";
|
|
2915
2922
|
};
|
|
2916
2923
|
if (typeof window !== "undefined") {
|
|
2917
2924
|
window.__PARTICLE_BTC_CONNECT_VERSION = getVersion();
|