@xyo-network/wallet 5.3.25 → 5.3.26

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.
Files changed (2) hide show
  1. package/README.md +1120 -10
  2. package/package.json +16 -16
package/README.md CHANGED
@@ -1,23 +1,1133 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/wallet
2
4
 
3
- [![logo][]](https://xyo.network)
5
+ [![npm][npm-badge]][npm-link]
6
+ [![license][license-badge]][license-link]
7
+
8
+ > Primary SDK for using XYO Protocol 2.0
9
+
10
+ ## Install
11
+
12
+ Using npm:
13
+
14
+ ```sh
15
+ npm install {{name}}
16
+ ```
17
+
18
+ Using yarn:
4
19
 
5
- Version: 5.0.2
20
+ ```sh
21
+ yarn add {{name}}
22
+ ```
6
23
 
7
- Primary SDK for using XYO Protocol 2.0
24
+ Using pnpm:
8
25
 
9
- ## Documentation
26
+ ```sh
27
+ pnpm add {{name}}
28
+ ```
10
29
 
11
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__wallet)
30
+ Using bun:
31
+
32
+ ```sh
33
+ bun add {{name}}
34
+ ```
12
35
 
13
- Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
14
36
 
15
37
  ## License
16
38
 
17
- > See the [LICENSE](LICENSE) file for license details
39
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
+
41
+ ## Reference
42
+
43
+ ### packages
44
+
45
+ ### protocol
46
+
47
+ ### packages
48
+
49
+ ### crypto
50
+
51
+ ### packages
52
+
53
+ ### wallet
54
+
55
+ ### .temp-typedoc
56
+
57
+ ### classes
58
+
59
+ ### <a id="HDWallet"></a>HDWallet
60
+
61
+ [**@xyo-network/wallet**](#../README)
62
+
63
+ ***
64
+
65
+ ## Extends
66
+
67
+ - `Account`
68
+
69
+ ## Implements
70
+
71
+ - `WalletInstance`
72
+
73
+ ## Constructors
74
+
75
+ ### Constructor
76
+
77
+ ```ts
78
+ new HDWallet(
79
+ key,
80
+ node,
81
+ privateKey): HDWallet;
82
+ ```
83
+
84
+ ### Parameters
85
+
86
+ #### key
87
+
88
+ `symbol`
89
+
90
+ #### node
91
+
92
+ `HDNodeWallet`
93
+
94
+ #### privateKey
95
+
96
+ `PrivateKeyInstance`
97
+
98
+ ### Returns
99
+
100
+ `HDWallet`
101
+
102
+ ### Overrides
103
+
104
+ ```ts
105
+ Account.constructor
106
+ ```
107
+
108
+ ## Properties
109
+
110
+ ### previousHashStore
111
+
112
+ ```ts
113
+ static previousHashStore: PreviousHashStore | undefined;
114
+ ```
115
+
116
+ ### Inherited from
117
+
118
+ ```ts
119
+ Account.previousHashStore
120
+ ```
121
+
122
+ ***
123
+
124
+ ### \_protectedConstructorKey
125
+
126
+ ```ts
127
+ protected static _protectedConstructorKey: symbol;
128
+ ```
129
+
130
+ ### Inherited from
131
+
132
+ ```ts
133
+ Account._protectedConstructorKey
134
+ ```
135
+
136
+ ***
137
+
138
+ ### \_node
139
+
140
+ ```ts
141
+ protected _node: HDNodeWallet | undefined;
142
+ ```
143
+
144
+ ### Inherited from
145
+
146
+ ```ts
147
+ Account._node
148
+ ```
149
+
150
+ ***
151
+
152
+ ### \_previousHash?
153
+
154
+ ```ts
155
+ protected optional _previousHash?: ArrayBufferLike;
156
+ ```
157
+
158
+ ### Inherited from
159
+
160
+ ```ts
161
+ Account._previousHash
162
+ ```
163
+
164
+ ***
165
+
166
+ ### uniqueName
167
+
168
+ ```ts
169
+ readonly static uniqueName: string;
170
+ ```
171
+
172
+ ### Overrides
173
+
174
+ ```ts
175
+ Account.uniqueName
176
+ ```
177
+
178
+ ***
179
+
180
+ ### \_addressMap
181
+
182
+ ```ts
183
+ protected static _addressMap: Record<Address, WeakRef<WalletInstance>> = {};
184
+ ```
185
+
186
+ ### Overrides
187
+
188
+ ```ts
189
+ Account._addressMap
190
+ ```
191
+
192
+ ***
193
+
194
+ ### node
195
+
196
+ ```ts
197
+ protected readonly node: HDNodeWallet;
198
+ ```
199
+
200
+ ***
201
+
202
+ ### neuter
203
+
204
+ ```ts
205
+ neuter: () => HDWallet;
206
+ ```
207
+
208
+ ### Returns
209
+
210
+ `HDWallet`
211
+
212
+ ### Implementation of
213
+
214
+ ```ts
215
+ WalletInstance.neuter
216
+ ```
217
+
218
+ ## Accessors
219
+
220
+ ### previousHash
221
+
222
+ ### Get Signature
223
+
224
+ ```ts
225
+ get previousHash(): BrandedHash | undefined;
226
+ ```
227
+
228
+ #### Returns
229
+
230
+ `BrandedHash` \| `undefined`
231
+
232
+ ### Implementation of
233
+
234
+ ```ts
235
+ WalletInstance.previousHash
236
+ ```
237
+
238
+ ### Inherited from
239
+
240
+ ```ts
241
+ Account.previousHash
242
+ ```
243
+
244
+ ***
245
+
246
+ ### previousHashBytes
247
+
248
+ ### Get Signature
249
+
250
+ ```ts
251
+ get previousHashBytes(): ArrayBufferLike | undefined;
252
+ ```
253
+
254
+ #### Returns
255
+
256
+ `ArrayBufferLike` \| `undefined`
257
+
258
+ ### Implementation of
259
+
260
+ ```ts
261
+ WalletInstance.previousHashBytes
262
+ ```
263
+
264
+ ### Inherited from
265
+
266
+ ```ts
267
+ Account.previousHashBytes
268
+ ```
269
+
270
+ ***
271
+
272
+ ### private
273
+
274
+ ### Get Signature
275
+
276
+ ```ts
277
+ get private(): PrivateKeyInstance;
278
+ ```
279
+
280
+ #### Returns
281
+
282
+ `PrivateKeyInstance`
283
+
284
+ ### Implementation of
285
+
286
+ ```ts
287
+ WalletInstance.private
288
+ ```
289
+
290
+ ### Inherited from
291
+
292
+ ```ts
293
+ Account.private
294
+ ```
295
+
296
+ ***
297
+
298
+ ### public
299
+
300
+ ### Get Signature
301
+
302
+ ```ts
303
+ get public(): PublicKeyInstance;
304
+ ```
305
+
306
+ #### Returns
307
+
308
+ `PublicKeyInstance`
309
+
310
+ ### Implementation of
311
+
312
+ ```ts
313
+ WalletInstance.public
314
+ ```
315
+
316
+ ### Inherited from
317
+
318
+ ```ts
319
+ Account.public
320
+ ```
321
+
322
+ ***
323
+
324
+ ### length
325
+
326
+ ### Get Signature
327
+
328
+ ```ts
329
+ get length(): number;
330
+ ```
331
+
332
+ #### Returns
333
+
334
+ `number`
335
+
336
+ ### Inherited from
337
+
338
+ ```ts
339
+ Account.length
340
+ ```
341
+
342
+ ***
343
+
344
+ ### base58
345
+
346
+ ### Get Signature
347
+
348
+ ```ts
349
+ get base58(): string;
350
+ ```
351
+
352
+ #### Returns
353
+
354
+ `string`
355
+
356
+ ### Inherited from
357
+
358
+ ```ts
359
+ Account.base58
360
+ ```
361
+
362
+ ***
363
+
364
+ ### bytes
365
+
366
+ ### Get Signature
367
+
368
+ ```ts
369
+ get bytes(): ArrayBuffer | SharedArrayBuffer;
370
+ ```
371
+
372
+ #### Returns
373
+
374
+ `ArrayBuffer` \| `SharedArrayBuffer`
375
+
376
+ ### Inherited from
377
+
378
+ ```ts
379
+ Account.bytes
380
+ ```
381
+
382
+ ***
383
+
384
+ ### hex
385
+
386
+ ### Get Signature
387
+
388
+ ```ts
389
+ get hex(): BrandedHex;
390
+ ```
391
+
392
+ #### Returns
393
+
394
+ `BrandedHex`
395
+
396
+ ### Inherited from
397
+
398
+ ```ts
399
+ Account.hex
400
+ ```
401
+
402
+ ***
403
+
404
+ ### keccak256
405
+
406
+ ### Get Signature
407
+
408
+ ```ts
409
+ get keccak256(): ArrayBufferLike;
410
+ ```
411
+
412
+ #### Returns
413
+
414
+ `ArrayBufferLike`
415
+
416
+ ### Inherited from
417
+
418
+ ```ts
419
+ Account.keccak256
420
+ ```
421
+
422
+ ***
423
+
424
+ ### address
425
+
426
+ ### Get Signature
427
+
428
+ ```ts
429
+ get address(): BrandedAddress;
430
+ ```
431
+
432
+ #### Returns
433
+
434
+ `BrandedAddress`
435
+
436
+ ### Implementation of
437
+
438
+ ```ts
439
+ WalletInstance.address
440
+ ```
441
+
442
+ ### Overrides
443
+
444
+ ```ts
445
+ Account.address
446
+ ```
447
+
448
+ ***
449
+
450
+ ### addressBytes
451
+
452
+ ### Get Signature
453
+
454
+ ```ts
455
+ get addressBytes(): ArrayBufferLike;
456
+ ```
457
+
458
+ #### Returns
459
+
460
+ `ArrayBufferLike`
461
+
462
+ ### Implementation of
463
+
464
+ ```ts
465
+ WalletInstance.addressBytes
466
+ ```
467
+
468
+ ### Overrides
469
+
470
+ ```ts
471
+ Account.addressBytes
472
+ ```
473
+
474
+ ***
475
+
476
+ ### chainCode
477
+
478
+ ### Get Signature
479
+
480
+ ```ts
481
+ get chainCode(): string;
482
+ ```
483
+
484
+ #### Returns
485
+
486
+ `string`
487
+
488
+ ### Implementation of
489
+
490
+ ```ts
491
+ WalletInstance.chainCode
492
+ ```
493
+
494
+ ***
495
+
496
+ ### depth
497
+
498
+ ### Get Signature
499
+
500
+ ```ts
501
+ get depth(): number;
502
+ ```
503
+
504
+ #### Returns
505
+
506
+ `number`
507
+
508
+ ### Implementation of
509
+
510
+ ```ts
511
+ WalletInstance.depth
512
+ ```
513
+
514
+ ***
515
+
516
+ ### extendedKey
517
+
518
+ ### Get Signature
519
+
520
+ ```ts
521
+ get extendedKey(): string;
522
+ ```
523
+
524
+ #### Returns
525
+
526
+ `string`
527
+
528
+ ### Implementation of
529
+
530
+ ```ts
531
+ WalletInstance.extendedKey
532
+ ```
533
+
534
+ ***
535
+
536
+ ### fingerprint
537
+
538
+ ### Get Signature
539
+
540
+ ```ts
541
+ get fingerprint(): string;
542
+ ```
543
+
544
+ #### Returns
545
+
546
+ `string`
547
+
548
+ ### Implementation of
549
+
550
+ ```ts
551
+ WalletInstance.fingerprint
552
+ ```
553
+
554
+ ***
555
+
556
+ ### index
557
+
558
+ ### Get Signature
559
+
560
+ ```ts
561
+ get index(): number;
562
+ ```
563
+
564
+ #### Returns
565
+
566
+ `number`
567
+
568
+ ### Implementation of
569
+
570
+ ```ts
571
+ WalletInstance.index
572
+ ```
573
+
574
+ ***
575
+
576
+ ### mnemonic
577
+
578
+ ### Get Signature
579
+
580
+ ```ts
581
+ get mnemonic(): Mnemonic | null;
582
+ ```
583
+
584
+ #### Returns
585
+
586
+ `Mnemonic` \| `null`
587
+
588
+ ### Implementation of
589
+
590
+ ```ts
591
+ WalletInstance.mnemonic
592
+ ```
593
+
594
+ ***
595
+
596
+ ### parentFingerprint
597
+
598
+ ### Get Signature
599
+
600
+ ```ts
601
+ get parentFingerprint(): string;
602
+ ```
603
+
604
+ #### Returns
605
+
606
+ `string`
607
+
608
+ ### Implementation of
609
+
610
+ ```ts
611
+ WalletInstance.parentFingerprint
612
+ ```
613
+
614
+ ***
615
+
616
+ ### path
617
+
618
+ ### Get Signature
619
+
620
+ ```ts
621
+ get path(): string | null;
622
+ ```
623
+
624
+ #### Returns
625
+
626
+ `string` \| `null`
627
+
628
+ ### Implementation of
629
+
630
+ ```ts
631
+ WalletInstance.path
632
+ ```
633
+
634
+ ***
635
+
636
+ ### privateKey
637
+
638
+ ### Get Signature
639
+
640
+ ```ts
641
+ get privateKey(): BrandedHex;
642
+ ```
643
+
644
+ #### Returns
645
+
646
+ `BrandedHex`
647
+
648
+ ### Implementation of
649
+
650
+ ```ts
651
+ WalletInstance.privateKey
652
+ ```
653
+
654
+ ***
655
+
656
+ ### publicKey
657
+
658
+ ### Get Signature
659
+
660
+ ```ts
661
+ get publicKey(): BrandedHex;
662
+ ```
663
+
664
+ #### Returns
665
+
666
+ `BrandedHex`
667
+
668
+ ### Implementation of
669
+
670
+ ```ts
671
+ WalletInstance.publicKey
672
+ ```
673
+
674
+ ## Methods
675
+
676
+ ### fromPrivateKey()
677
+
678
+ ```ts
679
+ static fromPrivateKey(key): Promise<AccountInstance>;
680
+ ```
681
+
682
+ ### Parameters
683
+
684
+ #### key
685
+
686
+ `string` \| `bigint` \| `ArrayBufferLike`
687
+
688
+ ### Returns
689
+
690
+ `Promise`\<`AccountInstance`\>
691
+
692
+ ### Inherited from
693
+
694
+ ```ts
695
+ Account.fromPrivateKey
696
+ ```
697
+
698
+ ***
699
+
700
+ ### isAddress()
701
+
702
+ ```ts
703
+ static isAddress(address): boolean;
704
+ ```
705
+
706
+ ### Parameters
707
+
708
+ #### address
709
+
710
+ `BrandedAddress`
711
+
712
+ ### Returns
713
+
714
+ `boolean`
715
+
716
+ ### Inherited from
717
+
718
+ ```ts
719
+ Account.isAddress
720
+ ```
721
+
722
+ ***
723
+
724
+ ### initialize()
725
+
726
+ ```ts
727
+ initialize(): Promise<HDWallet>;
728
+ ```
729
+
730
+ ### Returns
731
+
732
+ `Promise`\<`HDWallet`\>
733
+
734
+ ### Inherited from
735
+
736
+ ```ts
737
+ Account.initialize
738
+ ```
739
+
740
+ ***
741
+
742
+ ### loadPreviousHash()
743
+
744
+ ```ts
745
+ loadPreviousHash(previousHash?): Promise<HDWallet>;
746
+ ```
747
+
748
+ ### Parameters
749
+
750
+ #### previousHash?
751
+
752
+ `string` \| `ArrayBufferLike`
753
+
754
+ ### Returns
755
+
756
+ `Promise`\<`HDWallet`\>
757
+
758
+ ### Inherited from
759
+
760
+ ```ts
761
+ Account.loadPreviousHash
762
+ ```
763
+
764
+ ***
765
+
766
+ ### sign()
767
+
768
+ ```ts
769
+ sign(hash, previousHash): Promise<[ArrayBufferLike, BrandedHash?]>;
770
+ ```
771
+
772
+ ### Parameters
773
+
774
+ #### hash
775
+
776
+ `ArrayBufferLike`
777
+
778
+ #### previousHash
779
+
780
+ `ArrayBufferLike` \| `undefined`
781
+
782
+ ### Returns
783
+
784
+ `Promise`\<\[`ArrayBufferLike`, `BrandedHash`?\]\>
785
+
786
+ ### Implementation of
787
+
788
+ ```ts
789
+ WalletInstance.sign
790
+ ```
791
+
792
+ ### Inherited from
793
+
794
+ ```ts
795
+ Account.sign
796
+ ```
797
+
798
+ ***
799
+
800
+ ### verify()
801
+
802
+ ```ts
803
+ verify(msg, signature): Promise<boolean>;
804
+ ```
805
+
806
+ ### Parameters
807
+
808
+ #### msg
809
+
810
+ `ArrayBufferLike`
811
+
812
+ #### signature
813
+
814
+ `ArrayBufferLike`
815
+
816
+ ### Returns
817
+
818
+ `Promise`\<`boolean`\>
819
+
820
+ ### Implementation of
821
+
822
+ ```ts
823
+ WalletInstance.verify
824
+ ```
825
+
826
+ ### Inherited from
827
+
828
+ ```ts
829
+ Account.verify
830
+ ```
831
+
832
+ ***
833
+
834
+ ### verifyUniqueAddress()
835
+
836
+ ```ts
837
+ verifyUniqueAddress(): HDWallet | AccountInstance;
838
+ ```
839
+
840
+ ### Returns
841
+
842
+ `HDWallet` \| `AccountInstance`
843
+
844
+ ### Inherited from
845
+
846
+ ```ts
847
+ Account.verifyUniqueAddress
848
+ ```
849
+
850
+ ***
851
+
852
+ ### is()
853
+
854
+ ```ts
855
+ static is(value): value is AbstractData;
856
+ ```
857
+
858
+ ### Parameters
859
+
860
+ #### value
861
+
862
+ `unknown`
863
+
864
+ ### Returns
865
+
866
+ `value is AbstractData`
867
+
868
+ ### Inherited from
869
+
870
+ ```ts
871
+ Account.is
872
+ ```
873
+
874
+ ***
875
+
876
+ ### from()
877
+
878
+ ```ts
879
+ static from(data): Data | undefined;
880
+ ```
881
+
882
+ ### Parameters
883
+
884
+ #### data
885
+
886
+ `ArrayBuffer` \| `undefined`
887
+
888
+ ### Returns
889
+
890
+ `Data` \| `undefined`
891
+
892
+ ### Inherited from
893
+
894
+ ```ts
895
+ Account.from
896
+ ```
897
+
898
+ ***
899
+
900
+ ### create()
901
+
902
+ ```ts
903
+ static create(opts?): Promise<WalletInstance>;
904
+ ```
905
+
906
+ ### Parameters
907
+
908
+ #### opts?
909
+
910
+ `AccountConfig`
911
+
912
+ ### Returns
913
+
914
+ `Promise`\<`WalletInstance`\>
915
+
916
+ ### Overrides
917
+
918
+ ```ts
919
+ Account.create
920
+ ```
921
+
922
+ ***
923
+
924
+ ### createFromNode()
925
+
926
+ ```ts
927
+ static createFromNode(node, previousHash?): Promise<WalletInstance>;
928
+ ```
929
+
930
+ ### Parameters
931
+
932
+ #### node
933
+
934
+ `HDNodeWallet`
935
+
936
+ #### previousHash?
937
+
938
+ `string`
939
+
940
+ ### Returns
941
+
942
+ `Promise`\<`WalletInstance`\>
943
+
944
+ ***
945
+
946
+ ### fromExtendedKey()
947
+
948
+ ```ts
949
+ static fromExtendedKey(key): Promise<WalletInstance>;
950
+ ```
951
+
952
+ ### Parameters
953
+
954
+ #### key
955
+
956
+ `string`
957
+
958
+ ### Returns
959
+
960
+ `Promise`\<`WalletInstance`\>
961
+
962
+ ***
963
+
964
+ ### fromMnemonic()
965
+
966
+ ```ts
967
+ static fromMnemonic(mnemonic, path?): Promise<WalletInstance>;
968
+ ```
969
+
970
+ ### Parameters
971
+
972
+ #### mnemonic
973
+
974
+ `Mnemonic`
975
+
976
+ #### path?
977
+
978
+ `string` = `defaultPath`
979
+
980
+ ### Returns
981
+
982
+ `Promise`\<`WalletInstance`\>
983
+
984
+ ***
985
+
986
+ ### fromPhrase()
987
+
988
+ ```ts
989
+ static fromPhrase(phrase, path?): Promise<WalletInstance>;
990
+ ```
991
+
992
+ ### Parameters
993
+
994
+ #### phrase
995
+
996
+ `string`
997
+
998
+ #### path?
999
+
1000
+ `string` = `defaultPath`
1001
+
1002
+ ### Returns
1003
+
1004
+ `Promise`\<`WalletInstance`\>
1005
+
1006
+ ***
1007
+
1008
+ ### fromSeed()
1009
+
1010
+ ```ts
1011
+ static fromSeed(seed): Promise<WalletInstance>;
1012
+ ```
1013
+
1014
+ ### Parameters
1015
+
1016
+ #### seed
1017
+
1018
+ `string` \| `ArrayBufferLike`
1019
+
1020
+ ### Returns
1021
+
1022
+ `Promise`\<`WalletInstance`\>
1023
+
1024
+ ***
1025
+
1026
+ ### generateMnemonic()
1027
+
1028
+ ```ts
1029
+ static generateMnemonic(wordlist?, strength?): string;
1030
+ ```
1031
+
1032
+ ### Parameters
1033
+
1034
+ #### wordlist?
1035
+
1036
+ `string`[] = `englishWordlist`
1037
+
1038
+ #### strength?
1039
+
1040
+ `number` = `256`
1041
+
1042
+ ### Returns
1043
+
1044
+ `string`
1045
+
1046
+ ***
1047
+
1048
+ ### random()
1049
+
1050
+ ```ts
1051
+ static random(): Promise<WalletInstance>;
1052
+ ```
1053
+
1054
+ ### Returns
1055
+
1056
+ `Promise`\<`WalletInstance`\>
1057
+
1058
+ ### Overrides
1059
+
1060
+ ```ts
1061
+ Account.random
1062
+ ```
1063
+
1064
+ ***
1065
+
1066
+ ### createFromNodeInternal()
1067
+
1068
+ ```ts
1069
+ protected static createFromNodeInternal(node, previousHash?): Promise<WalletInstance>;
1070
+ ```
1071
+
1072
+ ### Parameters
1073
+
1074
+ #### node
1075
+
1076
+ `HDNodeWallet`
1077
+
1078
+ #### previousHash?
1079
+
1080
+ `string`
1081
+
1082
+ ### Returns
1083
+
1084
+ `Promise`\<`WalletInstance`\>
1085
+
1086
+ ***
1087
+
1088
+ ### getCachedWalletOrCacheNewWallet()
1089
+
1090
+ ```ts
1091
+ protected static getCachedWalletOrCacheNewWallet(createdWallet): WalletInstance;
1092
+ ```
1093
+
1094
+ ### Parameters
1095
+
1096
+ #### createdWallet
1097
+
1098
+ `WalletInstance`
1099
+
1100
+ ### Returns
1101
+
1102
+ `WalletInstance`
1103
+
1104
+ ***
1105
+
1106
+ ### derivePath()
1107
+
1108
+ ```ts
1109
+ derivePath(path): Promise<WalletInstance>;
1110
+ ```
1111
+
1112
+ ### Parameters
1113
+
1114
+ #### path
1115
+
1116
+ `string`
1117
+
1118
+ ### Returns
1119
+
1120
+ `Promise`\<`WalletInstance`\>
1121
+
1122
+ ### Implementation of
18
1123
 
19
- ## Credits
1124
+ ```ts
1125
+ WalletInstance.derivePath
1126
+ ```
20
1127
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
1128
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
1129
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
1130
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/wallet.svg
1131
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/wallet
1132
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/wallet.svg
1133
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/wallet",
3
- "version": "5.3.25",
3
+ "version": "5.3.26",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -22,11 +22,11 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
+ "import": "./dist/neutral/index.mjs",
25
26
  "default": "./dist/neutral/index.mjs"
26
27
  },
