@meshsdk/react 1.7.31 → 1.7.32

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 CHANGED
@@ -3202,8 +3202,6 @@ function ConnectedButton() {
3202
3202
  address.slice(-6)
3203
3203
  ] }) }),
3204
3204
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(DropdownMenuContent, { children: [
3205
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DropdownMenuLabel, { children: "Wallet" }),
3206
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DropdownMenuSeparator, {}),
3207
3205
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3208
3206
  DropdownMenuItem,
3209
3207
  {
@@ -3529,14 +3527,7 @@ function ScreenMain({
3529
3527
 
3530
3528
  // src/cardano-wallet/screen-p2p.tsx
3531
3529
  var import_react12 = require("react");
3532
-
3533
- // src/common/cardano-peer-connect/index.ts
3534
- var cjsCardanopeerconnect = __toESM(require("@fabianbormann/cardano-peer-connect"), 1);
3535
- var cardanopeerconnect = cjsCardanopeerconnect;
3536
- var exportedCardanopeerconnect = cardanopeerconnect?.default || cardanopeerconnect;
3537
- var DAppPeerConnect = exportedCardanopeerconnect.DAppPeerConnect;
3538
-
3539
- // src/cardano-wallet/screen-p2p.tsx
3530
+ var import_cardano_peer_connect = require("@fabianbormann/cardano-peer-connect");
3540
3531
  var import_jsx_runtime15 = require("react/jsx-runtime");
3541
3532
  function ScreenP2P({
3542
3533
  cardanoPeerConnect,
@@ -3550,7 +3541,7 @@ function ScreenP2P({
3550
3541
  (0, import_react12.useEffect)(() => {
3551
3542
  if (cardanoPeerConnect) {
3552
3543
  if (dAppConnect.current === null) {
3553
- dAppConnect.current = new DAppPeerConnect({
3544
+ dAppConnect.current = new import_cardano_peer_connect.DAppPeerConnect({
3554
3545
  dAppInfo: {
3555
3546
  name: cardanoPeerConnect.dAppInfo.name,
3556
3547
  url: cardanoPeerConnect.dAppInfo.url
package/dist/index.js CHANGED
@@ -3158,8 +3158,6 @@ function ConnectedButton() {
3158
3158
  address.slice(-6)
3159
3159
  ] }) }),
3160
3160
  /* @__PURE__ */ jsxs3(DropdownMenuContent, { children: [
3161
- /* @__PURE__ */ jsx7(DropdownMenuLabel, { children: "Wallet" }),
3162
- /* @__PURE__ */ jsx7(DropdownMenuSeparator, {}),
3163
3161
  /* @__PURE__ */ jsx7(
3164
3162
  DropdownMenuItem,
3165
3163
  {
@@ -3485,14 +3483,7 @@ function ScreenMain({
3485
3483
 
3486
3484
  // src/cardano-wallet/screen-p2p.tsx
3487
3485
  import { useEffect as useEffect9, useRef as useRef2, useState as useState11 } from "react";
3488
-
3489
- // src/common/cardano-peer-connect/index.ts
3490
- import * as cjsCardanopeerconnect from "@fabianbormann/cardano-peer-connect";
3491
- var cardanopeerconnect = cjsCardanopeerconnect;
3492
- var exportedCardanopeerconnect = cardanopeerconnect?.default || cardanopeerconnect;
3493
- var DAppPeerConnect = exportedCardanopeerconnect.DAppPeerConnect;
3494
-
3495
- // src/cardano-wallet/screen-p2p.tsx
3486
+ import { DAppPeerConnect } from "@fabianbormann/cardano-peer-connect";
3496
3487
  import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
3497
3488
  function ScreenP2P({
3498
3489
  cardanoPeerConnect,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/react",
3
- "version": "1.7.31",
3
+ "version": "1.7.32",
4
4
  "description": "React component library - https://meshjs.dev/react",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.js",
@@ -19,7 +19,8 @@
19
19
  "dist/**"
20
20
  ],
21
21
  "scripts": {
22
- "build:mesh": "tsup src/index.ts --format esm,cjs --dts && tailwindcss -i ./src/styles.css -o ./dist/index.css",
22
+ "build:mesh-old": "tsup src/index.ts --format esm,cjs --dts && tailwindcss -i ./src/styles.css -o ./dist/index.css",
23
+ "build:mesh": "tsup src/index.ts --format esm,cjs --cjsInterop --dts && tailwindcss -i ./src/styles.css -o ./dist/index.css",
23
24
  "dev": "tsup src/index.ts --format esm,cjs --watch --dts",
24
25
  "clean": "rm -rf .turbo && rm -rf dist && rm -rf node_modules",
25
26
  "format": "prettier --check . --ignore-path ../../.gitignore",
@@ -29,9 +30,9 @@
29
30
  },
30
31
  "dependencies": {
31
32
  "@fabianbormann/cardano-peer-connect": "^1.2.18",
32
- "@meshsdk/common": "1.7.31",
33
- "@meshsdk/transaction": "1.7.31",
34
- "@meshsdk/wallet": "1.7.31",
33
+ "@meshsdk/common": "1.7.32",
34
+ "@meshsdk/transaction": "1.7.32",
35
+ "@meshsdk/wallet": "1.7.32",
35
36
  "@radix-ui/react-dialog": "^1.1.2",
36
37
  "@radix-ui/react-dropdown-menu": "^2.1.2",
37
38
  "@radix-ui/react-icons": "^1.3.2",