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/dist/index.js CHANGED
@@ -2925,15 +2925,15 @@ var walletConfig = {
2925
2925
  accountContractId: "acc.toalice.near",
2926
2926
  bridgeContractId: "brg.toalice.near",
2927
2927
  walletUrl: "https://wallet-stg.satoshibridge.top",
2928
- bridgeUrl: "https://ramp.satos.network/"
2928
+ bridgeUrl: "https://old.ramp.satos.network"
2929
2929
  },
2930
2930
  mainnet: {
2931
- base_url: "https://api.mainnet.satoshibridge.top",
2932
- token: "nbtc.toalice.near",
2933
- accountContractId: "acc.toalice.near",
2934
- bridgeContractId: "brg.toalice.near",
2931
+ base_url: "https://api.satos.network",
2932
+ token: "nbtc.bridge.near",
2933
+ accountContractId: "acc.ref-labs.near",
2934
+ bridgeContractId: "btc-connector.bridge.near",
2935
2935
  walletUrl: "https://wallet.satoshibridge.top",
2936
- bridgeUrl: "https://www.satoshibridge.top/"
2936
+ bridgeUrl: "https://ramp.satos.network"
2937
2937
  }
2938
2938
  };
2939
2939
  var nearRpcUrls = {
@@ -3006,6 +3006,7 @@ function createFloatingButtonWithIframe({
3006
3006
  userSelect: "none"
3007
3007
  });
3008
3008
  document.body.appendChild(button);
3009
+ updateIframePosition(iframe, right, bottom, windowWidth, windowHeight);
3009
3010
  let isDragging = false;
3010
3011
  let startX = 0;
3011
3012
  let startY = 0;
@@ -4435,7 +4436,7 @@ function setupBTCWallet({
4435
4436
 
4436
4437
  // src/index.ts
4437
4438
  var getVersion = () => {
4438
- return "0.4.8-beta";
4439
+ return "0.5.0-beta";
4439
4440
  };
4440
4441
  if (typeof window !== "undefined") {
4441
4442
  window.__BTC_WALLET_VERSION = getVersion();