@tuwaio/nova-connect 0.1.9 → 0.2.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/README.md +5 -15
- package/dist/{ToastError-CaoiEVOK.d.cts → ToastError-C3LvnSma.d.cts} +322 -113
- package/dist/{ToastError-BLFMIzVb.d.ts → ToastError-CVhCoryf.d.ts} +322 -113
- package/dist/chunk-3BMX6JWH.js +2 -0
- package/dist/chunk-3BMX6JWH.js.map +1 -0
- package/dist/chunk-4FB4UCVM.js +6 -0
- package/dist/chunk-4FB4UCVM.js.map +1 -0
- package/dist/chunk-B2NRY4JV.js +2 -0
- package/dist/chunk-B2NRY4JV.js.map +1 -0
- package/dist/chunk-F2VSTHQ4.js +2 -0
- package/dist/chunk-F2VSTHQ4.js.map +1 -0
- package/dist/{chunk-OA6MB7CZ.cjs → chunk-FK4AEST5.cjs} +2 -2
- package/dist/{chunk-OA6MB7CZ.cjs.map → chunk-FK4AEST5.cjs.map} +1 -1
- package/dist/chunk-IMKRWFCZ.cjs +3 -0
- package/dist/chunk-IMKRWFCZ.cjs.map +1 -0
- package/dist/chunk-L5MEEHVK.cjs +2 -0
- package/dist/chunk-L5MEEHVK.cjs.map +1 -0
- package/dist/chunk-P5ZBSLGK.js +2 -0
- package/dist/{chunk-MPEJHQKC.js.map → chunk-P5ZBSLGK.js.map} +1 -1
- package/dist/chunk-PTHXIVB5.cjs +2 -0
- package/dist/chunk-PTHXIVB5.cjs.map +1 -0
- package/dist/chunk-S6WXKVYP.js +3 -0
- package/dist/chunk-S6WXKVYP.js.map +1 -0
- package/dist/chunk-UDTWMOQ2.cjs +6 -0
- package/dist/chunk-UDTWMOQ2.cjs.map +1 -0
- package/dist/chunk-YI7RYSN6.cjs +2 -0
- package/dist/chunk-YI7RYSN6.cjs.map +1 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +1 -1
- package/dist/evm-BVE2G4MP.js +2 -0
- package/dist/evm-BVE2G4MP.js.map +1 -0
- package/dist/evm-DU3VGIPD.cjs +2 -0
- package/dist/evm-DU3VGIPD.cjs.map +1 -0
- package/dist/getChainsListByConnectorType-7W3NDNRC.cjs +2 -0
- package/dist/{getChainsListByWalletType-VMQ4BO2B.js.map → getChainsListByConnectorType-7W3NDNRC.cjs.map} +1 -1
- package/dist/getChainsListByConnectorType-FGTS3CWJ.js +2 -0
- package/dist/{getChainsListByWalletType-CDPECVNS.cjs.map → getChainsListByConnectorType-FGTS3CWJ.js.map} +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.d.cts +23 -4
- package/dist/hooks/index.d.ts +23 -4
- package/dist/hooks/index.js +1 -1
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.d.cts +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +112 -63
- package/dist/index.d.cts +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/satellite/index.cjs +1 -1
- package/dist/satellite/index.d.cts +1 -1
- package/dist/satellite/index.d.ts +1 -1
- package/dist/satellite/index.js +1 -1
- package/dist/solana/index.cjs +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/solana-CDGGMN74.cjs +2 -0
- package/dist/solana-CDGGMN74.cjs.map +1 -0
- package/dist/solana-DHXEV2TG.js +2 -0
- package/dist/solana-DHXEV2TG.js.map +1 -0
- package/dist/{types-D4Vti05g.d.cts → types-eao2UQcC.d.cts} +7 -1
- package/dist/{types-D4Vti05g.d.ts → types-eao2UQcC.d.ts} +7 -1
- package/dist/{useWalletNativeBalance-CEASeZ6Z.d.ts → useWalletNativeBalance-Cv8QQLQv.d.ts} +2 -2
- package/dist/{useWalletNativeBalance-DSt1VUWC.d.cts → useWalletNativeBalance-D49yGzRi.d.cts} +2 -2
- package/dist/utils-TF3RVHPT.cjs +2 -0
- package/dist/{utils-H5O25MTI.cjs.map → utils-TF3RVHPT.cjs.map} +1 -1
- package/dist/utils-YYMTL3XH.js +2 -0
- package/dist/{utils-SUIRQJIA.js.map → utils-YYMTL3XH.js.map} +1 -1
- package/package.json +38 -43
- package/dist/chunk-7FTV55DQ.cjs +0 -2
- package/dist/chunk-7FTV55DQ.cjs.map +0 -1
- package/dist/chunk-DYDY3FCT.cjs +0 -2
- package/dist/chunk-DYDY3FCT.cjs.map +0 -1
- package/dist/chunk-J4TY3CJF.js +0 -2
- package/dist/chunk-J4TY3CJF.js.map +0 -1
- package/dist/chunk-JVVOBSVI.js +0 -6
- package/dist/chunk-JVVOBSVI.js.map +0 -1
- package/dist/chunk-MPEJHQKC.js +0 -2
- package/dist/chunk-MQGDTFY7.js +0 -2
- package/dist/chunk-MQGDTFY7.js.map +0 -1
- package/dist/chunk-NMQZA377.cjs +0 -2
- package/dist/chunk-NMQZA377.cjs.map +0 -1
- package/dist/chunk-QERPNHKX.cjs +0 -2
- package/dist/chunk-QERPNHKX.cjs.map +0 -1
- package/dist/chunk-S5WT3DLF.js +0 -2
- package/dist/chunk-S5WT3DLF.js.map +0 -1
- package/dist/chunk-TAV7EL23.js +0 -2
- package/dist/chunk-TAV7EL23.js.map +0 -1
- package/dist/chunk-Y3SFEPYJ.cjs +0 -6
- package/dist/chunk-Y3SFEPYJ.cjs.map +0 -1
- package/dist/evm-7NHOTSAK.cjs +0 -2
- package/dist/evm-7NHOTSAK.cjs.map +0 -1
- package/dist/evm-RBGEX4L3.js +0 -2
- package/dist/evm-RBGEX4L3.js.map +0 -1
- package/dist/getChainsListByWalletType-CDPECVNS.cjs +0 -2
- package/dist/getChainsListByWalletType-VMQ4BO2B.js +0 -2
- package/dist/solana-GLHHYZDQ.js +0 -2
- package/dist/solana-GLHHYZDQ.js.map +0 -1
- package/dist/solana-JUU54KQ3.cjs +0 -2
- package/dist/solana-JUU54KQ3.cjs.map +0 -1
- package/dist/utils-H5O25MTI.cjs +0 -2
- package/dist/utils-SUIRQJIA.js +0 -2
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
monospace;
|
|
8
8
|
--novacon-color-red-500: oklch(63.7% 0.237 25.331);
|
|
9
9
|
--novacon-color-red-600: oklch(57.7% 0.245 27.325);
|
|
10
|
+
--novacon-color-green-600: oklch(62.7% 0.194 149.214);
|
|
10
11
|
--novacon-color-blue-500: oklch(62.3% 0.214 259.815);
|
|
11
|
-
--novacon-color-gray-300: oklch(87.2% 0.01 258.338);
|
|
12
12
|
--novacon-color-white: #fff;
|
|
13
13
|
--novacon-spacing: 0.25rem;
|
|
14
14
|
--novacon-container-md: 28rem;
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
--novacon-font-weight-medium: 500;
|
|
26
26
|
--novacon-font-weight-semibold: 600;
|
|
27
27
|
--novacon-font-weight-bold: 700;
|
|
28
|
+
--novacon-tracking-wider: 0.05em;
|
|
28
29
|
--novacon-leading-relaxed: 1.625;
|
|
29
30
|
--novacon-radius-md: 0.375rem;
|
|
30
31
|
--novacon-radius-lg: 0.5rem;
|
|
@@ -106,12 +107,18 @@
|
|
|
106
107
|
.novacon\:right-0\.5 {
|
|
107
108
|
right: calc(var(--novacon-spacing) * 0.5);
|
|
108
109
|
}
|
|
110
|
+
.novacon\:right-2 {
|
|
111
|
+
right: calc(var(--novacon-spacing) * 2);
|
|
112
|
+
}
|
|
109
113
|
.novacon\:right-5 {
|
|
110
114
|
right: calc(var(--novacon-spacing) * 5);
|
|
111
115
|
}
|
|
112
116
|
.novacon\:right-\[-10px\] {
|
|
113
117
|
right: -10px;
|
|
114
118
|
}
|
|
119
|
+
.novacon\:right-\[-30px\] {
|
|
120
|
+
right: -30px;
|
|
121
|
+
}
|
|
115
122
|
.novacon\:right-\[-40px\] {
|
|
116
123
|
right: -40px;
|
|
117
124
|
}
|
|
@@ -142,6 +149,9 @@
|
|
|
142
149
|
.novacon\:left-1\/2 {
|
|
143
150
|
left: calc(1/2 * 100%);
|
|
144
151
|
}
|
|
152
|
+
.novacon\:left-2 {
|
|
153
|
+
left: calc(var(--novacon-spacing) * 2);
|
|
154
|
+
}
|
|
145
155
|
.novacon\:left-\[-10px\] {
|
|
146
156
|
left: -10px;
|
|
147
157
|
}
|
|
@@ -193,6 +203,9 @@
|
|
|
193
203
|
.novacon\:mt-3 {
|
|
194
204
|
margin-top: calc(var(--novacon-spacing) * 3);
|
|
195
205
|
}
|
|
206
|
+
.novacon\:mt-4 {
|
|
207
|
+
margin-top: calc(var(--novacon-spacing) * 4);
|
|
208
|
+
}
|
|
196
209
|
.novacon\:mt-6 {
|
|
197
210
|
margin-top: calc(var(--novacon-spacing) * 6);
|
|
198
211
|
}
|
|
@@ -217,6 +230,15 @@
|
|
|
217
230
|
.novacon\:-ml-2 {
|
|
218
231
|
margin-left: calc(var(--novacon-spacing) * -2);
|
|
219
232
|
}
|
|
233
|
+
.novacon\:ml-0 {
|
|
234
|
+
margin-left: calc(var(--novacon-spacing) * 0);
|
|
235
|
+
}
|
|
236
|
+
.novacon\:ml-2 {
|
|
237
|
+
margin-left: calc(var(--novacon-spacing) * 2);
|
|
238
|
+
}
|
|
239
|
+
.novacon\:ml-4 {
|
|
240
|
+
margin-left: calc(var(--novacon-spacing) * 4);
|
|
241
|
+
}
|
|
220
242
|
.novacon\:ml-auto {
|
|
221
243
|
margin-left: auto;
|
|
222
244
|
}
|
|
@@ -292,6 +314,9 @@
|
|
|
292
314
|
.novacon\:max-h-32 {
|
|
293
315
|
max-height: calc(var(--novacon-spacing) * 32);
|
|
294
316
|
}
|
|
317
|
+
.novacon\:max-h-\[240px\] {
|
|
318
|
+
max-height: 240px;
|
|
319
|
+
}
|
|
295
320
|
.novacon\:max-h-\[310px\] {
|
|
296
321
|
max-height: 310px;
|
|
297
322
|
}
|
|
@@ -476,6 +501,9 @@
|
|
|
476
501
|
.novacon\:gap-4 {
|
|
477
502
|
gap: calc(var(--novacon-spacing) * 4);
|
|
478
503
|
}
|
|
504
|
+
.novacon\:gap-6 {
|
|
505
|
+
gap: calc(var(--novacon-spacing) * 6);
|
|
506
|
+
}
|
|
479
507
|
.novacon\:space-y-1 {
|
|
480
508
|
:where(& > :not(:last-child)) {
|
|
481
509
|
--tw-space-y-reverse: 0;
|
|
@@ -531,9 +559,6 @@
|
|
|
531
559
|
.novacon\:overflow-y-auto {
|
|
532
560
|
overflow-y: auto;
|
|
533
561
|
}
|
|
534
|
-
.novacon\:rounded {
|
|
535
|
-
border-radius: 0.25rem;
|
|
536
|
-
}
|
|
537
562
|
.novacon\:rounded-full {
|
|
538
563
|
border-radius: calc(infinity * 1px);
|
|
539
564
|
}
|
|
@@ -562,6 +587,13 @@
|
|
|
562
587
|
border-bottom-style: var(--tw-border-style);
|
|
563
588
|
border-bottom-width: 1px;
|
|
564
589
|
}
|
|
590
|
+
.novacon\:border-dashed {
|
|
591
|
+
--tw-border-style: dashed;
|
|
592
|
+
border-style: dashed;
|
|
593
|
+
}
|
|
594
|
+
.novacon\:border-\[var\(--tuwa-bg-secondary\)\] {
|
|
595
|
+
border-color: var(--tuwa-bg-secondary);
|
|
596
|
+
}
|
|
565
597
|
.novacon\:border-\[var\(--tuwa-border-primary\)\] {
|
|
566
598
|
border-color: var(--tuwa-border-primary);
|
|
567
599
|
}
|
|
@@ -577,6 +609,9 @@
|
|
|
577
609
|
.novacon\:border-\[var\(--tuwa-text-accent\)\] {
|
|
578
610
|
border-color: var(--tuwa-text-accent);
|
|
579
611
|
}
|
|
612
|
+
.novacon\:border-blue-500 {
|
|
613
|
+
border-color: var(--novacon-color-blue-500);
|
|
614
|
+
}
|
|
580
615
|
.novacon\:border-red-500 {
|
|
581
616
|
border-color: var(--novacon-color-red-500);
|
|
582
617
|
}
|
|
@@ -586,6 +621,12 @@
|
|
|
586
621
|
.novacon\:border-t-transparent {
|
|
587
622
|
border-top-color: transparent;
|
|
588
623
|
}
|
|
624
|
+
.novacon\:bg-\[var\(--tuwa-bg-accent\)\]\/10 {
|
|
625
|
+
background-color: var(--tuwa-bg-accent);
|
|
626
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
627
|
+
background-color: color-mix(in oklab, var(--tuwa-bg-accent) 10%, transparent);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
589
630
|
.novacon\:bg-\[var\(--tuwa-bg-muted\)\] {
|
|
590
631
|
background-color: var(--tuwa-bg-muted);
|
|
591
632
|
}
|
|
@@ -598,12 +639,6 @@
|
|
|
598
639
|
background-color: color-mix(in oklab, var(--tuwa-bg-primary) 50%, transparent);
|
|
599
640
|
}
|
|
600
641
|
}
|
|
601
|
-
.novacon\:bg-\[var\(--tuwa-bg-primary\)\]\/\[0\.19\] {
|
|
602
|
-
background-color: var(--tuwa-bg-primary);
|
|
603
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
604
|
-
background-color: color-mix(in oklab, var(--tuwa-bg-primary) 19%, transparent);
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
642
|
.novacon\:bg-\[var\(--tuwa-bg-secondary\)\] {
|
|
608
643
|
background-color: var(--tuwa-bg-secondary);
|
|
609
644
|
}
|
|
@@ -613,6 +648,12 @@
|
|
|
613
648
|
.novacon\:bg-\[var\(--tuwa-error-text\)\] {
|
|
614
649
|
background-color: var(--tuwa-error-text);
|
|
615
650
|
}
|
|
651
|
+
.novacon\:bg-\[var\(--tuwa-success-bg\)\]\/20 {
|
|
652
|
+
background-color: var(--tuwa-success-bg);
|
|
653
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
654
|
+
background-color: color-mix(in oklab, var(--tuwa-success-bg) 20%, transparent);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
616
657
|
.novacon\:bg-\[var\(--tuwa-success-text\)\] {
|
|
617
658
|
background-color: var(--tuwa-success-text);
|
|
618
659
|
}
|
|
@@ -625,9 +666,6 @@
|
|
|
625
666
|
.novacon\:bg-blue-500 {
|
|
626
667
|
background-color: var(--novacon-color-blue-500);
|
|
627
668
|
}
|
|
628
|
-
.novacon\:bg-gray-300 {
|
|
629
|
-
background-color: var(--novacon-color-gray-300);
|
|
630
|
-
}
|
|
631
669
|
.novacon\:bg-red-500 {
|
|
632
670
|
background-color: var(--novacon-color-red-500);
|
|
633
671
|
}
|
|
@@ -708,6 +746,9 @@
|
|
|
708
746
|
.novacon\:py-1 {
|
|
709
747
|
padding-block: calc(var(--novacon-spacing) * 1);
|
|
710
748
|
}
|
|
749
|
+
.novacon\:py-1\.5 {
|
|
750
|
+
padding-block: calc(var(--novacon-spacing) * 1.5);
|
|
751
|
+
}
|
|
711
752
|
.novacon\:py-2 {
|
|
712
753
|
padding-block: calc(var(--novacon-spacing) * 2);
|
|
713
754
|
}
|
|
@@ -787,6 +828,10 @@
|
|
|
787
828
|
--tw-font-weight: var(--novacon-font-weight-semibold);
|
|
788
829
|
font-weight: var(--novacon-font-weight-semibold);
|
|
789
830
|
}
|
|
831
|
+
.novacon\:tracking-wider {
|
|
832
|
+
--tw-tracking: var(--novacon-tracking-wider);
|
|
833
|
+
letter-spacing: var(--novacon-tracking-wider);
|
|
834
|
+
}
|
|
790
835
|
.novacon\:break-words {
|
|
791
836
|
overflow-wrap: break-word;
|
|
792
837
|
}
|
|
@@ -820,15 +865,27 @@
|
|
|
820
865
|
.novacon\:text-\[var\(--tuwa-warning-text\)\] {
|
|
821
866
|
color: var(--tuwa-warning-text);
|
|
822
867
|
}
|
|
868
|
+
.novacon\:text-blue-500 {
|
|
869
|
+
color: var(--novacon-color-blue-500);
|
|
870
|
+
}
|
|
871
|
+
.novacon\:text-green-600 {
|
|
872
|
+
color: var(--novacon-color-green-600);
|
|
873
|
+
}
|
|
823
874
|
.novacon\:text-red-500 {
|
|
824
875
|
color: var(--novacon-color-red-500);
|
|
825
876
|
}
|
|
826
877
|
.novacon\:text-white {
|
|
827
878
|
color: var(--novacon-color-white);
|
|
828
879
|
}
|
|
880
|
+
.novacon\:uppercase {
|
|
881
|
+
text-transform: uppercase;
|
|
882
|
+
}
|
|
829
883
|
.novacon\:opacity-0 {
|
|
830
884
|
opacity: 0%;
|
|
831
885
|
}
|
|
886
|
+
.novacon\:opacity-25 {
|
|
887
|
+
opacity: 25%;
|
|
888
|
+
}
|
|
832
889
|
.novacon\:opacity-50 {
|
|
833
890
|
opacity: 50%;
|
|
834
891
|
}
|
|
@@ -871,10 +928,6 @@
|
|
|
871
928
|
.novacon\:ring-\[var\(--tuwa-text-accent\)\] {
|
|
872
929
|
--tw-ring-color: var(--tuwa-text-accent);
|
|
873
930
|
}
|
|
874
|
-
.novacon\:backdrop-blur-\[8\.5px\] {
|
|
875
|
-
--tw-backdrop-blur: blur(8.5px);
|
|
876
|
-
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
877
|
-
}
|
|
878
931
|
.novacon\:transition {
|
|
879
932
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
880
933
|
transition-timing-function: var(--tw-ease, var(--novacon-default-transition-timing-function));
|
|
@@ -921,6 +974,13 @@
|
|
|
921
974
|
-moz-user-select: none;
|
|
922
975
|
user-select: none;
|
|
923
976
|
}
|
|
977
|
+
.novacon\:group-hover\:ml-6 {
|
|
978
|
+
&:is(:where(.novacon\:group):hover *) {
|
|
979
|
+
@media (hover: hover) {
|
|
980
|
+
margin-left: calc(var(--novacon-spacing) * 6);
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
}
|
|
924
984
|
.novacon\:group-hover\:translate-x-0 {
|
|
925
985
|
&:is(:where(.novacon\:group):hover *) {
|
|
926
986
|
@media (hover: hover) {
|
|
@@ -1083,6 +1143,23 @@
|
|
|
1083
1143
|
}
|
|
1084
1144
|
}
|
|
1085
1145
|
}
|
|
1146
|
+
.novacon\:hover\:border-\[var\(--tuwa-text-accent\)\] {
|
|
1147
|
+
&:hover {
|
|
1148
|
+
@media (hover: hover) {
|
|
1149
|
+
border-color: var(--tuwa-text-accent);
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
.novacon\:hover\:bg-\[var\(--tuwa-bg-error\)\]\/10 {
|
|
1154
|
+
&:hover {
|
|
1155
|
+
@media (hover: hover) {
|
|
1156
|
+
background-color: var(--tuwa-bg-error);
|
|
1157
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1158
|
+
background-color: color-mix(in oklab, var(--tuwa-bg-error) 10%, transparent);
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1086
1163
|
.novacon\:hover\:bg-\[var\(--tuwa-bg-muted\)\] {
|
|
1087
1164
|
&:hover {
|
|
1088
1165
|
@media (hover: hover) {
|
|
@@ -1148,6 +1225,13 @@
|
|
|
1148
1225
|
}
|
|
1149
1226
|
}
|
|
1150
1227
|
}
|
|
1228
|
+
.novacon\:hover\:text-\[var\(--tuwa-text-accent\)\] {
|
|
1229
|
+
&:hover {
|
|
1230
|
+
@media (hover: hover) {
|
|
1231
|
+
color: var(--tuwa-text-accent);
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1151
1235
|
.novacon\:hover\:text-\[var\(--tuwa-text-primary\)\] {
|
|
1152
1236
|
&:hover {
|
|
1153
1237
|
@media (hover: hover) {
|
|
@@ -1201,6 +1285,11 @@
|
|
|
1201
1285
|
--tw-ring-color: var(--tuwa-text-secondary);
|
|
1202
1286
|
}
|
|
1203
1287
|
}
|
|
1288
|
+
.novacon\:focus\:ring-blue-500 {
|
|
1289
|
+
&:focus {
|
|
1290
|
+
--tw-ring-color: var(--novacon-color-blue-500);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1204
1293
|
.novacon\:focus\:ring-red-500 {
|
|
1205
1294
|
&:focus {
|
|
1206
1295
|
--tw-ring-color: var(--novacon-color-red-500);
|
|
@@ -1849,6 +1938,10 @@ div[data-radix-popper-content-wrapper] {
|
|
|
1849
1938
|
syntax: "*";
|
|
1850
1939
|
inherits: false;
|
|
1851
1940
|
}
|
|
1941
|
+
@property --tw-tracking {
|
|
1942
|
+
syntax: "*";
|
|
1943
|
+
inherits: false;
|
|
1944
|
+
}
|
|
1852
1945
|
@property --tw-shadow {
|
|
1853
1946
|
syntax: "*";
|
|
1854
1947
|
inherits: false;
|
|
@@ -1914,42 +2007,6 @@ div[data-radix-popper-content-wrapper] {
|
|
|
1914
2007
|
inherits: false;
|
|
1915
2008
|
initial-value: 0 0 #0000;
|
|
1916
2009
|
}
|
|
1917
|
-
@property --tw-backdrop-blur {
|
|
1918
|
-
syntax: "*";
|
|
1919
|
-
inherits: false;
|
|
1920
|
-
}
|
|
1921
|
-
@property --tw-backdrop-brightness {
|
|
1922
|
-
syntax: "*";
|
|
1923
|
-
inherits: false;
|
|
1924
|
-
}
|
|
1925
|
-
@property --tw-backdrop-contrast {
|
|
1926
|
-
syntax: "*";
|
|
1927
|
-
inherits: false;
|
|
1928
|
-
}
|
|
1929
|
-
@property --tw-backdrop-grayscale {
|
|
1930
|
-
syntax: "*";
|
|
1931
|
-
inherits: false;
|
|
1932
|
-
}
|
|
1933
|
-
@property --tw-backdrop-hue-rotate {
|
|
1934
|
-
syntax: "*";
|
|
1935
|
-
inherits: false;
|
|
1936
|
-
}
|
|
1937
|
-
@property --tw-backdrop-invert {
|
|
1938
|
-
syntax: "*";
|
|
1939
|
-
inherits: false;
|
|
1940
|
-
}
|
|
1941
|
-
@property --tw-backdrop-opacity {
|
|
1942
|
-
syntax: "*";
|
|
1943
|
-
inherits: false;
|
|
1944
|
-
}
|
|
1945
|
-
@property --tw-backdrop-saturate {
|
|
1946
|
-
syntax: "*";
|
|
1947
|
-
inherits: false;
|
|
1948
|
-
}
|
|
1949
|
-
@property --tw-backdrop-sepia {
|
|
1950
|
-
syntax: "*";
|
|
1951
|
-
inherits: false;
|
|
1952
|
-
}
|
|
1953
2010
|
@property --tw-duration {
|
|
1954
2011
|
syntax: "*";
|
|
1955
2012
|
inherits: false;
|
|
@@ -2047,6 +2104,7 @@ div[data-radix-popper-content-wrapper] {
|
|
|
2047
2104
|
--tw-gradient-to-position: 100%;
|
|
2048
2105
|
--tw-leading: initial;
|
|
2049
2106
|
--tw-font-weight: initial;
|
|
2107
|
+
--tw-tracking: initial;
|
|
2050
2108
|
--tw-shadow: 0 0 #0000;
|
|
2051
2109
|
--tw-shadow-color: initial;
|
|
2052
2110
|
--tw-shadow-alpha: 100%;
|
|
@@ -2061,15 +2119,6 @@ div[data-radix-popper-content-wrapper] {
|
|
|
2061
2119
|
--tw-ring-offset-width: 0px;
|
|
2062
2120
|
--tw-ring-offset-color: #fff;
|
|
2063
2121
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
2064
|
-
--tw-backdrop-blur: initial;
|
|
2065
|
-
--tw-backdrop-brightness: initial;
|
|
2066
|
-
--tw-backdrop-contrast: initial;
|
|
2067
|
-
--tw-backdrop-grayscale: initial;
|
|
2068
|
-
--tw-backdrop-hue-rotate: initial;
|
|
2069
|
-
--tw-backdrop-invert: initial;
|
|
2070
|
-
--tw-backdrop-opacity: initial;
|
|
2071
|
-
--tw-backdrop-saturate: initial;
|
|
2072
|
-
--tw-backdrop-sepia: initial;
|
|
2073
2122
|
--tw-duration: initial;
|
|
2074
2123
|
--tw-ease: initial;
|
|
2075
2124
|
--tw-scale-x: 1;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { OrbitAdapter,
|
|
2
|
-
export { WalletNameAndAvatarData, useGetWalletNameAndAvatar } from './hooks/index.cjs';
|
|
3
|
-
import { C as ConnectContentType, a as ConnectedContentType, B as ButtonTxStatus, N as NovaConnectProviderType, b as NovaConnectProviderProps } from './useWalletNativeBalance-
|
|
4
|
-
export { L as LabelCategory, p as NativeBalanceResult, g as NovaConnectLabelsContext, d as NovaConnectProviderContext, c as NovaConnectProviderError, W as WalletBalance, o as createLabelsSubset, n as getLabelWithFallback, k as hasLabel, m as isDefaultLabels, e as useHasNovaConnectContext, l as useLabelsByCategory, u as useNovaConnect, i as useNovaConnectLabel, h as useNovaConnectLabels, j as useNovaConnectLabelsSubset, f as useNovaConnectOptional, q as useWalletNativeBalance } from './useWalletNativeBalance-
|
|
1
|
+
import { OrbitAdapter, ConnectorType } from '@tuwaio/orbit-core';
|
|
2
|
+
export { WalletNameAndAvatarData, useGetWalletNameAndAvatar, useWalletChainsList } from './hooks/index.cjs';
|
|
3
|
+
import { C as ConnectContentType, a as ConnectedContentType, B as ButtonTxStatus, N as NovaConnectProviderType, b as NovaConnectProviderProps } from './useWalletNativeBalance-D49yGzRi.cjs';
|
|
4
|
+
export { L as LabelCategory, p as NativeBalanceResult, g as NovaConnectLabelsContext, d as NovaConnectProviderContext, c as NovaConnectProviderError, W as WalletBalance, o as createLabelsSubset, n as getLabelWithFallback, k as hasLabel, m as isDefaultLabels, e as useHasNovaConnectContext, l as useLabelsByCategory, u as useNovaConnect, i as useNovaConnectLabel, h as useNovaConnectLabels, j as useNovaConnectLabelsSubset, f as useNovaConnectOptional, q as useWalletNativeBalance } from './useWalletNativeBalance-D49yGzRi.cjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { ComponentPropsWithoutRef, ComponentType, ReactNode } from 'react';
|
|
7
7
|
import { ToastContainer, toast, ToastPosition } from 'react-toastify';
|
|
8
|
-
import { at as ToastErrorCustomization, aJ as ConnectModalCustomization, u as ConnectedModalCustomization } from './ToastError-
|
|
9
|
-
export { aK as getNetworkIcon } from './ToastError-
|
|
10
|
-
import { N as NovaConnectLabels } from './types-
|
|
11
|
-
import {
|
|
8
|
+
import { at as ToastErrorCustomization, aJ as ConnectModalCustomization, u as ConnectedModalCustomization } from './ToastError-C3LvnSma.cjs';
|
|
9
|
+
export { aK as getNetworkIcon } from './ToastError-C3LvnSma.cjs';
|
|
10
|
+
import { N as NovaConnectLabels } from './types-eao2UQcC.cjs';
|
|
11
|
+
import { BaseConnector } from '@tuwaio/satellite-core';
|
|
12
12
|
import { I as InitialChains, C as ChainIdentifierArray } from './types-DGsiEwne.cjs';
|
|
13
13
|
export { A as AllChainConfigs } from './types-DGsiEwne.cjs';
|
|
14
14
|
import { Connector } from '@tuwaio/satellite-react';
|
|
@@ -158,9 +158,9 @@ type ProviderContext = {
|
|
|
158
158
|
/** Current wallet connection state */
|
|
159
159
|
isConnected: boolean;
|
|
160
160
|
/** Active wallet instance */
|
|
161
|
-
|
|
161
|
+
activeConnection: BaseConnector | undefined;
|
|
162
162
|
/** Current wallet connection error */
|
|
163
|
-
|
|
163
|
+
connectionError: string | undefined;
|
|
164
164
|
/** All modal and UI states */
|
|
165
165
|
modalStates: {
|
|
166
166
|
isConnectModalOpen: boolean;
|
|
@@ -307,7 +307,7 @@ declare namespace NovaConnectProvider {
|
|
|
307
307
|
* @example
|
|
308
308
|
* ```typescript
|
|
309
309
|
* const params: GetChainsListParams = {
|
|
310
|
-
*
|
|
310
|
+
* connectorType: WalletType.EVM_METAMASK,
|
|
311
311
|
* appChains: [
|
|
312
312
|
* { id: 1, name: 'Ethereum' },
|
|
313
313
|
* { id: 137, name: 'Polygon' }
|
|
@@ -318,12 +318,12 @@ declare namespace NovaConnectProvider {
|
|
|
318
318
|
*/
|
|
319
319
|
interface GetChainsListParams extends InitialChains {
|
|
320
320
|
/** The wallet type to determine chain compatibility */
|
|
321
|
-
|
|
321
|
+
connectorType: ConnectorType;
|
|
322
322
|
/** Optional array of specific chain identifiers to filter or validate */
|
|
323
323
|
chains?: ChainIdentifierArray;
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
|
-
* Retrieves chain list for a specific
|
|
326
|
+
* Retrieves chain list for a specific connectorType type with automatic adapter loading.
|
|
327
327
|
*
|
|
328
328
|
* This is the primary function for getting blockchain-compatible chains based on
|
|
329
329
|
* wallet type and configuration. It automatically determines the correct adapter,
|
|
@@ -334,14 +334,14 @@ interface GetChainsListParams extends InitialChains {
|
|
|
334
334
|
* - Solana clusters: Returns string cluster names from RPC configuration
|
|
335
335
|
* - Future blockchains: Extensible through the adapter pattern
|
|
336
336
|
*
|
|
337
|
-
* @param params - Configuration object with
|
|
337
|
+
* @param params - Configuration object with connectorType type and chain data
|
|
338
338
|
* @returns Promise resolving to array of chain identifiers
|
|
339
339
|
*
|
|
340
340
|
* @example
|
|
341
341
|
* ```typescript
|
|
342
342
|
* // Get EVM chains for MetaMask
|
|
343
|
-
* const evmChains = await
|
|
344
|
-
*
|
|
343
|
+
* const evmChains = await getChainsListByConnectorType({
|
|
344
|
+
* connectorType: ConnectorType.EVM_METAMASK,
|
|
345
345
|
* appChains: [
|
|
346
346
|
* { id: 1, name: 'Ethereum' },
|
|
347
347
|
* { id: 137, name: 'Polygon' }
|
|
@@ -350,8 +350,8 @@ interface GetChainsListParams extends InitialChains {
|
|
|
350
350
|
* // Returns: [1, 137]
|
|
351
351
|
*
|
|
352
352
|
* // Get Solana clusters for Phantom
|
|
353
|
-
* const solanaClusters = await
|
|
354
|
-
*
|
|
353
|
+
* const solanaClusters = await getChainsListByConnectorType({
|
|
354
|
+
* connectorType: ConnectorType.SOLANA_PHANTOM,
|
|
355
355
|
* solanaRPCUrls: {
|
|
356
356
|
* 'mainnet-beta': 'https://api.mainnet-beta.solana.com',
|
|
357
357
|
* 'devnet': 'https://api.devnet.solana.com'
|
|
@@ -362,7 +362,7 @@ interface GetChainsListParams extends InitialChains {
|
|
|
362
362
|
*
|
|
363
363
|
* @since 1.0.0
|
|
364
364
|
*/
|
|
365
|
-
declare function
|
|
365
|
+
declare function getChainsListByConnectorType(params: GetChainsListParams): Promise<(string | number)[]>;
|
|
366
366
|
/**
|
|
367
367
|
* Synchronous version that only works with pre-loaded adapters.
|
|
368
368
|
*
|
|
@@ -386,14 +386,14 @@ declare function getChainsListByWalletType(params: GetChainsListParams): Promise
|
|
|
386
386
|
*
|
|
387
387
|
* // Now safe to use sync version
|
|
388
388
|
* const chains = getChainsListByWalletTypeSync({
|
|
389
|
-
*
|
|
389
|
+
* connectorType: ConnectorType.EVM_METAMASK,
|
|
390
390
|
* appChains: evmConfiguration
|
|
391
391
|
* });
|
|
392
392
|
* ```
|
|
393
393
|
*
|
|
394
394
|
* @since 1.0.0
|
|
395
395
|
*/
|
|
396
|
-
declare function
|
|
396
|
+
declare function getChainsListByConnectorTypeSync(params: GetChainsListParams): (string | number)[];
|
|
397
397
|
/**
|
|
398
398
|
* Validates if a chain list conforms to EVM format (with adapter loading).
|
|
399
399
|
*
|
|
@@ -918,7 +918,7 @@ declare const networksLinks: Partial<Record<OrbitAdapter, {
|
|
|
918
918
|
* @example
|
|
919
919
|
* ```typescript
|
|
920
920
|
* // Import synchronous version (backward compatible)
|
|
921
|
-
* import {
|
|
921
|
+
* import { getChainsListByConnectorType, isEvmChainList } from './utils';
|
|
922
922
|
*
|
|
923
923
|
* // Import asynchronous version (better performance)
|
|
924
924
|
* import {
|
|
@@ -1154,4 +1154,4 @@ declare function initializeBlockchainSupport(): Promise<InitializationResult>;
|
|
|
1154
1154
|
*/
|
|
1155
1155
|
declare function isAdapterSupported(adapter: OrbitAdapter): Promise<boolean>;
|
|
1156
1156
|
|
|
1157
|
-
export { type AdapterInfo, type AdapterLoadStatus, type BlockchainUtilities, type BlockchainUtilityResult, ButtonTxStatus, type ChainAdapter, ChainIdentifierArray, ConnectContentType, ConnectedContentType, ErrorsProvider, type ErrorsProviderCustomization, type ErrorsProviderProps, type GroupedConnector, InitialChains, type InitializationResult, NovaConnectLabelsProvider, NovaConnectProvider, type NovaConnectProviderCustomization, NovaConnectProviderProps, type NovaConnectProviderPropsWithCustomization, NovaConnectProviderType, getAdapterStatus, getAllAdaptersStatus, getAvailableChainIds, getAvailableSolanaClusters, getAvailableSolanaClusters$1 as getAvailableSolanaClustersAsync, getBlockchainUtilities,
|
|
1157
|
+
export { type AdapterInfo, type AdapterLoadStatus, type BlockchainUtilities, type BlockchainUtilityResult, ButtonTxStatus, type ChainAdapter, ChainIdentifierArray, ConnectContentType, ConnectedContentType, ErrorsProvider, type ErrorsProviderCustomization, type ErrorsProviderProps, type GroupedConnector, InitialChains, type InitializationResult, NovaConnectLabelsProvider, NovaConnectProvider, type NovaConnectProviderCustomization, NovaConnectProviderProps, type NovaConnectProviderPropsWithCustomization, NovaConnectProviderType, getAdapterStatus, getAllAdaptersStatus, getAvailableChainIds, getAvailableSolanaClusters, getAvailableSolanaClusters$1 as getAvailableSolanaClustersAsync, getBlockchainUtilities, getChainsListByConnectorTypeSync as getChainsListByConnectorType, getChainsListByConnectorType as getChainsListByConnectorTypeAsync, getChainsListByConnectorTypeSync, getConnectChainId, getEvmUtils, getFilteredConnectors, getGroupedConnectors, getSolanaUtils, getWalletChains, hasAvailableConnectors, hasConnectorsForAdapter, initializeBlockchainSupport, isAdapterSupported, isEvmChainListSync as isEvmChainList, isEvmChainList as isEvmChainListAsync, isEvmChainListSync, isSolanaChainListSync as isSolanaChainList, isSolanaChainList as isSolanaChainListAsync, isSolanaChainListSync, isValidSolanaCluster, isValidSolanaCluster$1 as isValidSolanaClusterAsync, networksLinks, preloadChainAdapters };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { OrbitAdapter,
|
|
2
|
-
export { WalletNameAndAvatarData, useGetWalletNameAndAvatar } from './hooks/index.js';
|
|
3
|
-
import { C as ConnectContentType, a as ConnectedContentType, B as ButtonTxStatus, N as NovaConnectProviderType, b as NovaConnectProviderProps } from './useWalletNativeBalance-
|
|
4
|
-
export { L as LabelCategory, p as NativeBalanceResult, g as NovaConnectLabelsContext, d as NovaConnectProviderContext, c as NovaConnectProviderError, W as WalletBalance, o as createLabelsSubset, n as getLabelWithFallback, k as hasLabel, m as isDefaultLabels, e as useHasNovaConnectContext, l as useLabelsByCategory, u as useNovaConnect, i as useNovaConnectLabel, h as useNovaConnectLabels, j as useNovaConnectLabelsSubset, f as useNovaConnectOptional, q as useWalletNativeBalance } from './useWalletNativeBalance-
|
|
1
|
+
import { OrbitAdapter, ConnectorType } from '@tuwaio/orbit-core';
|
|
2
|
+
export { WalletNameAndAvatarData, useGetWalletNameAndAvatar, useWalletChainsList } from './hooks/index.js';
|
|
3
|
+
import { C as ConnectContentType, a as ConnectedContentType, B as ButtonTxStatus, N as NovaConnectProviderType, b as NovaConnectProviderProps } from './useWalletNativeBalance-Cv8QQLQv.js';
|
|
4
|
+
export { L as LabelCategory, p as NativeBalanceResult, g as NovaConnectLabelsContext, d as NovaConnectProviderContext, c as NovaConnectProviderError, W as WalletBalance, o as createLabelsSubset, n as getLabelWithFallback, k as hasLabel, m as isDefaultLabels, e as useHasNovaConnectContext, l as useLabelsByCategory, u as useNovaConnect, i as useNovaConnectLabel, h as useNovaConnectLabels, j as useNovaConnectLabelsSubset, f as useNovaConnectOptional, q as useWalletNativeBalance } from './useWalletNativeBalance-Cv8QQLQv.js';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { ComponentPropsWithoutRef, ComponentType, ReactNode } from 'react';
|
|
7
7
|
import { ToastContainer, toast, ToastPosition } from 'react-toastify';
|
|
8
|
-
import { at as ToastErrorCustomization, aJ as ConnectModalCustomization, u as ConnectedModalCustomization } from './ToastError-
|
|
9
|
-
export { aK as getNetworkIcon } from './ToastError-
|
|
10
|
-
import { N as NovaConnectLabels } from './types-
|
|
11
|
-
import {
|
|
8
|
+
import { at as ToastErrorCustomization, aJ as ConnectModalCustomization, u as ConnectedModalCustomization } from './ToastError-CVhCoryf.js';
|
|
9
|
+
export { aK as getNetworkIcon } from './ToastError-CVhCoryf.js';
|
|
10
|
+
import { N as NovaConnectLabels } from './types-eao2UQcC.js';
|
|
11
|
+
import { BaseConnector } from '@tuwaio/satellite-core';
|
|
12
12
|
import { I as InitialChains, C as ChainIdentifierArray } from './types-DGsiEwne.js';
|
|
13
13
|
export { A as AllChainConfigs } from './types-DGsiEwne.js';
|
|
14
14
|
import { Connector } from '@tuwaio/satellite-react';
|
|
@@ -158,9 +158,9 @@ type ProviderContext = {
|
|
|
158
158
|
/** Current wallet connection state */
|
|
159
159
|
isConnected: boolean;
|
|
160
160
|
/** Active wallet instance */
|
|
161
|
-
|
|
161
|
+
activeConnection: BaseConnector | undefined;
|
|
162
162
|
/** Current wallet connection error */
|
|
163
|
-
|
|
163
|
+
connectionError: string | undefined;
|
|
164
164
|
/** All modal and UI states */
|
|
165
165
|
modalStates: {
|
|
166
166
|
isConnectModalOpen: boolean;
|
|
@@ -307,7 +307,7 @@ declare namespace NovaConnectProvider {
|
|
|
307
307
|
* @example
|
|
308
308
|
* ```typescript
|
|
309
309
|
* const params: GetChainsListParams = {
|
|
310
|
-
*
|
|
310
|
+
* connectorType: WalletType.EVM_METAMASK,
|
|
311
311
|
* appChains: [
|
|
312
312
|
* { id: 1, name: 'Ethereum' },
|
|
313
313
|
* { id: 137, name: 'Polygon' }
|
|
@@ -318,12 +318,12 @@ declare namespace NovaConnectProvider {
|
|
|
318
318
|
*/
|
|
319
319
|
interface GetChainsListParams extends InitialChains {
|
|
320
320
|
/** The wallet type to determine chain compatibility */
|
|
321
|
-
|
|
321
|
+
connectorType: ConnectorType;
|
|
322
322
|
/** Optional array of specific chain identifiers to filter or validate */
|
|
323
323
|
chains?: ChainIdentifierArray;
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
|
-
* Retrieves chain list for a specific
|
|
326
|
+
* Retrieves chain list for a specific connectorType type with automatic adapter loading.
|
|
327
327
|
*
|
|
328
328
|
* This is the primary function for getting blockchain-compatible chains based on
|
|
329
329
|
* wallet type and configuration. It automatically determines the correct adapter,
|
|
@@ -334,14 +334,14 @@ interface GetChainsListParams extends InitialChains {
|
|
|
334
334
|
* - Solana clusters: Returns string cluster names from RPC configuration
|
|
335
335
|
* - Future blockchains: Extensible through the adapter pattern
|
|
336
336
|
*
|
|
337
|
-
* @param params - Configuration object with
|
|
337
|
+
* @param params - Configuration object with connectorType type and chain data
|
|
338
338
|
* @returns Promise resolving to array of chain identifiers
|
|
339
339
|
*
|
|
340
340
|
* @example
|
|
341
341
|
* ```typescript
|
|
342
342
|
* // Get EVM chains for MetaMask
|
|
343
|
-
* const evmChains = await
|
|
344
|
-
*
|
|
343
|
+
* const evmChains = await getChainsListByConnectorType({
|
|
344
|
+
* connectorType: ConnectorType.EVM_METAMASK,
|
|
345
345
|
* appChains: [
|
|
346
346
|
* { id: 1, name: 'Ethereum' },
|
|
347
347
|
* { id: 137, name: 'Polygon' }
|
|
@@ -350,8 +350,8 @@ interface GetChainsListParams extends InitialChains {
|
|
|
350
350
|
* // Returns: [1, 137]
|
|
351
351
|
*
|
|
352
352
|
* // Get Solana clusters for Phantom
|
|
353
|
-
* const solanaClusters = await
|
|
354
|
-
*
|
|
353
|
+
* const solanaClusters = await getChainsListByConnectorType({
|
|
354
|
+
* connectorType: ConnectorType.SOLANA_PHANTOM,
|
|
355
355
|
* solanaRPCUrls: {
|
|
356
356
|
* 'mainnet-beta': 'https://api.mainnet-beta.solana.com',
|
|
357
357
|
* 'devnet': 'https://api.devnet.solana.com'
|
|
@@ -362,7 +362,7 @@ interface GetChainsListParams extends InitialChains {
|
|
|
362
362
|
*
|
|
363
363
|
* @since 1.0.0
|
|
364
364
|
*/
|
|
365
|
-
declare function
|
|
365
|
+
declare function getChainsListByConnectorType(params: GetChainsListParams): Promise<(string | number)[]>;
|
|
366
366
|
/**
|
|
367
367
|
* Synchronous version that only works with pre-loaded adapters.
|
|
368
368
|
*
|
|
@@ -386,14 +386,14 @@ declare function getChainsListByWalletType(params: GetChainsListParams): Promise
|
|
|
386
386
|
*
|
|
387
387
|
* // Now safe to use sync version
|
|
388
388
|
* const chains = getChainsListByWalletTypeSync({
|
|
389
|
-
*
|
|
389
|
+
* connectorType: ConnectorType.EVM_METAMASK,
|
|
390
390
|
* appChains: evmConfiguration
|
|
391
391
|
* });
|
|
392
392
|
* ```
|
|
393
393
|
*
|
|
394
394
|
* @since 1.0.0
|
|
395
395
|
*/
|
|
396
|
-
declare function
|
|
396
|
+
declare function getChainsListByConnectorTypeSync(params: GetChainsListParams): (string | number)[];
|
|
397
397
|
/**
|
|
398
398
|
* Validates if a chain list conforms to EVM format (with adapter loading).
|
|
399
399
|
*
|
|
@@ -918,7 +918,7 @@ declare const networksLinks: Partial<Record<OrbitAdapter, {
|
|
|
918
918
|
* @example
|
|
919
919
|
* ```typescript
|
|
920
920
|
* // Import synchronous version (backward compatible)
|
|
921
|
-
* import {
|
|
921
|
+
* import { getChainsListByConnectorType, isEvmChainList } from './utils';
|
|
922
922
|
*
|
|
923
923
|
* // Import asynchronous version (better performance)
|
|
924
924
|
* import {
|
|
@@ -1154,4 +1154,4 @@ declare function initializeBlockchainSupport(): Promise<InitializationResult>;
|
|
|
1154
1154
|
*/
|
|
1155
1155
|
declare function isAdapterSupported(adapter: OrbitAdapter): Promise<boolean>;
|
|
1156
1156
|
|
|
1157
|
-
export { type AdapterInfo, type AdapterLoadStatus, type BlockchainUtilities, type BlockchainUtilityResult, ButtonTxStatus, type ChainAdapter, ChainIdentifierArray, ConnectContentType, ConnectedContentType, ErrorsProvider, type ErrorsProviderCustomization, type ErrorsProviderProps, type GroupedConnector, InitialChains, type InitializationResult, NovaConnectLabelsProvider, NovaConnectProvider, type NovaConnectProviderCustomization, NovaConnectProviderProps, type NovaConnectProviderPropsWithCustomization, NovaConnectProviderType, getAdapterStatus, getAllAdaptersStatus, getAvailableChainIds, getAvailableSolanaClusters, getAvailableSolanaClusters$1 as getAvailableSolanaClustersAsync, getBlockchainUtilities,
|
|
1157
|
+
export { type AdapterInfo, type AdapterLoadStatus, type BlockchainUtilities, type BlockchainUtilityResult, ButtonTxStatus, type ChainAdapter, ChainIdentifierArray, ConnectContentType, ConnectedContentType, ErrorsProvider, type ErrorsProviderCustomization, type ErrorsProviderProps, type GroupedConnector, InitialChains, type InitializationResult, NovaConnectLabelsProvider, NovaConnectProvider, type NovaConnectProviderCustomization, NovaConnectProviderProps, type NovaConnectProviderPropsWithCustomization, NovaConnectProviderType, getAdapterStatus, getAllAdaptersStatus, getAvailableChainIds, getAvailableSolanaClusters, getAvailableSolanaClusters$1 as getAvailableSolanaClustersAsync, getBlockchainUtilities, getChainsListByConnectorTypeSync as getChainsListByConnectorType, getChainsListByConnectorType as getChainsListByConnectorTypeAsync, getChainsListByConnectorTypeSync, getConnectChainId, getEvmUtils, getFilteredConnectors, getGroupedConnectors, getSolanaUtils, getWalletChains, hasAvailableConnectors, hasConnectorsForAdapter, initializeBlockchainSupport, isAdapterSupported, isEvmChainListSync as isEvmChainList, isEvmChainList as isEvmChainListAsync, isEvmChainListSync, isSolanaChainListSync as isSolanaChainList, isSolanaChainList as isSolanaChainListAsync, isSolanaChainListSync, isValidSolanaCluster, isValidSolanaCluster$1 as isValidSolanaClusterAsync, networksLinks, preloadChainAdapters };
|