@bitgo/public-types 2.33.0 → 2.33.1

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.
@@ -14,12 +14,15 @@ export declare const OVC1ToOVC2Round1Payload: t.IntersectionC<[t.TypeC<{
14
14
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
15
15
  ovcMsg1: t.IntersectionC<[t.TypeC<{
16
16
  payload: t.TypeC<{
17
- message: t.StringC;
18
- signature: t.StringC;
17
+ message: import("io-ts-types").NonEmptyStringC;
18
+ signature: import("io-ts-types").NonEmptyStringC;
19
19
  }>;
20
20
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
21
21
  }>, t.PartialC<{
22
- signatureR: t.StringC;
22
+ signatureR: t.TypeC<{
23
+ message: import("io-ts-types").NonEmptyStringC;
24
+ signature: import("io-ts-types").NonEmptyStringC;
25
+ }>;
23
26
  }>]>;
24
27
  }>;
25
28
  }>;
@@ -36,24 +39,30 @@ export declare const OVC2ToBitgoRound1Payload: t.IntersectionC<[t.TypeC<{
36
39
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
37
40
  ovcMsg1: t.IntersectionC<[t.TypeC<{
38
41
  payload: t.TypeC<{
39
- message: t.StringC;
40
- signature: t.StringC;
42
+ message: import("io-ts-types").NonEmptyStringC;
43
+ signature: import("io-ts-types").NonEmptyStringC;
41
44
  }>;
42
45
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
43
46
  }>, t.PartialC<{
44
- signatureR: t.StringC;
47
+ signatureR: t.TypeC<{
48
+ message: import("io-ts-types").NonEmptyStringC;
49
+ signature: import("io-ts-types").NonEmptyStringC;
50
+ }>;
45
51
  }>]>;
46
52
  }>;
47
53
  2: t.TypeC<{
48
54
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
49
55
  ovcMsg1: t.IntersectionC<[t.TypeC<{
50
56
  payload: t.TypeC<{
51
- message: t.StringC;
52
- signature: t.StringC;
57
+ message: import("io-ts-types").NonEmptyStringC;
58
+ signature: import("io-ts-types").NonEmptyStringC;
53
59
  }>;
54
60
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
55
61
  }>, t.PartialC<{
56
- signatureR: t.StringC;
62
+ signatureR: t.TypeC<{
63
+ message: import("io-ts-types").NonEmptyStringC;
64
+ signature: import("io-ts-types").NonEmptyStringC;
65
+ }>;
57
66
  }>]>;
58
67
  }>;
59
68
  }>;
@@ -64,12 +73,15 @@ export declare const PlatformRound1Payload: t.TypeC<{
64
73
  sessionId: import("io-ts-types").NonEmptyStringC;
65
74
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
66
75
  payload: t.TypeC<{
67
- message: t.StringC;
68
- signature: t.StringC;
76
+ message: import("io-ts-types").NonEmptyStringC;
77
+ signature: import("io-ts-types").NonEmptyStringC;
69
78
  }>;
70
79
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
71
80
  }>, t.PartialC<{
72
- signatureR: t.StringC;
81
+ signatureR: t.TypeC<{
82
+ message: import("io-ts-types").NonEmptyStringC;
83
+ signature: import("io-ts-types").NonEmptyStringC;
84
+ }>;
73
85
  }>]>;
74
86
  ovc: t.TypeC<{
75
87
  1: t.TypeC<{
@@ -111,24 +123,30 @@ export declare const BitgoToOVC1Round1Response: t.TypeC<{
111
123
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
112
124
  ovcMsg1: t.IntersectionC<[t.TypeC<{
113
125
  payload: t.TypeC<{
114
- message: t.StringC;
115
- signature: t.StringC;
126
+ message: import("io-ts-types").NonEmptyStringC;
127
+ signature: import("io-ts-types").NonEmptyStringC;
116
128
  }>;
117
129
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
118
130
  }>, t.PartialC<{
119
- signatureR: t.StringC;
131
+ signatureR: t.TypeC<{
132
+ message: import("io-ts-types").NonEmptyStringC;
133
+ signature: import("io-ts-types").NonEmptyStringC;
134
+ }>;
120
135
  }>]>;
121
136
  }>;
122
137
  2: t.TypeC<{
123
138
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
124
139
  ovcMsg1: t.IntersectionC<[t.TypeC<{
125
140
  payload: t.TypeC<{
126
- message: t.StringC;
127
- signature: t.StringC;
141
+ message: import("io-ts-types").NonEmptyStringC;
142
+ signature: import("io-ts-types").NonEmptyStringC;
128
143
  }>;
129
144
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
130
145
  }>, t.PartialC<{
131
- signatureR: t.StringC;
146
+ signatureR: t.TypeC<{
147
+ message: import("io-ts-types").NonEmptyStringC;
148
+ signature: import("io-ts-types").NonEmptyStringC;
149
+ }>;
132
150
  }>]>;
133
151
  }>;
134
152
  }>;
@@ -138,12 +156,15 @@ export declare const BitgoToOVC1Round1Response: t.TypeC<{
138
156
  sessionId: import("io-ts-types").NonEmptyStringC;
139
157
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
140
158
  payload: t.TypeC<{
141
- message: t.StringC;
142
- signature: t.StringC;
159
+ message: import("io-ts-types").NonEmptyStringC;
160
+ signature: import("io-ts-types").NonEmptyStringC;
143
161
  }>;
144
162
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
145
163
  }>, t.PartialC<{
146
- signatureR: t.StringC;
164
+ signatureR: t.TypeC<{
165
+ message: import("io-ts-types").NonEmptyStringC;
166
+ signature: import("io-ts-types").NonEmptyStringC;
167
+ }>;
147
168
  }>]>;
