@xyo-network/xl1-wrappers 1.26.13 → 1.26.15

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 +9 -1142
  2. package/package.json +65 -33
package/README.md CHANGED
@@ -1,1157 +1,24 @@
1
1
  # @xyo-network/xl1-wrappers
2
2
 
3
- [![logo][]](https://xyo.network)
3
+ [![npm][npm-badge]][npm-link]
4
+ [![license][license-badge]][license-link]
4
5
 
5
- [![npm-badge][]][npm-link]
6
- [![npm-downloads-badge][]][npm-link]
7
- [![jsdelivr-badge][]][jsdelivr-link]
8
- [![npm-license-badge][]](LICENSE)
9
- [![socket-badge][]][socket-link]
6
+ > XYO Layer One SDK Wrappers
10
7
 
11
- XYO Layer One SDK Wrappers
8
+ ## Install
12
9
 
13
-
14
-
15
- ## Reference
16
-
17
- **@xyo-network/xl1-wrappers**
18
-
19
- ***
20
-
21
- ## Classes
22
-
23
- - [BaseWrapper](#classes/BaseWrapper)
24
- - [FeesWrapper](#classes/FeesWrapper)
25
- - [SignatureWrapper](#classes/SignatureWrapper)
26
- - [ChainWrapper](#classes/ChainWrapper)
27
- - [HydratedTransactionWrapper](#classes/HydratedTransactionWrapper)
28
-
29
- ## Interfaces
30
-
31
- - [BaseWrapperConfig](#interfaces/BaseWrapperConfig)
32
-
33
- ## Functions
34
-
35
- - [createSignatureWrappers](#functions/createSignatureWrappers)
36
-
37
- ### classes
38
-
39
- ### <a id="BaseWrapper"></a>BaseWrapper
40
-
41
- [**@xyo-network/xl1-wrappers**](#../README)
42
-
43
- ***
44
-
45
- ## Extended by
46
-
47
- - [`ChainWrapper`](#ChainWrapper)
48
-
49
- ## Type Parameters
50
-
51
- ### T
52
-
53
- `T`
54
-
55
- ### C
56
-
57
- `C` *extends* [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\> = [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>
58
-
59
- ## Constructors
60
-
61
- ### Constructor
62
-
63
- ```ts
64
- protected new BaseWrapper<T, C>(value, config): BaseWrapper<T, C>;
65
- ```
66
-
67
- ### Parameters
68
-
69
- #### value
70
-
71
- `T`
72
-
73
- #### config
74
-
75
- `Partial`\<`C`\> = `{}`
76
-
77
- ### Returns
78
-
79
- `BaseWrapper`\<`T`, `C`\>
80
-
81
- ## Properties
82
-
83
- ### config
84
-
85
- ```ts
86
- protected readonly config: Partial<C>;
87
- ```
88
-
89
- ***
90
-
91
- ### value
92
-
93
- ```ts
94
- protected readonly value: T;
95
- ```
96
-
97
- ## Accessors
98
-
99
- ### provider
100
-
101
- ### Get Signature
102
-
103
- ```ts
104
- get provider(): XyoConnection | undefined;
105
- ```
106
-
107
- #### Returns
108
-
109
- `XyoConnection` \| `undefined`
110
-
111
- ## Methods
112
-
113
- ### create()
114
-
115
- ```ts
116
- static create<T, C>(value, config): Promise<BaseWrapper<T, BaseWrapperConfig<T>>>;
117
- ```
118
-
119
- ### Type Parameters
120
-
121
- #### T
122
-
123
- `T`
124
-
125
- #### C
126
-
127
- `C` *extends* [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\> = [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>
128
-
129
- ### Parameters
130
-
131
- #### value
132
-
133
- `T`
134
-
135
- #### config
136
-
137
- `Partial`\<`C`\> = `{}`
138
-
139
- ### Returns
140
-
141
- `Promise`\<`BaseWrapper`\<`T`, [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>\>\>
142
-
143
- ***
144
-
145
- ### validateConfig()
146
-
147
- ```ts
148
- static validateConfig(_config): PromisableArray<Error>;
149
- ```
150
-
151
- ### Parameters
152
-
153
- #### \_config
154
-
155
- `unknown`
156
-
157
- ### Returns
158
-
159
- `PromisableArray`\<`Error`\>
160
-
161
- ***
162
-
163
- ### validateValue()
164
-
165
- ```ts
166
- static validateValue(_value): PromisableArray<Error>;
167
- ```
168
-
169
- ### Parameters
170
-
171
- #### \_value
172
-
173
- `unknown`
174
-
175
- ### Returns
176
-
177
- `PromisableArray`\<`Error`\>
178
-
179
- ***
180
-
181
- ### validate()
182
-
183
- ```ts
184
- validate(): PromisableArray<Error>;
185
- ```
186
-
187
- ### Returns
188
-
189
- `PromisableArray`\<`Error`\>
190
-
191
- ### <a id="ChainWrapper"></a>ChainWrapper
192
-
193
- [**@xyo-network/xl1-wrappers**](#../README)
194
-
195
- ***
196
-
197
- ## Extends
198
-
199
- - [`BaseWrapper`](#BaseWrapper)\<`Address`, [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`Address`\>\>
200
-
201
- ## Constructors
202
-
203
- ### Constructor
204
-
205
- ```ts
206
- protected new ChainWrapper(value, config): ChainWrapper;
207
- ```
208
-
209
- ### Parameters
210
-
211
- #### value
212
-
213
- `Address`
214
-
215
- #### config
216
-
217
- `Partial`\<`C`\> = `{}`
218
-
219
- ### Returns
220
-
221
- `ChainWrapper`
222
-
223
- ### Inherited from
224
-
225
- [`BaseWrapper`](#BaseWrapper).[`constructor`](BaseWrapper.md#constructor)
226
-
227
- ## Properties
228
-
229
- ### config
230
-
231
- ```ts
232
- protected readonly config: Partial<C>;
233
- ```
234
-
235
- ### Inherited from
236
-
237
- [`BaseWrapper`](#BaseWrapper).[`config`](BaseWrapper.md#config)
238
-
239
- ***
240
-
241
- ### value
242
-
243
- ```ts
244
- protected readonly value: Address;
245
- ```
246
-
247
- ### Inherited from
248
-
249
- [`BaseWrapper`](#BaseWrapper).[`value`](BaseWrapper.md#value)
250
-
251
- ## Accessors
252
-
253
- ### provider
254
-
255
- ### Get Signature
256
-
257
- ```ts
258
- get provider(): XyoConnection | undefined;
259
- ```
260
-
261
- #### Returns
262
-
263
- `XyoConnection` \| `undefined`
264
-
265
- ### Inherited from
266
-
267
- [`BaseWrapper`](#BaseWrapper).[`provider`](BaseWrapper.md#provider)
268
-
269
- ***
270
-
271
- ### id
272
-
273
- ### Get Signature
274
-
275
- ```ts
276
- get id(): Address;
277
- ```
278
-
279
- #### Returns
280
-
281
- `Address`
282
-
283
- ## Methods
284
-
285
- ### create()
286
-
287
- ```ts
288
- static create<T, C>(value, config): Promise<BaseWrapper<T, BaseWrapperConfig<T>>>;
289
- ```
290
-
291
- ### Type Parameters
292
-
293
- #### T
294
-
295
- `T`
296
-
297
- #### C
298
-
299
- `C` *extends* [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\> = [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>
300
-
301
- ### Parameters
302
-
303
- #### value
304
-
305
- `T`
306
-
307
- #### config
308
-
309
- `Partial`\<`C`\> = `{}`
310
-
311
- ### Returns
312
-
313
- `Promise`\<[`BaseWrapper`](#BaseWrapper)\<`T`, [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>\>\>
314
-
315
- ### Inherited from
316
-
317
- [`BaseWrapper`](#BaseWrapper).[`create`](BaseWrapper.md#create)
318
-
319
- ***
320
-
321
- ### validateConfig()
322
-
323
- ```ts
324
- static validateConfig(_config): PromisableArray<Error>;
325
- ```
326
-
327
- ### Parameters
328
-
329
- #### \_config
330
-
331
- `unknown`
332
-
333
- ### Returns
334
-
335
- `PromisableArray`\<`Error`\>
336
-
337
- ### Inherited from
338
-
339
- [`BaseWrapper`](#BaseWrapper).[`validateConfig`](BaseWrapper.md#validateconfig)
340
-
341
- ***
342
-
343
- ### validateValue()
344
-
345
- ```ts
346
- static validateValue(_value): PromisableArray<Error>;
347
- ```
348
-
349
- ### Parameters
350
-
351
- #### \_value
352
-
353
- `unknown`
354
-
355
- ### Returns
356
-
357
- `PromisableArray`\<`Error`\>
358
-
359
- ### Inherited from
360
-
361
- [`BaseWrapper`](#BaseWrapper).[`validateValue`](BaseWrapper.md#validatevalue)
362
-
363
- ***
364
-
365
- ### validate()
366
-
367
- ```ts
368
- validate(): PromisableArray<Error>;
369
- ```
370
-
371
- ### Returns
372
-
373
- `PromisableArray`\<`Error`\>
374
-
375
- ### Inherited from
376
-
377
- [`BaseWrapper`](#BaseWrapper).[`validate`](BaseWrapper.md#validate)
378
-
379
- ### <a id="FeesWrapper"></a>FeesWrapper
380
-
381
- [**@xyo-network/xl1-wrappers**](#../README)
382
-
383
- ***
384
-
385
- ## Implements
386
-
387
- - `TransactionFeesInstance`
388
-
389
- ## Constructors
390
-
391
- ### Constructor
392
-
393
- ```ts
394
- new FeesWrapper(__namedParameters): FeesWrapper;
395
- ```
396
-
397
- ### Parameters
398
-
399
- #### \_\_namedParameters
400
-
401
- `TransactionFeesHex` | `TransactionFeesBigInt`
402
-
403
- ### Returns
404
-
405
- `FeesWrapper`
406
-
407
- ## Properties
408
-
409
- ### base
410
-
411
- ```ts
412
- base: AttoXL1;
413
- ```
414
-
415
- ### Implementation of
416
-
417
- ```ts
418
- TransactionFeesInstance.base
419
- ```
420
-
421
- ***
422
-
423
- ### gasLimit
424
-
425
- ```ts
426
- gasLimit: AttoXL1;
427
- ```
428
-
429
- ### Implementation of
430
-
431
- ```ts
432
- TransactionFeesInstance.gasLimit
433
- ```
434
-
435
- ***
436
-
437
- ### gasPrice
438
-
439
- ```ts
440
- gasPrice: AttoXL1;
441
- ```
442
-
443
- ### Implementation of
444
-
445
- ```ts
446
- TransactionFeesInstance.gasPrice
447
- ```
448
-
449
- ***
450
-
451
- ### priority
452
-
453
- ```ts
454
- priority: AttoXL1;
455
- ```
456
-
457
- ### Implementation of
458
-
459
- ```ts
460
- TransactionFeesInstance.priority
461
- ```
462
-
463
- ## Methods
464
-
465
- ### validate()
466
-
467
- ```ts
468
- static validate(__namedParameters): Promisable<Error[]>;
469
- ```
470
-
471
- ### Parameters
472
-
473
- #### \_\_namedParameters
474
-
475
- `TransactionFeesHex` | `TransactionFeesBigInt`
476
-
477
- ### Returns
478
-
479
- `Promisable`\<`Error`[]\>
480
-
481
- ***
482
-
483
- ### validate()
484
-
485
- ```ts
486
- validate(): Promise<Error[]>;
487
- ```
488
-
489
- ### Returns
490
-
491
- `Promise`\<`Error`[]\>
492
-
493
- ### Implementation of
494
-
495
- ```ts
496
- TransactionFeesInstance.validate
497
- ```
498
-
499
- ### <a id="HydratedTransactionWrapper"></a>HydratedTransactionWrapper
500
-
501
- [**@xyo-network/xl1-wrappers**](#../README)
502
-
503
- ***
504
-
505
- ## Type Parameters
506
-
507
- ### T
508
-
509
- `T` *extends* `HydratedTransactionWithStorageMeta`
510
-
511
- ## Implements
512
-
513
- - `HydratedTransactionInstance`\<\[`T`\[`0`\], `T`\[`1`\]\[`number`\][]\]\>
514
-
515
- ## Constructors
516
-
517
- ### Constructor
518
-
519
- ```ts
520
- protected new HydratedTransactionWrapper<T>(data): HydratedTransactionWrapper<T>;
521
- ```
522
-
523
- ### Parameters
524
-
525
- #### data
526
-
527
- `T`
528
-
529
- ### Returns
530
-
531
- `HydratedTransactionWrapper`\<`T`\>
532
-
533
- ## Properties
534
-
535
- ### data
536
-
537
- ```ts
538
- data: T;
539
- ```
540
-
541
- ### Implementation of
542
-
543
- ```ts
544
- HydratedTransactionInstance.data
545
- ```
546
-
547
- ***
548
-
549
- ### fees
550
-
551
- ```ts
552
- fees: TransactionFeesInstance;
553
- ```
554
-
555
- ### Implementation of
556
-
557
- ```ts
558
- HydratedTransactionInstance.fees
559
- ```
560
-
561
- ***
562
-
563
- ### payloadsCache
564
-
565
- ```ts
566
- protected payloadsCache: WithStorageMeta<Payload>[] = [];
567
- ```
568
-
569
- ## Accessors
570
-
571
- ### boundWitness
572
-
573
- ### Get Signature
574
-
575
- ```ts
576
- get boundWitness(): T[0];
577
- ```
578
-
579
- #### Returns
580
-
581
- `T`\[`0`\]
582
-
583
- ### Implementation of
584
-
585
- ```ts
586
- HydratedTransactionInstance.boundWitness
587
- ```
588
-
589
- ***
590
-
591
- ### elevatedPayloadCount
592
-
593
- ### Get Signature
594
-
595
- ```ts
596
- get elevatedPayloadCount(): number;
597
- ```
598
-
599
- #### Returns
600
-
601
- `number`
602
-
603
- ### Implementation of
604
-
605
- ```ts
606
- HydratedTransactionInstance.elevatedPayloadCount
607
- ```
608
-
609
- ***
610
-
611
- ### elevatedPayloads
612
-
613
- ### Get Signature
614
-
615
- ```ts
616
- get elevatedPayloads(): WithStorageMeta<AllowedBlockPayload>[];
617
- ```
618
-
619
- #### Returns
620
-
621
- `WithStorageMeta`\<`AllowedBlockPayload`\>[]
622
-
623
- ### Implementation of
624
-
625
- ```ts
626
- HydratedTransactionInstance.elevatedPayloads
627
- ```
628
-
629
- ***
630
-
631
- ### externalPayloads
632
-
633
- ### Get Signature
634
-
635
- ```ts
636
- get externalPayloads(): Record<Hash, Schema | Payload>;
637
- ```
638
-
639
- #### Returns
640
-
641
- `Record`\<`Hash`, `Schema` \| `Payload`\>
642
-
643
- ### Implementation of
644
-
645
- ```ts
646
- HydratedTransactionInstance.externalPayloads
647
- ```
648
-
649
- ***
650
-
651
- ### from
652
-
653
- ### Get Signature
654
-
655
- ```ts
656
- get from(): Address;
657
- ```
658
-
659
- #### Returns
660
-
661
- `Address`
662
-
663
- ***
664
-
665
- ### payloadCount
666
-
667
- ### Get Signature
668
-
669
- ```ts
670
- get payloadCount(): number;
671
- ```
672
-
673
- #### Returns
674
-
675
- `number`
676
-
677
- ### Implementation of
678
-
679
- ```ts
680
- HydratedTransactionInstance.payloadCount
681
- ```
682
-
683
- ***
684
-
685
- ### payloads
686
-
687
- ### Get Signature
688
-
689
- ```ts
690
- get payloads(): WithHashMeta<WithStorageMeta<T[1][number]>>[];
691
- ```
692
-
693
- #### Returns
694
-
695
- `WithHashMeta`\<`WithStorageMeta`\<`T`\[`1`\]\[`number`\]\>\>[]
696
-
697
- ### Implementation of
698
-
699
- ```ts
700
- HydratedTransactionInstance.payloads
701
- ```
702
-
703
- ***
704
-
705
- ### privateExternalPayloads
706
-
707
- ### Get Signature
708
-
709
- ```ts
710
- get privateExternalPayloads(): Record<Hash, Schema>;
711
- ```
712
-
713
- #### Returns
714
-
715
- `Record`\<`Hash`, `Schema`\>
716
-
717
- ### Implementation of
718
-
719
- ```ts
720
- HydratedTransactionInstance.privateExternalPayloads
721
- ```
722
-
723
- ***
724
-
725
- ### publicExternalPayloads
726
-
727
- ### Get Signature
728
-
729
- ```ts
730
- get publicExternalPayloads(): Payload[];
731
- ```
732
-
733
- #### Returns
734
-
735
- `Payload`[]
736
-
737
- ### Implementation of
738
-
739
- ```ts
740
- HydratedTransactionInstance.publicExternalPayloads
741
- ```
742
-
743
- ***
744
-
745
- ### signatureCount
746
-
747
- ### Get Signature
748
-
749
- ```ts
750
- get signatureCount(): number;
751
- ```
752
-
753
- #### Returns
754
-
755
- `number`
756
-
757
- ### Implementation of
758
-
759
- ```ts
760
- HydratedTransactionInstance.signatureCount
761
- ```
762
-
763
- ***
764
-
765
- ### signatures
766
-
767
- ### Get Signature
768
-
769
- ```ts
770
- get signatures(): SignatureInstance[];
771
- ```
772
-
773
- #### Returns
774
-
775
- `SignatureInstance`[]
776
-
777
- ### Implementation of
778
-
779
- ```ts
780
- HydratedTransactionInstance.signatures
781
- ```
782
-
783
- ## Methods
784
-
785
- ### parse()
786
-
787
- ```ts
788
- static parse<T>(transaction, validate): Promise<HydratedTransactionInstance<[T[0], T[1][number][]], AllowedBlockPayload>>;
789
- ```
790
-
791
- ### Type Parameters
792
-
793
- #### T
794
-
795
- `T` *extends* `HydratedTransactionWithStorageMeta`
796
-
797
- ### Parameters
798
-
799
- #### transaction
800
-
801
- `T`
802
-
803
- #### validate
804
-
805
- `boolean` = `false`
806
-
807
- ### Returns
808
-
809
- `Promise`\<`HydratedTransactionInstance`\<\[`T`\[`0`\], `T`\[`1`\]\[`number`\][]\], `AllowedBlockPayload`\>\>
810
-
811
- ***
812
-
813
- ### elevatedPayload()
814
-
815
- ```ts
816
- elevatedPayload(index): WithHashMeta<AllowedBlockPayload & T[1][number]> | undefined;
817
- ```
818
-
819
- ### Parameters
820
-
821
- #### index
822
-
823
- `number`
824
-
825
- ### Returns
826
-
827
- `WithHashMeta`\<AllowedBlockPayload & T\[1\]\[number\]\> \| `undefined`
828
-
829
- ### Implementation of
830
-
831
- ```ts
832
- HydratedTransactionInstance.elevatedPayload
833
- ```
834
-
835
- ***
836
-
837
- ### gasRequired()
838
-
839
- ```ts
840
- gasRequired(): bigint;
841
- ```
842
-
843
- ### Returns
844
-
845
- `bigint`
846
-
847
- ***
848
-
849
- ### payload()
850
-
851
- ```ts
852
- payload(index): WithStorageMeta<Payload> | undefined;
853
- ```
854
-
855
- ### Parameters
856
-
857
- #### index
858
-
859
- `number`
860
-
861
- ### Returns
862
-
863
- `WithStorageMeta`\<`Payload`\> \| `undefined`
864
-
865
- ### Implementation of
866
-
867
- ```ts
868
- HydratedTransactionInstance.payload
869
- ```
870
-
871
- ***
872
-
873
- ### reward()
874
-
875
- ```ts
876
- reward(): bigint;
10
+ ```sh
11
+ {{pm}} add {{name}}
877
12
  ```
878
13
 
879
- ### Returns
880
-
881
- `bigint`
882
-
883
- ### Implementation of
884
-
885
- ```ts
886
- HydratedTransactionInstance.reward
887
- ```
888
-
889
- ***
890
-
891
- ### signature()
892
-
893
- ```ts
894
- signature(index): SignatureInstance | undefined;
895
- ```
896
-
897
- ### Parameters
898
-
899
- #### index
900
-
901
- `number`
902
-
903
- ### Returns
904
-
905
- `SignatureInstance` \| `undefined`
906
-
907
- ### Implementation of
908
-
909
- ```ts
910
- HydratedTransactionInstance.signature
911
- ```
912
-
913
- ***
914
-
915
- ### validate()
916
-
917
- ```ts
918
- validate(): Promise<Error[]>;
919
- ```
920
-
921
- ### Returns
922
-
923
- `Promise`\<`Error`[]\>
924
-
925
- ### Implementation of
926
-
927
- ```ts
928
- HydratedTransactionInstance.validate
929
- ```
930
-
931
- ***
932
-
933
- ### parse()
934
-
935
- ```ts
936
- protected parse(validate): Promise<HydratedTransactionInstance<[WithHashMeta<T[0]>, WithHashMeta<T[1][number]>[]], AllowedBlockPayload>>;
937
- ```
938
-
939
- ### Parameters
940
-
941
- #### validate
942
-
943
- `boolean` = `false`
944
-
945
- ### Returns
946
-
947
- `Promise`\<`HydratedTransactionInstance`\<\[`WithHashMeta`\<`T`\[`0`\]\>, `WithHashMeta`\<`T`\[`1`\]\[`number`\]\>[]\], `AllowedBlockPayload`\>\>
948
-
949
- ### <a id="SignatureWrapper"></a>SignatureWrapper
950
-
951
- [**@xyo-network/xl1-wrappers**](#../README)
952
-
953
- ***
954
-
955
- ## Implements
956
-
957
- - `SignatureInstance`
958
-
959
- ## Constructors
960
-
961
- ### Constructor
962
-
963
- ```ts
964
- new SignatureWrapper(
965
- signature,
966
- address,
967
- hash): SignatureWrapper;
968
- ```
969
-
970
- ### Parameters
971
-
972
- #### signature
973
-
974
- `Hex`
975
-
976
- #### address
977
-
978
- `Address`
979
-
980
- #### hash
981
-
982
- `Hash`
983
-
984
- ### Returns
985
-
986
- `SignatureWrapper`
987
-
988
- ## Properties
989
-
990
- ### address
991
-
992
- ```ts
993
- address: Address;
994
- ```
995
-
996
- ### Implementation of
997
-
998
- ```ts
999
- SignatureInstance.address
1000
- ```
1001
-
1002
- ***
1003
-
1004
- ### hash
1005
-
1006
- ```ts
1007
- hash: Hash;
1008
- ```
1009
-
1010
- ### Implementation of
1011
-
1012
- ```ts
1013
- SignatureInstance.hash
1014
- ```
1015
-
1016
- ***
1017
-
1018
- ### signature
1019
-
1020
- ```ts
1021
- signature: Hex;
1022
- ```
1023
-
1024
- ### Implementation of
1025
-
1026
- ```ts
1027
- SignatureInstance.signature
1028
- ```
1029
-
1030
- ## Methods
1031
-
1032
- ### validate()
1033
-
1034
- ```ts
1035
- static validate(
1036
- hash,
1037
- address,
1038
- signature): Promise<Error[]>;
1039
- ```
1040
-
1041
- ### Parameters
1042
-
1043
- #### hash
1044
-
1045
- `Hash`
1046
-
1047
- #### address
1048
-
1049
- `Address`
1050
-
1051
- #### signature
1052
-
1053
- `Hex`
1054
-
1055
- ### Returns
1056
-
1057
- `Promise`\<`Error`[]\>
1058
-
1059
- ***
1060
-
1061
- ### validate()
1062
-
1063
- ```ts
1064
- validate(): Promise<Error[]>;
1065
- ```
1066
-
1067
- ### Returns
1068
-
1069
- `Promise`\<`Error`[]\>
1070
-
1071
- ### Implementation of
1072
-
1073
- ```ts
1074
- SignatureInstance.validate
1075
- ```
1076
-
1077
- ### functions
1078
-
1079
- ### <a id="createSignatureWrappers"></a>createSignatureWrappers
1080
-
1081
- [**@xyo-network/xl1-wrappers**](#../README)
1082
-
1083
- ***
1084
-
1085
- ```ts
1086
- function createSignatureWrappers(bw): Promise<SignatureInstance[]>;
1087
- ```
1088
-
1089
- ## Parameters
1090
-
1091
- ### bw
1092
-
1093
- `BoundWitness`
1094
-
1095
- ## Returns
1096
-
1097
- `Promise`\<`SignatureInstance`[]\>
1098
-
1099
- ### interfaces
1100
-
1101
- ### <a id="BaseWrapperConfig"></a>BaseWrapperConfig
1102
-
1103
- [**@xyo-network/xl1-wrappers**](#../README)
1104
-
1105
- ***
1106
-
1107
- ## Type Parameters
1108
-
1109
- ### T
1110
-
1111
- `T`
1112
-
1113
- ## Properties
1114
-
1115
- ### provider
1116
-
1117
- ```ts
1118
- provider: XyoConnection;
1119
- ```
1120
-
1121
- ***
1122
-
1123
- ### value
1124
-
1125
- ```ts
1126
- value: T;
1127
- ```
1128
-
1129
-
1130
- ## Maintainers
1131
-
1132
- - [Arie Trouw](https://github.com/arietrouw) ([arietrouw.com](https://arietrouw.com))
1133
- - [Matt Jones](https://github.com/jonesmac)
1134
- - [Joel Carter](https://github.com/JoelBCarter)
1135
- - [Jordan Trouw](https://github.com/jordantrouw)
1136
14
 
1137
15
  ## License
1138
16
 
1139
- > See the [LICENSE](LICENSE) file for license details
17
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
1140
18
 
1141
- ## Credits
1142
19
 
1143
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
1144
-
1145
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
1146
20
 
1147
21
  [npm-badge]: https://img.shields.io/npm/v/@xyo-network/xl1-wrappers.svg
1148
22
  [npm-link]: https://www.npmjs.com/package/@xyo-network/xl1-wrappers
1149
-
1150
- [npm-downloads-badge]: https://img.shields.io/npm/dw/@xyo-network/xl1-wrappers
1151
- [npm-license-badge]: https://img.shields.io/npm/l/@xyo-network/xl1-wrappers
1152
-
1153
- [jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@xyo-network/xl1-wrappers/badge
1154
- [jsdelivr-link]: https://www.jsdelivr.com/package/npm/@xyo-network/xl1-wrappers
1155
-
1156
- [socket-badge]: https://socket.dev/api/badge/npm/package/@xyo-network/xl1-wrappers
1157
- [socket-link]: https://socket.dev/npm/package/@xyo-network/xl1-wrappers
23
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/xl1-wrappers.svg
24
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/xl1-wrappers",
4
- "version": "1.26.13",
4
+ "version": "1.26.15",
5
5
  "description": "XYO Layer One SDK Wrappers",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -23,11 +23,11 @@
23
23
  "exports": {
24
24
  ".": {
25
25
  "types": "./dist/neutral/index.d.ts",
26
+ "import": "./dist/neutral/index.mjs",
26
27
  "default": "./dist/neutral/index.mjs"
27
28
  },
28
29
  "./package.json": "./package.json"
29
30
  },
30
- "module": "./dist/neutral/index.mjs",
31
31
  "source": "./src/index.ts",
32
32
  "types": "./dist/neutral/index.d.ts",
33
33
  "files": [
@@ -38,41 +38,75 @@
38
38
  "README.md"
39
39
  ],
40
40
  "dependencies": {
41
- "@xyo-network/xl1-protocol-lib": "~1.26.13",
42
- "@xyo-network/xl1-protocol-sdk": "~1.26.13",
43
- "@xyo-network/xl1-validation": "~1.26.13"
41
+ "@xyo-network/xl1-protocol-lib": "~1.26.15",
42
+ "@xyo-network/xl1-protocol-sdk": "~1.26.15",
43
+ "@xyo-network/xl1-validation": "~1.26.15"
44
44
  },
45
45
  "devDependencies": {
46
- "@firebase/app": "0.x",
47
- "@firebase/app-compat": "0.x",
48
- "@firebase/app-types": "0.x",
49
- "@firebase/util": "1.x",
50
- "@metamask/providers": "^22",
51
46
  "@opentelemetry/api": "^1.9.1",
52
- "@types/node": "^25.5.0",
53
- "@xylabs/geo": "^5",
54
- "@xylabs/sdk-js": "^5.0.91",
55
- "@xylabs/ts-scripts-common": "~7.6.13",
56
- "@xylabs/ts-scripts-yarn3": "~7.6.13",
57
- "@xylabs/tsconfig": "~7.6.13",
58
- "@xyo-network/sdk-js": "^5.3.22",
59
- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0",
47
+ "@types/node": "^25.5.2",
48
+ "@xylabs/sdk-js": "^5.0.95",
49
+ "@xylabs/ts-scripts-common": "~7.8.7",
50
+ "@xylabs/ts-scripts-pnpm": "~7.8.7",
51
+ "@xylabs/tsconfig": "~7.8.7",
52
+ "@xyo-network/account": "~5.3.30",
53
+ "@xyo-network/account-model": "~5.3.30",
54
+ "@xyo-network/api-models": "~5.3.30",
55
+ "@xyo-network/archivist-abstract": "~5.3.30",
56
+ "@xyo-network/archivist-generic": "~5.3.30",
57
+ "@xyo-network/archivist-memory": "~5.3.30",
58
+ "@xyo-network/archivist-model": "~5.3.30",
59
+ "@xyo-network/archivist-view": "~5.3.30",
60
+ "@xyo-network/archivist-wrapper": "~5.3",
61
+ "@xyo-network/boundwitness-builder": "~5.3.30",
62
+ "@xyo-network/boundwitness-validator": "~5.3.30",
63
+ "@xyo-network/bridge-abstract": "~5.3.30",
64
+ "@xyo-network/bridge-model": "~5.3.30",
65
+ "@xyo-network/config-payload-plugin": "~5.3.30",
66
+ "@xyo-network/data": "~5.3.30",
67
+ "@xyo-network/diviner-abstract": "~5.3",
68
+ "@xyo-network/diviner-boundwitness-memory": "~5.3.30",
69
+ "@xyo-network/diviner-identity": "~5.3.30",
70
+ "@xyo-network/diviner-model": "~5.3.30",
71
+ "@xyo-network/diviner-payload-generic": "~5.3.30",
72
+ "@xyo-network/diviner-payload-model": "~5.3.30",
73
+ "@xyo-network/diviner-wrapper": "~5.3",
74
+ "@xyo-network/dns": "~5.3.30",
75
+ "@xyo-network/domain-payload-plugin": "~5.3.30",
76
+ "@xyo-network/elliptic": "~5.3.30",
77
+ "@xyo-network/hash": "~5.3.30",
78
+ "@xyo-network/huri": "~5.3.30",
79
+ "@xyo-network/manifest-model": "~5.3.30",
80
+ "@xyo-network/module-abstract": "~5.3.30",
81
+ "@xyo-network/module-model": "~5.3.30",
82
+ "@xyo-network/module-resolver": "~5.3.30",
83
+ "@xyo-network/module-wrapper": "~5.3",
84
+ "@xyo-network/network": "~5.3.30",
85
+ "@xyo-network/node-abstract": "~5.3.30",
86
+ "@xyo-network/node-memory": "~5.3.30",
87
+ "@xyo-network/node-model": "~5.3.30",
88
+ "@xyo-network/node-view": "~5.3.30",
89
+ "@xyo-network/node-wrapper": "~5.3",
90
+ "@xyo-network/payload-builder": "~5.3.30",
91
+ "@xyo-network/payload-model": "~5.3.30",
92
+ "@xyo-network/payload-validator": "~5.3.30",
93
+ "@xyo-network/previous-hash-store-model": "~5.3.30",
94
+ "@xyo-network/sdk-js": "^5.3.30",
95
+ "@xyo-network/sentinel-abstract": "~5.3.30",
96
+ "@xyo-network/sentinel-memory": "~5.3.30",
97
+ "@xyo-network/sentinel-model": "~5.3.30",
98
+ "@xyo-network/wallet-model": "~5.3.30",
99
+ "@xyo-network/wasm": "~5.3.30",
100
+ "@xyo-network/witness-adhoc": "~5.3.30",
101
+ "@xyo-network/witness-model": "~5.3.30",
60
102
  "ajv": "^8.18.0",
61
103
  "axios": "^1.14.0",
62
- "cosmiconfig": ">=9",
63
- "esbuild": ">=0.18",
64
- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0",
104
+ "esbuild": "^0.28.0",
65
105
  "ethers": "^6.16.0",
66
- "firebase": "^12",
67
- "lru-cache": "^11",
68
- "mapbox-gl": "^3",
69
- "mongodb": "^6 || ^7",
70
- "rollup": "^3.29.4 || ^4",
71
- "tslib": "^2.8.1",
106
+ "pako": "~2.1.0",
72
107
  "typescript": "~5.9.3",
73
- "vite": "^8.0.3",
108
+ "vite": "^8.0.5",
74
109
  "vitest": "~4.1.2",
75
- "webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0",
76
110
  "zod": "~4.3.6"
77
111
  },
78
112
  "peerDependencies": {
@@ -82,15 +116,13 @@
82
116
  "ajv": "^8",
83
117
  "axios": "^1",
84
118
  "ethers": "^6",
85
- "mongodb": "^6 || ^7",
86
- "typescript": ">=4.9.5",
87
119
  "zod": "^4"
88
120
  },
89
121
  "engines": {
90
- "node": ">=22.3 <23"
122
+ "node": ">=22.3"
91
123
  },
92
124
  "engineStrict": true,
93
125
  "publishConfig": {
94
126
  "access": "public"
95
127
  }
96
- }
128
+ }