btc-wallet 0.4.8-beta → 0.5.0-beta

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/esm/index.js CHANGED
@@ -2876,15 +2876,15 @@ var walletConfig = {
2876
2876
  accountContractId: "acc.toalice.near",
2877
2877
  bridgeContractId: "brg.toalice.near",
2878
2878
  walletUrl: "https://wallet-stg.satoshibridge.top",
2879
- bridgeUrl: "https://ramp.satos.network/"
2879
+ bridgeUrl: "https://old.ramp.satos.network"
2880
2880
  },
2881
2881
  mainnet: {
2882
- base_url: "https://api.mainnet.satoshibridge.top",
2883
- token: "nbtc.toalice.near",
2884
- accountContractId: "acc.toalice.near",
2885
- bridgeContractId: "brg.toalice.near",
2882
+ base_url: "https://api.satos.network",
2883
+ token: "nbtc.bridge.near",
2884
+ accountContractId: "acc.ref-labs.near",
2885
+ bridgeContractId: "btc-connector.bridge.near",
2886
2886
  walletUrl: "https://wallet.satoshibridge.top",
2887
- bridgeUrl: "https://www.satoshibridge.top/"
2887
+ bridgeUrl: "https://ramp.satos.network"
2888
2888
  }
2889
2889
  };
2890
2890
  var nearRpcUrls = {
@@ -2957,6 +2957,7 @@ function createFloatingButtonWithIframe({
2957
2957
  userSelect: "none"
2958
2958
  });
2959
2959
  document.body.appendChild(button);
2960
+ updateIframePosition(iframe, right, bottom, windowWidth, windowHeight);
2960
2961
  let isDragging = false;
2961
2962
  let startX = 0;
2962
2963
  let startY = 0;
@@ -4386,7 +4387,7 @@ function setupBTCWallet({
4386
4387
 
4387
4388
  // src/index.ts
4388
4389
  var getVersion = () => {
4389
- return "0.4.8-beta";
4390
+ return "0.5.0-beta";
4390
4391
  };
4391
4392
  if (typeof window !== "undefined") {
4392
4393
  window.__BTC_WALLET_VERSION = getVersion();