@tuwaio/sdk 0.6.7 → 0.6.10

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.
@@ -6,11 +6,6 @@
6
6
  --novatx-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
7
7
  monospace;
8
8
  --novatx-color-red-500: oklch(63.7% 0.237 25.331);
9
- --novatx-color-amber-500: oklch(76.9% 0.188 70.08);
10
- --novatx-color-emerald-500: oklch(69.6% 0.17 162.48);
11
- --novatx-color-rose-500: oklch(64.5% 0.246 16.439);
12
- --novatx-color-gray-400: oklch(70.7% 0.022 261.325);
13
- --novatx-color-gray-500: oklch(55.1% 0.027 264.364);
14
9
  --novatx-color-white: #fff;
15
10
  --novatx-spacing: 0.25rem;
16
11
  --novatx-container-md: 28rem;
@@ -31,33 +26,58 @@
31
26
  --novatx-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
32
27
  --novatx-animate-spin: spin 1s linear infinite;
33
28
  --novatx-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
34
- --novatx-blur-sm: 8px;
35
29
  --novatx-default-transition-duration: 150ms;
36
30
  --novatx-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
37
31
  }
38
32
  }
39
33
  @layer utilities {
34
+ .novatx\:pointer-events-none {
35
+ pointer-events: none;
36
+ }
37
+ .novatx\:sr-only {
38
+ position: absolute;
39
+ width: 1px;
40
+ height: 1px;
41
+ padding: 0;
42
+ margin: -1px;
43
+ overflow: hidden;
44
+ clip-path: inset(50%);
45
+ white-space: nowrap;
46
+ border-width: 0;
47
+ }
40
48
  .novatx\:absolute {
41
49
  position: absolute;
42
50
  }
43
51
  .novatx\:relative {
44
52
  position: relative;
45
53
  }
46
- .novatx\:-top-1 {
47
- top: calc(var(--novatx-spacing) * -1);
54
+ .novatx\:inset-0 {
55
+ inset: 0px;
56
+ }
57
+ .novatx\:inset-\[6\.5px\] {
58
+ inset: 6.5px;
48
59
  }
49
- .novatx\:top-\[10px\] {
50
- top: 10px;
60
+ .novatx\:top-\[9px\] {
61
+ top: 9px;
51
62
  }
52
63
  .novatx\:right-1\/2 {
53
64
  right: calc(1 / 2 * 100%);
54
65
  }
55
- .novatx\:-left-1 {
56
- left: calc(var(--novatx-spacing) * -1);
66
+ .novatx\:right-\[16\.667\%\] {
67
+ right: 16.667%;
68
+ }
69
+ .novatx\:left-1\/2 {
70
+ left: calc(1 / 2 * 100%);
71
+ }
72
+ .novatx\:left-\[16\.667\%\] {
73
+ left: 16.667%;
57
74
  }
58
75
  .novatx\:z-10 {
59
76
  z-index: 10;
60
77
  }
78
+ .novatx\:z-12 {
79
+ z-index: 12;
80
+ }
61
81
  .novatx\:mt-1 {
62
82
  margin-top: var(--novatx-spacing);
63
83
  }
@@ -94,8 +114,8 @@
94
114
  .novatx\:h-0\.5 {
95
115
  height: calc(var(--novatx-spacing) * 0.5);
96
116
  }
97
- .novatx\:h-2 {
98
- height: calc(var(--novatx-spacing) * 2);
117
+ .novatx\:h-1 {
118
+ height: var(--novatx-spacing);
99
119
  }
100
120
  .novatx\:h-3 {
101
121
  height: calc(var(--novatx-spacing) * 3);
@@ -124,6 +144,9 @@
124
144
  .novatx\:h-\[42px\] {
125
145
  height: 42px;
126
146
  }
147
+ .novatx\:h-full {
148
+ height: 100%;
149
+ }
127
150
  .novatx\:h-px {
128
151
  height: 1px;
129
152
  }
@@ -148,8 +171,11 @@
148
171
  .novatx\:min-h-\[42px\] {
149
172
  min-height: 42px;
150
173
  }
151
- .novatx\:w-2 {
152
- width: calc(var(--novatx-spacing) * 2);
174
+ .novatx\:w-1 {
175
+ width: var(--novatx-spacing);
176
+ }
177
+ .novatx\:w-1\/3 {
178
+ width: calc(1 / 3 * 100%);
153
179
  }
154
180
  .novatx\:w-3 {
155
181
  width: calc(var(--novatx-spacing) * 3);
@@ -202,6 +228,9 @@
202
228
  .novatx\:shrink-0 {
203
229
  flex-shrink: 0;
204
230
  }
231
+ .novatx\:origin-left {
232
+ transform-origin: 0;
233
+ }
205
234
  .novatx\:animate-\[novatx-fade-out_0\.4s_ease-out_2s_forwards\] {
206
235
  animation: novatx-fade-out 0.4s ease-out 2s forwards;
207
236
  }
@@ -259,9 +288,6 @@
259
288
  .novatx\:gap-6 {
260
289
  gap: calc(var(--novatx-spacing) * 6);
261
290
  }
262
- .novatx\:gap-8 {
263
- gap: calc(var(--novatx-spacing) * 8);
264
- }
265
291
  :where(.novatx\:space-y-1 > :not(:last-child)) {
266
292
  --tw-space-y-reverse: 0;
267
293
  margin-block-start: calc(var(--novatx-spacing) * var(--tw-space-y-reverse));
@@ -294,6 +320,10 @@
294
320
  -moz-column-gap: calc(var(--novatx-spacing) * 2);
295
321
  column-gap: calc(var(--novatx-spacing) * 2);
296
322
  }
323
+ .novatx\:gap-x-4 {
324
+ -moz-column-gap: calc(var(--novatx-spacing) * 4);
325
+ column-gap: calc(var(--novatx-spacing) * 4);
326
+ }
297
327
  .novatx\:gap-y-2 {
298
328
  row-gap: calc(var(--novatx-spacing) * 2);
299
329
  }
@@ -310,6 +340,9 @@
310
340
  :where(.novatx\:divide-\[var\(--tuwa-border-primary\)\] > :not(:last-child)) {
311
341
  border-color: var(--tuwa-border-primary);
312
342
  }
343
+ .novatx\:self-start {
344
+ align-self: flex-start;
345
+ }
313
346
  .novatx\:truncate {
314
347
  overflow: hidden;
315
348
  text-overflow: ellipsis;
@@ -341,9 +374,9 @@
341
374
  border-style: var(--tw-border-style);
342
375
  border-width: 1px;
343
376
  }
344
- .novatx\:border-2 {
377
+ .novatx\:border-\[1\.5px\] {
345
378
  border-style: var(--tw-border-style);
346
- border-width: 2px;
379
+ border-width: 1.5px;
347
380
  }
348
381
  .novatx\:border-t {
349
382
  border-top-style: var(--tw-border-style);
@@ -363,9 +396,6 @@
363
396
  .novatx\:border-\[var\(--tuwa-border-secondary\)\] {
364
397
  border-color: var(--tuwa-border-secondary);
365
398
  }
366
- .novatx\:border-\[var\(--tuwa-error-icon\)\] {
367
- border-color: var(--tuwa-error-icon);
368
- }
369
399
  .novatx\:border-\[var\(--tuwa-error-icon\)\]\/20 {
370
400
  border-color: var(--tuwa-error-icon);
371
401
  @supports (color: color-mix(in lab, red, red)) {
@@ -378,33 +408,18 @@
378
408
  border-color: color-mix(in oklab, var(--tuwa-error-icon) 30%, transparent);
379
409
  }
380
410
  }
381
- .novatx\:border-\[var\(--tuwa-info-icon\)\] {
382
- border-color: var(--tuwa-info-icon);
383
- }
384
- .novatx\:border-\[var\(--tuwa-pending-icon\)\] {
385
- border-color: var(--tuwa-pending-icon);
386
- }
387
411
  .novatx\:border-\[var\(--tuwa-pending-icon\)\]\/30 {
388
412
  border-color: var(--tuwa-pending-icon);
389
413
  @supports (color: color-mix(in lab, red, red)) {
390
414
  border-color: color-mix(in oklab, var(--tuwa-pending-icon) 30%, transparent);
391
415
  }
392
416
  }
393
- .novatx\:border-\[var\(--tuwa-success-icon\)\] {
394
- border-color: var(--tuwa-success-icon);
395
- }
396
417
  .novatx\:border-\[var\(--tuwa-success-icon\)\]\/30 {
397
418
  border-color: var(--tuwa-success-icon);
398
419
  @supports (color: color-mix(in lab, red, red)) {
399
420
  border-color: color-mix(in oklab, var(--tuwa-success-icon) 30%, transparent);
400
421
  }
401
422
  }
402
- .novatx\:border-\[var\(--tuwa-text-secondary\)\] {
403
- border-color: var(--tuwa-text-secondary);
404
- }
405
- .novatx\:border-t-transparent {
406
- border-top-color: transparent;
407
- }
408
423
  .novatx\:\!bg-transparent {
409
424
  background-color: transparent !important;
410
425
  }
@@ -465,29 +480,8 @@
465
480
  background-color: color-mix(in oklab, var(--tuwa-success-icon) 10%, transparent);
466
481
  }
467
482
  }
468
- .novatx\:bg-amber-500\/10 {
469
- background-color: var(--novatx-color-amber-500);
470
- @supports (color: color-mix(in lab, red, red)) {
471
- background-color: color-mix(in oklab, var(--novatx-color-amber-500) 10%, transparent);
472
- }
473
- }
474
- .novatx\:bg-emerald-500\/10 {
475
- background-color: var(--novatx-color-emerald-500);
476
- @supports (color: color-mix(in lab, red, red)) {
477
- background-color: color-mix(in oklab, var(--novatx-color-emerald-500) 10%, transparent);
478
- }
479
- }
480
- .novatx\:bg-gray-400 {
481
- background-color: var(--novatx-color-gray-400);
482
- }
483
- .novatx\:bg-gray-500 {
484
- background-color: var(--novatx-color-gray-500);
485
- }
486
- .novatx\:bg-rose-500\/10 {
487
- background-color: var(--novatx-color-rose-500);
488
- @supports (color: color-mix(in lab, red, red)) {
489
- background-color: color-mix(in oklab, var(--novatx-color-rose-500) 10%, transparent);
490
- }
483
+ .novatx\:bg-current {
484
+ background-color: currentcolor;
491
485
  }
492
486
  .novatx\:bg-transparent {
493
487
  background-color: transparent;
@@ -573,6 +567,9 @@
573
567
  .novatx\:pr-1 {
574
568
  padding-right: var(--novatx-spacing);
575
569
  }
570
+ .novatx\:pr-6 {
571
+ padding-right: calc(var(--novatx-spacing) * 6);
572
+ }
576
573
  .novatx\:pb-1 {
577
574
  padding-bottom: var(--novatx-spacing);
578
575
  }
@@ -631,6 +628,9 @@
631
628
  --tw-tracking: var(--novatx-tracking-widest);
632
629
  letter-spacing: var(--novatx-tracking-widest);
633
630
  }
631
+ .novatx\:\[overflow-wrap\:anywhere\] {
632
+ overflow-wrap: anywhere;
633
+ }
634
634
  .novatx\:wrap-break-word {
635
635
  overflow-wrap: break-word;
636
636
  }
@@ -685,18 +685,9 @@
685
685
  .novatx\:text-\[var\(--tuwa-text-tertiary\)\] {
686
686
  color: var(--tuwa-text-tertiary);
687
687
  }
688
- .novatx\:text-amber-500 {
689
- color: var(--novatx-color-amber-500);
690
- }
691
- .novatx\:text-emerald-500 {
692
- color: var(--novatx-color-emerald-500);
693
- }
694
688
  .novatx\:text-red-500 {
695
689
  color: var(--novatx-color-red-500);
696
690
  }
697
- .novatx\:text-rose-500 {
698
- color: var(--novatx-color-rose-500);
699
- }
700
691
  .novatx\:text-white {
701
692
  color: var(--novatx-color-white);
702
693
  }
@@ -721,14 +712,6 @@
721
712
  --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
722
713
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
723
714
  }
724
- .novatx\:shadow-sm {
725
- --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
726
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
727
- }
728
- .novatx\:backdrop-blur-sm {
729
- --tw-backdrop-blur: blur(var(--novatx-blur-sm));
730
- 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,);
731
- }
732
715
  .novatx\:transition-all {
733
716
  transition-property: all;
734
717
  transition-timing-function: var(--tw-ease, var(--novatx-default-transition-timing-function));
@@ -748,6 +731,10 @@
748
731
  --tw-duration: 200ms;
749
732
  transition-duration: 200ms;
750
733
  }
734
+ .novatx\:duration-300 {
735
+ --tw-duration: 300ms;
736
+ transition-duration: 300ms;
737
+ }
751
738
  .novatx\:ease-in-out {
752
739
  --tw-ease: var(--novatx-ease-in-out);
753
740
  transition-timing-function: var(--novatx-ease-in-out);
@@ -757,6 +744,9 @@
757
744
  -moz-user-select: none;
758
745
  user-select: none;
759
746
  }
747
+ .novatx\:\[animation-duration\:1\.4s\] {
748
+ animation-duration: 1.4s;
749
+ }
760
750
  .novatx\:last\:border-b-0:last-child {
761
751
  border-bottom-style: var(--tw-border-style);
762
752
  border-bottom-width: 0px;
@@ -845,7 +835,15 @@
845
835
  .novatx\:disabled\:opacity-70:disabled {
846
836
  opacity: 70%;
847
837
  }
838
+ @media (prefers-reduced-motion: reduce) {
839
+ .novatx\:motion-reduce\:animate-none {
840
+ animation: none;
841
+ }
842
+ }
848
843
  @media (width >= 40rem) {
844
+ .novatx\:sm\:mb-4 {
845
+ margin-bottom: calc(var(--novatx-spacing) * 4);
846
+ }
849
847
  .novatx\:sm\:max-h-\[400px\] {
850
848
  max-height: 400px;
851
849
  }
@@ -855,9 +853,15 @@
855
853
  .novatx\:sm\:max-w-md {
856
854
  max-width: var(--novatx-container-md);
857
855
  }
856
+ .novatx\:sm\:grid-cols-2 {
857
+ grid-template-columns: repeat(2, minmax(0, 1fr));
858
+ }
858
859
  .novatx\:sm\:rounded-\[var\(--tuwa-rounded-corners\)\] {
859
860
  border-radius: var(--tuwa-rounded-corners);
860
861
  }
862
+ .novatx\:sm\:pb-4 {
863
+ padding-bottom: calc(var(--novatx-spacing) * 4);
864
+ }
861
865
  }
862
866
  }
863
867
  @property --tw-space-y-reverse {
@@ -994,42 +998,6 @@
994
998
  inherits: false;
995
999
  initial-value: 0 0 #0000;
996
1000
  }
997
- @property --tw-backdrop-blur {
998
- syntax: "*";
999
- inherits: false;
1000
- }
1001
- @property --tw-backdrop-brightness {
1002
- syntax: "*";
1003
- inherits: false;
1004
- }
1005
- @property --tw-backdrop-contrast {
1006
- syntax: "*";
1007
- inherits: false;
1008
- }
1009
- @property --tw-backdrop-grayscale {
1010
- syntax: "*";
1011
- inherits: false;
1012
- }
1013
- @property --tw-backdrop-hue-rotate {
1014
- syntax: "*";
1015
- inherits: false;
1016
- }
1017
- @property --tw-backdrop-invert {
1018
- syntax: "*";
1019
- inherits: false;
1020
- }
1021
- @property --tw-backdrop-opacity {
1022
- syntax: "*";
1023
- inherits: false;
1024
- }
1025
- @property --tw-backdrop-saturate {
1026
- syntax: "*";
1027
- inherits: false;
1028
- }
1029
- @property --tw-backdrop-sepia {
1030
- syntax: "*";
1031
- inherits: false;
1032
- }
1033
1001
  @property --tw-duration {
1034
1002
  syntax: "*";
1035
1003
  inherits: false;
@@ -1095,15 +1063,6 @@
1095
1063
  --tw-ring-offset-width: 0px;
1096
1064
  --tw-ring-offset-color: #fff;
1097
1065
  --tw-ring-offset-shadow: 0 0 #0000;
1098
- --tw-backdrop-blur: initial;
1099
- --tw-backdrop-brightness: initial;
1100
- --tw-backdrop-contrast: initial;
1101
- --tw-backdrop-grayscale: initial;
1102
- --tw-backdrop-hue-rotate: initial;
1103
- --tw-backdrop-invert: initial;
1104
- --tw-backdrop-opacity: initial;
1105
- --tw-backdrop-saturate: initial;
1106
- --tw-backdrop-sepia: initial;
1107
1066
  --tw-duration: initial;
1108
1067
  --tw-ease: initial;
1109
1068
  --tw-scale-x: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuwaio/sdk",
3
- "version": "0.6.7",
3
+ "version": "0.6.10",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",
@@ -169,23 +169,23 @@
169
169
  "@heroicons/react": "^2.2.0",
170
170
  "@radix-ui/react-dialog": "^1.3.1",
171
171
  "@radix-ui/react-select": "^2.4.1",
172
- "@tuwaio/nova-connect": "^0.10.6",
173
- "@tuwaio/nova-core": "^0.10.3",
174
- "@tuwaio/nova-transactions": "^0.10.4",
172
+ "@tuwaio/nova-connect": "^0.11.0",
173
+ "@tuwaio/nova-core": "^0.11.0",
174
+ "@tuwaio/nova-transactions": "^0.11.0",
175
175
  "@tuwaio/orbit-core": "^0.6.0",
176
- "@tuwaio/pulsar-core": "^0.11.0",
177
- "@tuwaio/pulsar-react": "^0.7.0",
178
- "@tuwaio/satellite-core": "^0.11.1",
179
- "@tuwaio/satellite-react": "^0.10.1",
176
+ "@tuwaio/pulsar-core": "^0.12.1",
177
+ "@tuwaio/pulsar-react": "^0.8.0",
178
+ "@tuwaio/satellite-core": "^0.11.2",
179
+ "@tuwaio/satellite-react": "^0.10.2",
180
180
  "@tuwaio/siwx-core": "^0.7.1",
181
- "@tuwaio/siwx-react": "^0.6.4",
182
- "@tuwaio/siwx-server": "^0.8.0",
181
+ "@tuwaio/siwx-react": "^0.6.5",
182
+ "@tuwaio/siwx-server": "^0.8.1",
183
183
  "@web3icons/common": "^0.11.53",
184
184
  "@web3icons/react": "^4.1.24",
185
185
  "clsx": "^2.1.1",
186
186
  "dayjs": "^1.11.23",
187
187
  "ethereum-blockies-base64": "^1.0.2",
188
- "framer-motion": "14.6.0",
188
+ "framer-motion": "14.7.1",
189
189
  "immer": "^11.2.9",
190
190
  "react-toastify": "^11.1.0",
191
191
  "tailwind-merge": "^3.7.0",
@@ -226,17 +226,17 @@
226
226
  }
227
227
  },
228
228
  "devDependencies": {
229
- "@tuwaio/orbit-evm": "^0.4.0",
230
- "@tuwaio/orbit-solana": "^0.7.1",
231
- "@tuwaio/satellite-evm": "^0.10.1",
232
- "@tuwaio/satellite-solana": "^0.11.1",
229
+ "@tuwaio/orbit-evm": "^0.4.1",
230
+ "@tuwaio/orbit-solana": "^0.7.2",
231
+ "@tuwaio/satellite-evm": "^0.10.3",
232
+ "@tuwaio/satellite-solana": "^0.11.2",
233
233
  "@wagmi/core": "^3.6.7",
234
234
  "@wallet-standard/react": "^1.0.3",
235
235
  "react": "^19.3.1",
236
236
  "react-dom": "^19.3.1",
237
237
  "tsup": "^9.0.0",
238
238
  "typescript": "6.0.3",
239
- "viem": "^2.57.11"
239
+ "viem": "^2.57.12"
240
240
  },
241
241
  "scripts": {
242
242
  "start": "tsup --watch",