@meshsdk/react 1.9.0-beta.68 → 1.9.0-beta.69
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.cjs +9 -9
- package/dist/index.js +9 -9
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -23738,7 +23738,7 @@ var useWalletStore = () => {
|
|
|
23738
23738
|
const persist2 = JSON.parse(
|
|
23739
23739
|
localStorage.getItem(localstoragePersist) || ""
|
|
23740
23740
|
);
|
|
23741
|
-
if (persist2.walletName == "
|
|
23741
|
+
if (persist2.walletName == "utxos" && web3Services) {
|
|
23742
23742
|
import_web3_sdk.Web3Wallet.initWallet({
|
|
23743
23743
|
networkId: web3Services.networkId,
|
|
23744
23744
|
address: persist2.walletAddress,
|
|
@@ -23747,7 +23747,7 @@ var useWalletStore = () => {
|
|
|
23747
23747
|
projectId: web3Services.projectId,
|
|
23748
23748
|
appUrl: web3Services.appUrl
|
|
23749
23749
|
}).then((wallet) => {
|
|
23750
|
-
setConnectedWalletInstance(wallet);
|
|
23750
|
+
setConnectedWalletInstance(wallet.cardano);
|
|
23751
23751
|
setConnectedWalletName(persist2.walletName);
|
|
23752
23752
|
setState("CONNECTED" /* CONNECTED */);
|
|
23753
23753
|
});
|
|
@@ -24134,11 +24134,11 @@ function ConnectedButton() {
|
|
|
24134
24134
|
children: "Copy Address"
|
|
24135
24135
|
}
|
|
24136
24136
|
),
|
|
24137
|
-
name == "
|
|
24137
|
+
name == "utxos" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
24138
24138
|
DropdownMenuItem,
|
|
24139
24139
|
{
|
|
24140
24140
|
onClick: () => {
|
|
24141
|
-
window.open("https://
|
|
24141
|
+
window.open("https://utxos.dev/wallet", "_blank");
|
|
24142
24142
|
},
|
|
24143
24143
|
children: "Open Web3 Wallet"
|
|
24144
24144
|
}
|
|
@@ -24268,9 +24268,9 @@ function IconBitcoin() {
|
|
|
24268
24268
|
viewBox: "0 0 24 24",
|
|
24269
24269
|
fill: "none",
|
|
24270
24270
|
stroke: "currentColor",
|
|
24271
|
-
|
|
24272
|
-
|
|
24273
|
-
|
|
24271
|
+
strokeWidth: "2",
|
|
24272
|
+
strokeLinecap: "round",
|
|
24273
|
+
strokeLinejoin: "round",
|
|
24274
24274
|
style: {
|
|
24275
24275
|
color: "#CC9900",
|
|
24276
24276
|
width: "24px",
|
|
@@ -24583,8 +24583,8 @@ function Web3Services({
|
|
|
24583
24583
|
const user = wallet.getUser();
|
|
24584
24584
|
setWeb3UserData(user);
|
|
24585
24585
|
setWallet(
|
|
24586
|
-
wallet,
|
|
24587
|
-
"
|
|
24586
|
+
wallet.cardano,
|
|
24587
|
+
"utxos",
|
|
24588
24588
|
persist ? {
|
|
24589
24589
|
walletAddress: await wallet.getChangeAddress(),
|
|
24590
24590
|
user
|
package/dist/index.js
CHANGED
|
@@ -23716,7 +23716,7 @@ var useWalletStore = () => {
|
|
|
23716
23716
|
const persist2 = JSON.parse(
|
|
23717
23717
|
localStorage.getItem(localstoragePersist) || ""
|
|
23718
23718
|
);
|
|
23719
|
-
if (persist2.walletName == "
|
|
23719
|
+
if (persist2.walletName == "utxos" && web3Services) {
|
|
23720
23720
|
Web3Wallet.initWallet({
|
|
23721
23721
|
networkId: web3Services.networkId,
|
|
23722
23722
|
address: persist2.walletAddress,
|
|
@@ -23725,7 +23725,7 @@ var useWalletStore = () => {
|
|
|
23725
23725
|
projectId: web3Services.projectId,
|
|
23726
23726
|
appUrl: web3Services.appUrl
|
|
23727
23727
|
}).then((wallet) => {
|
|
23728
|
-
setConnectedWalletInstance(wallet);
|
|
23728
|
+
setConnectedWalletInstance(wallet.cardano);
|
|
23729
23729
|
setConnectedWalletName(persist2.walletName);
|
|
23730
23730
|
setState("CONNECTED" /* CONNECTED */);
|
|
23731
23731
|
});
|
|
@@ -24116,11 +24116,11 @@ function ConnectedButton() {
|
|
|
24116
24116
|
children: "Copy Address"
|
|
24117
24117
|
}
|
|
24118
24118
|
),
|
|
24119
|
-
name == "
|
|
24119
|
+
name == "utxos" && /* @__PURE__ */ jsx6(
|
|
24120
24120
|
DropdownMenuItem,
|
|
24121
24121
|
{
|
|
24122
24122
|
onClick: () => {
|
|
24123
|
-
window.open("https://
|
|
24123
|
+
window.open("https://utxos.dev/wallet", "_blank");
|
|
24124
24124
|
},
|
|
24125
24125
|
children: "Open Web3 Wallet"
|
|
24126
24126
|
}
|
|
@@ -24250,9 +24250,9 @@ function IconBitcoin() {
|
|
|
24250
24250
|
viewBox: "0 0 24 24",
|
|
24251
24251
|
fill: "none",
|
|
24252
24252
|
stroke: "currentColor",
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24253
|
+
strokeWidth: "2",
|
|
24254
|
+
strokeLinecap: "round",
|
|
24255
|
+
strokeLinejoin: "round",
|
|
24256
24256
|
style: {
|
|
24257
24257
|
color: "#CC9900",
|
|
24258
24258
|
width: "24px",
|
|
@@ -24567,8 +24567,8 @@ function Web3Services({
|
|
|
24567
24567
|
const user = wallet.getUser();
|
|
24568
24568
|
setWeb3UserData(user);
|
|
24569
24569
|
setWallet(
|
|
24570
|
-
wallet,
|
|
24571
|
-
"
|
|
24570
|
+
wallet.cardano,
|
|
24571
|
+
"utxos",
|
|
24572
24572
|
persist ? {
|
|
24573
24573
|
walletAddress: await wallet.getChangeAddress(),
|
|
24574
24574
|
user
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/react",
|
|
3
|
-
"version": "1.9.0-beta.
|
|
3
|
+
"version": "1.9.0-beta.69",
|
|
4
4
|
"description": "React component library - https://meshjs.dev/react",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"browser": "./dist/index.js",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@fabianbormann/cardano-peer-connect": "^1.2.18",
|
|
33
|
-
"@meshsdk/bitcoin": "1.9.0-beta.
|
|
34
|
-
"@meshsdk/common": "1.9.0-beta.
|
|
35
|
-
"@meshsdk/transaction": "1.9.0-beta.
|
|
36
|
-
"@meshsdk/wallet": "1.9.0-beta.
|
|
37
|
-
"@meshsdk/web3-sdk": "0.0.
|
|
33
|
+
"@meshsdk/bitcoin": "1.9.0-beta.69",
|
|
34
|
+
"@meshsdk/common": "1.9.0-beta.69",
|
|
35
|
+
"@meshsdk/transaction": "1.9.0-beta.69",
|
|
36
|
+
"@meshsdk/wallet": "1.9.0-beta.69",
|
|
37
|
+
"@meshsdk/web3-sdk": "0.0.50",
|
|
38
38
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
39
39
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
40
40
|
"@radix-ui/react-icons": "^1.3.2",
|