148
169
  ovc: t.TypeC<{
149
170
  1: t.TypeC<{
@@ -186,12 +207,15 @@ export declare const OVC1ToOVC2Round2Payload: t.IntersectionC<[t.TypeC<{
186
207
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
187
208
  ovcMsg1: t.IntersectionC<[t.TypeC<{
188
209
  payload: t.TypeC<{
189
- message: t.StringC;
190
- signature: t.StringC;
210
+ message: import("io-ts-types").NonEmptyStringC;
211
+ signature: import("io-ts-types").NonEmptyStringC;
191
212
  }>;
192
213
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
193
214
  }>, t.PartialC<{
194
- signatureR: t.StringC;
215
+ signatureR: t.TypeC<{
216
+ message: import("io-ts-types").NonEmptyStringC;
217
+ signature: import("io-ts-types").NonEmptyStringC;
218
+ }>;
195
219
  }>]>;
196
220
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
197
221
  payload: t.TypeC<{
@@ -218,12 +242,15 @@ export declare const OVC1ToOVC2Round2Payload: t.IntersectionC<[t.TypeC<{
218
242
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
219
243
  ovcMsg1: t.IntersectionC<[t.TypeC<{
220
244
  payload: t.TypeC<{
221
- message: t.StringC;
222
- signature: t.StringC;
245
+ message: import("io-ts-types").NonEmptyStringC;
246
+ signature: import("io-ts-types").NonEmptyStringC;
223
247
  }>;
224
248
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
225
249
  }>, t.PartialC<{
226
- signatureR: t.StringC;
250
+ signatureR: t.TypeC<{
251
+ message: import("io-ts-types").NonEmptyStringC;
252
+ signature: import("io-ts-types").NonEmptyStringC;
253
+ }>;
227
254
  }>]>;
228
255
  }>;
229
256
  }>;
@@ -240,12 +267,15 @@ export declare const OVC2ToBitgoRound2Payload: t.IntersectionC<[t.TypeC<{
240
267
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
241
268
  ovcMsg1: t.IntersectionC<[t.TypeC<{
242
269
  payload: t.TypeC<{
243
- message: t.StringC;
244
- signature: t.StringC;
270
+ message: import("io-ts-types").NonEmptyStringC;
271
+ signature: import("io-ts-types").NonEmptyStringC;
245
272
  }>;
246
273
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
247
274
  }>, t.PartialC<{
248
- signatureR: t.StringC;
275
+ signatureR: t.TypeC<{
276
+ message: import("io-ts-types").NonEmptyStringC;
277
+ signature: import("io-ts-types").NonEmptyStringC;
278
+ }>;
249
279
  }>]>;
250
280
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
251
281
  payload: t.TypeC<{
@@ -272,12 +302,15 @@ export declare const OVC2ToBitgoRound2Payload: t.IntersectionC<[t.TypeC<{
272
302
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
273
303
  ovcMsg1: t.IntersectionC<[t.TypeC<{
274
304
  payload: t.TypeC<{
275
- message: t.StringC;
276
- signature: t.StringC;
305
+ message: import("io-ts-types").NonEmptyStringC;
306
+ signature: import("io-ts-types").NonEmptyStringC;
277
307
  }>;
278
308
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
279
309
  }>, t.PartialC<{
280
- signatureR: t.StringC;
310
+ signatureR: t.TypeC<{
311
+ message: import("io-ts-types").NonEmptyStringC;
312
+ signature: import("io-ts-types").NonEmptyStringC;
313
+ }>;
281
314
  }>]>;
282
315
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
283
316
  payload: t.TypeC<{
@@ -306,12 +339,15 @@ export declare const OVC2ToBitgoRound2Payload: t.IntersectionC<[t.TypeC<{
306
339
  sessionId: import("io-ts-types").NonEmptyStringC;
307
340
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
308
341
  payload: t.TypeC<{
309
- message: t.StringC;
310
- signature: t.StringC;
342
+ message: import("io-ts-types").NonEmptyStringC;
343
+ signature: import("io-ts-types").NonEmptyStringC;
311
344
  }>;
312
345
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
313
346
  }>, t.PartialC<{
314
- signatureR: t.StringC;
347
+ signatureR: t.TypeC<{
348
+ message: import("io-ts-types").NonEmptyStringC;
349
+ signature: import("io-ts-types").NonEmptyStringC;
350
+ }>;
315
351
  }>]>;
316
352
  ovc: t.TypeC<{
317
353
  1: t.TypeC<{
@@ -346,12 +382,15 @@ export declare const PlatformRound2Payload: t.TypeC<{
346
382
  sessionId: import("io-ts-types").NonEmptyStringC;
347
383
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
348
384
  payload: t.TypeC<{
349
- message: t.StringC;
350
- signature: t.StringC;
385
+ message: import("io-ts-types").NonEmptyStringC;
386
+ signature: import("io-ts-types").NonEmptyStringC;
351
387
  }>;
352
388
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
353
389
  }>, t.PartialC<{
354
- signatureR: t.StringC;
390
+ signatureR: t.TypeC<{
391
+ message: import("io-ts-types").NonEmptyStringC;
392
+ signature: import("io-ts-types").NonEmptyStringC;
393
+ }>;
355
394
  }>]>;
356
395
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
357
396
  ovc: t.TypeC<{
@@ -413,12 +452,15 @@ export declare const BitgoToOVC1Round2Response: t.TypeC<{
413
452
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
414
453
  ovcMsg1: t.IntersectionC<[t.TypeC<{
415
454
  payload: t.TypeC<{
416
- message: t.StringC;
417
- signature: t.StringC;
455
+ message: import("io-ts-types").NonEmptyStringC;
456
+ signature: import("io-ts-types").NonEmptyStringC;
418
457
  }>;
419
458
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
420
459
  }>, t.PartialC<{
421
- signatureR: t.StringC;
460
+ signatureR: t.TypeC<{
461
+ message: import("io-ts-types").NonEmptyStringC;
462
+ signature: import("io-ts-types").NonEmptyStringC;
463
+ }>;
422
464
  }>]>;
423
465
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
424
466
  payload: t.TypeC<{
@@ -445,12 +487,15 @@ export declare const BitgoToOVC1Round2Response: t.TypeC<{
445
487
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
446
488
  ovcMsg1: t.IntersectionC<[t.TypeC<{
447
489
  payload: t.TypeC<{
448
- message: t.StringC;
449
- signature: t.StringC;
490
+ message: import("io-ts-types").NonEmptyStringC;
491
+ signature: import("io-ts-types").NonEmptyStringC;
450
492
  }>;
451
493
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
452
494
  }>, t.PartialC<{
453
- signatureR: t.StringC;
495
+ signatureR: t.TypeC<{
496
+ message: import("io-ts-types").NonEmptyStringC;
497
+ signature: import("io-ts-types").NonEmptyStringC;
498
+ }>;
454
499
  }>]>;
455
500
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
456
501
  payload: t.TypeC<{
@@ -479,12 +524,15 @@ export declare const BitgoToOVC1Round2Response: t.TypeC<{
479
524
  sessionId: import("io-ts-types").NonEmptyStringC;
480
525
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
481
526
  payload: t.TypeC<{
482
- message: t.StringC;
483
- signature: t.StringC;
527
+ message: import("io-ts-types").NonEmptyStringC;
528
+ signature: import("io-ts-types").NonEmptyStringC;
484
529
  }>;
485
530
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
486
531
  }>, t.PartialC<{
487
- signatureR: t.StringC;
532
+ signatureR: t.TypeC<{
533
+ message: import("io-ts-types").NonEmptyStringC;
534
+ signature: import("io-ts-types").NonEmptyStringC;
535
+ }>;
488
536
  }>]>;
489
537
  ovc: t.TypeC<{
490
538
  1: t.TypeC<{
@@ -518,12 +566,15 @@ export declare const BitgoToOVC1Round2Response: t.TypeC<{
518
566
  sessionId: import("io-ts-types").NonEmptyStringC;
519
567
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
520
568
  payload: t.TypeC<{
521
- message: t.StringC;
522
- signature: t.StringC;
569
+ message: import("io-ts-types").NonEmptyStringC;
570
+ signature: import("io-ts-types").NonEmptyStringC;
523
571
  }>;
524
572
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
525
573
  }>, t.PartialC<{
526
- signatureR: t.StringC;
574
+ signatureR: t.TypeC<{
575
+ message: import("io-ts-types").NonEmptyStringC;
576
+ signature: import("io-ts-types").NonEmptyStringC;
577
+ }>;
527
578
  }>]>;
528
579
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
529
580
  ovc: t.TypeC<{
@@ -587,12 +638,15 @@ export declare const OVC1ToOVC2Round3Payload: t.IntersectionC<[t.TypeC<{
587
638
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
588
639
  ovcMsg1: t.IntersectionC<[t.TypeC<{
589
640
  payload: t.TypeC<{
590
- message: t.StringC;
591
- signature: t.StringC;
641
+ message: import("io-ts-types").NonEmptyStringC;
642
+ signature: import("io-ts-types").NonEmptyStringC;
592
643
  }>;
593
644
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
594
645
  }>, t.PartialC<{
595
- signatureR: t.StringC;
646
+ signatureR: t.TypeC<{
647
+ message: import("io-ts-types").NonEmptyStringC;
648
+ signature: import("io-ts-types").NonEmptyStringC;
649
+ }>;
596
650
  }>]>;
597
651
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
598
652
  payload: t.TypeC<{
@@ -639,12 +693,15 @@ export declare const OVC1ToOVC2Round3Payload: t.IntersectionC<[t.TypeC<{
639
693
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
640
694
  ovcMsg1: t.IntersectionC<[t.TypeC<{
641
695
  payload: t.TypeC<{
642
- message: t.StringC;
643
- signature: t.StringC;
696
+ message: import("io-ts-types").NonEmptyStringC;
697
+ signature: import("io-ts-types").NonEmptyStringC;
644
698
  }>;
645
699
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
646
700
  }>, t.PartialC<{
647
- signatureR: t.StringC;
701
+ signatureR: t.TypeC<{
702
+ message: import("io-ts-types").NonEmptyStringC;
703
+ signature: import("io-ts-types").NonEmptyStringC;
704
+ }>;
648
705
  }>]>;
649
706
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
650
707
  payload: t.TypeC<{
@@ -672,12 +729,15 @@ export declare const OVC1ToOVC2Round3Payload: t.IntersectionC<[t.TypeC<{
672
729
  sessionId: import("io-ts-types").NonEmptyStringC;
673
730
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
674
731
  payload: t.TypeC<{
675
- message: t.StringC;
676
- signature: t.StringC;
732
+ message: import("io-ts-types").NonEmptyStringC;
733
+ signature: import("io-ts-types").NonEmptyStringC;
677
734
  }>;
678
735
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
679
736
  }>, t.PartialC<{
680
- signatureR: t.StringC;
737
+ signatureR: t.TypeC<{
738
+ message: import("io-ts-types").NonEmptyStringC;
739
+ signature: import("io-ts-types").NonEmptyStringC;
740
+ }>;
681
741
  }>]>;
682
742
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
683
743
  ovc: t.TypeC<{
@@ -740,12 +800,15 @@ export declare const OVC2ToOVC1Round3Payload: t.IntersectionC<[t.TypeC<{
740
800
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
741
801
  ovcMsg1: t.IntersectionC<[t.TypeC<{
742
802
  payload: t.TypeC<{
743
- message: t.StringC;
744
- signature: t.StringC;
803
+ message: import("io-ts-types").NonEmptyStringC;
804
+ signature: import("io-ts-types").NonEmptyStringC;
745
805
  }>;
746
806
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
747
807
  }>, t.PartialC<{
748
- signatureR: t.StringC;
808
+ signatureR: t.TypeC<{
809
+ message: import("io-ts-types").NonEmptyStringC;
810
+ signature: import("io-ts-types").NonEmptyStringC;
811
+ }>;
749
812
  }>]>;
750
813
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
751
814
  payload: t.TypeC<{
@@ -792,12 +855,15 @@ export declare const OVC2ToOVC1Round3Payload: t.IntersectionC<[t.TypeC<{
792
855
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
793
856
  ovcMsg1: t.IntersectionC<[t.TypeC<{
794
857
  payload: t.TypeC<{
795
- message: t.StringC;
796
- signature: t.StringC;
858
+ message: import("io-ts-types").NonEmptyStringC;
859
+ signature: import("io-ts-types").NonEmptyStringC;
797
860
  }>;
798
861
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
799
862
  }>, t.PartialC<{
800
- signatureR: t.StringC;
863
+ signatureR: t.TypeC<{
864
+ message: import("io-ts-types").NonEmptyStringC;
865
+ signature: import("io-ts-types").NonEmptyStringC;
866
+ }>;
801
867
  }>]>;
802
868
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
803
869
  payload: t.TypeC<{
@@ -841,12 +907,15 @@ export declare const OVC2ToOVC1Round3Payload: t.IntersectionC<[t.TypeC<{
841
907
  }>]>;
842
908
  ovcMsg4: t.IntersectionC<[t.TypeC<{
843
909
  payload: t.TypeC<{
844
- message: t.StringC;
845
- signature: t.StringC;
910
+ message: import("io-ts-types").NonEmptyStringC;
911
+ signature: import("io-ts-types").NonEmptyStringC;
846
912
  }>;
847
913
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
848
914
  }>, t.PartialC<{
849
- signatureR: t.StringC;
915
+ signatureR: t.TypeC<{
916
+ message: import("io-ts-types").NonEmptyStringC;
917
+ signature: import("io-ts-types").NonEmptyStringC;
918
+ }>;
850
919
  }>]>;
851
920
  }>;
852
921
  }>;
@@ -854,12 +923,15 @@ export declare const OVC2ToOVC1Round3Payload: t.IntersectionC<[t.TypeC<{
854
923
  sessionId: import("io-ts-types").NonEmptyStringC;
855
924
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
856
925
  payload: t.TypeC<{
857
- message: t.StringC;
858
- signature: t.StringC;
926
+ message: import("io-ts-types").NonEmptyStringC;
927
+ signature: import("io-ts-types").NonEmptyStringC;
859
928
  }>;
860
929
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
861
930
  }>, t.PartialC<{
862
- signatureR: t.StringC;
931
+ signatureR: t.TypeC<{
932
+ message: import("io-ts-types").NonEmptyStringC;
933
+ signature: import("io-ts-types").NonEmptyStringC;
934
+ }>;
863
935
  }>]>;
864
936
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
865
937
  ovc: t.TypeC<{
@@ -922,12 +994,15 @@ export declare const OVC1ToBitgoRound3Payload: t.IntersectionC<[t.TypeC<{
922
994
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
923
995
  ovcMsg1: t.IntersectionC<[t.TypeC<{
924
996
  payload: t.TypeC<{
925
- message: t.StringC;
926
- signature: t.StringC;
997
+ message: import("io-ts-types").NonEmptyStringC;
998
+ signature: import("io-ts-types").NonEmptyStringC;
927
999
  }>;
928
1000
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
929
1001
  }>, t.PartialC<{
930
- signatureR: t.StringC;
1002
+ signatureR: t.TypeC<{
1003
+ message: import("io-ts-types").NonEmptyStringC;
1004
+ signature: import("io-ts-types").NonEmptyStringC;
1005
+ }>;
931
1006
  }>]>;
932
1007
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
933
1008
  payload: t.TypeC<{
@@ -971,24 +1046,30 @@ export declare const OVC1ToBitgoRound3Payload: t.IntersectionC<[t.TypeC<{
971
1046
  }>]>;
972
1047
  ovcMsg4: t.IntersectionC<[t.TypeC<{
973
1048
  payload: t.TypeC<{
974
- message: t.StringC;
975
- signature: t.StringC;
1049
+ message: import("io-ts-types").NonEmptyStringC;
1050
+ signature: import("io-ts-types").NonEmptyStringC;
976
1051
  }>;
977
1052
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
978
1053
  }>, t.PartialC<{
979
- signatureR: t.StringC;
1054
+ signatureR: t.TypeC<{
1055
+ message: import("io-ts-types").NonEmptyStringC;
1056
+ signature: import("io-ts-types").NonEmptyStringC;
1057
+ }>;
980
1058
  }>]>;
981
1059
  }>;
982
1060
  2: t.TypeC<{
983
1061
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
984
1062
  ovcMsg1: t.IntersectionC<[t.TypeC<{
985
1063
  payload: t.TypeC<{
986
- message: t.StringC;
987
- signature: t.StringC;
1064
+ message: import("io-ts-types").NonEmptyStringC;
1065
+ signature: import("io-ts-types").NonEmptyStringC;
988
1066
  }>;
989
1067
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
990
1068
  }>, t.PartialC<{
991
- signatureR: t.StringC;
1069
+ signatureR: t.TypeC<{
1070
+ message: import("io-ts-types").NonEmptyStringC;
1071
+ signature: import("io-ts-types").NonEmptyStringC;
1072
+ }>;
992
1073
  }>]>;
993
1074
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
994
1075
  payload: t.TypeC<{
@@ -1032,12 +1113,15 @@ export declare const OVC1ToBitgoRound3Payload: t.IntersectionC<[t.TypeC<{
1032
1113
  }>]>;
1033
1114
  ovcMsg4: t.IntersectionC<[t.TypeC<{
1034
1115
  payload: t.TypeC<{
1035
- message: t.StringC;
1036
- signature: t.StringC;
1116
+ message: import("io-ts-types").NonEmptyStringC;
1117
+ signature: import("io-ts-types").NonEmptyStringC;
1037
1118
  }>;
1038
1119
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1039
1120
  }>, t.PartialC<{
1040
- signatureR: t.StringC;
1121
+ signatureR: t.TypeC<{
1122
+ message: import("io-ts-types").NonEmptyStringC;
1123
+ signature: import("io-ts-types").NonEmptyStringC;
1124
+ }>;
1041
1125
  }>]>;
1042
1126
  }>;
1043
1127
  }>;
@@ -1045,12 +1129,15 @@ export declare const OVC1ToBitgoRound3Payload: t.IntersectionC<[t.TypeC<{
1045
1129
  sessionId: import("io-ts-types").NonEmptyStringC;
1046
1130
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
1047
1131
  payload: t.TypeC<{
1048
- message: t.StringC;
1049
- signature: t.StringC;
1132
+ message: import("io-ts-types").NonEmptyStringC;
1133
+ signature: import("io-ts-types").NonEmptyStringC;
1050
1134
  }>;
1051
1135
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1052
1136
  }>, t.PartialC<{
1053
- signatureR: t.StringC;
1137
+ signatureR: t.TypeC<{
1138
+ message: import("io-ts-types").NonEmptyStringC;
1139
+ signature: import("io-ts-types").NonEmptyStringC;
1140
+ }>;
1054
1141
  }>]>;
1055
1142
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
1056
1143
  ovc: t.TypeC<{
@@ -1106,12 +1193,15 @@ export declare const PlatformRound3Payload: t.IntersectionC<[t.TypeC<{
1106
1193
  sessionId: import("io-ts-types").NonEmptyStringC;
1107
1194
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
1108
1195
  payload: t.TypeC<{
1109
- message: t.StringC;
1110
- signature: t.StringC;
1196
+ message: import("io-ts-types").NonEmptyStringC;
1197
+ signature: import("io-ts-types").NonEmptyStringC;
1111
1198
  }>;
1112
1199
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1113
1200
  }>, t.PartialC<{
1114
- signatureR: t.StringC;
1201
+ signatureR: t.TypeC<{
1202
+ message: import("io-ts-types").NonEmptyStringC;
1203
+ signature: import("io-ts-types").NonEmptyStringC;
1204
+ }>;
1115
1205
  }>]>;
1116
1206
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
1117
1207
  ovc: t.TypeC<{
@@ -1164,12 +1254,15 @@ export declare const PlatformRound3Payload: t.IntersectionC<[t.TypeC<{
1164
1254
  commonKeychain: import("io-ts-types").NonEmptyStringC;
1165
1255
  bitgoMsg4: t.IntersectionC<[t.TypeC<{
1166
1256
  payload: t.TypeC<{
1167
- message: t.StringC;
1168
- signature: t.StringC;
1257
+ message: import("io-ts-types").NonEmptyStringC;
1258
+ signature: import("io-ts-types").NonEmptyStringC;
1169
1259
  }>;
1170
1260
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1171
1261
  }>, t.PartialC<{
1172
- signatureR: t.StringC;
1262
+ signatureR: t.TypeC<{
1263
+ message: import("io-ts-types").NonEmptyStringC;
1264
+ signature: import("io-ts-types").NonEmptyStringC;
1265
+ }>;
1173
1266
  }>]>;
1174
1267
  }>]>;
1175
1268
  export type PlatformRound3Payload = t.TypeOf<typeof PlatformRound3Payload>;
@@ -1186,12 +1279,15 @@ export declare const BitgoToOVC1Round3Response: t.TypeC<{
1186
1279
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
1187
1280
  ovcMsg1: t.IntersectionC<[t.TypeC<{
1188
1281
  payload: t.TypeC<{
1189
- message: t.StringC;
1190
- signature: t.StringC;
1282
+ message: import("io-ts-types").NonEmptyStringC;
1283
+ signature: import("io-ts-types").NonEmptyStringC;
1191
1284
  }>;
1192
1285
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1193
1286
  }>, t.PartialC<{
1194
- signatureR: t.StringC;
1287
+ signatureR: t.TypeC<{
1288
+ message: import("io-ts-types").NonEmptyStringC;
1289
+ signature: import("io-ts-types").NonEmptyStringC;
1290
+ }>;
1195
1291
  }>]>;
1196
1292
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
1197
1293
  payload: t.TypeC<{
@@ -1235,24 +1331,30 @@ export declare const BitgoToOVC1Round3Response: t.TypeC<{
1235
1331
  }>]>;
1236
1332
  ovcMsg4: t.IntersectionC<[t.TypeC<{
1237
1333
  payload: t.TypeC<{
1238
- message: t.StringC;
1239
- signature: t.StringC;
1334
+ message: import("io-ts-types").NonEmptyStringC;
1335
+ signature: import("io-ts-types").NonEmptyStringC;
1240
1336
  }>;
1241
1337
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1242
1338
  }>, t.PartialC<{
1243
- signatureR: t.StringC;
1339
+ signatureR: t.TypeC<{
1340
+ message: import("io-ts-types").NonEmptyStringC;
1341
+ signature: import("io-ts-types").NonEmptyStringC;
1342
+ }>;
1244
1343
  }>]>;
1245
1344
  }>;
1246
1345
  2: t.TypeC<{
1247
1346
  gpgPubKey: import("io-ts-types").NonEmptyStringC;
1248
1347
  ovcMsg1: t.IntersectionC<[t.TypeC<{
1249
1348
  payload: t.TypeC<{
1250
- message: t.StringC;
1251
- signature: t.StringC;
1349
+ message: import("io-ts-types").NonEmptyStringC;
1350
+ signature: import("io-ts-types").NonEmptyStringC;
1252
1351
  }>;
1253
1352
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1254
1353
  }>, t.PartialC<{
1255
- signatureR: t.StringC;
1354
+ signatureR: t.TypeC<{
1355
+ message: import("io-ts-types").NonEmptyStringC;
1356
+ signature: import("io-ts-types").NonEmptyStringC;
1357
+ }>;
1256
1358
  }>]>;
1257
1359
  ovcToBitgoMsg2: t.IntersectionC<[t.TypeC<{
1258
1360
  payload: t.TypeC<{
@@ -1296,12 +1398,15 @@ export declare const BitgoToOVC1Round3Response: t.TypeC<{
1296
1398
  }>]>;
1297
1399
  ovcMsg4: t.IntersectionC<[t.TypeC<{
1298
1400
  payload: t.TypeC<{
1299
- message: t.StringC;
1300
- signature: t.StringC;
1401
+ message: import("io-ts-types").NonEmptyStringC;
1402
+ signature: import("io-ts-types").NonEmptyStringC;
1301
1403
  }>;
1302
1404
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1303
1405
  }>, t.PartialC<{
1304
- signatureR: t.StringC;
1406
+ signatureR: t.TypeC<{
1407
+ message: import("io-ts-types").NonEmptyStringC;
1408
+ signature: import("io-ts-types").NonEmptyStringC;
1409
+ }>;
1305
1410
  }>]>;
1306
1411
  }>;
1307
1412
  }>;
@@ -1309,12 +1414,15 @@ export declare const BitgoToOVC1Round3Response: t.TypeC<{
1309
1414
  sessionId: import("io-ts-types").NonEmptyStringC;
1310
1415
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
1311
1416
  payload: t.TypeC<{
1312
- message: t.StringC;
1313
- signature: t.StringC;
1417
+ message: import("io-ts-types").NonEmptyStringC;
1418
+ signature: import("io-ts-types").NonEmptyStringC;
1314
1419
  }>;
1315
1420
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1316
1421
  }>, t.PartialC<{
1317
- signatureR: t.StringC;
1422
+ signatureR: t.TypeC<{
1423
+ message: import("io-ts-types").NonEmptyStringC;
1424
+ signature: import("io-ts-types").NonEmptyStringC;
1425
+ }>;
1318
1426
  }>]>;
1319
1427
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
1320
1428
  ovc: t.TypeC<{
@@ -1369,12 +1477,15 @@ export declare const BitgoToOVC1Round3Response: t.TypeC<{
1369
1477
  sessionId: import("io-ts-types").NonEmptyStringC;
1370
1478
  bitgoMsg1: t.IntersectionC<[t.TypeC<{
1371
1479
  payload: t.TypeC<{
1372
- message: t.StringC;
1373
- signature: t.StringC;
1480
+ message: import("io-ts-types").NonEmptyStringC;
1481
+ signature: import("io-ts-types").NonEmptyStringC;
1374
1482
  }>;
1375
1483
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1376
1484
  }>, t.PartialC<{
1377
- signatureR: t.StringC;
1485
+ signatureR: t.TypeC<{
1486
+ message: import("io-ts-types").NonEmptyStringC;
1487
+ signature: import("io-ts-types").NonEmptyStringC;
1488
+ }>;
1378
1489
  }>]>;
1379
1490
  bitgoCommitment2: import("io-ts-types").NonEmptyStringC;
1380
1491
  ovc: t.TypeC<{
@@ -1427,12 +1538,15 @@ export declare const BitgoToOVC1Round3Response: t.TypeC<{
1427
1538
  commonKeychain: import("io-ts-types").NonEmptyStringC;
1428
1539
  bitgoMsg4: t.IntersectionC<[t.TypeC<{
1429
1540
  payload: t.TypeC<{
1430
- message: t.StringC;
1431
- signature: t.StringC;
1541
+ message: import("io-ts-types").NonEmptyStringC;
1542
+ signature: import("io-ts-types").NonEmptyStringC;
1432
1543
  }>;
1433
1544
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
1434
1545
  }>, t.PartialC<{
1435
- signatureR: t.StringC;
1546
+ signatureR: t.TypeC<{
1547
+ message: import("io-ts-types").NonEmptyStringC;
1548
+ signature: import("io-ts-types").NonEmptyStringC;
1549
+ }>;
1436
1550
  }>]>;
1437
1551
  }>]>;
1438
1552
  }>]>;
@@ -1,11 +1,14 @@
1
1
  import * as t from "io-ts";
2
2
  export declare const AuthBroadcastMessage: t.IntersectionC<[t.TypeC<{
3
3
  payload: t.TypeC<{
4
- message: t.StringC;
5
- signature: t.StringC;
4
+ message: import("io-ts-types").NonEmptyStringC;
5
+ signature: import("io-ts-types").NonEmptyStringC;
6
6
  }>;
7
7
  from: t.UnionC<[t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>, t.Type<0 | 2 | 1, string, unknown>]>;
8
8
  }>, t.PartialC<{
9
- signatureR: t.StringC;
9
+ signatureR: t.TypeC<{
10
+ message: import("io-ts-types").NonEmptyStringC;
11
+ signature: import("io-ts-types").NonEmptyStringC;
12
+ }>;
10
13
  }>]>;
11
14
  export type AuthBroadcastMessage = t.TypeOf<typeof AuthBroadcastMessage>;
@@ -25,10 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.AuthBroadcastMessage = void 0;
27
27
  const t = __importStar(require("io-ts"));
28
+ const io_ts_types_1 = require("io-ts-types");
28
29
  const common_1 = require("../../common");
29
30
  const AuthMessage = t.type({
30
- message: t.string,
31
- signature: t.string,
31
+ message: io_ts_types_1.NonEmptyString,
32
+ signature: io_ts_types_1.NonEmptyString,
32
33
  });
33
34
  exports.AuthBroadcastMessage = t.intersection([
34
35
  t.type({
@@ -36,7 +37,7 @@ exports.AuthBroadcastMessage = t.intersection([
36
37
  from: common_1.MPCv2PartyFromStringOrNumber,
37
38
  }),
38
39
  t.partial({
39
- signatureR: t.string,
40
+ signatureR: AuthMessage,
40
41
  }),
41
42
  ]);
42
43
  //# sourceMappingURL=broadcast.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"broadcast.js","sourceRoot":"","sources":["../../../../../../src/schema/mpcv2/smc/messages/broadcast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,yCAA4D;AAE5D,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC;IACzB,OAAO,EAAE,CAAC,CAAC,MAAM;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM;CACpB,CAAC,CAAC;AAIU,QAAA,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC;IACjD,CAAC,CAAC,IAAI,CAAC;QACL,OAAO,EAAE,WAAW;QACpB,IAAI,EAAE,qCAA4B;KACnC,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,CAAC,CAAC,MAAM;KACrB,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"broadcast.js","sourceRoot":"","sources":["../../../../../../src/schema/mpcv2/smc/messages/broadcast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA6C;AAE7C,yCAA4D;AAE5D,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC;IACzB,OAAO,EAAE,4BAAc;IACvB,SAAS,EAAE,4BAAc;CAC1B,CAAC,CAAC;AAIU,QAAA,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC;IACjD,CAAC,CAAC,IAAI,CAAC;QACL,OAAO,EAAE,WAAW;QACpB,IAAI,EAAE,qCAA4B;KACnC,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,UAAU,EAAE,WAAW;KACxB,CAAC;CACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "2.33.0",
3
+ "version": "2.33.1",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -1,10 +1,11 @@
1
1
  import * as t from "io-ts";
2
+ import { NonEmptyString } from "io-ts-types";
2
3
 
3
4
  import { MPCv2PartyFromStringOrNumber } from "../../common";
4
5
 
5
6
  const AuthMessage = t.type({
6
- message: t.string,
7
- signature: t.string,
7
+ message: NonEmptyString,
8
+ signature: NonEmptyString,
8
9
  });
9
10
 
10
11
  type AuthMessage = t.TypeOf<typeof AuthMessage>;
@@ -15,7 +16,7 @@ export const AuthBroadcastMessage = t.intersection([
15
16
  from: MPCv2PartyFromStringOrNumber,
16
17
  }),
17
18
  t.partial({
18
- signatureR: t.string,
19
+ signatureR: AuthMessage,
19
20
  }),
20
21
  ]);
21
22