27
28
  "./package.json": "./package.json"
28
29
  },
29
- "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
@@ -37,20 +37,20 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@scure/bip39": "~2.0.1",
40
- "@xyo-network/account": "~5.3.25",
41
- "@xyo-network/account-model": "~5.3.25",
42
- "@xyo-network/key-model": "~5.3.25",
43
- "@xyo-network/wallet-model": "~5.3.25"
40
+ "@xyo-network/account-model": "~5.3.26",
41
+ "@xyo-network/key-model": "~5.3.26",
42
+ "@xyo-network/account": "~5.3.26",
43
+ "@xyo-network/wallet-model": "~5.3.26"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@opentelemetry/api": "^1.9.1",
47
47
  "@scure/bip39": "~2.0.1",
48
- "@types/node": "^25.5.0",
49
- "@xylabs/sdk-js": "^5.0.93",
50
- "@xylabs/ts-scripts-common": "~7.6.16",
51
- "@xylabs/ts-scripts-pnpm": "~7.6.16",
52
- "@xylabs/tsconfig": "~7.6.16",
53
- "@xylabs/vitest-matchers": "~5.0.93",
48
+ "@types/node": "^25.5.2",
49
+ "@xylabs/sdk-js": "^5.0.94",
50
+ "@xylabs/ts-scripts-common": "~7.7.5",
51
+ "@xylabs/ts-scripts-pnpm": "~7.7.5",
52
+ "@xylabs/tsconfig": "~7.7.5",
53
+ "@xylabs/vitest-matchers": "~5.0.94",
54
54
  "acorn": "^8.16.0",
55
55
  "axios": "^1.14.0",
56
56
  "esbuild": "^0.28.0",
@@ -60,10 +60,10 @@
60
60
  "vite": "^8.0.3",
61
61
  "vitest": "~4.1.2",
62
62
  "zod": "^4.3.6",
63
- "@xyo-network/account": "~5.3.25",
64
- "@xyo-network/account-model": "~5.3.25",
65
- "@xyo-network/key-model": "~5.3.25",
66
- "@xyo-network/wallet-model": "~5.3.25"
63
+ "@xyo-network/account": "~5.3.26",
64
+ "@xyo-network/account-model": "~5.3.26",
65
+ "@xyo-network/key-model": "~5.3.26",
66
+ "@xyo-network/wallet-model": "~5.3.26"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@xylabs/sdk-js": "^5",