@meshsdk/react 1.7.32 → 1.8.0
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 -2
- package/dist/index.js +8 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -3527,7 +3527,14 @@ function ScreenMain({
|
|
|
3527
3527
|
|
|
3528
3528
|
// src/cardano-wallet/screen-p2p.tsx
|
|
3529
3529
|
var import_react12 = require("react");
|
|
3530
|
-
|
|
3530
|
+
|
|
3531
|
+
// src/common/cardano-peer-connect/index.ts
|
|
3532
|
+
var cjsCardanopeerconnect = __toESM(require("@fabianbormann/cardano-peer-connect"), 1);
|
|
3533
|
+
var cardanopeerconnect = cjsCardanopeerconnect;
|
|
3534
|
+
var exportedCardanopeerconnect = cardanopeerconnect?.default || cardanopeerconnect;
|
|
3535
|
+
var DAppPeerConnect = exportedCardanopeerconnect.DAppPeerConnect;
|
|
3536
|
+
|
|
3537
|
+
// src/cardano-wallet/screen-p2p.tsx
|
|
3531
3538
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
3532
3539
|
function ScreenP2P({
|
|
3533
3540
|
cardanoPeerConnect,
|
|
@@ -3541,7 +3548,7 @@ function ScreenP2P({
|
|
|
3541
3548
|
(0, import_react12.useEffect)(() => {
|
|
3542
3549
|
if (cardanoPeerConnect) {
|
|
3543
3550
|
if (dAppConnect.current === null) {
|
|
3544
|
-
dAppConnect.current = new
|
|
3551
|
+
dAppConnect.current = new DAppPeerConnect({
|
|
3545
3552
|
dAppInfo: {
|
|
3546
3553
|
name: cardanoPeerConnect.dAppInfo.name,
|
|
3547
3554
|
url: cardanoPeerConnect.dAppInfo.url
|
package/dist/index.js
CHANGED
|
@@ -3483,7 +3483,14 @@ function ScreenMain({
|
|
|
3483
3483
|
|
|
3484
3484
|
// src/cardano-wallet/screen-p2p.tsx
|
|
3485
3485
|
import { useEffect as useEffect9, useRef as useRef2, useState as useState11 } from "react";
|
|
3486
|
-
|
|
3486
|
+
|
|
3487
|
+
// src/common/cardano-peer-connect/index.ts
|
|
3488
|
+
import * as cjsCardanopeerconnect from "@fabianbormann/cardano-peer-connect";
|
|
3489
|
+
var cardanopeerconnect = cjsCardanopeerconnect;
|
|
3490
|
+
var exportedCardanopeerconnect = cardanopeerconnect?.default || cardanopeerconnect;
|
|
3491
|
+
var DAppPeerConnect = exportedCardanopeerconnect.DAppPeerConnect;
|
|
3492
|
+
|
|
3493
|
+
// src/cardano-wallet/screen-p2p.tsx
|
|
3487
3494
|
import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
3488
3495
|
function ScreenP2P({
|
|
3489
3496
|
cardanoPeerConnect,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "React component library - https://meshjs.dev/react",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"browser": "./dist/index.js",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@fabianbormann/cardano-peer-connect": "^1.2.18",
|
|
33
|
-
"@meshsdk/common": "1.
|
|
34
|
-
"@meshsdk/transaction": "1.
|
|
35
|
-
"@meshsdk/wallet": "1.
|
|
33
|
+
"@meshsdk/common": "1.8.0",
|
|
34
|
+
"@meshsdk/transaction": "1.8.0",
|
|
35
|
+
"@meshsdk/wallet": "1.8.0",
|
|
36
36
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
37
37
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
38
38
|
"@radix-ui/react-icons": "^1.3.2",
|