@minip2p/react-native 0.10.0 → 0.10.2

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.
@@ -343,6 +343,475 @@ const FfiConverterTypeMdnsOptions = (() => {
343
343
  return new FFIConverter();
344
344
  })();
345
345
 
346
+ // Enum: WindowLimit
347
+ export let WindowLimit_Tags = /*#__PURE__*/function (WindowLimit_Tags) {
348
+ WindowLimit_Tags["Bounded"] = "Bounded";
349
+ WindowLimit_Tags["Unlimited"] = "Unlimited";
350
+ return WindowLimit_Tags;
351
+ }({});
352
+ /**
353
+ * A receive window that may be unbounded.
354
+ */
355
+ export const WindowLimit = (() => {
356
+ /**
357
+ * At most `bytes`.
358
+ */
359
+ class Bounded_ extends UniffiEnum {
360
+ /**
361
+ * @private
362
+ * This field is private and should not be used, use `tag` instead.
363
+ */
364
+ [uniffiTypeNameSymbol] = "WindowLimit";
365
+ tag = WindowLimit_Tags.Bounded;
366
+ constructor(inner) {
367
+ super("WindowLimit", "Bounded");
368
+ this.inner = Object.freeze(inner);
369
+ }
370
+ static new(inner) {
371
+ return new Bounded_(inner);
372
+ }
373
+ static instanceOf(obj) {
374
+ return obj.tag === WindowLimit_Tags.Bounded;
375
+ }
376
+ }
377
+ /**
378
+ * No window.
379
+ */
380
+ class Unlimited_ extends UniffiEnum {
381
+ /**
382
+ * @private
383
+ * This field is private and should not be used, use `tag` instead.
384
+ */
385
+ [uniffiTypeNameSymbol] = "WindowLimit";
386
+ tag = WindowLimit_Tags.Unlimited;
387
+ constructor() {
388
+ super("WindowLimit", "Unlimited");
389
+ }
390
+ static new() {
391
+ return new Unlimited_();
392
+ }
393
+ static instanceOf(obj) {
394
+ return obj.tag === WindowLimit_Tags.Unlimited;
395
+ }
396
+ }
397
+ function instanceOf(obj) {
398
+ return obj[uniffiTypeNameSymbol] === "WindowLimit";
399
+ }
400
+ return Object.freeze({
401
+ instanceOf,
402
+ Bounded: Bounded_,
403
+ Unlimited: Unlimited_
404
+ });
405
+ })();
406
+ /**
407
+ * A receive window that may be unbounded.
408
+ */
409
+
410
+ // FfiConverter for enum WindowLimit
411
+ const FfiConverterTypeWindowLimit = (() => {
412
+ class FFIConverter extends AbstractFfiConverterByteArray {
413
+ readFromCursor(c) {
414
+ switch (c.readI32()) {
415
+ case 1:
416
+ return new WindowLimit.Bounded({
417
+ bytes: FfiConverterUInt64.readFromCursor(c)
418
+ });
419
+ case 2:
420
+ return new WindowLimit.Unlimited();
421
+ default:
422
+ throw new UniffiInternalError.UnexpectedEnumCase();
423
+ }
424
+ }
425
+ writeIntoCursor(value, c) {
426
+ switch (value.tag) {
427
+ case WindowLimit_Tags.Bounded:
428
+ {
429
+ c.writeI32(1);
430
+ const inner = value.inner;
431
+ FfiConverterUInt64.writeIntoCursor(inner.bytes, c);
432
+ return;
433
+ }
434
+ case WindowLimit_Tags.Unlimited:
435
+ {
436
+ c.writeI32(2);
437
+ return;
438
+ }
439
+ default:
440
+ // Throwing from here means that WindowLimit_Tags hasn't matched an ordinal.
441
+ throw new UniffiInternalError.UnexpectedEnumCase();
442
+ }
443
+ }
444
+ allocationSize(value) {
445
+ switch (value.tag) {
446
+ case WindowLimit_Tags.Bounded:
447
+ {
448
+ const inner = value.inner;
449
+ let size = 4;
450
+ size += FfiConverterUInt64.allocationSize(inner.bytes);
451
+ return size;
452
+ }
453
+ case WindowLimit_Tags.Unlimited:
454
+ {
455
+ return 4;
456
+ }
457
+ default:
458
+ throw new UniffiInternalError.UnexpectedEnumCase();
459
+ }
460
+ }
461
+ }
462
+ return new FFIConverter();
463
+ })();
464
+
465
+ /**
466
+ * QUIC overrides; each field mirrors `minip2p::QuicLimits`.
467
+ */
468
+
469
+ /**
470
+ * Generated factory for {@link QuicLimitsOptions} record objects.
471
+ */
472
+ export const QuicLimitsOptions = (() => {
473
+ const defaults = () => ({
474
+ maxConnections: undefined,
475
+ maxStreamsPerConnection: undefined,
476
+ maxPendingBytesPerStream: undefined,
477
+ maxPendingConnectionBytes: undefined,
478
+ controlStreamReserveBytes: undefined,
479
+ maxPendingDatagrams: undefined,
480
+ idleTimeoutMs: undefined,
481
+ requireAddressValidation: undefined,
482
+ streamReceiveWindow: undefined,
483
+ connectionReceiveWindow: undefined,
484
+ sendWindow: undefined,
485
+ webtransportHandshakeTimeoutMs: undefined
486
+ });
487
+ const create = (() => {
488
+ return uniffiCreateRecord(defaults);
489
+ })();
490
+ return Object.freeze({
491
+ create,
492
+ new: create,
493
+ defaults: () => Object.freeze(defaults())
494
+ });
495
+ })();
496
+ const FfiConverterTypeQuicLimitsOptions = (() => {
497
+ class FFIConverter extends AbstractFfiConverterByteArray {
498
+ readFromCursor(c) {
499
+ return {
500
+ maxConnections: FfiConverterOptionalUInt64.readFromCursor(c),
501
+ maxStreamsPerConnection: FfiConverterOptionalUInt64.readFromCursor(c),
502
+ maxPendingBytesPerStream: FfiConverterOptionalUInt64.readFromCursor(c),
503
+ maxPendingConnectionBytes: FfiConverterOptionalUInt64.readFromCursor(c),
504
+ controlStreamReserveBytes: FfiConverterOptionalUInt64.readFromCursor(c),
505
+ maxPendingDatagrams: FfiConverterOptionalUInt64.readFromCursor(c),
506
+ idleTimeoutMs: FfiConverterOptionalUInt64.readFromCursor(c),
507
+ requireAddressValidation: FfiConverterOptionalBoolean.readFromCursor(c),
508
+ streamReceiveWindow: FfiConverterOptionalUInt64.readFromCursor(c),
509
+ connectionReceiveWindow: FfiConverterOptionalTypeWindowLimit.readFromCursor(c),
510
+ sendWindow: FfiConverterOptionalUInt64.readFromCursor(c),
511
+ webtransportHandshakeTimeoutMs: FfiConverterOptionalUInt64.readFromCursor(c)
512
+ };
513
+ }
514
+ writeIntoCursor(value, c) {
515
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxConnections, c);
516
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxStreamsPerConnection, c);
517
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxPendingBytesPerStream, c);
518
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxPendingConnectionBytes, c);
519
+ FfiConverterOptionalUInt64.writeIntoCursor(value.controlStreamReserveBytes, c);
520
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxPendingDatagrams, c);
521
+ FfiConverterOptionalUInt64.writeIntoCursor(value.idleTimeoutMs, c);
522
+ FfiConverterOptionalBoolean.writeIntoCursor(value.requireAddressValidation, c);
523
+ FfiConverterOptionalUInt64.writeIntoCursor(value.streamReceiveWindow, c);
524
+ FfiConverterOptionalTypeWindowLimit.writeIntoCursor(value.connectionReceiveWindow, c);
525
+ FfiConverterOptionalUInt64.writeIntoCursor(value.sendWindow, c);
526
+ FfiConverterOptionalUInt64.writeIntoCursor(value.webtransportHandshakeTimeoutMs, c);
527
+ }
528
+ allocationSize(value) {
529
+ return FfiConverterOptionalUInt64.allocationSize(value.maxConnections) + FfiConverterOptionalUInt64.allocationSize(value.maxStreamsPerConnection) + FfiConverterOptionalUInt64.allocationSize(value.maxPendingBytesPerStream) + FfiConverterOptionalUInt64.allocationSize(value.maxPendingConnectionBytes) + FfiConverterOptionalUInt64.allocationSize(value.controlStreamReserveBytes) + FfiConverterOptionalUInt64.allocationSize(value.maxPendingDatagrams) + FfiConverterOptionalUInt64.allocationSize(value.idleTimeoutMs) + FfiConverterOptionalBoolean.allocationSize(value.requireAddressValidation) + FfiConverterOptionalUInt64.allocationSize(value.streamReceiveWindow) + FfiConverterOptionalTypeWindowLimit.allocationSize(value.connectionReceiveWindow) + FfiConverterOptionalUInt64.allocationSize(value.sendWindow) + FfiConverterOptionalUInt64.allocationSize(value.webtransportHandshakeTimeoutMs);
530
+ }
531
+ }
532
+ ;
533
+ return new FFIConverter();
534
+ })();
535
+
536
+ // Enum: TimeoutLimit
537
+ export let TimeoutLimit_Tags = /*#__PURE__*/function (TimeoutLimit_Tags) {
538
+ TimeoutLimit_Tags["AfterMs"] = "AfterMs";
539
+ TimeoutLimit_Tags["Never"] = "Never";
540
+ return TimeoutLimit_Tags;
541
+ }({});
542
+ /**
543
+ * A timeout that may be disabled.
544
+ */
545
+ export const TimeoutLimit = (() => {
546
+ /**
547
+ * Fires after `ms` milliseconds.
548
+ */
549
+ class AfterMs_ extends UniffiEnum {
550
+ /**
551
+ * @private
552
+ * This field is private and should not be used, use `tag` instead.
553
+ */
554
+ [uniffiTypeNameSymbol] = "TimeoutLimit";
555
+ tag = TimeoutLimit_Tags.AfterMs;
556
+ constructor(inner) {
557
+ super("TimeoutLimit", "AfterMs");
558
+ this.inner = Object.freeze(inner);
559
+ }
560
+ static new(inner) {
561
+ return new AfterMs_(inner);
562
+ }
563
+ static instanceOf(obj) {
564
+ return obj.tag === TimeoutLimit_Tags.AfterMs;
565
+ }
566
+ }
567
+ /**
568
+ * Waits indefinitely.
569
+ */
570
+ class Never_ extends UniffiEnum {
571
+ /**
572
+ * @private
573
+ * This field is private and should not be used, use `tag` instead.
574
+ */
575
+ [uniffiTypeNameSymbol] = "TimeoutLimit";
576
+ tag = TimeoutLimit_Tags.Never;
577
+ constructor() {
578
+ super("TimeoutLimit", "Never");
579
+ }
580
+ static new() {
581
+ return new Never_();
582
+ }
583
+ static instanceOf(obj) {
584
+ return obj.tag === TimeoutLimit_Tags.Never;
585
+ }
586
+ }
587
+ function instanceOf(obj) {
588
+ return obj[uniffiTypeNameSymbol] === "TimeoutLimit";
589
+ }
590
+ return Object.freeze({
591
+ instanceOf,
592
+ AfterMs: AfterMs_,
593
+ Never: Never_
594
+ });
595
+ })();
596
+ /**
597
+ * A timeout that may be disabled.
598
+ */
599
+
600
+ // FfiConverter for enum TimeoutLimit
601
+ const FfiConverterTypeTimeoutLimit = (() => {
602
+ class FFIConverter extends AbstractFfiConverterByteArray {
603
+ readFromCursor(c) {
604
+ switch (c.readI32()) {
605
+ case 1:
606
+ return new TimeoutLimit.AfterMs({
607
+ ms: FfiConverterUInt64.readFromCursor(c)
608
+ });
609
+ case 2:
610
+ return new TimeoutLimit.Never();
611
+ default:
612
+ throw new UniffiInternalError.UnexpectedEnumCase();
613
+ }
614
+ }
615
+ writeIntoCursor(value, c) {
616
+ switch (value.tag) {
617
+ case TimeoutLimit_Tags.AfterMs:
618
+ {
619
+ c.writeI32(1);
620
+ const inner = value.inner;
621
+ FfiConverterUInt64.writeIntoCursor(inner.ms, c);
622
+ return;
623
+ }
624
+ case TimeoutLimit_Tags.Never:
625
+ {
626
+ c.writeI32(2);
627
+ return;
628
+ }
629
+ default:
630
+ // Throwing from here means that TimeoutLimit_Tags hasn't matched an ordinal.
631
+ throw new UniffiInternalError.UnexpectedEnumCase();
632
+ }
633
+ }
634
+ allocationSize(value) {
635
+ switch (value.tag) {
636
+ case TimeoutLimit_Tags.AfterMs:
637
+ {
638
+ const inner = value.inner;
639
+ let size = 4;
640
+ size += FfiConverterUInt64.allocationSize(inner.ms);
641
+ return size;
642
+ }
643
+ case TimeoutLimit_Tags.Never:
644
+ {
645
+ return 4;
646
+ }
647
+ default:
648
+ throw new UniffiInternalError.UnexpectedEnumCase();
649
+ }
650
+ }
651
+ }
652
+ return new FFIConverter();
653
+ })();
654
+
655
+ /**
656
+ * Yamux overrides; each field mirrors `minip2p::YamuxConfig`.
657
+ */
658
+
659
+ /**
660
+ * Generated factory for {@link YamuxOptions} record objects.
661
+ */
662
+ export const YamuxOptions = (() => {
663
+ const defaults = () => ({
664
+ receiveWindow: undefined,
665
+ maxFrameLen: undefined,
666
+ maxStreams: undefined,
667
+ maxBufferedSend: undefined,
668
+ maxTotalBufferedSend: undefined,
669
+ controlStreamReserve: undefined,
670
+ maxPendingControl: undefined
671
+ });
672
+ const create = (() => {
673
+ return uniffiCreateRecord(defaults);
674
+ })();
675
+ return Object.freeze({
676
+ create,
677
+ new: create,
678
+ defaults: () => Object.freeze(defaults())
679
+ });
680
+ })();
681
+ const FfiConverterTypeYamuxOptions = (() => {
682
+ class FFIConverter extends AbstractFfiConverterByteArray {
683
+ readFromCursor(c) {
684
+ return {
685
+ receiveWindow: FfiConverterOptionalUInt32.readFromCursor(c),
686
+ maxFrameLen: FfiConverterOptionalUInt32.readFromCursor(c),
687
+ maxStreams: FfiConverterOptionalUInt64.readFromCursor(c),
688
+ maxBufferedSend: FfiConverterOptionalUInt64.readFromCursor(c),
689
+ maxTotalBufferedSend: FfiConverterOptionalUInt64.readFromCursor(c),
690
+ controlStreamReserve: FfiConverterOptionalUInt64.readFromCursor(c),
691
+ maxPendingControl: FfiConverterOptionalUInt64.readFromCursor(c)
692
+ };
693
+ }
694
+ writeIntoCursor(value, c) {
695
+ FfiConverterOptionalUInt32.writeIntoCursor(value.receiveWindow, c);
696
+ FfiConverterOptionalUInt32.writeIntoCursor(value.maxFrameLen, c);
697
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxStreams, c);
698
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxBufferedSend, c);
699
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxTotalBufferedSend, c);
700
+ FfiConverterOptionalUInt64.writeIntoCursor(value.controlStreamReserve, c);
701
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxPendingControl, c);
702
+ }
703
+ allocationSize(value) {
704
+ return FfiConverterOptionalUInt32.allocationSize(value.receiveWindow) + FfiConverterOptionalUInt32.allocationSize(value.maxFrameLen) + FfiConverterOptionalUInt64.allocationSize(value.maxStreams) + FfiConverterOptionalUInt64.allocationSize(value.maxBufferedSend) + FfiConverterOptionalUInt64.allocationSize(value.maxTotalBufferedSend) + FfiConverterOptionalUInt64.allocationSize(value.controlStreamReserve) + FfiConverterOptionalUInt64.allocationSize(value.maxPendingControl);
705
+ }
706
+ }
707
+ ;
708
+ return new FFIConverter();
709
+ })();
710
+
711
+ /**
712
+ * TCP overrides; each field mirrors `minip2p::TcpConfig` (its connection-id
713
+ * namespace stays internal).
714
+ */
715
+
716
+ /**
717
+ * Generated factory for {@link TcpLimitsOptions} record objects.
718
+ */
719
+ export const TcpLimitsOptions = (() => {
720
+ const defaults = () => ({
721
+ maxConnections: undefined,
722
+ handshakeTimeoutMs: undefined,
723
+ maxBufferedSend: undefined,
724
+ sendStallTimeoutMs: undefined,
725
+ yamux: undefined
726
+ });
727
+ const create = (() => {
728
+ return uniffiCreateRecord(defaults);
729
+ })();
730
+ return Object.freeze({
731
+ create,
732
+ new: create,
733
+ defaults: () => Object.freeze(defaults())
734
+ });
735
+ })();
736
+ const FfiConverterTypeTcpLimitsOptions = (() => {
737
+ class FFIConverter extends AbstractFfiConverterByteArray {
738
+ readFromCursor(c) {
739
+ return {
740
+ maxConnections: FfiConverterOptionalUInt64.readFromCursor(c),
741
+ handshakeTimeoutMs: FfiConverterOptionalTypeTimeoutLimit.readFromCursor(c),
742
+ maxBufferedSend: FfiConverterOptionalUInt64.readFromCursor(c),
743
+ sendStallTimeoutMs: FfiConverterOptionalTypeTimeoutLimit.readFromCursor(c),
744
+ yamux: FfiConverterOptionalTypeYamuxOptions.readFromCursor(c)
745
+ };
746
+ }
747
+ writeIntoCursor(value, c) {
748
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxConnections, c);
749
+ FfiConverterOptionalTypeTimeoutLimit.writeIntoCursor(value.handshakeTimeoutMs, c);
750
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxBufferedSend, c);
751
+ FfiConverterOptionalTypeTimeoutLimit.writeIntoCursor(value.sendStallTimeoutMs, c);
752
+ FfiConverterOptionalTypeYamuxOptions.writeIntoCursor(value.yamux, c);
753
+ }
754
+ allocationSize(value) {
755
+ return FfiConverterOptionalUInt64.allocationSize(value.maxConnections) + FfiConverterOptionalTypeTimeoutLimit.allocationSize(value.handshakeTimeoutMs) + FfiConverterOptionalUInt64.allocationSize(value.maxBufferedSend) + FfiConverterOptionalTypeTimeoutLimit.allocationSize(value.sendStallTimeoutMs) + FfiConverterOptionalTypeYamuxOptions.allocationSize(value.yamux);
756
+ }
757
+ }
758
+ ;
759
+ return new FFIConverter();
760
+ })();
761
+
762
+ /**
763
+ * Transport limit overrides.
764
+ *
765
+ * Every field is optional: an absent record or field keeps the native
766
+ * default, so an omitted record and an empty one behave identically. Limits
767
+ * for a transport the endpoint does not bind (TCP without a `/tcp` listen
768
+ * address, say) are ignored, not validated. An invalid limit fails
769
+ * construction with `InvalidConfig { capability: Transport }`.
770
+ */
771
+
772
+ /**
773
+ * Generated factory for {@link LimitsOptions} record objects.
774
+ */
775
+ export const LimitsOptions = (() => {
776
+ const defaults = () => ({
777
+ quic: undefined,
778
+ tcp: undefined,
779
+ circuit: undefined,
780
+ maxCircuits: undefined
781
+ });
782
+ const create = (() => {
783
+ return uniffiCreateRecord(defaults);
784
+ })();
785
+ return Object.freeze({
786
+ create,
787
+ new: create,
788
+ defaults: () => Object.freeze(defaults())
789
+ });
790
+ })();
791
+ const FfiConverterTypeLimitsOptions = (() => {
792
+ class FFIConverter extends AbstractFfiConverterByteArray {
793
+ readFromCursor(c) {
794
+ return {
795
+ quic: FfiConverterOptionalTypeQuicLimitsOptions.readFromCursor(c),
796
+ tcp: FfiConverterOptionalTypeTcpLimitsOptions.readFromCursor(c),
797
+ circuit: FfiConverterOptionalTypeYamuxOptions.readFromCursor(c),
798
+ maxCircuits: FfiConverterOptionalUInt64.readFromCursor(c)
799
+ };
800
+ }
801
+ writeIntoCursor(value, c) {
802
+ FfiConverterOptionalTypeQuicLimitsOptions.writeIntoCursor(value.quic, c);
803
+ FfiConverterOptionalTypeTcpLimitsOptions.writeIntoCursor(value.tcp, c);
804
+ FfiConverterOptionalTypeYamuxOptions.writeIntoCursor(value.circuit, c);
805
+ FfiConverterOptionalUInt64.writeIntoCursor(value.maxCircuits, c);
806
+ }
807
+ allocationSize(value) {
808
+ return FfiConverterOptionalTypeQuicLimitsOptions.allocationSize(value.quic) + FfiConverterOptionalTypeTcpLimitsOptions.allocationSize(value.tcp) + FfiConverterOptionalTypeYamuxOptions.allocationSize(value.circuit) + FfiConverterOptionalUInt64.allocationSize(value.maxCircuits);
809
+ }
810
+ }
811
+ ;
812
+ return new FFIConverter();
813
+ })();
814
+
346
815
  /**
347
816
  * Configuration used to construct an FFI endpoint.
348
817
  */
