@fogo/sessions-sdk 0.0.25 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/connection.js +2 -2
- package/cjs/index.d.ts +1008 -92
- package/cjs/index.js +66 -27
- package/esm/connection.js +2 -2
- package/esm/index.d.ts +1008 -92
- package/esm/index.js +66 -27
- package/package.json +7 -2
package/cjs/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export declare const getSessionAccount: (connection: Connection, sessionPublicKe
|
|
|
54
54
|
expiration: Date;
|
|
55
55
|
extra: unknown;
|
|
56
56
|
major: number;
|
|
57
|
-
minor: 1 | 2 | 3;
|
|
57
|
+
minor: 1 | 2 | 3 | 4;
|
|
58
58
|
user: PublicKey;
|
|
59
59
|
sponsor: PublicKey;
|
|
60
60
|
} | undefined>;
|
|
@@ -129,6 +129,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
129
129
|
}>;
|
|
130
130
|
user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
user: PublicKey;
|
|
133
|
+
expiration: BN;
|
|
132
134
|
authorized_programs: {
|
|
133
135
|
Specific: {
|
|
134
136
|
0: {
|
|
@@ -144,12 +146,12 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
144
146
|
} | {
|
|
145
147
|
All: {};
|
|
146
148
|
};
|
|
147
|
-
expiration: BN;
|
|
148
149
|
extra: {
|
|
149
150
|
0?: unknown;
|
|
150
151
|
};
|
|
151
|
-
user: PublicKey;
|
|
152
152
|
}, {
|
|
153
|
+
user: PublicKey;
|
|
154
|
+
expiration: BN;
|
|
153
155
|
authorized_programs: {
|
|
154
156
|
Specific: {
|
|
155
157
|
0: {
|
|
@@ -165,14 +167,14 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
165
167
|
} | {
|
|
166
168
|
All: {};
|
|
167
169
|
};
|
|
168
|
-
expiration: BN;
|
|
169
170
|
extra: {
|
|
170
171
|
0?: unknown;
|
|
171
172
|
};
|
|
172
|
-
user: PublicKey;
|
|
173
173
|
}>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
175
|
"0": {
|
|
176
|
+
user: PublicKey;
|
|
177
|
+
expiration: BN;
|
|
176
178
|
authorized_programs: {
|
|
177
179
|
Specific: {
|
|
178
180
|
0: {
|
|
@@ -188,14 +190,14 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
188
190
|
} | {
|
|
189
191
|
All: {};
|
|
190
192
|
};
|
|
191
|
-
expiration: BN;
|
|
192
193
|
extra: {
|
|
193
194
|
0?: unknown;
|
|
194
195
|
};
|
|
195
|
-
user: PublicKey;
|
|
196
196
|
};
|
|
197
197
|
}, {
|
|
198
198
|
"0": {
|
|
199
|
+
user: PublicKey;
|
|
200
|
+
expiration: BN;
|
|
199
201
|
authorized_programs: {
|
|
200
202
|
Specific: {
|
|
201
203
|
0: {
|
|
@@ -211,16 +213,16 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
211
213
|
} | {
|
|
212
214
|
All: {};
|
|
213
215
|
};
|
|
214
|
-
expiration: BN;
|
|
215
216
|
extra: {
|
|
216
217
|
0?: unknown;
|
|
217
218
|
};
|
|
218
|
-
user: PublicKey;
|
|
219
219
|
};
|
|
220
220
|
}>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
V1: {
|
|
223
223
|
"0": {
|
|
224
|
+
user: PublicKey;
|
|
225
|
+
expiration: BN;
|
|
224
226
|
authorized_programs: {
|
|
225
227
|
Specific: {
|
|
226
228
|
0: {
|
|
@@ -236,16 +238,16 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
236
238
|
} | {
|
|
237
239
|
All: {};
|
|
238
240
|
};
|
|
239
|
-
expiration: BN;
|
|
240
241
|
extra: {
|
|
241
242
|
0?: unknown;
|
|
242
243
|
};
|
|
243
|
-
user: PublicKey;
|
|
244
244
|
};
|
|
245
245
|
};
|
|
246
246
|
}, {
|
|
247
247
|
V1: {
|
|
248
248
|
"0": {
|
|
249
|
+
user: PublicKey;
|
|
250
|
+
expiration: BN;
|
|
249
251
|
authorized_programs: {
|
|
250
252
|
Specific: {
|
|
251
253
|
0: {
|
|
@@ -261,11 +263,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
261
263
|
} | {
|
|
262
264
|
All: {};
|
|
263
265
|
};
|
|
264
|
-
expiration: BN;
|
|
265
266
|
extra: {
|
|
266
267
|
0?: unknown;
|
|
267
268
|
};
|
|
268
|
-
user: PublicKey;
|
|
269
269
|
};
|
|
270
270
|
};
|
|
271
271
|
}>, z.ZodObject<{
|
|
@@ -346,6 +346,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
346
346
|
}>;
|
|
347
347
|
user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
user: PublicKey;
|
|
350
|
+
expiration: BN;
|
|
349
351
|
authorized_programs: {
|
|
350
352
|
Specific: {
|
|
351
353
|
0: {
|
|
@@ -361,12 +363,12 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
361
363
|
} | {
|
|
362
364
|
All: {};
|
|
363
365
|
};
|
|
364
|
-
expiration: BN;
|
|
365
366
|
extra: {
|
|
366
367
|
0?: unknown;
|
|
367
368
|
};
|
|
368
|
-
user: PublicKey;
|
|
369
369
|
}, {
|
|
370
|
+
user: PublicKey;
|
|
371
|
+
expiration: BN;
|
|
370
372
|
authorized_programs: {
|
|
371
373
|
Specific: {
|
|
372
374
|
0: {
|
|
@@ -382,14 +384,14 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
382
384
|
} | {
|
|
383
385
|
All: {};
|
|
384
386
|
};
|
|
385
|
-
expiration: BN;
|
|
386
387
|
extra: {
|
|
387
388
|
0?: unknown;
|
|
388
389
|
};
|
|
389
|
-
user: PublicKey;
|
|
390
390
|
}>;
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
392
392
|
"0": {
|
|
393
|
+
user: PublicKey;
|
|
394
|
+
expiration: BN;
|
|
393
395
|
authorized_programs: {
|
|
394
396
|
Specific: {
|
|
395
397
|
0: {
|
|
@@ -405,14 +407,14 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
405
407
|
} | {
|
|
406
408
|
All: {};
|
|
407
409
|
};
|
|
408
|
-
expiration: BN;
|
|
409
410
|
extra: {
|
|
410
411
|
0?: unknown;
|
|
411
412
|
};
|
|
412
|
-
user: PublicKey;
|
|
413
413
|
};
|
|
414
414
|
}, {
|
|
415
415
|
"0": {
|
|
416
|
+
user: PublicKey;
|
|
417
|
+
expiration: BN;
|
|
416
418
|
authorized_programs: {
|
|
417
419
|
Specific: {
|
|
418
420
|
0: {
|
|
@@ -428,16 +430,16 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
428
430
|
} | {
|
|
429
431
|
All: {};
|
|
430
432
|
};
|
|
431
|
-
expiration: BN;
|
|
432
433
|
extra: {
|
|
433
434
|
0?: unknown;
|
|
434
435
|
};
|
|
435
|
-
user: PublicKey;
|
|
436
436
|
};
|
|
437
437
|
}>;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
439
|
Active: {
|
|
440
440
|
"0": {
|
|
441
|
+
user: PublicKey;
|
|
442
|
+
expiration: BN;
|
|
441
443
|
authorized_programs: {
|
|
442
444
|
Specific: {
|
|
443
445
|
0: {
|
|
@@ -453,16 +455,16 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
453
455
|
} | {
|
|
454
456
|
All: {};
|
|
455
457
|
};
|
|
456
|
-
expiration: BN;
|
|
457
458
|
extra: {
|
|
458
459
|
0?: unknown;
|
|
459
460
|
};
|
|
460
|
-
user: PublicKey;
|
|
461
461
|
};
|
|
462
462
|
};
|
|
463
463
|
}, {
|
|
464
464
|
Active: {
|
|
465
465
|
"0": {
|
|
466
|
+
user: PublicKey;
|
|
467
|
+
expiration: BN;
|
|
466
468
|
authorized_programs: {
|
|
467
469
|
Specific: {
|
|
468
470
|
0: {
|
|
@@ -478,11 +480,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
478
480
|
} | {
|
|
479
481
|
All: {};
|
|
480
482
|
};
|
|
481
|
-
expiration: BN;
|
|
482
483
|
extra: {
|
|
483
484
|
0?: unknown;
|
|
484
485
|
};
|
|
485
|
-
user: PublicKey;
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
488
|
}>]>;
|
|
@@ -492,6 +492,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
492
492
|
} | {
|
|
493
493
|
Active: {
|
|
494
494
|
"0": {
|
|
495
|
+
user: PublicKey;
|
|
496
|
+
expiration: BN;
|
|
495
497
|
authorized_programs: {
|
|
496
498
|
Specific: {
|
|
497
499
|
0: {
|
|
@@ -507,11 +509,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
507
509
|
} | {
|
|
508
510
|
All: {};
|
|
509
511
|
};
|
|
510
|
-
expiration: BN;
|
|
511
512
|
extra: {
|
|
512
513
|
0?: unknown;
|
|
513
514
|
};
|
|
514
|
-
user: PublicKey;
|
|
515
515
|
};
|
|
516
516
|
};
|
|
517
517
|
};
|
|
@@ -521,6 +521,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
521
521
|
} | {
|
|
522
522
|
Active: {
|
|
523
523
|
"0": {
|
|
524
|
+
user: PublicKey;
|
|
525
|
+
expiration: BN;
|
|
524
526
|
authorized_programs: {
|
|
525
527
|
Specific: {
|
|
526
528
|
0: {
|
|
@@ -536,11 +538,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
536
538
|
} | {
|
|
537
539
|
All: {};
|
|
538
540
|
};
|
|
539
|
-
expiration: BN;
|
|
540
541
|
extra: {
|
|
541
542
|
0?: unknown;
|
|
542
543
|
};
|
|
543
|
-
user: PublicKey;
|
|
544
544
|
};
|
|
545
545
|
};
|
|
546
546
|
};
|
|
@@ -552,6 +552,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
552
552
|
} | {
|
|
553
553
|
Active: {
|
|
554
554
|
"0": {
|
|
555
|
+
user: PublicKey;
|
|
556
|
+
expiration: BN;
|
|
555
557
|
authorized_programs: {
|
|
556
558
|
Specific: {
|
|
557
559
|
0: {
|
|
@@ -567,11 +569,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
567
569
|
} | {
|
|
568
570
|
All: {};
|
|
569
571
|
};
|
|
570
|
-
expiration: BN;
|
|
571
572
|
extra: {
|
|
572
573
|
0?: unknown;
|
|
573
574
|
};
|
|
574
|
-
user: PublicKey;
|
|
575
575
|
};
|
|
576
576
|
};
|
|
577
577
|
};
|
|
@@ -583,6 +583,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
583
583
|
} | {
|
|
584
584
|
Active: {
|
|
585
585
|
"0": {
|
|
586
|
+
user: PublicKey;
|
|
587
|
+
expiration: BN;
|
|
586
588
|
authorized_programs: {
|
|
587
589
|
Specific: {
|
|
588
590
|
0: {
|
|
@@ -598,11 +600,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
598
600
|
} | {
|
|
599
601
|
All: {};
|
|
600
602
|
};
|
|
601
|
-
expiration: BN;
|
|
602
603
|
extra: {
|
|
603
604
|
0?: unknown;
|
|
604
605
|
};
|
|
605
|
-
user: PublicKey;
|
|
606
606
|
};
|
|
607
607
|
};
|
|
608
608
|
};
|
|
@@ -610,11 +610,107 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
610
610
|
}>, z.ZodObject<{
|
|
611
611
|
V3: z.ZodObject<{
|
|
612
612
|
"0": z.ZodUnion<[z.ZodObject<{
|
|
613
|
-
Revoked: z.
|
|
613
|
+
Revoked: z.ZodObject<{
|
|
614
|
+
"0": z.ZodObject<{
|
|
615
|
+
user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
616
|
+
expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
|
|
617
|
+
authorized_tokens_with_mints: z.ZodUnion<[z.ZodObject<{
|
|
618
|
+
Specific: z.ZodObject<{
|
|
619
|
+
"0": z.ZodArray<z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>, "many">;
|
|
620
|
+
}, "strip", z.ZodTypeAny, {
|
|
621
|
+
"0": PublicKey[];
|
|
622
|
+
}, {
|
|
623
|
+
"0": PublicKey[];
|
|
624
|
+
}>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
Specific: {
|
|
627
|
+
"0": PublicKey[];
|
|
628
|
+
};
|
|
629
|
+
}, {
|
|
630
|
+
Specific: {
|
|
631
|
+
"0": PublicKey[];
|
|
632
|
+
};
|
|
633
|
+
}>, z.ZodObject<{
|
|
634
|
+
All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
635
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
All: {};
|
|
637
|
+
}, {
|
|
638
|
+
All: {};
|
|
639
|
+
}>]>;
|
|
640
|
+
}, "strip", z.ZodTypeAny, {
|
|
641
|
+
user: PublicKey;
|
|
642
|
+
expiration: BN;
|
|
643
|
+
authorized_tokens_with_mints: {
|
|
644
|
+
Specific: {
|
|
645
|
+
"0": PublicKey[];
|
|
646
|
+
};
|
|
647
|
+
} | {
|
|
648
|
+
All: {};
|
|
649
|
+
};
|
|
650
|
+
}, {
|
|
651
|
+
user: PublicKey;
|
|
652
|
+
expiration: BN;
|
|
653
|
+
authorized_tokens_with_mints: {
|
|
654
|
+
Specific: {
|
|
655
|
+
"0": PublicKey[];
|
|
656
|
+
};
|
|
657
|
+
} | {
|
|
658
|
+
All: {};
|
|
659
|
+
};
|
|
660
|
+
}>;
|
|
661
|
+
}, "strip", z.ZodTypeAny, {
|
|
662
|
+
"0": {
|
|
663
|
+
user: PublicKey;
|
|
664
|
+
expiration: BN;
|
|
665
|
+
authorized_tokens_with_mints: {
|
|
666
|
+
Specific: {
|
|
667
|
+
"0": PublicKey[];
|
|
668
|
+
};
|
|
669
|
+
} | {
|
|
670
|
+
All: {};
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
}, {
|
|
674
|
+
"0": {
|
|
675
|
+
user: PublicKey;
|
|
676
|
+
expiration: BN;
|
|
677
|
+
authorized_tokens_with_mints: {
|
|
678
|
+
Specific: {
|
|
679
|
+
"0": PublicKey[];
|
|
680
|
+
};
|
|
681
|
+
} | {
|
|
682
|
+
All: {};
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
}>;
|
|
614
686
|
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
Revoked:
|
|
687
|
+
Revoked: {
|
|
688
|
+
"0": {
|
|
689
|
+
user: PublicKey;
|
|
690
|
+
expiration: BN;
|
|
691
|
+
authorized_tokens_with_mints: {
|
|
692
|
+
Specific: {
|
|
693
|
+
"0": PublicKey[];
|
|
694
|
+
};
|
|
695
|
+
} | {
|
|
696
|
+
All: {};
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
};
|
|
616
700
|
}, {
|
|
617
|
-
Revoked:
|
|
701
|
+
Revoked: {
|
|
702
|
+
"0": {
|
|
703
|
+
user: PublicKey;
|
|
704
|
+
expiration: BN;
|
|
705
|
+
authorized_tokens_with_mints: {
|
|
706
|
+
Specific: {
|
|
707
|
+
"0": PublicKey[];
|
|
708
|
+
};
|
|
709
|
+
} | {
|
|
710
|
+
All: {};
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
618
714
|
}>, z.ZodObject<{
|
|
619
715
|
Active: z.ZodObject<{
|
|
620
716
|
"0": z.ZodObject<{
|
|
@@ -695,6 +791,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
695
791
|
}>;
|
|
696
792
|
user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
697
793
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
+
user: PublicKey;
|
|
795
|
+
expiration: BN;
|
|
698
796
|
authorized_programs: {
|
|
699
797
|
Specific: {
|
|
700
798
|
0: {
|
|
@@ -712,12 +810,12 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
712
810
|
} | {
|
|
713
811
|
All: {};
|
|
714
812
|
};
|
|
715
|
-
expiration: BN;
|
|
716
813
|
extra: {
|
|
717
814
|
0?: unknown;
|
|
718
815
|
};
|
|
719
|
-
user: PublicKey;
|
|
720
816
|
}, {
|
|
817
|
+
user: PublicKey;
|
|
818
|
+
expiration: BN;
|
|
721
819
|
authorized_programs: {
|
|
722
820
|
Specific: {
|
|
723
821
|
0: {
|
|
@@ -735,14 +833,14 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
735
833
|
} | {
|
|
736
834
|
All: {};
|
|
737
835
|
};
|
|
738
|
-
expiration: BN;
|
|
739
836
|
extra: {
|
|
740
837
|
0?: unknown;
|
|
741
838
|
};
|
|
742
|
-
user: PublicKey;
|
|
743
839
|
}>;
|
|
744
840
|
}, "strip", z.ZodTypeAny, {
|
|
745
841
|
"0": {
|
|
842
|
+
user: PublicKey;
|
|
843
|
+
expiration: BN;
|
|
746
844
|
authorized_programs: {
|
|
747
845
|
Specific: {
|
|
748
846
|
0: {
|
|
@@ -760,14 +858,14 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
760
858
|
} | {
|
|
761
859
|
All: {};
|
|
762
860
|
};
|
|
763
|
-
expiration: BN;
|
|
764
861
|
extra: {
|
|
765
862
|
0?: unknown;
|
|
766
863
|
};
|
|
767
|
-
user: PublicKey;
|
|
768
864
|
};
|
|
769
865
|
}, {
|
|
770
866
|
"0": {
|
|
867
|
+
user: PublicKey;
|
|
868
|
+
expiration: BN;
|
|
771
869
|
authorized_programs: {
|
|
772
870
|
Specific: {
|
|
773
871
|
0: {
|
|
@@ -785,16 +883,16 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
785
883
|
} | {
|
|
786
884
|
All: {};
|
|
787
885
|
};
|
|
788
|
-
expiration: BN;
|
|
789
886
|
extra: {
|
|
790
887
|
0?: unknown;
|
|
791
888
|
};
|
|
792
|
-
user: PublicKey;
|
|
793
889
|
};
|
|
794
890
|
}>;
|
|
795
891
|
}, "strip", z.ZodTypeAny, {
|
|
796
892
|
Active: {
|
|
797
893
|
"0": {
|
|
894
|
+
user: PublicKey;
|
|
895
|
+
expiration: BN;
|
|
798
896
|
authorized_programs: {
|
|
799
897
|
Specific: {
|
|
800
898
|
0: {
|
|
@@ -812,16 +910,16 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
812
910
|
} | {
|
|
813
911
|
All: {};
|
|
814
912
|
};
|
|
815
|
-
expiration: BN;
|
|
816
913
|
extra: {
|
|
817
914
|
0?: unknown;
|
|
818
915
|
};
|
|
819
|
-
user: PublicKey;
|
|
820
916
|
};
|
|
821
917
|
};
|
|
822
918
|
}, {
|
|
823
919
|
Active: {
|
|
824
920
|
"0": {
|
|
921
|
+
user: PublicKey;
|
|
922
|
+
expiration: BN;
|
|
825
923
|
authorized_programs: {
|
|
826
924
|
Specific: {
|
|
827
925
|
0: {
|
|
@@ -839,20 +937,32 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
839
937
|
} | {
|
|
840
938
|
All: {};
|
|
841
939
|
};
|
|
842
|
-
expiration: BN;
|
|
843
940
|
extra: {
|
|
844
941
|
0?: unknown;
|
|
845
942
|
};
|
|
846
|
-
user: PublicKey;
|
|
847
943
|
};
|
|
848
944
|
};
|
|
849
945
|
}>]>;
|
|
850
946
|
}, "strip", z.ZodTypeAny, {
|
|
851
947
|
"0": {
|
|
852
|
-
Revoked:
|
|
948
|
+
Revoked: {
|
|
949
|
+
"0": {
|
|
950
|
+
user: PublicKey;
|
|
951
|
+
expiration: BN;
|
|
952
|
+
authorized_tokens_with_mints: {
|
|
953
|
+
Specific: {
|
|
954
|
+
"0": PublicKey[];
|
|
955
|
+
};
|
|
956
|
+
} | {
|
|
957
|
+
All: {};
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
};
|
|
853
961
|
} | {
|
|
854
962
|
Active: {
|
|
855
963
|
"0": {
|
|
964
|
+
user: PublicKey;
|
|
965
|
+
expiration: BN;
|
|
856
966
|
authorized_programs: {
|
|
857
967
|
Specific: {
|
|
858
968
|
0: {
|
|
@@ -870,20 +980,32 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
870
980
|
} | {
|
|
871
981
|
All: {};
|
|
872
982
|
};
|
|
873
|
-
expiration: BN;
|
|
874
983
|
extra: {
|
|
875
984
|
0?: unknown;
|
|
876
985
|
};
|
|
877
|
-
user: PublicKey;
|
|
878
986
|
};
|
|
879
987
|
};
|
|
880
988
|
};
|
|
881
989
|
}, {
|
|
882
990
|
"0": {
|
|
883
|
-
Revoked:
|
|
991
|
+
Revoked: {
|
|
992
|
+
"0": {
|
|
993
|
+
user: PublicKey;
|
|
994
|
+
expiration: BN;
|
|
995
|
+
authorized_tokens_with_mints: {
|
|
996
|
+
Specific: {
|
|
997
|
+
"0": PublicKey[];
|
|
998
|
+
};
|
|
999
|
+
} | {
|
|
1000
|
+
All: {};
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
884
1004
|
} | {
|
|
885
1005
|
Active: {
|
|
886
1006
|
"0": {
|
|
1007
|
+
user: PublicKey;
|
|
1008
|
+
expiration: BN;
|
|
887
1009
|
authorized_programs: {
|
|
888
1010
|
Specific: {
|
|
889
1011
|
0: {
|
|
@@ -901,11 +1023,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
901
1023
|
} | {
|
|
902
1024
|
All: {};
|
|
903
1025
|
};
|
|
904
|
-
expiration: BN;
|
|
905
1026
|
extra: {
|
|
906
1027
|
0?: unknown;
|
|
907
1028
|
};
|
|
908
|
-
user: PublicKey;
|
|
909
1029
|
};
|
|
910
1030
|
};
|
|
911
1031
|
};
|
|
@@ -913,10 +1033,24 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
913
1033
|
}, "strip", z.ZodTypeAny, {
|
|
914
1034
|
V3: {
|
|
915
1035
|
"0": {
|
|
916
|
-
Revoked:
|
|
1036
|
+
Revoked: {
|
|
1037
|
+
"0": {
|
|
1038
|
+
user: PublicKey;
|
|
1039
|
+
expiration: BN;
|
|
1040
|
+
authorized_tokens_with_mints: {
|
|
1041
|
+
Specific: {
|
|
1042
|
+
"0": PublicKey[];
|
|
1043
|
+
};
|
|
1044
|
+
} | {
|
|
1045
|
+
All: {};
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
917
1049
|
} | {
|
|
918
1050
|
Active: {
|
|
919
1051
|
"0": {
|
|
1052
|
+
user: PublicKey;
|
|
1053
|
+
expiration: BN;
|
|
920
1054
|
authorized_programs: {
|
|
921
1055
|
Specific: {
|
|
922
1056
|
0: {
|
|
@@ -934,11 +1068,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
934
1068
|
} | {
|
|
935
1069
|
All: {};
|
|
936
1070
|
};
|
|
937
|
-
expiration: BN;
|
|
938
1071
|
extra: {
|
|
939
1072
|
0?: unknown;
|
|
940
1073
|
};
|
|
941
|
-
user: PublicKey;
|
|
942
1074
|
};
|
|
943
1075
|
};
|
|
944
1076
|
};
|
|
@@ -946,10 +1078,24 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
946
1078
|
}, {
|
|
947
1079
|
V3: {
|
|
948
1080
|
"0": {
|
|
949
|
-
Revoked:
|
|
1081
|
+
Revoked: {
|
|
1082
|
+
"0": {
|
|
1083
|
+
user: PublicKey;
|
|
1084
|
+
expiration: BN;
|
|
1085
|
+
authorized_tokens_with_mints: {
|
|
1086
|
+
Specific: {
|
|
1087
|
+
"0": PublicKey[];
|
|
1088
|
+
};
|
|
1089
|
+
} | {
|
|
1090
|
+
All: {};
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
950
1094
|
} | {
|
|
951
1095
|
Active: {
|
|
952
1096
|
"0": {
|
|
1097
|
+
user: PublicKey;
|
|
1098
|
+
expiration: BN;
|
|
953
1099
|
authorized_programs: {
|
|
954
1100
|
Specific: {
|
|
955
1101
|
0: {
|
|
@@ -967,27 +1113,619 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
967
1113
|
} | {
|
|
968
1114
|
All: {};
|
|
969
1115
|
};
|
|
970
|
-
expiration: BN;
|
|
971
1116
|
extra: {
|
|
972
1117
|
0?: unknown;
|
|
973
1118
|
};
|
|
974
|
-
user: PublicKey;
|
|
975
1119
|
};
|
|
976
1120
|
};
|
|
977
1121
|
};
|
|
978
1122
|
};
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
1123
|
+
}>, z.ZodObject<{
|
|
1124
|
+
V4: z.ZodObject<{
|
|
1125
|
+
"0": z.ZodUnion<[z.ZodObject<{
|
|
1126
|
+
Revoked: z.ZodObject<{
|
|
1127
|
+
"0": z.ZodObject<{
|
|
1128
|
+
user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
1129
|
+
expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
|
|
1130
|
+
authorized_tokens_with_mints: z.ZodUnion<[z.ZodObject<{
|
|
1131
|
+
Specific: z.ZodObject<{
|
|
1132
|
+
"0": z.ZodArray<z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>, "many">;
|
|
1133
|
+
}, "strip", z.ZodTypeAny, {
|
|
1134
|
+
"0": PublicKey[];
|
|
1135
|
+
}, {
|
|
1136
|
+
"0": PublicKey[];
|
|
1137
|
+
}>;
|
|
1138
|
+
}, "strip", z.ZodTypeAny, {
|
|
1139
|
+
Specific: {
|
|
1140
|
+
"0": PublicKey[];
|
|
1141
|
+
};
|
|
1142
|
+
}, {
|
|
1143
|
+
Specific: {
|
|
1144
|
+
"0": PublicKey[];
|
|
1145
|
+
};
|
|
1146
|
+
}>, z.ZodObject<{
|
|
1147
|
+
All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1148
|
+
}, "strip", z.ZodTypeAny, {
|
|
1149
|
+
All: {};
|
|
1150
|
+
}, {
|
|
1151
|
+
All: {};
|
|
1152
|
+
}>]>;
|
|
1153
|
+
}, "strip", z.ZodTypeAny, {
|
|
1154
|
+
user: PublicKey;
|
|
1155
|
+
expiration: BN;
|
|
1156
|
+
authorized_tokens_with_mints: {
|
|
1157
|
+
Specific: {
|
|
1158
|
+
"0": PublicKey[];
|
|
1159
|
+
};
|
|
1160
|
+
} | {
|
|
1161
|
+
All: {};
|
|
1162
|
+
};
|
|
1163
|
+
}, {
|
|
1164
|
+
user: PublicKey;
|
|
1165
|
+
expiration: BN;
|
|
1166
|
+
authorized_tokens_with_mints: {
|
|
1167
|
+
Specific: {
|
|
1168
|
+
"0": PublicKey[];
|
|
1169
|
+
};
|
|
1170
|
+
} | {
|
|
1171
|
+
All: {};
|
|
1172
|
+
};
|
|
1173
|
+
}>;
|
|
1174
|
+
}, "strip", z.ZodTypeAny, {
|
|
1175
|
+
"0": {
|
|
1176
|
+
user: PublicKey;
|
|
1177
|
+
expiration: BN;
|
|
1178
|
+
authorized_tokens_with_mints: {
|
|
1179
|
+
Specific: {
|
|
1180
|
+
"0": PublicKey[];
|
|
1181
|
+
};
|
|
1182
|
+
} | {
|
|
1183
|
+
All: {};
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
}, {
|
|
1187
|
+
"0": {
|
|
1188
|
+
user: PublicKey;
|
|
1189
|
+
expiration: BN;
|
|
1190
|
+
authorized_tokens_with_mints: {
|
|
1191
|
+
Specific: {
|
|
1192
|
+
"0": PublicKey[];
|
|
1193
|
+
};
|
|
1194
|
+
} | {
|
|
1195
|
+
All: {};
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
}>;
|
|
1199
|
+
}, "strip", z.ZodTypeAny, {
|
|
1200
|
+
Revoked: {
|
|
1201
|
+
"0": {
|
|
1202
|
+
user: PublicKey;
|
|
1203
|
+
expiration: BN;
|
|
1204
|
+
authorized_tokens_with_mints: {
|
|
1205
|
+
Specific: {
|
|
1206
|
+
"0": PublicKey[];
|
|
1207
|
+
};
|
|
1208
|
+
} | {
|
|
1209
|
+
All: {};
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
}, {
|
|
1214
|
+
Revoked: {
|
|
1215
|
+
"0": {
|
|
1216
|
+
user: PublicKey;
|
|
1217
|
+
expiration: BN;
|
|
1218
|
+
authorized_tokens_with_mints: {
|
|
1219
|
+
Specific: {
|
|
1220
|
+
"0": PublicKey[];
|
|
1221
|
+
};
|
|
1222
|
+
} | {
|
|
1223
|
+
All: {};
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
}>, z.ZodObject<{
|
|
1228
|
+
Active: z.ZodObject<{
|
|
1229
|
+
"0": z.ZodObject<{
|
|
1230
|
+
domain_hash: z.ZodArray<z.ZodNumber, "many">;
|
|
1231
|
+
active_session_info: z.ZodObject<{
|
|
1232
|
+
authorized_programs: z.ZodUnion<[z.ZodObject<{
|
|
1233
|
+
Specific: z.ZodObject<{
|
|
1234
|
+
0: z.ZodArray<z.ZodObject<{
|
|
1235
|
+
program_id: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
1236
|
+
signer_pda: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
1237
|
+
}, "strip", z.ZodTypeAny, {
|
|
1238
|
+
program_id: PublicKey;
|
|
1239
|
+
signer_pda: PublicKey;
|
|
1240
|
+
}, {
|
|
1241
|
+
program_id: PublicKey;
|
|
1242
|
+
signer_pda: PublicKey;
|
|
1243
|
+
}>, "many">;
|
|
1244
|
+
}, "strip", z.ZodTypeAny, {
|
|
1245
|
+
0: {
|
|
1246
|
+
program_id: PublicKey;
|
|
1247
|
+
signer_pda: PublicKey;
|
|
1248
|
+
}[];
|
|
1249
|
+
}, {
|
|
1250
|
+
0: {
|
|
1251
|
+
program_id: PublicKey;
|
|
1252
|
+
signer_pda: PublicKey;
|
|
1253
|
+
}[];
|
|
1254
|
+
}>;
|
|
1255
|
+
}, "strip", z.ZodTypeAny, {
|
|
1256
|
+
Specific: {
|
|
1257
|
+
0: {
|
|
1258
|
+
program_id: PublicKey;
|
|
1259
|
+
signer_pda: PublicKey;
|
|
1260
|
+
}[];
|
|
1261
|
+
};
|
|
1262
|
+
}, {
|
|
1263
|
+
Specific: {
|
|
1264
|
+
0: {
|
|
1265
|
+
program_id: PublicKey;
|
|
1266
|
+
signer_pda: PublicKey;
|
|
1267
|
+
}[];
|
|
1268
|
+
};
|
|
1269
|
+
}>, z.ZodObject<{
|
|
1270
|
+
All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1271
|
+
}, "strip", z.ZodTypeAny, {
|
|
1272
|
+
All: {};
|
|
1273
|
+
}, {
|
|
1274
|
+
All: {};
|
|
1275
|
+
}>]>;
|
|
1276
|
+
authorized_tokens: z.ZodUnion<[z.ZodObject<{
|
|
1277
|
+
Specific: z.ZodObject<{
|
|
1278
|
+
"0": z.ZodArray<z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>, "many">;
|
|
1279
|
+
}, "strip", z.ZodTypeAny, {
|
|
1280
|
+
"0": PublicKey[];
|
|
1281
|
+
}, {
|
|
1282
|
+
"0": PublicKey[];
|
|
1283
|
+
}>;
|
|
1284
|
+
}, "strip", z.ZodTypeAny, {
|
|
1285
|
+
Specific: {
|
|
1286
|
+
"0": PublicKey[];
|
|
1287
|
+
};
|
|
1288
|
+
}, {
|
|
1289
|
+
Specific: {
|
|
1290
|
+
"0": PublicKey[];
|
|
1291
|
+
};
|
|
1292
|
+
}>, z.ZodObject<{
|
|
1293
|
+
All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1294
|
+
}, "strip", z.ZodTypeAny, {
|
|
1295
|
+
All: {};
|
|
1296
|
+
}, {
|
|
1297
|
+
All: {};
|
|
1298
|
+
}>]>;
|
|
1299
|
+
expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
|
|
1300
|
+
extra: z.ZodObject<{
|
|
1301
|
+
0: z.ZodUnknown;
|
|
1302
|
+
}, "strip", z.ZodTypeAny, {
|
|
1303
|
+
0?: unknown;
|
|
1304
|
+
}, {
|
|
1305
|
+
0?: unknown;
|
|
1306
|
+
}>;
|
|
1307
|
+
user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
1308
|
+
}, "strip", z.ZodTypeAny, {
|
|
1309
|
+
user: PublicKey;
|
|
1310
|
+
expiration: BN;
|
|
1311
|
+
authorized_programs: {
|
|
1312
|
+
Specific: {
|
|
1313
|
+
0: {
|
|
1314
|
+
program_id: PublicKey;
|
|
1315
|
+
signer_pda: PublicKey;
|
|
1316
|
+
}[];
|
|
1317
|
+
};
|
|
1318
|
+
} | {
|
|
1319
|
+
All: {};
|
|
1320
|
+
};
|
|
1321
|
+
authorized_tokens: {
|
|
1322
|
+
Specific: {
|
|
1323
|
+
"0": PublicKey[];
|
|
1324
|
+
};
|
|
1325
|
+
} | {
|
|
1326
|
+
All: {};
|
|
1327
|
+
};
|
|
1328
|
+
extra: {
|
|
1329
|
+
0?: unknown;
|
|
1330
|
+
};
|
|
1331
|
+
}, {
|
|
1332
|
+
user: PublicKey;
|
|
1333
|
+
expiration: BN;
|
|
1334
|
+
authorized_programs: {
|
|
1335
|
+
Specific: {
|
|
1336
|
+
0: {
|
|
1337
|
+
program_id: PublicKey;
|
|
1338
|
+
signer_pda: PublicKey;
|
|
1339
|
+
}[];
|
|
1340
|
+
};
|
|
1341
|
+
} | {
|
|
1342
|
+
All: {};
|
|
1343
|
+
};
|
|
1344
|
+
authorized_tokens: {
|
|
1345
|
+
Specific: {
|
|
1346
|
+
"0": PublicKey[];
|
|
1347
|
+
};
|
|
1348
|
+
} | {
|
|
1349
|
+
All: {};
|
|
1350
|
+
};
|
|
1351
|
+
extra: {
|
|
1352
|
+
0?: unknown;
|
|
1353
|
+
};
|
|
1354
|
+
}>;
|
|
1355
|
+
}, "strip", z.ZodTypeAny, {
|
|
1356
|
+
domain_hash: number[];
|
|
1357
|
+
active_session_info: {
|
|
1358
|
+
user: PublicKey;
|
|
1359
|
+
expiration: BN;
|
|
1360
|
+
authorized_programs: {
|
|
1361
|
+
Specific: {
|
|
1362
|
+
0: {
|
|
1363
|
+
program_id: PublicKey;
|
|
1364
|
+
signer_pda: PublicKey;
|
|
1365
|
+
}[];
|
|
1366
|
+
};
|
|
1367
|
+
} | {
|
|
1368
|
+
All: {};
|
|
1369
|
+
};
|
|
1370
|
+
authorized_tokens: {
|
|
1371
|
+
Specific: {
|
|
1372
|
+
"0": PublicKey[];
|
|
1373
|
+
};
|
|
1374
|
+
} | {
|
|
1375
|
+
All: {};
|
|
1376
|
+
};
|
|
1377
|
+
extra: {
|
|
1378
|
+
0?: unknown;
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
}, {
|
|
1382
|
+
domain_hash: number[];
|
|
1383
|
+
active_session_info: {
|
|
1384
|
+
user: PublicKey;
|
|
1385
|
+
expiration: BN;
|
|
1386
|
+
authorized_programs: {
|
|
1387
|
+
Specific: {
|
|
1388
|
+
0: {
|
|
1389
|
+
program_id: PublicKey;
|
|
1390
|
+
signer_pda: PublicKey;
|
|
1391
|
+
}[];
|
|
1392
|
+
};
|
|
1393
|
+
} | {
|
|
1394
|
+
All: {};
|
|
1395
|
+
};
|
|
1396
|
+
authorized_tokens: {
|
|
1397
|
+
Specific: {
|
|
1398
|
+
"0": PublicKey[];
|
|
1399
|
+
};
|
|
1400
|
+
} | {
|
|
1401
|
+
All: {};
|
|
1402
|
+
};
|
|
1403
|
+
extra: {
|
|
1404
|
+
0?: unknown;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
}>;
|
|
1408
|
+
}, "strip", z.ZodTypeAny, {
|
|
1409
|
+
"0": {
|
|
1410
|
+
domain_hash: number[];
|
|
1411
|
+
active_session_info: {
|
|
1412
|
+
user: PublicKey;
|
|
1413
|
+
expiration: BN;
|
|
1414
|
+
authorized_programs: {
|
|
1415
|
+
Specific: {
|
|
1416
|
+
0: {
|
|
1417
|
+
program_id: PublicKey;
|
|
1418
|
+
signer_pda: PublicKey;
|
|
1419
|
+
}[];
|
|
1420
|
+
};
|
|
1421
|
+
} | {
|
|
1422
|
+
All: {};
|
|
1423
|
+
};
|
|
1424
|
+
authorized_tokens: {
|
|
1425
|
+
Specific: {
|
|
1426
|
+
"0": PublicKey[];
|
|
1427
|
+
};
|
|
1428
|
+
} | {
|
|
1429
|
+
All: {};
|
|
1430
|
+
};
|
|
1431
|
+
extra: {
|
|
1432
|
+
0?: unknown;
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
}, {
|
|
1437
|
+
"0": {
|
|
1438
|
+
domain_hash: number[];
|
|
1439
|
+
active_session_info: {
|
|
1440
|
+
user: PublicKey;
|
|
1441
|
+
expiration: BN;
|
|
1442
|
+
authorized_programs: {
|
|
1443
|
+
Specific: {
|
|
1444
|
+
0: {
|
|
1445
|
+
program_id: PublicKey;
|
|
1446
|
+
signer_pda: PublicKey;
|
|
1447
|
+
}[];
|
|
1448
|
+
};
|
|
1449
|
+
} | {
|
|
1450
|
+
All: {};
|
|
1451
|
+
};
|
|
1452
|
+
authorized_tokens: {
|
|
1453
|
+
Specific: {
|
|
1454
|
+
"0": PublicKey[];
|
|
1455
|
+
};
|
|
1456
|
+
} | {
|
|
1457
|
+
All: {};
|
|
1458
|
+
};
|
|
1459
|
+
extra: {
|
|
1460
|
+
0?: unknown;
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
};
|
|
1464
|
+
}>;
|
|
1465
|
+
}, "strip", z.ZodTypeAny, {
|
|
1466
|
+
Active: {
|
|
1467
|
+
"0": {
|
|
1468
|
+
domain_hash: number[];
|
|
1469
|
+
active_session_info: {
|
|
1470
|
+
user: PublicKey;
|
|
1471
|
+
expiration: BN;
|
|
1472
|
+
authorized_programs: {
|
|
1473
|
+
Specific: {
|
|
1474
|
+
0: {
|
|
1475
|
+
program_id: PublicKey;
|
|
1476
|
+
signer_pda: PublicKey;
|
|
1477
|
+
}[];
|
|
1478
|
+
};
|
|
1479
|
+
} | {
|
|
1480
|
+
All: {};
|
|
1481
|
+
};
|
|
1482
|
+
authorized_tokens: {
|
|
1483
|
+
Specific: {
|
|
1484
|
+
"0": PublicKey[];
|
|
1485
|
+
};
|
|
1486
|
+
} | {
|
|
1487
|
+
All: {};
|
|
1488
|
+
};
|
|
1489
|
+
extra: {
|
|
1490
|
+
0?: unknown;
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
}, {
|
|
1496
|
+
Active: {
|
|
1497
|
+
"0": {
|
|
1498
|
+
domain_hash: number[];
|
|
1499
|
+
active_session_info: {
|
|
1500
|
+
user: PublicKey;
|
|
1501
|
+
expiration: BN;
|
|
1502
|
+
authorized_programs: {
|
|
1503
|
+
Specific: {
|
|
1504
|
+
0: {
|
|
1505
|
+
program_id: PublicKey;
|
|
1506
|
+
signer_pda: PublicKey;
|
|
1507
|
+
}[];
|
|
1508
|
+
};
|
|
1509
|
+
} | {
|
|
1510
|
+
All: {};
|
|
1511
|
+
};
|
|
1512
|
+
authorized_tokens: {
|
|
1513
|
+
Specific: {
|
|
1514
|
+
"0": PublicKey[];
|
|
1515
|
+
};
|
|
1516
|
+
} | {
|
|
1517
|
+
All: {};
|
|
1518
|
+
};
|
|
1519
|
+
extra: {
|
|
1520
|
+
0?: unknown;
|
|
1521
|
+
};
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
};
|
|
1525
|
+
}>]>;
|
|
1526
|
+
}, "strip", z.ZodTypeAny, {
|
|
1527
|
+
"0": {
|
|
1528
|
+
Revoked: {
|
|
1529
|
+
"0": {
|
|
1530
|
+
user: PublicKey;
|
|
1531
|
+
expiration: BN;
|
|
1532
|
+
authorized_tokens_with_mints: {
|
|
1533
|
+
Specific: {
|
|
1534
|
+
"0": PublicKey[];
|
|
1535
|
+
};
|
|
1536
|
+
} | {
|
|
1537
|
+
All: {};
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
} | {
|
|
1542
|
+
Active: {
|
|
1543
|
+
"0": {
|
|
1544
|
+
domain_hash: number[];
|
|
1545
|
+
active_session_info: {
|
|
1546
|
+
user: PublicKey;
|
|
1547
|
+
expiration: BN;
|
|
1548
|
+
authorized_programs: {
|
|
1549
|
+
Specific: {
|
|
1550
|
+
0: {
|
|
1551
|
+
program_id: PublicKey;
|
|
1552
|
+
signer_pda: PublicKey;
|
|
1553
|
+
}[];
|
|
1554
|
+
};
|
|
1555
|
+
} | {
|
|
1556
|
+
All: {};
|
|
1557
|
+
};
|
|
1558
|
+
authorized_tokens: {
|
|
1559
|
+
Specific: {
|
|
1560
|
+
"0": PublicKey[];
|
|
1561
|
+
};
|
|
1562
|
+
} | {
|
|
1563
|
+
All: {};
|
|
1564
|
+
};
|
|
1565
|
+
extra: {
|
|
1566
|
+
0?: unknown;
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
}, {
|
|
1573
|
+
"0": {
|
|
1574
|
+
Revoked: {
|
|
1575
|
+
"0": {
|
|
1576
|
+
user: PublicKey;
|
|
1577
|
+
expiration: BN;
|
|
1578
|
+
authorized_tokens_with_mints: {
|
|
1579
|
+
Specific: {
|
|
1580
|
+
"0": PublicKey[];
|
|
1581
|
+
};
|
|
1582
|
+
} | {
|
|
1583
|
+
All: {};
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
};
|
|
1587
|
+
} | {
|
|
1588
|
+
Active: {
|
|
1589
|
+
"0": {
|
|
1590
|
+
domain_hash: number[];
|
|
1591
|
+
active_session_info: {
|
|
1592
|
+
user: PublicKey;
|
|
1593
|
+
expiration: BN;
|
|
1594
|
+
authorized_programs: {
|
|
1595
|
+
Specific: {
|
|
1596
|
+
0: {
|
|
1597
|
+
program_id: PublicKey;
|
|
1598
|
+
signer_pda: PublicKey;
|
|
1599
|
+
}[];
|
|
1600
|
+
};
|
|
1601
|
+
} | {
|
|
1602
|
+
All: {};
|
|
1603
|
+
};
|
|
1604
|
+
authorized_tokens: {
|
|
1605
|
+
Specific: {
|
|
1606
|
+
"0": PublicKey[];
|
|
1607
|
+
};
|
|
1608
|
+
} | {
|
|
1609
|
+
All: {};
|
|
1610
|
+
};
|
|
1611
|
+
extra: {
|
|
1612
|
+
0?: unknown;
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
};
|
|
1618
|
+
}>;
|
|
1619
|
+
}, "strip", z.ZodTypeAny, {
|
|
1620
|
+
V4: {
|
|
1621
|
+
"0": {
|
|
1622
|
+
Revoked: {
|
|
1623
|
+
"0": {
|
|
1624
|
+
user: PublicKey;
|
|
1625
|
+
expiration: BN;
|
|
1626
|
+
authorized_tokens_with_mints: {
|
|
1627
|
+
Specific: {
|
|
1628
|
+
"0": PublicKey[];
|
|
1629
|
+
};
|
|
1630
|
+
} | {
|
|
1631
|
+
All: {};
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
};
|
|
1635
|
+
} | {
|
|
1636
|
+
Active: {
|
|
1637
|
+
"0": {
|
|
1638
|
+
domain_hash: number[];
|
|
1639
|
+
active_session_info: {
|
|
1640
|
+
user: PublicKey;
|
|
1641
|
+
expiration: BN;
|
|
1642
|
+
authorized_programs: {
|
|
1643
|
+
Specific: {
|
|
1644
|
+
0: {
|
|
1645
|
+
program_id: PublicKey;
|
|
1646
|
+
signer_pda: PublicKey;
|
|
1647
|
+
}[];
|
|
1648
|
+
};
|
|
1649
|
+
} | {
|
|
1650
|
+
All: {};
|
|
1651
|
+
};
|
|
1652
|
+
authorized_tokens: {
|
|
1653
|
+
Specific: {
|
|
1654
|
+
"0": PublicKey[];
|
|
1655
|
+
};
|
|
1656
|
+
} | {
|
|
1657
|
+
All: {};
|
|
1658
|
+
};
|
|
1659
|
+
extra: {
|
|
1660
|
+
0?: unknown;
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
};
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
}, {
|
|
1668
|
+
V4: {
|
|
1669
|
+
"0": {
|
|
1670
|
+
Revoked: {
|
|
1671
|
+
"0": {
|
|
1672
|
+
user: PublicKey;
|
|
1673
|
+
expiration: BN;
|
|
1674
|
+
authorized_tokens_with_mints: {
|
|
1675
|
+
Specific: {
|
|
1676
|
+
"0": PublicKey[];
|
|
1677
|
+
};
|
|
1678
|
+
} | {
|
|
1679
|
+
All: {};
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
} | {
|
|
1684
|
+
Active: {
|
|
1685
|
+
"0": {
|
|
1686
|
+
domain_hash: number[];
|
|
1687
|
+
active_session_info: {
|
|
1688
|
+
user: PublicKey;
|
|
1689
|
+
expiration: BN;
|
|
1690
|
+
authorized_programs: {
|
|
1691
|
+
Specific: {
|
|
1692
|
+
0: {
|
|
1693
|
+
program_id: PublicKey;
|
|
1694
|
+
signer_pda: PublicKey;
|
|
1695
|
+
}[];
|
|
1696
|
+
};
|
|
1697
|
+
} | {
|
|
1698
|
+
All: {};
|
|
1699
|
+
};
|
|
1700
|
+
authorized_tokens: {
|
|
1701
|
+
Specific: {
|
|
1702
|
+
"0": PublicKey[];
|
|
1703
|
+
};
|
|
1704
|
+
} | {
|
|
1705
|
+
All: {};
|
|
1706
|
+
};
|
|
1707
|
+
extra: {
|
|
1708
|
+
0?: unknown;
|
|
1709
|
+
};
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1713
|
+
};
|
|
1714
|
+
};
|
|
1715
|
+
}>]>;
|
|
1716
|
+
major: z.ZodNumber;
|
|
1717
|
+
sponsor: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
|
|
1718
|
+
}, "strip", z.ZodTypeAny, {
|
|
1719
|
+
sponsor: PublicKey;
|
|
1720
|
+
session_info: {
|
|
1721
|
+
V1: {
|
|
1722
|
+
"0": {
|
|
1723
|
+
user: PublicKey;
|
|
1724
|
+
expiration: BN;
|
|
1725
|
+
authorized_programs: {
|
|
1726
|
+
Specific: {
|
|
1727
|
+
0: {
|
|
1728
|
+
program_id: PublicKey;
|
|
991
1729
|
signer_pda: PublicKey;
|
|
992
1730
|
}[];
|
|
993
1731
|
};
|
|
@@ -999,11 +1737,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
999
1737
|
} | {
|
|
1000
1738
|
All: {};
|
|
1001
1739
|
};
|
|
1002
|
-
expiration: BN;
|
|
1003
1740
|
extra: {
|
|
1004
1741
|
0?: unknown;
|
|
1005
1742
|
};
|
|
1006
|
-
user: PublicKey;
|
|
1007
1743
|
};
|
|
1008
1744
|
};
|
|
1009
1745
|
} | {
|
|
@@ -1013,6 +1749,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1013
1749
|
} | {
|
|
1014
1750
|
Active: {
|
|
1015
1751
|
"0": {
|
|
1752
|
+
user: PublicKey;
|
|
1753
|
+
expiration: BN;
|
|
1016
1754
|
authorized_programs: {
|
|
1017
1755
|
Specific: {
|
|
1018
1756
|
0: {
|
|
@@ -1028,11 +1766,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1028
1766
|
} | {
|
|
1029
1767
|
All: {};
|
|
1030
1768
|
};
|
|
1031
|
-
expiration: BN;
|
|
1032
1769
|
extra: {
|
|
1033
1770
|
0?: unknown;
|
|
1034
1771
|
};
|
|
1035
|
-
user: PublicKey;
|
|
1036
1772
|
};
|
|
1037
1773
|
};
|
|
1038
1774
|
};
|
|
@@ -1040,10 +1776,24 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1040
1776
|
} | {
|
|
1041
1777
|
V3: {
|
|
1042
1778
|
"0": {
|
|
1043
|
-
Revoked:
|
|
1779
|
+
Revoked: {
|
|
1780
|
+
"0": {
|
|
1781
|
+
user: PublicKey;
|
|
1782
|
+
expiration: BN;
|
|
1783
|
+
authorized_tokens_with_mints: {
|
|
1784
|
+
Specific: {
|
|
1785
|
+
"0": PublicKey[];
|
|
1786
|
+
};
|
|
1787
|
+
} | {
|
|
1788
|
+
All: {};
|
|
1789
|
+
};
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1044
1792
|
} | {
|
|
1045
1793
|
Active: {
|
|
1046
1794
|
"0": {
|
|
1795
|
+
user: PublicKey;
|
|
1796
|
+
expiration: BN;
|
|
1047
1797
|
authorized_programs: {
|
|
1048
1798
|
Specific: {
|
|
1049
1799
|
0: {
|
|
@@ -1061,11 +1811,57 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1061
1811
|
} | {
|
|
1062
1812
|
All: {};
|
|
1063
1813
|
};
|
|
1064
|
-
expiration: BN;
|
|
1065
1814
|
extra: {
|
|
1066
1815
|
0?: unknown;
|
|
1067
1816
|
};
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
} | {
|
|
1822
|
+
V4: {
|
|
1823
|
+
"0": {
|
|
1824
|
+
Revoked: {
|
|
1825
|
+
"0": {
|
|
1068
1826
|
user: PublicKey;
|
|
1827
|
+
expiration: BN;
|
|
1828
|
+
authorized_tokens_with_mints: {
|
|
1829
|
+
Specific: {
|
|
1830
|
+
"0": PublicKey[];
|
|
1831
|
+
};
|
|
1832
|
+
} | {
|
|
1833
|
+
All: {};
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
} | {
|
|
1838
|
+
Active: {
|
|
1839
|
+
"0": {
|
|
1840
|
+
domain_hash: number[];
|
|
1841
|
+
active_session_info: {
|
|
1842
|
+
user: PublicKey;
|
|
1843
|
+
expiration: BN;
|
|
1844
|
+
authorized_programs: {
|
|
1845
|
+
Specific: {
|
|
1846
|
+
0: {
|
|
1847
|
+
program_id: PublicKey;
|
|
1848
|
+
signer_pda: PublicKey;
|
|
1849
|
+
}[];
|
|
1850
|
+
};
|
|
1851
|
+
} | {
|
|
1852
|
+
All: {};
|
|
1853
|
+
};
|
|
1854
|
+
authorized_tokens: {
|
|
1855
|
+
Specific: {
|
|
1856
|
+
"0": PublicKey[];
|
|
1857
|
+
};
|
|
1858
|
+
} | {
|
|
1859
|
+
All: {};
|
|
1860
|
+
};
|
|
1861
|
+
extra: {
|
|
1862
|
+
0?: unknown;
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1069
1865
|
};
|
|
1070
1866
|
};
|
|
1071
1867
|
};
|
|
@@ -1077,6 +1873,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1077
1873
|
session_info: {
|
|
1078
1874
|
V1: {
|
|
1079
1875
|
"0": {
|
|
1876
|
+
user: PublicKey;
|
|
1877
|
+
expiration: BN;
|
|
1080
1878
|
authorized_programs: {
|
|
1081
1879
|
Specific: {
|
|
1082
1880
|
0: {
|
|
@@ -1092,11 +1890,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1092
1890
|
} | {
|
|
1093
1891
|
All: {};
|
|
1094
1892
|
};
|
|
1095
|
-
expiration: BN;
|
|
1096
1893
|
extra: {
|
|
1097
1894
|
0?: unknown;
|
|
1098
1895
|
};
|
|
1099
|
-
user: PublicKey;
|
|
1100
1896
|
};
|
|
1101
1897
|
};
|
|
1102
1898
|
} | {
|
|
@@ -1106,6 +1902,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1106
1902
|
} | {
|
|
1107
1903
|
Active: {
|
|
1108
1904
|
"0": {
|
|
1905
|
+
user: PublicKey;
|
|
1906
|
+
expiration: BN;
|
|
1109
1907
|
authorized_programs: {
|
|
1110
1908
|
Specific: {
|
|
1111
1909
|
0: {
|
|
@@ -1121,11 +1919,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1121
1919
|
} | {
|
|
1122
1920
|
All: {};
|
|
1123
1921
|
};
|
|
1124
|
-
expiration: BN;
|
|
1125
1922
|
extra: {
|
|
1126
1923
|
0?: unknown;
|
|
1127
1924
|
};
|
|
1128
|
-
user: PublicKey;
|
|
1129
1925
|
};
|
|
1130
1926
|
};
|
|
1131
1927
|
};
|
|
@@ -1133,10 +1929,24 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1133
1929
|
} | {
|
|
1134
1930
|
V3: {
|
|
1135
1931
|
"0": {
|
|
1136
|
-
Revoked:
|
|
1932
|
+
Revoked: {
|
|
1933
|
+
"0": {
|
|
1934
|
+
user: PublicKey;
|
|
1935
|
+
expiration: BN;
|
|
1936
|
+
authorized_tokens_with_mints: {
|
|
1937
|
+
Specific: {
|
|
1938
|
+
"0": PublicKey[];
|
|
1939
|
+
};
|
|
1940
|
+
} | {
|
|
1941
|
+
All: {};
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
};
|
|
1137
1945
|
} | {
|
|
1138
1946
|
Active: {
|
|
1139
1947
|
"0": {
|
|
1948
|
+
user: PublicKey;
|
|
1949
|
+
expiration: BN;
|
|
1140
1950
|
authorized_programs: {
|
|
1141
1951
|
Specific: {
|
|
1142
1952
|
0: {
|
|
@@ -1154,11 +1964,57 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1154
1964
|
} | {
|
|
1155
1965
|
All: {};
|
|
1156
1966
|
};
|
|
1157
|
-
expiration: BN;
|
|
1158
1967
|
extra: {
|
|
1159
1968
|
0?: unknown;
|
|
1160
1969
|
};
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
} | {
|
|
1975
|
+
V4: {
|
|
1976
|
+
"0": {
|
|
1977
|
+
Revoked: {
|
|
1978
|
+
"0": {
|
|
1161
1979
|
user: PublicKey;
|
|
1980
|
+
expiration: BN;
|
|
1981
|
+
authorized_tokens_with_mints: {
|
|
1982
|
+
Specific: {
|
|
1983
|
+
"0": PublicKey[];
|
|
1984
|
+
};
|
|
1985
|
+
} | {
|
|
1986
|
+
All: {};
|
|
1987
|
+
};
|
|
1988
|
+
};
|
|
1989
|
+
};
|
|
1990
|
+
} | {
|
|
1991
|
+
Active: {
|
|
1992
|
+
"0": {
|
|
1993
|
+
domain_hash: number[];
|
|
1994
|
+
active_session_info: {
|
|
1995
|
+
user: PublicKey;
|
|
1996
|
+
expiration: BN;
|
|
1997
|
+
authorized_programs: {
|
|
1998
|
+
Specific: {
|
|
1999
|
+
0: {
|
|
2000
|
+
program_id: PublicKey;
|
|
2001
|
+
signer_pda: PublicKey;
|
|
2002
|
+
}[];
|
|
2003
|
+
};
|
|
2004
|
+
} | {
|
|
2005
|
+
All: {};
|
|
2006
|
+
};
|
|
2007
|
+
authorized_tokens: {
|
|
2008
|
+
Specific: {
|
|
2009
|
+
"0": PublicKey[];
|
|
2010
|
+
};
|
|
2011
|
+
} | {
|
|
2012
|
+
All: {};
|
|
2013
|
+
};
|
|
2014
|
+
extra: {
|
|
2015
|
+
0?: unknown;
|
|
2016
|
+
};
|
|
2017
|
+
};
|
|
1162
2018
|
};
|
|
1163
2019
|
};
|
|
1164
2020
|
};
|
|
@@ -1179,7 +2035,7 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1179
2035
|
expiration: Date;
|
|
1180
2036
|
extra: unknown;
|
|
1181
2037
|
major: number;
|
|
1182
|
-
minor: 1 | 2 | 3;
|
|
2038
|
+
minor: 1 | 2 | 3 | 4;
|
|
1183
2039
|
user: PublicKey;
|
|
1184
2040
|
sponsor: PublicKey;
|
|
1185
2041
|
} | undefined, {
|
|
@@ -1187,6 +2043,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1187
2043
|
session_info: {
|
|
1188
2044
|
V1: {
|
|
1189
2045
|
"0": {
|
|
2046
|
+
user: PublicKey;
|
|
2047
|
+
expiration: BN;
|
|
1190
2048
|
authorized_programs: {
|
|
1191
2049
|
Specific: {
|
|
1192
2050
|
0: {
|
|
@@ -1202,11 +2060,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1202
2060
|
} | {
|
|
1203
2061
|
All: {};
|
|
1204
2062
|
};
|
|
1205
|
-
expiration: BN;
|
|
1206
2063
|
extra: {
|
|
1207
2064
|
0?: unknown;
|
|
1208
2065
|
};
|
|
1209
|
-
user: PublicKey;
|
|
1210
2066
|
};
|
|
1211
2067
|
};
|
|
1212
2068
|
} | {
|
|
@@ -1216,6 +2072,8 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1216
2072
|
} | {
|
|
1217
2073
|
Active: {
|
|
1218
2074
|
"0": {
|
|
2075
|
+
user: PublicKey;
|
|
2076
|
+
expiration: BN;
|
|
1219
2077
|
authorized_programs: {
|
|
1220
2078
|
Specific: {
|
|
1221
2079
|
0: {
|
|
@@ -1231,11 +2089,9 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1231
2089
|
} | {
|
|
1232
2090
|
All: {};
|
|
1233
2091
|
};
|
|
1234
|
-
expiration: BN;
|
|
1235
2092
|
extra: {
|
|
1236
2093
|
0?: unknown;
|
|
1237
2094
|
};
|
|
1238
|
-
user: PublicKey;
|
|
1239
2095
|
};
|
|
1240
2096
|
};
|
|
1241
2097
|
};
|
|
@@ -1243,10 +2099,24 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1243
2099
|
} | {
|
|
1244
2100
|
V3: {
|
|
1245
2101
|
"0": {
|
|
1246
|
-
Revoked:
|
|
2102
|
+
Revoked: {
|
|
2103
|
+
"0": {
|
|
2104
|
+
user: PublicKey;
|
|
2105
|
+
expiration: BN;
|
|
2106
|
+
authorized_tokens_with_mints: {
|
|
2107
|
+
Specific: {
|
|
2108
|
+
"0": PublicKey[];
|
|
2109
|
+
};
|
|
2110
|
+
} | {
|
|
2111
|
+
All: {};
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
1247
2115
|
} | {
|
|
1248
2116
|
Active: {
|
|
1249
2117
|
"0": {
|
|
2118
|
+
user: PublicKey;
|
|
2119
|
+
expiration: BN;
|
|
1250
2120
|
authorized_programs: {
|
|
1251
2121
|
Specific: {
|
|
1252
2122
|
0: {
|
|
@@ -1264,11 +2134,57 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1264
2134
|
} | {
|
|
1265
2135
|
All: {};
|
|
1266
2136
|
};
|
|
1267
|
-
expiration: BN;
|
|
1268
2137
|
extra: {
|
|
1269
2138
|
0?: unknown;
|
|
1270
2139
|
};
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2144
|
+
} | {
|
|
2145
|
+
V4: {
|
|
2146
|
+
"0": {
|
|
2147
|
+
Revoked: {
|
|
2148
|
+
"0": {
|
|
1271
2149
|
user: PublicKey;
|
|
2150
|
+
expiration: BN;
|
|
2151
|
+
authorized_tokens_with_mints: {
|
|
2152
|
+
Specific: {
|
|
2153
|
+
"0": PublicKey[];
|
|
2154
|
+
};
|
|
2155
|
+
} | {
|
|
2156
|
+
All: {};
|
|
2157
|
+
};
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
} | {
|
|
2161
|
+
Active: {
|
|
2162
|
+
"0": {
|
|
2163
|
+
domain_hash: number[];
|
|
2164
|
+
active_session_info: {
|
|
2165
|
+
user: PublicKey;
|
|
2166
|
+
expiration: BN;
|
|
2167
|
+
authorized_programs: {
|
|
2168
|
+
Specific: {
|
|
2169
|
+
0: {
|
|
2170
|
+
program_id: PublicKey;
|
|
2171
|
+
signer_pda: PublicKey;
|
|
2172
|
+
}[];
|
|
2173
|
+
};
|
|
2174
|
+
} | {
|
|
2175
|
+
All: {};
|
|
2176
|
+
};
|
|
2177
|
+
authorized_tokens: {
|
|
2178
|
+
Specific: {
|
|
2179
|
+
"0": PublicKey[];
|
|
2180
|
+
};
|
|
2181
|
+
} | {
|
|
2182
|
+
All: {};
|
|
2183
|
+
};
|
|
2184
|
+
extra: {
|
|
2185
|
+
0?: unknown;
|
|
2186
|
+
};
|
|
2187
|
+
};
|
|
1272
2188
|
};
|
|
1273
2189
|
};
|
|
1274
2190
|
};
|
|
@@ -1395,7 +2311,7 @@ export declare const verifyLogInToken: (token: string, connection: Connection) =
|
|
|
1395
2311
|
expiration: Date;
|
|
1396
2312
|
extra: unknown;
|
|
1397
2313
|
major: number;
|
|
1398
|
-
minor: 1 | 2 | 3;
|
|
2314
|
+
minor: 1 | 2 | 3 | 4;
|
|
1399
2315
|
user: PublicKey;
|
|
1400
2316
|
sponsor: PublicKey;
|
|
1401
2317
|
} | undefined>;
|