btc-wallet 0.5.60-beta → 0.5.61-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 +9 -6
- package/dist/index.js.map +2 -2
- package/esm/index.js +9 -6
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/esm/index.js
CHANGED
@@ -5106,9 +5106,9 @@ function setupWalletSelectorModal(selector, options) {
|
|
5106
5106
|
return modal;
|
5107
5107
|
}
|
5108
5108
|
var CHAINS = [
|
5109
|
-
{ id: "btc", name: "Bitcoin" },
|
5110
|
-
{ id: "eth", name: "Ethereum" },
|
5111
|
-
{ id: "near", name: "Near" }
|
5109
|
+
{ id: "btc", name: "Bitcoin", description: "MPC Mapping" },
|
5110
|
+
{ id: "eth", name: "Ethereum", description: "EVM address as Near Account" },
|
5111
|
+
{ id: "near", name: "Near", description: "Near Account" }
|
5112
5112
|
];
|
5113
5113
|
function openChainModal(group) {
|
5114
5114
|
return __async(this, null, function* () {
|
@@ -5117,8 +5117,11 @@ function openChainModal(group) {
|
|
5117
5117
|
const buttons = `
|
5118
5118
|
<div class="option-list">${chains5.map(
|
5119
5119
|
(chain) => `<button class="chain-button option-item" data-chain="${chain.id}">
|
5120
|
-
|
5121
|
-
|
5120
|
+
<img src="https://assets.deltatrade.ai/assets/chain/${chain.id}.svg" alt="${chain.id}" style="width:32px; height: 32px;" />
|
5121
|
+
<div style="display: flex; flex-direction: column; text-align: left;">
|
5122
|
+
<div style="font-size: 16px; font-weight: bold;">${chain.name}</div>
|
5123
|
+
<div style="font-size: 12px; opacity:0.5;">${chain.description}</div>
|
5124
|
+
</div>
|
5122
5125
|
</button>`
|
5123
5126
|
).join("")}
|
5124
5127
|
</div>
|
@@ -5159,7 +5162,7 @@ function getGroup(state) {
|
|
5159
5162
|
|
5160
5163
|
// src/index.ts
|
5161
5164
|
var getVersion = () => {
|
5162
|
-
return "0.5.
|
5165
|
+
return "0.5.61-beta";
|
5163
5166
|
};
|
5164
5167
|
if (typeof window !== "undefined") {
|
5165
5168
|
window.__BTC_WALLET_VERSION = getVersion();
|