@@ -373,7 +842,8 @@ const FfiConverterTypeEndpointConfig = (() => {
373
842
  allowUnsigned: FfiConverterBool.readFromCursor(c),
374
843
  protocols: FfiConverterSequenceString.readFromCursor(c),
375
844
  discovery: FfiConverterOptionalTypeDiscoveryOptions.readFromCursor(c),
376
- mdns: FfiConverterOptionalTypeMdnsOptions.readFromCursor(c)
845
+ mdns: FfiConverterOptionalTypeMdnsOptions.readFromCursor(c),
846
+ limits: FfiConverterOptionalTypeLimitsOptions.readFromCursor(c)
377
847
  };
378
848
  }
379
849
  writeIntoCursor(value, c) {
@@ -386,9 +856,10 @@ const FfiConverterTypeEndpointConfig = (() => {
386
856
  FfiConverterSequenceString.writeIntoCursor(value.protocols, c);
387
857
  FfiConverterOptionalTypeDiscoveryOptions.writeIntoCursor(value.discovery, c);
388
858
  FfiConverterOptionalTypeMdnsOptions.writeIntoCursor(value.mdns, c);
859
+ FfiConverterOptionalTypeLimitsOptions.writeIntoCursor(value.limits, c);
389
860
  }
390
861
  allocationSize(value) {
391
- return FfiConverterOptionalString.allocationSize(value.agentVersion) + FfiConverterSequenceString.allocationSize(value.relays) + FfiConverterSequenceString.allocationSize(value.autonatServers) + FfiConverterOptionalSequenceString.allocationSize(value.listen) + FfiConverterBool.allocationSize(value.forceRelay) + FfiConverterBool.allocationSize(value.allowUnsigned) + FfiConverterSequenceString.allocationSize(value.protocols) + FfiConverterOptionalTypeDiscoveryOptions.allocationSize(value.discovery) + FfiConverterOptionalTypeMdnsOptions.allocationSize(value.mdns);
862
+ return FfiConverterOptionalString.allocationSize(value.agentVersion) + FfiConverterSequenceString.allocationSize(value.relays) + FfiConverterSequenceString.allocationSize(value.autonatServers) + FfiConverterOptionalSequenceString.allocationSize(value.listen) + FfiConverterBool.allocationSize(value.forceRelay) + FfiConverterBool.allocationSize(value.allowUnsigned) + FfiConverterSequenceString.allocationSize(value.protocols) + FfiConverterOptionalTypeDiscoveryOptions.allocationSize(value.discovery) + FfiConverterOptionalTypeMdnsOptions.allocationSize(value.mdns) + FfiConverterOptionalTypeLimitsOptions.allocationSize(value.limits);
392
863
  }
393
864
  }
394
865
  ;
@@ -2106,6 +2577,7 @@ export let P2pEvent_Tags = /*#__PURE__*/function (P2pEvent_Tags) {
2106
2577
  P2pEvent_Tags["StreamClosed"] = "StreamClosed";
2107
2578
  P2pEvent_Tags["EndpointError"] = "EndpointError";
2108
2579
  P2pEvent_Tags["ReachabilityChanged"] = "ReachabilityChanged";
2580
+ P2pEvent_Tags["ListenAddressesChanged"] = "ListenAddressesChanged";
2109
2581
  P2pEvent_Tags["PublicAddressesChanged"] = "PublicAddressesChanged";
2110
2582
  P2pEvent_Tags["RelayReserved"] = "RelayReserved";
2111
2583
  P2pEvent_Tags["RelayReservationLost"] = "RelayReservationLost";
@@ -2521,6 +2993,30 @@ export const P2pEvent = (() => {
2521
2993
  return obj.tag === P2pEvent_Tags.ReachabilityChanged;
2522
2994
  }
2523
2995
  }
2996
+ /**
2997
+ * The listen set changed without a `listen` call, as when a
2998
+ * WebTransport listener's certificate rotates: `addrs` is the whole new
2999
+ * set, with `/p2p/<local>`, for the app to republish. External and
3000
+ * public address changes never fire it.
3001
+ */
3002
+ class ListenAddressesChanged_ extends UniffiEnum {
3003
+ /**
3004
+ * @private
3005
+ * This field is private and should not be used, use `tag` instead.
3006
+ */
3007
+ [uniffiTypeNameSymbol] = "P2pEvent";
3008
+ tag = P2pEvent_Tags.ListenAddressesChanged;
3009
+ constructor(inner) {
3010
+ super("P2pEvent", "ListenAddressesChanged");
3011
+ this.inner = Object.freeze(inner);
3012
+ }
3013
+ static new(inner) {
3014
+ return new ListenAddressesChanged_(inner);
3015
+ }
3016
+ static instanceOf(obj) {
3017
+ return obj.tag === P2pEvent_Tags.ListenAddressesChanged;
3018
+ }
3019
+ }
2524
3020
  /**
2525
3021
  * AutoNAT confirmed a changed public address set.
2526
3022
  */
@@ -3014,6 +3510,7 @@ export const P2pEvent = (() => {
3014
3510
  StreamClosed: StreamClosed_,
3015
3511
  EndpointError: EndpointError_,
3016
3512
  ReachabilityChanged: ReachabilityChanged_,
3513
+ ListenAddressesChanged: ListenAddressesChanged_,
3017
3514
  PublicAddressesChanged: PublicAddressesChanged_,
3018
3515
  RelayReserved: RelayReserved_,
3019
3516
  RelayReservationLost: RelayReservationLost_,
@@ -3158,32 +3655,36 @@ const FfiConverterTypeP2pEvent = (() => {
3158
3655
  confirmedAddrs: FfiConverterSequenceString.readFromCursor(c)
3159
3656
  });
3160
3657
  case 19:
3161
- return new P2pEvent.PublicAddressesChanged({
3658
+ return new P2pEvent.ListenAddressesChanged({
3162
3659
  addrs: FfiConverterSequenceString.readFromCursor(c)
3163
3660
  });
3164
3661
  case 20:
3662
+ return new P2pEvent.PublicAddressesChanged({
3663
+ addrs: FfiConverterSequenceString.readFromCursor(c)
3664
+ });
3665
+ case 21:
3165
3666
  return new P2pEvent.RelayReserved({
3166
3667
  relayPeerId: FfiConverterString.readFromCursor(c),
3167
3668
  expiresUnixSecs: FfiConverterOptionalUInt64.readFromCursor(c)
3168
3669
  });
3169
- case 21:
3670
+ case 22:
3170
3671
  return new P2pEvent.RelayReservationLost({
3171
3672
  relayPeerId: FfiConverterString.readFromCursor(c)
3172
3673
  });
3173
- case 22:
3674
+ case 23:
3174
3675
  return new P2pEvent.PathEstablished({
3175
3676
  connectId: FfiConverterUInt64.readFromCursor(c),
3176
3677
  peerId: FfiConverterString.readFromCursor(c),
3177
3678
  connId: FfiConverterUInt64.readFromCursor(c),
3178
3679
  path: FfiConverterTypePathKind.readFromCursor(c)
3179
3680
  });
3180
- case 23:
3681
+ case 24:
3181
3682
  return new P2pEvent.InboundPathEstablished({
3182
3683
  peerId: FfiConverterString.readFromCursor(c),
3183
3684
  path: FfiConverterTypePathKind.readFromCursor(c),
3184
3685
  connId: FfiConverterUInt64.readFromCursor(c)
3185
3686
  });
3186
- case 24:
3687
+ case 25:
3187
3688
  return new P2pEvent.PathUpgraded({
3188
3689
  connectId: FfiConverterUInt64.readFromCursor(c),
3189
3690
  peerId: FfiConverterString.readFromCursor(c),
@@ -3192,31 +3693,31 @@ const FfiConverterTypeP2pEvent = (() => {
3192
3693
  oldConnId: FfiConverterUInt64.readFromCursor(c),
3193
3694
  newConnId: FfiConverterUInt64.readFromCursor(c)
3194
3695
  });
3195
- case 25:
3696
+ case 26:
3196
3697
  return new P2pEvent.HolePunchFailed({
3197
3698
  connectId: FfiConverterUInt64.readFromCursor(c),
3198
3699
  attempt: FfiConverterUInt32.readFromCursor(c),
3199
3700
  reason: FfiConverterString.readFromCursor(c)
3200
3701
  });
3201
- case 26:
3702
+ case 27:
3202
3703
  return new P2pEvent.ConnectFailed({
3203
3704
  connectId: FfiConverterUInt64.readFromCursor(c),
3204
3705
  peerId: FfiConverterString.readFromCursor(c),
3205
3706
  kind: FfiConverterTypeNatErrorKind.readFromCursor(c),
3206
3707
  detail: FfiConverterString.readFromCursor(c)
3207
3708
  });
3208
- case 27:
3709
+ case 28:
3209
3710
  return new P2pEvent.ConnectCancelled({
3210
3711
  connectId: FfiConverterUInt64.readFromCursor(c),
3211
3712
  peerId: FfiConverterString.readFromCursor(c)
3212
3713
  });
3213
- case 28:
3714
+ case 29:
3214
3715
  return new P2pEvent.InboundDirectUpgrade({
3215
3716
  peerId: FfiConverterString.readFromCursor(c),
3216
3717
  oldConnId: FfiConverterUInt64.readFromCursor(c),
3217
3718
  newConnId: FfiConverterUInt64.readFromCursor(c)
3218
3719
  });
3219
- case 29:
3720
+ case 30:
3220
3721
  return new P2pEvent.Message({
3221
3722
  fromPeerId: FfiConverterString.readFromCursor(c),
3222
3723
  topics: FfiConverterSequenceString.readFromCursor(c),
@@ -3224,55 +3725,55 @@ const FfiConverterTypeP2pEvent = (() => {
3224
3725
  seqno: FfiConverterArrayBuffer.readFromCursor(c),
3225
3726
  signed: FfiConverterBool.readFromCursor(c)
3226
3727
  });
3227
- case 30:
3728
+ case 31:
3228
3729
  return new P2pEvent.PeerSubscribed({
3229
3730
  peerId: FfiConverterString.readFromCursor(c),
3230
3731
  topic: FfiConverterString.readFromCursor(c)
3231
3732
  });
3232
- case 31:
3733
+ case 32:
3233
3734
  return new P2pEvent.PeerUnsubscribed({
3234
3735
  peerId: FfiConverterString.readFromCursor(c),
3235
3736
  topic: FfiConverterString.readFromCursor(c)
3236
3737
  });
3237
- case 32:
3738
+ case 33:
3238
3739
  return new P2pEvent.GossipsubOutboundFailure({
3239
3740
  peerId: FfiConverterString.readFromCursor(c),
3240
3741
  reason: FfiConverterString.readFromCursor(c)
3241
3742
  });
3242
- case 33:
3743
+ case 34:
3243
3744
  return new P2pEvent.GossipsubProtocolViolation({
3244
3745
  peerId: FfiConverterString.readFromCursor(c),
3245
3746
  reason: FfiConverterString.readFromCursor(c)
3246
3747
  });
3247
- case 34:
3748
+ case 35:
3248
3749
  return new P2pEvent.PeerDiscovered({
3249
3750
  peerId: FfiConverterString.readFromCursor(c),
3250
3751
  addrs: FfiConverterSequenceString.readFromCursor(c),
3251
3752
  source: FfiConverterTypeDiscoverySource.readFromCursor(c)
3252
3753
  });
3253
- case 35:
3754
+ case 36:
3254
3755
  return new P2pEvent.PeerUpdated({
3255
3756
  peerId: FfiConverterString.readFromCursor(c),
3256
3757
  addrs: FfiConverterSequenceString.readFromCursor(c),
3257
3758
  source: FfiConverterTypeDiscoverySource.readFromCursor(c)
3258
3759
  });
3259
- case 36:
3760
+ case 37:
3260
3761
  return new P2pEvent.PeerExpired({
3261
3762
  peerId: FfiConverterString.readFromCursor(c)
3262
3763
  });
3263
- case 37:
3764
+ case 38:
3264
3765
  return new P2pEvent.DiscoveryDialFailed({
3265
3766
  peerId: FfiConverterString.readFromCursor(c),
3266
3767
  reason: FfiConverterString.readFromCursor(c)
3267
3768
  });
3268
- case 38:
3769
+ case 39:
3269
3770
  return new P2pEvent.MdnsFailed({
3270
3771
  kind: FfiConverterTypeMdnsFailureKind.readFromCursor(c),
3271
3772
  detail: FfiConverterString.readFromCursor(c)
3272
3773
  });
3273
- case 39:
3274
- return new P2pEvent.MdnsRecovered();
3275
3774
  case 40:
3775
+ return new P2pEvent.MdnsRecovered();
3776
+ case 41:
3276
3777
  return new P2pEvent.DiscoveryProtocolViolation({
3277
3778
  peerId: FfiConverterOptionalString.readFromCursor(c),
3278
3779
  source: FfiConverterTypeDiscoverySource.readFromCursor(c),
@@ -3449,31 +3950,38 @@ const FfiConverterTypeP2pEvent = (() => {
3449
3950
  FfiConverterSequenceString.writeIntoCursor(inner.confirmedAddrs, c);
3450
3951
  return;
3451
3952
  }
3452
- case P2pEvent_Tags.PublicAddressesChanged:
3953
+ case P2pEvent_Tags.ListenAddressesChanged:
3453
3954
  {
3454
3955
  c.writeI32(19);
3455
3956
  const inner = value.inner;
3456
3957
  FfiConverterSequenceString.writeIntoCursor(inner.addrs, c);
3457
3958
  return;
3458
3959
  }
3459
- case P2pEvent_Tags.RelayReserved:
3960
+ case P2pEvent_Tags.PublicAddressesChanged:
3460
3961
  {
3461
3962
  c.writeI32(20);
3462
3963
  const inner = value.inner;
3964
+ FfiConverterSequenceString.writeIntoCursor(inner.addrs, c);
3965
+ return;
3966
+ }
3967
+ case P2pEvent_Tags.RelayReserved:
3968
+ {
3969
+ c.writeI32(21);
3970
+ const inner = value.inner;
3463
3971
  FfiConverterString.writeIntoCursor(inner.relayPeerId, c);
3464
3972
  FfiConverterOptionalUInt64.writeIntoCursor(inner.expiresUnixSecs, c);
3465
3973
  return;
3466
3974
  }
3467
3975
  case P2pEvent_Tags.RelayReservationLost:
3468
3976
  {
3469
- c.writeI32(21);
3977
+ c.writeI32(22);
3470
3978
  const inner = value.inner;
3471
3979
  FfiConverterString.writeIntoCursor(inner.relayPeerId, c);
3472
3980
  return;
3473
3981
  }
3474
3982
  case P2pEvent_Tags.PathEstablished:
3475
3983
  {
3476
- c.writeI32(22);
3984
+ c.writeI32(23);
3477
3985
  const inner = value.inner;
3478
3986
  FfiConverterUInt64.writeIntoCursor(inner.connectId, c);
3479
3987
  FfiConverterString.writeIntoCursor(inner.peerId, c);
@@ -3483,7 +3991,7 @@ const FfiConverterTypeP2pEvent = (() => {
3483
3991
  }
3484
3992
  case P2pEvent_Tags.InboundPathEstablished:
3485
3993
  {
3486
- c.writeI32(23);
3994
+ c.writeI32(24);
3487
3995
  const inner = value.inner;
3488
3996
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3489
3997
  FfiConverterTypePathKind.writeIntoCursor(inner.path, c);
@@ -3492,7 +4000,7 @@ const FfiConverterTypeP2pEvent = (() => {
3492
4000
  }
3493
4001
  case P2pEvent_Tags.PathUpgraded:
3494
4002
  {
3495
- c.writeI32(24);
4003
+ c.writeI32(25);
3496
4004
  const inner = value.inner;
3497
4005
  FfiConverterUInt64.writeIntoCursor(inner.connectId, c);
3498
4006
  FfiConverterString.writeIntoCursor(inner.peerId, c);
@@ -3504,7 +4012,7 @@ const FfiConverterTypeP2pEvent = (() => {
3504
4012
  }
3505
4013
  case P2pEvent_Tags.HolePunchFailed:
3506
4014
  {
3507
- c.writeI32(25);
4015
+ c.writeI32(26);
3508
4016
  const inner = value.inner;
3509
4017
  FfiConverterUInt64.writeIntoCursor(inner.connectId, c);
3510
4018
  FfiConverterUInt32.writeIntoCursor(inner.attempt, c);
@@ -3513,7 +4021,7 @@ const FfiConverterTypeP2pEvent = (() => {
3513
4021
  }
3514
4022
  case P2pEvent_Tags.ConnectFailed:
3515
4023
  {
3516
- c.writeI32(26);
4024
+ c.writeI32(27);
3517
4025
  const inner = value.inner;
3518
4026
  FfiConverterUInt64.writeIntoCursor(inner.connectId, c);
3519
4027
  FfiConverterString.writeIntoCursor(inner.peerId, c);
@@ -3523,7 +4031,7 @@ const FfiConverterTypeP2pEvent = (() => {
3523
4031
  }
3524
4032
  case P2pEvent_Tags.ConnectCancelled:
3525
4033
  {
3526
- c.writeI32(27);
4034
+ c.writeI32(28);
3527
4035
  const inner = value.inner;
3528
4036
  FfiConverterUInt64.writeIntoCursor(inner.connectId, c);
3529
4037
  FfiConverterString.writeIntoCursor(inner.peerId, c);
@@ -3531,7 +4039,7 @@ const FfiConverterTypeP2pEvent = (() => {
3531
4039
  }
3532
4040
  case P2pEvent_Tags.InboundDirectUpgrade:
3533
4041
  {
3534
- c.writeI32(28);
4042
+ c.writeI32(29);
3535
4043
  const inner = value.inner;
3536
4044
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3537
4045
  FfiConverterUInt64.writeIntoCursor(inner.oldConnId, c);
@@ -3540,7 +4048,7 @@ const FfiConverterTypeP2pEvent = (() => {
3540
4048
  }
3541
4049
  case P2pEvent_Tags.Message:
3542
4050
  {
3543
- c.writeI32(29);
4051
+ c.writeI32(30);
3544
4052
  const inner = value.inner;
3545
4053
  FfiConverterString.writeIntoCursor(inner.fromPeerId, c);
3546
4054
  FfiConverterSequenceString.writeIntoCursor(inner.topics, c);
@@ -3551,7 +4059,7 @@ const FfiConverterTypeP2pEvent = (() => {
3551
4059
  }
3552
4060
  case P2pEvent_Tags.PeerSubscribed:
3553
4061
  {
3554
- c.writeI32(30);
4062
+ c.writeI32(31);
3555
4063
  const inner = value.inner;
3556
4064
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3557
4065
  FfiConverterString.writeIntoCursor(inner.topic, c);
@@ -3559,7 +4067,7 @@ const FfiConverterTypeP2pEvent = (() => {
3559
4067
  }
3560
4068
  case P2pEvent_Tags.PeerUnsubscribed:
3561
4069
  {
3562
- c.writeI32(31);
4070
+ c.writeI32(32);
3563
4071
  const inner = value.inner;
3564
4072
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3565
4073
  FfiConverterString.writeIntoCursor(inner.topic, c);
@@ -3567,7 +4075,7 @@ const FfiConverterTypeP2pEvent = (() => {
3567
4075
  }
3568
4076
  case P2pEvent_Tags.GossipsubOutboundFailure:
3569
4077
  {
3570
- c.writeI32(32);
4078
+ c.writeI32(33);
3571
4079
  const inner = value.inner;
3572
4080
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3573
4081
  FfiConverterString.writeIntoCursor(inner.reason, c);
@@ -3575,7 +4083,7 @@ const FfiConverterTypeP2pEvent = (() => {
3575
4083
  }
3576
4084
  case P2pEvent_Tags.GossipsubProtocolViolation:
3577
4085
  {
3578
- c.writeI32(33);
4086
+ c.writeI32(34);
3579
4087
  const inner = value.inner;
3580
4088
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3581
4089
  FfiConverterString.writeIntoCursor(inner.reason, c);
@@ -3583,7 +4091,7 @@ const FfiConverterTypeP2pEvent = (() => {
3583
4091
  }
3584
4092
  case P2pEvent_Tags.PeerDiscovered:
3585
4093
  {
3586
- c.writeI32(34);
4094
+ c.writeI32(35);
3587
4095
  const inner = value.inner;
3588
4096
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3589
4097
  FfiConverterSequenceString.writeIntoCursor(inner.addrs, c);
@@ -3592,7 +4100,7 @@ const FfiConverterTypeP2pEvent = (() => {
3592
4100
  }
3593
4101
  case P2pEvent_Tags.PeerUpdated:
3594
4102
  {
3595
- c.writeI32(35);
4103
+ c.writeI32(36);
3596
4104
  const inner = value.inner;
3597
4105
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3598
4106
  FfiConverterSequenceString.writeIntoCursor(inner.addrs, c);
@@ -3601,14 +4109,14 @@ const FfiConverterTypeP2pEvent = (() => {
3601
4109
  }
3602
4110
  case P2pEvent_Tags.PeerExpired:
3603
4111
  {
3604
- c.writeI32(36);
4112
+ c.writeI32(37);
3605
4113
  const inner = value.inner;
3606
4114
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3607
4115
  return;
3608
4116
  }
3609
4117
  case P2pEvent_Tags.DiscoveryDialFailed:
3610
4118
  {
3611
- c.writeI32(37);
4119
+ c.writeI32(38);
3612
4120
  const inner = value.inner;
3613
4121
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3614
4122
  FfiConverterString.writeIntoCursor(inner.reason, c);
@@ -3616,7 +4124,7 @@ const FfiConverterTypeP2pEvent = (() => {
3616
4124
  }
3617
4125
  case P2pEvent_Tags.MdnsFailed:
3618
4126
  {
3619
- c.writeI32(38);
4127
+ c.writeI32(39);
3620
4128
  const inner = value.inner;
3621
4129
  FfiConverterTypeMdnsFailureKind.writeIntoCursor(inner.kind, c);
3622
4130
  FfiConverterString.writeIntoCursor(inner.detail, c);
@@ -3624,12 +4132,12 @@ const FfiConverterTypeP2pEvent = (() => {
3624
4132
  }
3625
4133
  case P2pEvent_Tags.MdnsRecovered:
3626
4134
  {
3627
- c.writeI32(39);
4135
+ c.writeI32(40);
3628
4136
  return;
3629
4137
  }
3630
4138
  case P2pEvent_Tags.DiscoveryProtocolViolation:
3631
4139
  {
3632
- c.writeI32(40);
4140
+ c.writeI32(41);
3633
4141
  const inner = value.inner;
3634
4142
  FfiConverterOptionalString.writeIntoCursor(inner.peerId, c);
3635
4143
  FfiConverterTypeDiscoverySource.writeIntoCursor(inner.source, c);
@@ -3808,6 +4316,13 @@ const FfiConverterTypeP2pEvent = (() => {
3808
4316
  size += FfiConverterSequenceString.allocationSize(inner.confirmedAddrs);
3809
4317
  return size;
3810
4318
  }
4319
+ case P2pEvent_Tags.ListenAddressesChanged:
4320
+ {
4321
+ const inner = value.inner;
4322
+ let size = 4;
4323
+ size += FfiConverterSequenceString.allocationSize(inner.addrs);
4324
+ return size;
4325
+ }
3811
4326
  case P2pEvent_Tags.PublicAddressesChanged:
3812
4327
  {
3813
4328
  const inner = value.inner;
@@ -4018,12 +4533,36 @@ const FfiConverterOptionalTypeDiscoveryOptions = new FfiConverterOptional(FfiCon
4018
4533
  // FfiConverter for MdnsOptions | undefined
4019
4534
  const FfiConverterOptionalTypeMdnsOptions = new FfiConverterOptional(FfiConverterTypeMdnsOptions);
4020
4535
 
4021
- // FfiConverter for ArrayBuffer | undefined
4022
- const FfiConverterOptionalBytes = new FfiConverterOptional(FfiConverterArrayBuffer);
4023
-
4024
4536
  // FfiConverter for bigint | undefined
4025
4537
  const FfiConverterOptionalUInt64 = new FfiConverterOptional(FfiConverterUInt64);
4026
4538
 
4539
+ // FfiConverter for boolean | undefined
4540
+ const FfiConverterOptionalBoolean = new FfiConverterOptional(FfiConverterBool);
4541
+
4542
+ // FfiConverter for WindowLimit | undefined
4543
+ const FfiConverterOptionalTypeWindowLimit = new FfiConverterOptional(FfiConverterTypeWindowLimit);
4544
+
4545
+ // FfiConverter for QuicLimitsOptions | undefined
4546
+ const FfiConverterOptionalTypeQuicLimitsOptions = new FfiConverterOptional(FfiConverterTypeQuicLimitsOptions);
4547
+
4548
+ // FfiConverter for TimeoutLimit | undefined
4549
+ const FfiConverterOptionalTypeTimeoutLimit = new FfiConverterOptional(FfiConverterTypeTimeoutLimit);
4550
+
4551
+ // FfiConverter for number | undefined
4552
+ const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32);
4553
+
4554
+ // FfiConverter for YamuxOptions | undefined
4555
+ const FfiConverterOptionalTypeYamuxOptions = new FfiConverterOptional(FfiConverterTypeYamuxOptions);
4556
+
4557
+ // FfiConverter for TcpLimitsOptions | undefined
4558
+ const FfiConverterOptionalTypeTcpLimitsOptions = new FfiConverterOptional(FfiConverterTypeTcpLimitsOptions);
4559
+
4560
+ // FfiConverter for LimitsOptions | undefined
4561
+ const FfiConverterOptionalTypeLimitsOptions = new FfiConverterOptional(FfiConverterTypeLimitsOptions);
4562
+
4563
+ // FfiConverter for ArrayBuffer | undefined
4564
+ const FfiConverterOptionalBytes = new FfiConverterOptional(FfiConverterArrayBuffer);
4565
+
4027
4566
  // FfiConverter for Array<bigint>
4028
4567
  const FfiConverterSequenceUInt64 = new FfiConverterArray(FfiConverterUInt64);
4029
4568
 
@@ -4065,15 +4604,21 @@ export default Object.freeze({
4065
4604
  FfiConverterTypeFfiError,
4066
4605
  FfiConverterTypeIdentifyInfo,
4067
4606
  FfiConverterTypeKnownPeerInfo,
4607
+ FfiConverterTypeLimitsOptions,
4068
4608
  FfiConverterTypeMdnsFailureKind,
4069
4609
  FfiConverterTypeMdnsOptions,
4070
4610
  FfiConverterTypeNatErrorKind,
4071
4611
  FfiConverterTypeOpenStreamResult,
4072
4612
  FfiConverterTypeP2pEvent,
4073
4613
  FfiConverterTypePathKind,
4614
+ FfiConverterTypeQuicLimitsOptions,
4074
4615
  FfiConverterTypeReachability,
4075
4616
  FfiConverterTypeRelayReservationInfo,
4076
- FfiConverterTypeUnfinishedConnection
4617
+ FfiConverterTypeTcpLimitsOptions,
4618
+ FfiConverterTypeTimeoutLimit,
4619
+ FfiConverterTypeUnfinishedConnection,
4620
+ FfiConverterTypeWindowLimit,
4621
+ FfiConverterTypeYamuxOptions
4077
4622
  }
4078
4623
  });
4079
4624
  //# sourceMappingURL=minip2p_ffi_core.js.map