@meshsdk/react 1.9.0-beta.30 → 1.9.0-beta.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 +187 -99
- package/dist/index.js +187 -99
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -24387,19 +24387,87 @@ function IconDiscord() {
|
|
|
24387
24387
|
viewBox: "0 0 20 20",
|
|
24388
24388
|
"aria-hidden": "true",
|
|
24389
24389
|
style: {
|
|
24390
|
-
color: "#ffadff",
|
|
24391
24390
|
width: "24px",
|
|
24392
|
-
height: "24px"
|
|
24393
|
-
|
|
24394
|
-
|
|
24391
|
+
height: "24px"
|
|
24392
|
+
},
|
|
24393
|
+
children: /* @__PURE__ */ jsx14(
|
|
24394
|
+
"path",
|
|
24395
|
+
{
|
|
24396
|
+
d: "M16.238 4.515a14.842 14.842 0 0 0-3.664-1.136.055.055 0 0 0-.059.027 10.35 10.35 0 0 0-.456.938 13.702 13.702 0 0 0-4.115 0 9.479 9.479 0 0 0-.464-.938.058.058 0 0 0-.058-.027c-1.266.218-2.497.6-3.664 1.136a.052.052 0 0 0-.024.02C1.4 8.023.76 11.424 1.074 14.782a.062.062 0 0 0 .024.042 14.923 14.923 0 0 0 4.494 2.272.058.058 0 0 0 .064-.02c.346-.473.654-.972.92-1.496a.057.057 0 0 0-.032-.08 9.83 9.83 0 0 1-1.404-.669.058.058 0 0 1-.029-.046.058.058 0 0 1 .023-.05c.094-.07.189-.144.279-.218a.056.056 0 0 1 .058-.008c2.946 1.345 6.135 1.345 9.046 0a.056.056 0 0 1 .059.007c.09.074.184.149.28.22a.058.058 0 0 1 .023.049.059.059 0 0 1-.028.046 9.224 9.224 0 0 1-1.405.669.058.058 0 0 0-.033.033.056.056 0 0 0 .002.047c.27.523.58 1.022.92 1.495a.056.056 0 0 0 .062.021 14.878 14.878 0 0 0 4.502-2.272.055.055 0 0 0 .016-.018.056.056 0 0 0 .008-.023c.375-3.883-.63-7.256-2.662-10.246a.046.046 0 0 0-.023-.021Zm-9.223 8.221c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.717 1.814-1.618 1.814Zm5.981 0c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.71 1.814-1.618 1.814Z",
|
|
24397
|
+
fill: "#5865F2"
|
|
24398
|
+
}
|
|
24399
|
+
)
|
|
24400
|
+
}
|
|
24401
|
+
);
|
|
24402
|
+
}
|
|
24403
|
+
|
|
24404
|
+
// src/common/icons/icon-google.tsx
|
|
24405
|
+
import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
24406
|
+
function IconGoogle() {
|
|
24407
|
+
return /* @__PURE__ */ jsxs10(
|
|
24408
|
+
"svg",
|
|
24409
|
+
{
|
|
24410
|
+
viewBox: "0 0 262 262",
|
|
24411
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
24412
|
+
preserveAspectRatio: "xMidYMid",
|
|
24413
|
+
style: {
|
|
24414
|
+
width: "24px",
|
|
24415
|
+
height: "24px"
|
|
24416
|
+
},
|
|
24417
|
+
children: [
|
|
24418
|
+
/* @__PURE__ */ jsx15(
|
|
24419
|
+
"path",
|
|
24420
|
+
{
|
|
24421
|
+
d: "M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",
|
|
24422
|
+
fill: "#4285F4"
|
|
24423
|
+
}
|
|
24424
|
+
),
|
|
24425
|
+
/* @__PURE__ */ jsx15(
|
|
24426
|
+
"path",
|
|
24427
|
+
{
|
|
24428
|
+
d: "M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",
|
|
24429
|
+
fill: "#34A853"
|
|
24430
|
+
}
|
|
24431
|
+
),
|
|
24432
|
+
/* @__PURE__ */ jsx15(
|
|
24433
|
+
"path",
|
|
24434
|
+
{
|
|
24435
|
+
d: "M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",
|
|
24436
|
+
fill: "#FBBC05"
|
|
24437
|
+
}
|
|
24438
|
+
),
|
|
24439
|
+
/* @__PURE__ */ jsx15(
|
|
24440
|
+
"path",
|
|
24441
|
+
{
|
|
24442
|
+
d: "M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",
|
|
24443
|
+
fill: "#EB4335"
|
|
24444
|
+
}
|
|
24445
|
+
)
|
|
24446
|
+
]
|
|
24447
|
+
}
|
|
24448
|
+
);
|
|
24449
|
+
}
|
|
24450
|
+
|
|
24451
|
+
// src/common/icons/icon-twitter.tsx
|
|
24452
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
24453
|
+
function IconTwitter() {
|
|
24454
|
+
return /* @__PURE__ */ jsx16(
|
|
24455
|
+
"svg",
|
|
24456
|
+
{
|
|
24457
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
24458
|
+
version: "1.1",
|
|
24459
|
+
viewBox: "0 0 24 24",
|
|
24460
|
+
style: {
|
|
24461
|
+
width: "24px",
|
|
24462
|
+
height: "24px"
|
|
24395
24463
|
},
|
|
24396
|
-
children: /* @__PURE__ */
|
|
24464
|
+
children: /* @__PURE__ */ jsx16("path", { d: "M14.095479,10.316482L22.286354,1h-1.940718l-7.115352,8.087682L7.551414,1H1l8.589488,12.231093L1,23h1.940717 l7.509372-8.542861L16.448587,23H23L14.095479,10.316482z M11.436522,13.338465l-0.871624-1.218704l-6.924311-9.68815h2.981339 l5.58978,7.82155l0.867949,1.218704l7.26506,10.166271h-2.981339L11.436522,13.338465z" })
|
|
24397
24465
|
}
|
|
24398
24466
|
);
|
|
24399
24467
|
}
|
|
24400
24468
|
|
|
24401
24469
|
// src/cardano-wallet/web3-services.tsx
|
|
24402
|
-
import { jsx as
|
|
24470
|
+
import { Fragment as Fragment3, jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
24403
24471
|
function Web3Services({
|
|
24404
24472
|
options,
|
|
24405
24473
|
setOpen,
|
|
@@ -24427,19 +24495,39 @@ function Web3Services({
|
|
|
24427
24495
|
setLoading(false);
|
|
24428
24496
|
setOpen(false);
|
|
24429
24497
|
}
|
|
24430
|
-
return /* @__PURE__ */
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
|
|
24434
|
-
|
|
24435
|
-
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24498
|
+
return /* @__PURE__ */ jsxs11(Fragment3, { children: [
|
|
24499
|
+
/* @__PURE__ */ jsx17(
|
|
24500
|
+
WalletIcon,
|
|
24501
|
+
{
|
|
24502
|
+
iconReactNode: IconGoogle(),
|
|
24503
|
+
name: `Google`,
|
|
24504
|
+
action: () => loadWallet(),
|
|
24505
|
+
loading
|
|
24506
|
+
}
|
|
24507
|
+
),
|
|
24508
|
+
/* @__PURE__ */ jsx17(
|
|
24509
|
+
WalletIcon,
|
|
24510
|
+
{
|
|
24511
|
+
iconReactNode: IconDiscord(),
|
|
24512
|
+
name: `Discord`,
|
|
24513
|
+
action: () => loadWallet(),
|
|
24514
|
+
loading
|
|
24515
|
+
}
|
|
24516
|
+
),
|
|
24517
|
+
/* @__PURE__ */ jsx17(
|
|
24518
|
+
WalletIcon,
|
|
24519
|
+
{
|
|
24520
|
+
iconReactNode: IconTwitter(),
|
|
24521
|
+
name: `Twitter`,
|
|
24522
|
+
action: () => loadWallet(),
|
|
24523
|
+
loading
|
|
24524
|
+
}
|
|
24525
|
+
)
|
|
24526
|
+
] });
|
|
24439
24527
|
}
|
|
24440
24528
|
|
|
24441
24529
|
// src/cardano-wallet/screen-main.tsx
|
|
24442
|
-
import { jsx as
|
|
24530
|
+
import { jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
24443
24531
|
function ScreenMain({
|
|
24444
24532
|
injectFn,
|
|
24445
24533
|
setOpen,
|
|
@@ -24453,8 +24541,8 @@ function ScreenMain({
|
|
|
24453
24541
|
}) {
|
|
24454
24542
|
const wallets = useWalletList({ injectFn });
|
|
24455
24543
|
const { connect: connect2 } = useWallet();
|
|
24456
|
-
return /* @__PURE__ */
|
|
24457
|
-
wallets.map((wallet, index) => /* @__PURE__ */
|
|
24544
|
+
return /* @__PURE__ */ jsx18(TooltipProvider, { children: /* @__PURE__ */ jsxs12("div", { className: "mesh-grid mesh-gap-4 mesh-py-4 mesh-grid-cols-5 mesh-place-items-center mesh-gap-y-8", children: [
|
|
24545
|
+
wallets.map((wallet, index) => /* @__PURE__ */ jsx18(
|
|
24458
24546
|
WalletIcon,
|
|
24459
24547
|
{
|
|
24460
24548
|
icon: wallet.icon,
|
|
@@ -24466,7 +24554,7 @@ function ScreenMain({
|
|
|
24466
24554
|
},
|
|
24467
24555
|
index
|
|
24468
24556
|
)),
|
|
24469
|
-
web3Services && /* @__PURE__ */
|
|
24557
|
+
web3Services && /* @__PURE__ */ jsx18(
|
|
24470
24558
|
Web3Services,
|
|
24471
24559
|
{
|
|
24472
24560
|
options: web3Services,
|
|
@@ -24474,7 +24562,7 @@ function ScreenMain({
|
|
|
24474
24562
|
persist
|
|
24475
24563
|
}
|
|
24476
24564
|
),
|
|
24477
|
-
webauthn && /* @__PURE__ */
|
|
24565
|
+
webauthn && /* @__PURE__ */ jsx18(
|
|
24478
24566
|
WalletIcon,
|
|
24479
24567
|
{
|
|
24480
24568
|
iconReactNode: IconFingerprint(),
|
|
@@ -24484,7 +24572,7 @@ function ScreenMain({
|
|
|
24484
24572
|
}
|
|
24485
24573
|
}
|
|
24486
24574
|
),
|
|
24487
|
-
cardanoPeerConnect && /* @__PURE__ */
|
|
24575
|
+
cardanoPeerConnect && /* @__PURE__ */ jsx18(
|
|
24488
24576
|
WalletIcon,
|
|
24489
24577
|
{
|
|
24490
24578
|
iconReactNode: IconMonitorSmartphone(),
|
|
@@ -24494,7 +24582,7 @@ function ScreenMain({
|
|
|
24494
24582
|
}
|
|
24495
24583
|
}
|
|
24496
24584
|
),
|
|
24497
|
-
burnerWallet && /* @__PURE__ */
|
|
24585
|
+
burnerWallet && /* @__PURE__ */ jsx18(
|
|
24498
24586
|
WalletIcon,
|
|
24499
24587
|
{
|
|
24500
24588
|
iconReactNode: IconBookDashed(),
|
|
@@ -24504,7 +24592,7 @@ function ScreenMain({
|
|
|
24504
24592
|
}
|
|
24505
24593
|
}
|
|
24506
24594
|
),
|
|
24507
|
-
showDownload && /* @__PURE__ */
|
|
24595
|
+
showDownload && /* @__PURE__ */ jsx18(
|
|
24508
24596
|
WalletIcon,
|
|
24509
24597
|
{
|
|
24510
24598
|
iconReactNode: IconDownload(),
|
|
@@ -24523,7 +24611,7 @@ function ScreenMain({
|
|
|
24523
24611
|
// src/cardano-wallet/screen-p2p.tsx
|
|
24524
24612
|
var import_cardano_peer_connect = __toESM(require_dist(), 1);
|
|
24525
24613
|
import { useEffect as useEffect9, useRef as useRef2, useState as useState11 } from "react";
|
|
24526
|
-
import { jsx as
|
|
24614
|
+
import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
24527
24615
|
function ScreenP2P({
|
|
24528
24616
|
cardanoPeerConnect,
|
|
24529
24617
|
setOpen
|
|
@@ -24567,9 +24655,9 @@ function ScreenP2P({
|
|
|
24567
24655
|
}
|
|
24568
24656
|
}
|
|
24569
24657
|
}, []);
|
|
24570
|
-
return /* @__PURE__ */
|
|
24571
|
-
/* @__PURE__ */
|
|
24572
|
-
/* @__PURE__ */
|
|
24658
|
+
return /* @__PURE__ */ jsxs13("div", { className: "mesh-flex mesh-flex-col mesh-items-center mesh-justify-center", children: [
|
|
24659
|
+
/* @__PURE__ */ jsx19("div", { style: { marginTop: 16, marginBottom: 16 }, ref: qrCodeField }),
|
|
24660
|
+
/* @__PURE__ */ jsx19(
|
|
24573
24661
|
Button,
|
|
24574
24662
|
{
|
|
24575
24663
|
variant: "outline",
|
|
@@ -24589,10 +24677,10 @@ import { connect, MeshWallet as MeshWallet2 } from "@meshsdk/wallet";
|
|
|
24589
24677
|
|
|
24590
24678
|
// src/common/input.tsx
|
|
24591
24679
|
import * as React5 from "react";
|
|
24592
|
-
import { jsx as
|
|
24680
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
24593
24681
|
var Input = React5.forwardRef(
|
|
24594
24682
|
({ className, type, ...props }, ref) => {
|
|
24595
|
-
return /* @__PURE__ */
|
|
24683
|
+
return /* @__PURE__ */ jsx20(
|
|
24596
24684
|
"input",
|
|
24597
24685
|
{
|
|
24598
24686
|
type,
|
|
@@ -24612,11 +24700,11 @@ Input.displayName = "Input";
|
|
|
24612
24700
|
import * as React6 from "react";
|
|
24613
24701
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
24614
24702
|
import { cva as cva2 } from "class-variance-authority";
|
|
24615
|
-
import { jsx as
|
|
24703
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
24616
24704
|
var labelVariants = cva2(
|
|
24617
24705
|
"mesh-text-sm mesh-font-medium mesh-leading-none peer-disabled:mesh-cursor-not-allowed peer-disabled:mesh-opacity-70"
|
|
24618
24706
|
);
|
|
24619
|
-
var Label2 = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
24707
|
+
var Label2 = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
24620
24708
|
LabelPrimitive.Root,
|
|
24621
24709
|
{
|
|
24622
24710
|
ref,
|
|
@@ -24627,7 +24715,7 @@ var Label2 = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
24627
24715
|
Label2.displayName = LabelPrimitive.Root.displayName;
|
|
24628
24716
|
|
|
24629
24717
|
// src/cardano-wallet/screen-webauthn.tsx
|
|
24630
|
-
import { Fragment as
|
|
24718
|
+
import { Fragment as Fragment4, jsx as jsx22, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
24631
24719
|
function ScreenWebauthn({
|
|
24632
24720
|
url,
|
|
24633
24721
|
networkId,
|
|
@@ -24661,10 +24749,10 @@ function ScreenWebauthn({
|
|
|
24661
24749
|
createWallet(res.wallet.bech32PrivateKey);
|
|
24662
24750
|
}
|
|
24663
24751
|
}
|
|
24664
|
-
return /* @__PURE__ */
|
|
24665
|
-
/* @__PURE__ */
|
|
24666
|
-
/* @__PURE__ */
|
|
24667
|
-
/* @__PURE__ */
|
|
24752
|
+
return /* @__PURE__ */ jsx22("div", { className: "mesh-flex mesh-flex-row mesh-flex-gap-4 mesh-items-center mesh-justify-center", children: loading ? /* @__PURE__ */ jsx22(Fragment4, { children: "Connecting wallet..." }) : /* @__PURE__ */ jsx22(Fragment4, { children: /* @__PURE__ */ jsxs14("div", { className: "mesh-flex mesh-flex-col mesh-gap-6 mesh-w-full mesh-mx-8", children: [
|
|
24753
|
+
/* @__PURE__ */ jsxs14("div", { className: "mesh-grid mesh-gap-2", children: [
|
|
24754
|
+
/* @__PURE__ */ jsx22(Label2, { htmlFor: "username", children: "Username" }),
|
|
24755
|
+
/* @__PURE__ */ jsx22(
|
|
24668
24756
|
Input,
|
|
24669
24757
|
{
|
|
24670
24758
|
id: "username",
|
|
@@ -24674,11 +24762,11 @@ function ScreenWebauthn({
|
|
|
24674
24762
|
onChange: (e2) => setUserName(e2.target.value)
|
|
24675
24763
|
}
|
|
24676
24764
|
),
|
|
24677
|
-
/* @__PURE__ */
|
|
24765
|
+
/* @__PURE__ */ jsx22("p", { className: "mesh-text-gray-500 mesh-text-xs", children: "Unique to the application you are connecting." })
|
|
24678
24766
|
] }),
|
|
24679
|
-
/* @__PURE__ */
|
|
24680
|
-
/* @__PURE__ */
|
|
24681
|
-
/* @__PURE__ */
|
|
24767
|
+
/* @__PURE__ */ jsxs14("div", { className: "mesh-grid mesh-gap-2", children: [
|
|
24768
|
+
/* @__PURE__ */ jsx22("div", { className: "mesh-flex mesh-items-center", children: /* @__PURE__ */ jsx22(Label2, { htmlFor: "password", children: "Unique Code" }) }),
|
|
24769
|
+
/* @__PURE__ */ jsx22(
|
|
24682
24770
|
Input,
|
|
24683
24771
|
{
|
|
24684
24772
|
id: "password",
|
|
@@ -24688,9 +24776,9 @@ function ScreenWebauthn({
|
|
|
24688
24776
|
onChange: (e2) => setPassword(e2.target.value)
|
|
24689
24777
|
}
|
|
24690
24778
|
),
|
|
24691
|
-
/* @__PURE__ */
|
|
24779
|
+
/* @__PURE__ */ jsx22("p", { className: "mesh-text-gray-500 mesh-text-xs", children: "Additional security to derive your wallet." })
|
|
24692
24780
|
] }),
|
|
24693
|
-
/* @__PURE__ */
|
|
24781
|
+
/* @__PURE__ */ jsx22(
|
|
24694
24782
|
Button,
|
|
24695
24783
|
{
|
|
24696
24784
|
className: "mesh-w-full",
|
|
@@ -24703,7 +24791,7 @@ function ScreenWebauthn({
|
|
|
24703
24791
|
}
|
|
24704
24792
|
|
|
24705
24793
|
// src/cardano-wallet/index.tsx
|
|
24706
|
-
import { jsx as
|
|
24794
|
+
import { jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
24707
24795
|
var CardanoWallet = ({
|
|
24708
24796
|
label = "Connect Wallet",
|
|
24709
24797
|
onConnected = void 0,
|
|
@@ -24728,16 +24816,16 @@ var CardanoWallet = ({
|
|
|
24728
24816
|
if (onConnected) onConnected();
|
|
24729
24817
|
}
|
|
24730
24818
|
}, [connected, wallet]);
|
|
24731
|
-
return /* @__PURE__ */
|
|
24732
|
-
/* @__PURE__ */
|
|
24733
|
-
/* @__PURE__ */
|
|
24819
|
+
return /* @__PURE__ */ jsxs15(Dialog, { open, onOpenChange: setOpen, children: [
|
|
24820
|
+
/* @__PURE__ */ jsx23("div", { className: isDark ? "mesh-dark" : "", children: !connected ? /* @__PURE__ */ jsx23(DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsx23(Button, { variant: "outline", className: isDark ? "mesh-dark" : "", children: label }) }) : /* @__PURE__ */ jsx23(ConnectedButton, {}) }),
|
|
24821
|
+
/* @__PURE__ */ jsxs15(
|
|
24734
24822
|
DialogContent,
|
|
24735
24823
|
{
|
|
24736
24824
|
className: "sm:mesh-max-w-[425px] mesh-dark",
|
|
24737
24825
|
onOpenAutoFocus: (event) => event.preventDefault(),
|
|
24738
24826
|
children: [
|
|
24739
|
-
/* @__PURE__ */
|
|
24740
|
-
screen == "main" && /* @__PURE__ */
|
|
24827
|
+
/* @__PURE__ */ jsx23(Header, { screen, setScreen }),
|
|
24828
|
+
screen == "main" && /* @__PURE__ */ jsx23(
|
|
24741
24829
|
ScreenMain,
|
|
24742
24830
|
{
|
|
24743
24831
|
injectFn,
|
|
@@ -24751,14 +24839,14 @@ var CardanoWallet = ({
|
|
|
24751
24839
|
web3Services
|
|
24752
24840
|
}
|
|
24753
24841
|
),
|
|
24754
|
-
screen == "p2p" && /* @__PURE__ */
|
|
24842
|
+
screen == "p2p" && /* @__PURE__ */ jsx23(
|
|
24755
24843
|
ScreenP2P,
|
|
24756
24844
|
{
|
|
24757
24845
|
cardanoPeerConnect,
|
|
24758
24846
|
setOpen
|
|
24759
24847
|
}
|
|
24760
24848
|
),
|
|
24761
|
-
screen == "burner" && burnerWallet && /* @__PURE__ */
|
|
24849
|
+
screen == "burner" && burnerWallet && /* @__PURE__ */ jsx23(
|
|
24762
24850
|
ScreenBurner,
|
|
24763
24851
|
{
|
|
24764
24852
|
networkId: burnerWallet.networkId,
|
|
@@ -24766,7 +24854,7 @@ var CardanoWallet = ({
|
|
|
24766
24854
|
setOpen
|
|
24767
24855
|
}
|
|
24768
24856
|
),
|
|
24769
|
-
screen == "webauthn" && webauthn && /* @__PURE__ */
|
|
24857
|
+
screen == "webauthn" && webauthn && /* @__PURE__ */ jsx23(
|
|
24770
24858
|
ScreenWebauthn,
|
|
24771
24859
|
{
|
|
24772
24860
|
url: webauthn.url,
|
|
@@ -24775,7 +24863,7 @@ var CardanoWallet = ({
|
|
|
24775
24863
|
setOpen
|
|
24776
24864
|
}
|
|
24777
24865
|
),
|
|
24778
|
-
/* @__PURE__ */
|
|
24866
|
+
/* @__PURE__ */ jsx23(Footer, {})
|
|
24779
24867
|
]
|
|
24780
24868
|
}
|
|
24781
24869
|
)
|
|
@@ -24785,25 +24873,25 @@ function Header({
|
|
|
24785
24873
|
screen,
|
|
24786
24874
|
setScreen
|
|
24787
24875
|
}) {
|
|
24788
|
-
return /* @__PURE__ */
|
|
24789
|
-
/* @__PURE__ */
|
|
24790
|
-
screen != "main" ? /* @__PURE__ */
|
|
24791
|
-
/* @__PURE__ */
|
|
24792
|
-
/* @__PURE__ */
|
|
24876
|
+
return /* @__PURE__ */ jsxs15(DialogHeader, { children: [
|
|
24877
|
+
/* @__PURE__ */ jsxs15(DialogTitle, { className: "mesh-flex mesh-justify-between", children: [
|
|
24878
|
+
screen != "main" ? /* @__PURE__ */ jsx23("button", { onClick: () => setScreen("main"), children: /* @__PURE__ */ jsx23(IconChevronRight, {}) }) : /* @__PURE__ */ jsx23("span", { style: { width: "24px" } }),
|
|
24879
|
+
/* @__PURE__ */ jsx23("span", { children: screens[screen].title }),
|
|
24880
|
+
/* @__PURE__ */ jsx23("span", { style: { width: "24px" } })
|
|
24793
24881
|
] }),
|
|
24794
|
-
/* @__PURE__ */
|
|
24882
|
+
/* @__PURE__ */ jsx23(DialogDescription, { children: screens[screen].subtitle && screens[screen].subtitle })
|
|
24795
24883
|
] });
|
|
24796
24884
|
}
|
|
24797
24885
|
function Footer() {
|
|
24798
|
-
return /* @__PURE__ */
|
|
24886
|
+
return /* @__PURE__ */ jsx23(DialogFooter, { className: "mesh-justify-center mesh-text-sm", children: /* @__PURE__ */ jsxs15(
|
|
24799
24887
|
"a",
|
|
24800
24888
|
{
|
|
24801
24889
|
href: "https://meshjs.dev/",
|
|
24802
24890
|
target: "_blank",
|
|
24803
24891
|
className: "mesh-grow mesh-flex mesh-gap-1 mesh-items-center mesh-justify-center mesh-text-zinc-500 hover:mesh-text-white mesh-fill-zinc-500 hover:mesh-fill-white",
|
|
24804
24892
|
children: [
|
|
24805
|
-
/* @__PURE__ */
|
|
24806
|
-
/* @__PURE__ */
|
|
24893
|
+
/* @__PURE__ */ jsx23("span", { className: "", children: "Powered by" }),
|
|
24894
|
+
/* @__PURE__ */ jsx23(
|
|
24807
24895
|
"svg",
|
|
24808
24896
|
{
|
|
24809
24897
|
width: 24,
|
|
@@ -24811,31 +24899,31 @@ function Footer() {
|
|
|
24811
24899
|
enableBackground: "new 0 0 300 200",
|
|
24812
24900
|
viewBox: "0 0 300 200",
|
|
24813
24901
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24814
|
-
children: /* @__PURE__ */
|
|
24902
|
+
children: /* @__PURE__ */ jsx23("path", { d: "m289 127-45-60-45-60c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-37 49.3c-2 2.7-6 2.7-8 0l-37-49.3c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-45 60-45 60c-1.3 1.8-1.3 4.2 0 6l45 60c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l45-60c1.3-1.8 1.3-4.2 0-6zm-90-103.3 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-90 0 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-53 152.6-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0z" })
|
|
24815
24903
|
}
|
|
24816
24904
|
),
|
|
24817
|
-
/* @__PURE__ */
|
|
24905
|
+
/* @__PURE__ */ jsx23("span", { className: "", children: "Mesh SDK" })
|
|
24818
24906
|
]
|
|
24819
24907
|
}
|
|
24820
24908
|
) });
|
|
24821
24909
|
}
|
|
24822
24910
|
|
|
24823
24911
|
// src/mesh-badge/mesh-logo.tsx
|
|
24824
|
-
import { jsx as
|
|
24825
|
-
var MeshLogo = () => /* @__PURE__ */
|
|
24912
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
24913
|
+
var MeshLogo = () => /* @__PURE__ */ jsx24(
|
|
24826
24914
|
"svg",
|
|
24827
24915
|
{
|
|
24828
24916
|
className: "mesh-h-16 mesh-p-2",
|
|
24829
24917
|
fill: "currentColor",
|
|
24830
24918
|
viewBox: "0 0 300 200",
|
|
24831
24919
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24832
|
-
children: /* @__PURE__ */
|
|
24920
|
+
children: /* @__PURE__ */ jsx24("path", { d: "m289 127-45-60-45-60c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-37 49.3c-2 2.7-6 2.7-8 0l-37-49.3c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-45 60-45 60c-1.3 1.8-1.3 4.2 0 6l45 60c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l45-60c1.3-1.8 1.3-4.2 0-6zm-90-103.3 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-90 0 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-53 152.6-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0z" })
|
|
24833
24921
|
}
|
|
24834
24922
|
);
|
|
24835
24923
|
|
|
24836
24924
|
// src/mesh-badge/index.tsx
|
|
24837
|
-
import { jsx as
|
|
24838
|
-
var MeshBadge = ({ isDark = false }) => /* @__PURE__ */
|
|
24925
|
+
import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
24926
|
+
var MeshBadge = ({ isDark = false }) => /* @__PURE__ */ jsxs16(
|
|
24839
24927
|
"a",
|
|
24840
24928
|
{
|
|
24841
24929
|
className: `mesh-flex mesh-max-w-fit mesh-flex-col mesh-items-center mesh-rounded-md mesh-border mesh-border-solid mesh-border-current mesh-p-1 mesh-text-xl mesh-font-semibold mesh-no-underline ${isDark ? `mesh-bg-neutral-950 mesh-text-neutral-50` : `mesh-bg-neutral-50 mesh-text-neutral-950`}`,
|
|
@@ -24847,7 +24935,7 @@ var MeshBadge = ({ isDark = false }) => /* @__PURE__ */ jsxs14(
|
|
|
24847
24935
|
rel: "noopener noreferrer",
|
|
24848
24936
|
target: "_blank",
|
|
24849
24937
|
children: [
|
|
24850
|
-
/* @__PURE__ */
|
|
24938
|
+
/* @__PURE__ */ jsx25(MeshLogo, {}),
|
|
24851
24939
|
"Mesh"
|
|
24852
24940
|
]
|
|
24853
24941
|
}
|
|
@@ -24861,7 +24949,7 @@ import { Transaction } from "@meshsdk/transaction";
|
|
|
24861
24949
|
import { useEffect as useEffect11, useState as useState14 } from "react";
|
|
24862
24950
|
|
|
24863
24951
|
// src/common/button-dropdown.tsx
|
|
24864
|
-
import { jsx as
|
|
24952
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
24865
24953
|
function ButtonDropdown({
|
|
24866
24954
|
children,
|
|
24867
24955
|
isDarkMode = false,
|
|
@@ -24870,7 +24958,7 @@ function ButtonDropdown({
|
|
|
24870
24958
|
onMouseEnter,
|
|
24871
24959
|
onMouseLeave
|
|
24872
24960
|
}) {
|
|
24873
|
-
return /* @__PURE__ */
|
|
24961
|
+
return /* @__PURE__ */ jsx26(
|
|
24874
24962
|
"button",
|
|
24875
24963
|
{
|
|
24876
24964
|
className: `mesh-mr-menu-list mesh-flex mesh-w-60 mesh-items-center mesh-justify-center mesh-rounded-t-md mesh-border mesh-px-4 mesh-py-2 mesh-text-lg mesh-font-normal mesh-shadow-sm ${isDarkMode ? `mesh-bg-neutral-950 mesh-text-neutral-50` : `mesh-bg-neutral-50 mesh-text-neutral-950`}`,
|
|
@@ -24883,21 +24971,21 @@ function ButtonDropdown({
|
|
|
24883
24971
|
}
|
|
24884
24972
|
|
|
24885
24973
|
// src/cardano-wallet-dropdown/menu-item.tsx
|
|
24886
|
-
import { jsx as
|
|
24974
|
+
import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
24887
24975
|
function MenuItem({
|
|
24888
24976
|
icon,
|
|
24889
24977
|
label,
|
|
24890
24978
|
action,
|
|
24891
24979
|
active
|
|
24892
24980
|
}) {
|
|
24893
|
-
return /* @__PURE__ */
|
|
24981
|
+
return /* @__PURE__ */ jsxs17(
|
|
24894
24982
|
"div",
|
|
24895
24983
|
{
|
|
24896
24984
|
className: "mesh-flex mesh-cursor-pointer mesh-items-center mesh-px-4 mesh-py-2 mesh-opacity-80 hover:mesh-opacity-100 mesh-h-16",
|
|
24897
24985
|
onClick: action,
|
|
24898
24986
|
children: [
|
|
24899
|
-
icon && /* @__PURE__ */
|
|
24900
|
-
/* @__PURE__ */
|
|
24987
|
+
icon && /* @__PURE__ */ jsx27("img", { className: "mesh-pr-2 mesh-m-1 mesh-h-8", src: icon }),
|
|
24988
|
+
/* @__PURE__ */ jsx27("span", { className: "mesh-mr-menu-item mesh-text-xl mesh-font-normal mesh-text-neutral-700 hover:mesh-text-black", children: label.split(" ").map((word) => {
|
|
24901
24989
|
return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
|
|
24902
24990
|
}).join(" ") })
|
|
24903
24991
|
]
|
|
@@ -24906,8 +24994,8 @@ function MenuItem({
|
|
|
24906
24994
|
}
|
|
24907
24995
|
|
|
24908
24996
|
// src/cardano-wallet-dropdown/chevron-down.tsx
|
|
24909
|
-
import { jsx as
|
|
24910
|
-
var ChevronDown = () => /* @__PURE__ */
|
|
24997
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
24998
|
+
var ChevronDown = () => /* @__PURE__ */ jsx28(
|
|
24911
24999
|
"svg",
|
|
24912
25000
|
{
|
|
24913
25001
|
className: "mesh-m-2 mesh-h-6",
|
|
@@ -24916,7 +25004,7 @@ var ChevronDown = () => /* @__PURE__ */ jsx26(
|
|
|
24916
25004
|
viewBox: "0 0 24 24",
|
|
24917
25005
|
stroke: "currentColor",
|
|
24918
25006
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24919
|
-
children: /* @__PURE__ */
|
|
25007
|
+
children: /* @__PURE__ */ jsx28(
|
|
24920
25008
|
"path",
|
|
24921
25009
|
{
|
|
24922
25010
|
strokeLinecap: "round",
|
|
@@ -24929,7 +25017,7 @@ var ChevronDown = () => /* @__PURE__ */ jsx26(
|
|
|
24929
25017
|
);
|
|
24930
25018
|
|
|
24931
25019
|
// src/cardano-wallet-dropdown/wallet-balance.tsx
|
|
24932
|
-
import { Fragment as
|
|
25020
|
+
import { Fragment as Fragment5, jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
24933
25021
|
var WalletBalance = ({
|
|
24934
25022
|
connected,
|
|
24935
25023
|
connecting,
|
|
@@ -24937,22 +25025,22 @@ var WalletBalance = ({
|
|
|
24937
25025
|
wallet
|
|
24938
25026
|
}) => {
|
|
24939
25027
|
const lovelace = useLovelace();
|
|
24940
|
-
return connected && lovelace && wallet?.icon ? /* @__PURE__ */
|
|
24941
|
-
/* @__PURE__ */
|
|
25028
|
+
return connected && lovelace && wallet?.icon ? /* @__PURE__ */ jsxs18(Fragment5, { children: [
|
|
25029
|
+
/* @__PURE__ */ jsx29("img", { className: "mesh-m-2 mesh-h-6", src: wallet.icon }),
|
|
24942
25030
|
"\u20B3",
|
|
24943
25031
|
" ",
|
|
24944
25032
|
parseInt((parseInt(lovelace, 10) / 1e6).toString(), 10),
|
|
24945
25033
|
".",
|
|
24946
|
-
/* @__PURE__ */
|
|
24947
|
-
] }) : connected && wallet?.icon ? /* @__PURE__ */
|
|
25034
|
+
/* @__PURE__ */ jsx29("span", { className: "mesh-text-xs", children: lovelace.substring(lovelace.length - 6) })
|
|
25035
|
+
] }) : connected && wallet?.icon ? /* @__PURE__ */ jsx29(Fragment5, { children: /* @__PURE__ */ jsx29("img", { className: "mesh-m-2 mesh-h-6", src: wallet.icon }) }) : connecting ? /* @__PURE__ */ jsx29(Fragment5, { children: "Connecting..." }) : /* @__PURE__ */ jsxs18(Fragment5, { children: [
|
|
24948
25036
|
label,
|
|
24949
25037
|
" ",
|
|
24950
|
-
/* @__PURE__ */
|
|
25038
|
+
/* @__PURE__ */ jsx29(ChevronDown, {})
|
|
24951
25039
|
] });
|
|
24952
25040
|
};
|
|
24953
25041
|
|
|
24954
25042
|
// src/cardano-wallet-dropdown/index.tsx
|
|
24955
|
-
import { Fragment as
|
|
25043
|
+
import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
24956
25044
|
var CardanoWallet2 = ({
|
|
24957
25045
|
label = "Connect Wallet",
|
|
24958
25046
|
onConnected = void 0,
|
|
@@ -24972,20 +25060,20 @@ var CardanoWallet2 = ({
|
|
|
24972
25060
|
useEffect11(() => {
|
|
24973
25061
|
setIsDarkMode(isDark);
|
|
24974
25062
|
}, [isDark]);
|
|
24975
|
-
return /* @__PURE__ */
|
|
25063
|
+
return /* @__PURE__ */ jsxs19(
|
|
24976
25064
|
"div",
|
|
24977
25065
|
{
|
|
24978
25066
|
onMouseEnter: () => setHideMenuList(false),
|
|
24979
25067
|
onMouseLeave: () => setHideMenuList(true),
|
|
24980
25068
|
style: { width: "min-content", zIndex: 50 },
|
|
24981
25069
|
children: [
|
|
24982
|
-
/* @__PURE__ */
|
|
25070
|
+
/* @__PURE__ */ jsx30(
|
|
24983
25071
|
ButtonDropdown,
|
|
24984
25072
|
{
|
|
24985
25073
|
isDarkMode,
|
|
24986
25074
|
hideMenuList,
|
|
24987
25075
|
setHideMenuList,
|
|
24988
|
-
children: /* @__PURE__ */
|
|
25076
|
+
children: /* @__PURE__ */ jsx30(
|
|
24989
25077
|
WalletBalance,
|
|
24990
25078
|
{
|
|
24991
25079
|
connected,
|
|
@@ -24996,12 +25084,12 @@ var CardanoWallet2 = ({
|
|
|
24996
25084
|
)
|
|
24997
25085
|
}
|
|
24998
25086
|
),
|
|
24999
|
-
/* @__PURE__ */
|
|
25087
|
+
/* @__PURE__ */ jsx30(
|
|
25000
25088
|
"div",
|
|
25001
25089
|
{
|
|
25002
25090
|
className: `mesh-mr-menu-list mesh-absolute mesh-w-60 mesh-rounded-b-md mesh-border mesh-text-center mesh-shadow-sm mesh-backdrop-blur ${hideMenuList && "mesh-hidden"} ${isDarkMode ? `mesh-bg-neutral-950 mesh-text-neutral-50` : `mesh-bg-neutral-50 mesh-text-neutral-950`}`,
|
|
25003
25091
|
style: { zIndex: 50 },
|
|
25004
|
-
children: !connected && wallets.length > 0 ? /* @__PURE__ */
|
|
25092
|
+
children: !connected && wallets.length > 0 ? /* @__PURE__ */ jsx30(Fragment6, { children: wallets.map((wallet, index) => /* @__PURE__ */ jsx30(
|
|
25005
25093
|
MenuItem,
|
|
25006
25094
|
{
|
|
25007
25095
|
icon: wallet.icon,
|
|
@@ -25013,7 +25101,7 @@ var CardanoWallet2 = ({
|
|
|
25013
25101
|
active: name === wallet.id
|
|
25014
25102
|
},
|
|
25015
25103
|
index
|
|
25016
|
-
)) }) : wallets.length === 0 ? /* @__PURE__ */
|
|
25104
|
+
)) }) : wallets.length === 0 ? /* @__PURE__ */ jsx30("span", { children: "No Wallet Found" }) : /* @__PURE__ */ jsx30(Fragment6, { children: /* @__PURE__ */ jsx30(
|
|
25017
25105
|
MenuItem,
|
|
25018
25106
|
{
|
|
25019
25107
|
active: false,
|
|
@@ -25030,7 +25118,7 @@ var CardanoWallet2 = ({
|
|
|
25030
25118
|
};
|
|
25031
25119
|
|
|
25032
25120
|
// src/stake-button/index.tsx
|
|
25033
|
-
import { Fragment as
|
|
25121
|
+
import { Fragment as Fragment7, jsx as jsx31 } from "react/jsx-runtime";
|
|
25034
25122
|
var StakeButton = ({
|
|
25035
25123
|
label = "Stake your ADA",
|
|
25036
25124
|
isDark = false,
|
|
@@ -25043,14 +25131,14 @@ var StakeButton = ({
|
|
|
25043
25131
|
useEffect12(() => {
|
|
25044
25132
|
setIsDarkMode(isDark);
|
|
25045
25133
|
}, [isDark]);
|
|
25046
|
-
return /* @__PURE__ */
|
|
25134
|
+
return /* @__PURE__ */ jsx31(Fragment7, { children: connected ? /* @__PURE__ */ jsx31(ButtonDropdown, { isDarkMode, children: /* @__PURE__ */ jsx31(
|
|
25047
25135
|
Delegate,
|
|
25048
25136
|
{
|
|
25049
25137
|
poolId,
|
|
25050
25138
|
onCheck,
|
|
25051
25139
|
onDelegated
|
|
25052
25140
|
}
|
|
25053
|
-
) }) : /* @__PURE__ */
|
|
25141
|
+
) }) : /* @__PURE__ */ jsx31(CardanoWallet2, { label, isDark }) });
|
|
25054
25142
|
};
|
|
25055
25143
|
var Delegate = ({
|
|
25056
25144
|
poolId,
|
|
@@ -25118,18 +25206,18 @@ var Delegate = ({
|
|
|
25118
25206
|
checkAccountStatus();
|
|
25119
25207
|
}, [rewardAddress]);
|
|
25120
25208
|
if (checking) {
|
|
25121
|
-
return /* @__PURE__ */
|
|
25209
|
+
return /* @__PURE__ */ jsx31("span", { children: "Checking..." });
|
|
25122
25210
|
}
|
|
25123
25211
|
if (processing) {
|
|
25124
|
-
return /* @__PURE__ */
|
|
25212
|
+
return /* @__PURE__ */ jsx31("span", { children: "Loading..." });
|
|
25125
25213
|
}
|
|
25126
25214
|
if (done) {
|
|
25127
|
-
return /* @__PURE__ */
|
|
25215
|
+
return /* @__PURE__ */ jsx31("span", { children: "Stake Delegated" });
|
|
25128
25216
|
}
|
|
25129
25217
|
if (accountInfo?.active) {
|
|
25130
|
-
return accountInfo.poolId === poolId ? /* @__PURE__ */
|
|
25218
|
+
return accountInfo.poolId === poolId ? /* @__PURE__ */ jsx31("span", { children: "Stake Delegated" }) : /* @__PURE__ */ jsx31("span", { onClick: delegateStake, children: "Begin Staking" });
|
|
25131
25219
|
}
|
|
25132
|
-
return /* @__PURE__ */
|
|
25220
|
+
return /* @__PURE__ */ jsx31("span", { onClick: registerAddress, children: "Begin Staking" });
|
|
25133
25221
|
};
|
|
25134
25222
|
export {
|
|
25135
25223
|
CardanoWallet,
|