@minip2p/react-native 0.8.2 → 0.9.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.
@@ -408,6 +408,77 @@ const FfiConverterTypeRelayReservationInfo = (() => {
408
408
  return new FFIConverter();
409
409
  })();
410
410
 
411
+ /**
412
+ * The part of an endpoint's configuration an [`FfiError::InvalidConfig`]
413
+ * names.
414
+ *
415
+ * A configuration mistake is fixed by changing that part; an environment
416
+ * failure (a socket the platform refused) is [`FfiError::Transport`]
417
+ * instead.
418
+ */
419
+ export let ConfigCapability = /*#__PURE__*/function (ConfigCapability) {
420
+ /**
421
+ * Gossipsub settings.
422
+ */
423
+ ConfigCapability[ConfigCapability["Gossipsub"] = 0] = "Gossipsub";
424
+ /**
425
+ * mDNS settings.
426
+ */
427
+ ConfigCapability[ConfigCapability["Mdns"] = 1] = "Mdns";
428
+ /**
429
+ * Signed discovery or peer-book settings.
430
+ */
431
+ ConfigCapability[ConfigCapability["Discovery"] = 2] = "Discovery";
432
+ /**
433
+ * QUIC or TCP transport settings (limits, TLS, the TCP namespace).
434
+ */
435
+ ConfigCapability[ConfigCapability["Transport"] = 3] = "Transport";
436
+ /**
437
+ * The endpoint's own options: listen addresses, protocols, NAT and
438
+ * relay policy, auto-dial.
439
+ */
440
+ ConfigCapability[ConfigCapability["Options"] = 4] = "Options";
441
+ return ConfigCapability;
442
+ }({});
443
+ const FfiConverterTypeConfigCapability = (() => {
444
+ class FFIConverter extends AbstractFfiConverterByteArray {
445
+ readFromCursor(c) {
446
+ switch (c.readI32()) {
447
+ case 1:
448
+ return ConfigCapability.Gossipsub;
449
+ case 2:
450
+ return ConfigCapability.Mdns;
451
+ case 3:
452
+ return ConfigCapability.Discovery;
453
+ case 4:
454
+ return ConfigCapability.Transport;
455
+ case 5:
456
+ return ConfigCapability.Options;
457
+ default:
458
+ throw new UniffiInternalError.UnexpectedEnumCase();
459
+ }
460
+ }
461
+ writeIntoCursor(value, c) {
462
+ switch (value) {
463
+ case ConfigCapability.Gossipsub:
464
+ return c.writeI32(1);
465
+ case ConfigCapability.Mdns:
466
+ return c.writeI32(2);
467
+ case ConfigCapability.Discovery:
468
+ return c.writeI32(3);
469
+ case ConfigCapability.Transport:
470
+ return c.writeI32(4);
471
+ case ConfigCapability.Options:
472
+ return c.writeI32(5);
473
+ }
474
+ }
475
+ allocationSize(value) {
476
+ return 4;
477
+ }
478
+ }
479
+ return new FFIConverter();
480
+ })();
481
+
411
482
  // Enum: ConnectTarget
412
483
  export let ConnectTarget_Tags = /*#__PURE__*/function (ConnectTarget_Tags) {
413
484
  ConnectTarget_Tags["Peer"] = "Peer";
@@ -798,7 +869,8 @@ export const FfiError = (() => {
798
869
  }
799
870
  }
800
871
  /**
801
- * Endpoint configuration was internally inconsistent.
872
+ * Endpoint configuration was invalid; `capability` names the part of
873
+ * it that was.
802
874
  */
803
875
  class InvalidConfig_ extends UniffiError {
804
876
  /**
@@ -1006,7 +1078,8 @@ export const FfiError = (() => {
1006
1078
  }
1007
1079
  }
1008
1080
  /**
1009
- * A synchronous transport operation failed.
1081
+ * A synchronous transport operation failed, or the platform refused a
1082
+ * socket the endpoint needed (a port in use, say).
1010
1083
  */
1011
1084
  class Transport_ extends UniffiError {
1012
1085
  /**
@@ -1121,6 +1194,7 @@ const FfiConverterTypeFfiError = (() => {
1121
1194
  return new FfiError.Stopped();
1122
1195
  case 3:
1123
1196
  return new FfiError.InvalidConfig({
1197
+ capability: FfiConverterTypeConfigCapability.readFromCursor(c),
1124
1198
  detail: FfiConverterString.readFromCursor(c)
1125
1199
  });
1126
1200
  case 4:
@@ -1179,6 +1253,7 @@ const FfiConverterTypeFfiError = (() => {
1179
1253
  {
1180
1254
  c.writeI32(3);
1181
1255
  const inner = value.inner;
1256
+ FfiConverterTypeConfigCapability.writeIntoCursor(inner.capability, c);
1182
1257
  FfiConverterString.writeIntoCursor(inner.detail, c);
1183
1258
  return;
1184
1259
  }
@@ -1267,6 +1342,7 @@ const FfiConverterTypeFfiError = (() => {
1267
1342
  {
1268
1343
  const inner = value.inner;
1269
1344
  let size = 4;
1345
+ size += FfiConverterTypeConfigCapability.allocationSize(inner.capability);
1270
1346
  size += FfiConverterString.allocationSize(inner.detail);
1271
1347
  return size;
1272
1348
  }
@@ -1342,6 +1418,88 @@ const FfiConverterTypeFfiError = (() => {
1342
1418
  return new FFIConverter();
1343
1419
  })();
1344
1420
 
1421
+ /**
1422
+ * Category of an mDNS failure.
1423
+ */
1424
+ export let MdnsFailureKind = /*#__PURE__*/function (MdnsFailureKind) {
1425
+ /**
1426
+ * The platform cannot provide mDNS sockets.
1427
+ */
1428
+ MdnsFailureKind[MdnsFailureKind["Unsupported"] = 0] = "Unsupported";
1429
+ /**
1430
+ * An interface has no usable address.
1431
+ */
1432
+ MdnsFailureKind[MdnsFailureKind["NoInterfaceAddress"] = 1] = "NoInterfaceAddress";
1433
+ /**
1434
+ * A send named an interface that has gone away.
1435
+ */
1436
+ MdnsFailureKind[MdnsFailureKind["UnknownInterface"] = 2] = "UnknownInterface";
1437
+ /**
1438
+ * A goodbye could not be sent before shutdown gave up on a full send
1439
+ * buffer.
1440
+ */
1441
+ MdnsFailureKind[MdnsFailureKind["Congested"] = 3] = "Congested";
1442
+ /**
1443
+ * A datagram is larger than the carrier can ever send.
1444
+ */
1445
+ MdnsFailureKind[MdnsFailureKind["Oversized"] = 4] = "Oversized";
1446
+ /**
1447
+ * The interface id space is exhausted.
1448
+ */
1449
+ MdnsFailureKind[MdnsFailureKind["InterfaceIdsExhausted"] = 5] = "InterfaceIdsExhausted";
1450
+ /**
1451
+ * Platform I/O failed.
1452
+ */
1453
+ MdnsFailureKind[MdnsFailureKind["Io"] = 6] = "Io";
1454
+ return MdnsFailureKind;
1455
+ }({});
1456
+ const FfiConverterTypeMdnsFailureKind = (() => {
1457
+ class FFIConverter extends AbstractFfiConverterByteArray {
1458
+ readFromCursor(c) {
1459
+ switch (c.readI32()) {
1460
+ case 1:
1461
+ return MdnsFailureKind.Unsupported;
1462
+ case 2:
1463
+ return MdnsFailureKind.NoInterfaceAddress;
1464
+ case 3:
1465
+ return MdnsFailureKind.UnknownInterface;
1466
+ case 4:
1467
+ return MdnsFailureKind.Congested;
1468
+ case 5:
1469
+ return MdnsFailureKind.Oversized;
1470
+ case 6:
1471
+ return MdnsFailureKind.InterfaceIdsExhausted;
1472
+ case 7:
1473
+ return MdnsFailureKind.Io;
1474
+ default:
1475
+ throw new UniffiInternalError.UnexpectedEnumCase();
1476
+ }
1477
+ }
1478
+ writeIntoCursor(value, c) {
1479
+ switch (value) {
1480
+ case MdnsFailureKind.Unsupported:
1481
+ return c.writeI32(1);
1482
+ case MdnsFailureKind.NoInterfaceAddress:
1483
+ return c.writeI32(2);
1484
+ case MdnsFailureKind.UnknownInterface:
1485
+ return c.writeI32(3);
1486
+ case MdnsFailureKind.Congested:
1487
+ return c.writeI32(4);
1488
+ case MdnsFailureKind.Oversized:
1489
+ return c.writeI32(5);
1490
+ case MdnsFailureKind.InterfaceIdsExhausted:
1491
+ return c.writeI32(6);
1492
+ case MdnsFailureKind.Io:
1493
+ return c.writeI32(7);
1494
+ }
1495
+ }
1496
+ allocationSize(value) {
1497
+ return 4;
1498
+ }
1499
+ }
1500
+ return new FFIConverter();
1501
+ })();
1502
+
1345
1503
  /**
1346
1504
  * Category of a failed NAT connection attempt.
1347
1505
  */
@@ -1646,6 +1804,8 @@ export let P2pEvent_Tags = /*#__PURE__*/function (P2pEvent_Tags) {
1646
1804
  P2pEvent_Tags["PeerUpdated"] = "PeerUpdated";
1647
1805
  P2pEvent_Tags["PeerExpired"] = "PeerExpired";
1648
1806
  P2pEvent_Tags["DiscoveryDialFailed"] = "DiscoveryDialFailed";
1807
+ P2pEvent_Tags["MdnsFailed"] = "MdnsFailed";
1808
+ P2pEvent_Tags["MdnsRecovered"] = "MdnsRecovered";
1649
1809
  P2pEvent_Tags["DiscoveryProtocolViolation"] = "DiscoveryProtocolViolation";
1650
1810
  return P2pEvent_Tags;
1651
1811
  }({});
@@ -2144,7 +2304,8 @@ export const P2pEvent = (() => {
2144
2304
  }
2145
2305
  }
2146
2306
  /**
2147
- * One hole-punch window failed.
2307
+ * One DCUtR hole-punch round failed; the relay holder may start the
2308
+ * next one.
2148
2309
  */
2149
2310
  class HolePunchFailed_ extends UniffiEnum {
2150
2311
  /**
@@ -2421,6 +2582,50 @@ export const P2pEvent = (() => {
2421
2582
  return obj.tag === P2pEvent_Tags.DiscoveryDialFailed;
2422
2583
  }
2423
2584
  }
2585
+ /**
2586
+ * mDNS hit a hard failure. mDNS keeps running and retries; reported
2587
+ * once per change in failure state, and followed by `MdnsRecovered`
2588
+ * once a retry succeeds. A goodbye that failed during shutdown is
2589
+ * final.
2590
+ */
2591
+ class MdnsFailed_ extends UniffiEnum {
2592
+ /**
2593
+ * @private
2594
+ * This field is private and should not be used, use `tag` instead.
2595
+ */
2596
+ [uniffiTypeNameSymbol] = "P2pEvent";
2597
+ tag = P2pEvent_Tags.MdnsFailed;
2598
+ constructor(inner) {
2599
+ super("P2pEvent", "MdnsFailed");
2600
+ this.inner = Object.freeze(inner);
2601
+ }
2602
+ static new(inner) {
2603
+ return new MdnsFailed_(inner);
2604
+ }
2605
+ static instanceOf(obj) {
2606
+ return obj.tag === P2pEvent_Tags.MdnsFailed;
2607
+ }
2608
+ }
2609
+ /**
2610
+ * mDNS recovered from its last `MdnsFailed`.
2611
+ */
2612
+ class MdnsRecovered_ extends UniffiEnum {
2613
+ /**
2614
+ * @private
2615
+ * This field is private and should not be used, use `tag` instead.
2616
+ */
2617
+ [uniffiTypeNameSymbol] = "P2pEvent";
2618
+ tag = P2pEvent_Tags.MdnsRecovered;
2619
+ constructor() {
2620
+ super("P2pEvent", "MdnsRecovered");
2621
+ }
2622
+ static new() {
2623
+ return new MdnsRecovered_();
2624
+ }
2625
+ static instanceOf(obj) {
2626
+ return obj.tag === P2pEvent_Tags.MdnsRecovered;
2627
+ }
2628
+ }
2424
2629
  /**
2425
2630
  * A discovery source supplied an invalid claim.
2426
2631
  */
@@ -2483,6 +2688,8 @@ export const P2pEvent = (() => {
2483
2688
  PeerUpdated: PeerUpdated_,
2484
2689
  PeerExpired: PeerExpired_,
2485
2690
  DiscoveryDialFailed: DiscoveryDialFailed_,
2691
+ MdnsFailed: MdnsFailed_,
2692
+ MdnsRecovered: MdnsRecovered_,
2486
2693
  DiscoveryProtocolViolation: DiscoveryProtocolViolation_
2487
2694
  });
2488
2695
  })();
@@ -2531,16 +2738,19 @@ const FfiConverterTypeP2pEvent = (() => {
2531
2738
  case 7:
2532
2739
  return new P2pEvent.IdentifyReceived({
2533
2740
  peerId: FfiConverterString.readFromCursor(c),
2741
+ connId: FfiConverterUInt64.readFromCursor(c),
2534
2742
  info: FfiConverterTypeIdentifyInfo.readFromCursor(c)
2535
2743
  });
2536
2744
  case 8:
2537
2745
  return new P2pEvent.PingRttMeasured({
2538
2746
  peerId: FfiConverterString.readFromCursor(c),
2747
+ connId: FfiConverterUInt64.readFromCursor(c),
2539
2748
  rttMs: FfiConverterUInt64.readFromCursor(c)
2540
2749
  });
2541
2750
  case 9:
2542
2751
  return new P2pEvent.PingTimeout({
2543
- peerId: FfiConverterString.readFromCursor(c)
2752
+ peerId: FfiConverterString.readFromCursor(c),
2753
+ connId: FfiConverterUInt64.readFromCursor(c)
2544
2754
  });
2545
2755
  case 10:
2546
2756
  return new P2pEvent.StreamReady({
@@ -2619,14 +2829,17 @@ const FfiConverterTypeP2pEvent = (() => {
2619
2829
  case 22:
2620
2830
  return new P2pEvent.InboundPathEstablished({
2621
2831
  peerId: FfiConverterString.readFromCursor(c),
2622
- path: FfiConverterTypePathKind.readFromCursor(c)
2832
+ path: FfiConverterTypePathKind.readFromCursor(c),
2833
+ connId: FfiConverterUInt64.readFromCursor(c)
2623
2834
  });
2624
2835
  case 23:
2625
2836
  return new P2pEvent.PathUpgraded({
2626
2837
  connectId: FfiConverterUInt64.readFromCursor(c),
2627
2838
  peerId: FfiConverterString.readFromCursor(c),
2628
2839
  from: FfiConverterTypePathKind.readFromCursor(c),
2629
- to: FfiConverterTypePathKind.readFromCursor(c)
2840
+ to: FfiConverterTypePathKind.readFromCursor(c),
2841
+ oldConnId: FfiConverterUInt64.readFromCursor(c),
2842
+ newConnId: FfiConverterUInt64.readFromCursor(c)
2630
2843
  });
2631
2844
  case 24:
2632
2845
  return new P2pEvent.HolePunchFailed({
@@ -2648,7 +2861,9 @@ const FfiConverterTypeP2pEvent = (() => {
2648
2861
  });
2649
2862
  case 27:
2650
2863
  return new P2pEvent.InboundDirectUpgrade({
2651
- peerId: FfiConverterString.readFromCursor(c)
2864
+ peerId: FfiConverterString.readFromCursor(c),
2865
+ oldConnId: FfiConverterUInt64.readFromCursor(c),
2866
+ newConnId: FfiConverterUInt64.readFromCursor(c)
2652
2867
  });
2653
2868
  case 28:
2654
2869
  return new P2pEvent.Message({
@@ -2700,6 +2915,13 @@ const FfiConverterTypeP2pEvent = (() => {
2700
2915
  reason: FfiConverterString.readFromCursor(c)
2701
2916
  });
2702
2917
  case 37:
2918
+ return new P2pEvent.MdnsFailed({
2919
+ kind: FfiConverterTypeMdnsFailureKind.readFromCursor(c),
2920
+ detail: FfiConverterString.readFromCursor(c)
2921
+ });
2922
+ case 38:
2923
+ return new P2pEvent.MdnsRecovered();
2924
+ case 39:
2703
2925
  return new P2pEvent.DiscoveryProtocolViolation({
2704
2926
  peerId: FfiConverterOptionalString.readFromCursor(c),
2705
2927
  source: FfiConverterTypeDiscoverySource.readFromCursor(c),
@@ -2768,6 +2990,7 @@ const FfiConverterTypeP2pEvent = (() => {
2768
2990
  c.writeI32(7);
2769
2991
  const inner = value.inner;
2770
2992
  FfiConverterString.writeIntoCursor(inner.peerId, c);
2993
+ FfiConverterUInt64.writeIntoCursor(inner.connId, c);
2771
2994
  FfiConverterTypeIdentifyInfo.writeIntoCursor(inner.info, c);
2772
2995
  return;
2773
2996
  }
@@ -2776,6 +2999,7 @@ const FfiConverterTypeP2pEvent = (() => {
2776
2999
  c.writeI32(8);
2777
3000
  const inner = value.inner;
2778
3001
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3002
+ FfiConverterUInt64.writeIntoCursor(inner.connId, c);
2779
3003
  FfiConverterUInt64.writeIntoCursor(inner.rttMs, c);
2780
3004
  return;
2781
3005
  }
@@ -2784,6 +3008,7 @@ const FfiConverterTypeP2pEvent = (() => {
2784
3008
  c.writeI32(9);
2785
3009
  const inner = value.inner;
2786
3010
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3011
+ FfiConverterUInt64.writeIntoCursor(inner.connId, c);
2787
3012
  return;
2788
3013
  }
2789
3014
  case P2pEvent_Tags.StreamReady:
@@ -2902,6 +3127,7 @@ const FfiConverterTypeP2pEvent = (() => {
2902
3127
  const inner = value.inner;
2903
3128
  FfiConverterString.writeIntoCursor(inner.peerId, c);
2904
3129
  FfiConverterTypePathKind.writeIntoCursor(inner.path, c);
3130
+ FfiConverterUInt64.writeIntoCursor(inner.connId, c);
2905
3131
  return;
2906
3132
  }
2907
3133
  case P2pEvent_Tags.PathUpgraded:
@@ -2912,6 +3138,8 @@ const FfiConverterTypeP2pEvent = (() => {
2912
3138
  FfiConverterString.writeIntoCursor(inner.peerId, c);
2913
3139
  FfiConverterTypePathKind.writeIntoCursor(inner.from, c);
2914
3140
  FfiConverterTypePathKind.writeIntoCursor(inner.to, c);
3141
+ FfiConverterUInt64.writeIntoCursor(inner.oldConnId, c);
3142
+ FfiConverterUInt64.writeIntoCursor(inner.newConnId, c);
2915
3143
  return;
2916
3144
  }
2917
3145
  case P2pEvent_Tags.HolePunchFailed:
@@ -2946,6 +3174,8 @@ const FfiConverterTypeP2pEvent = (() => {
2946
3174
  c.writeI32(27);
2947
3175
  const inner = value.inner;
2948
3176
  FfiConverterString.writeIntoCursor(inner.peerId, c);
3177
+ FfiConverterUInt64.writeIntoCursor(inner.oldConnId, c);
3178
+ FfiConverterUInt64.writeIntoCursor(inner.newConnId, c);
2949
3179
  return;
2950
3180
  }
2951
3181
  case P2pEvent_Tags.Message:
@@ -3024,10 +3254,23 @@ const FfiConverterTypeP2pEvent = (() => {
3024
3254
  FfiConverterString.writeIntoCursor(inner.reason, c);
3025
3255
  return;
3026
3256
  }
3027
- case P2pEvent_Tags.DiscoveryProtocolViolation:
3257
+ case P2pEvent_Tags.MdnsFailed:
3028
3258
  {
3029
3259
  c.writeI32(37);
3030
3260
  const inner = value.inner;
3261
+ FfiConverterTypeMdnsFailureKind.writeIntoCursor(inner.kind, c);
3262
+ FfiConverterString.writeIntoCursor(inner.detail, c);
3263
+ return;
3264
+ }
3265
+ case P2pEvent_Tags.MdnsRecovered:
3266
+ {
3267
+ c.writeI32(38);
3268
+ return;
3269
+ }
3270
+ case P2pEvent_Tags.DiscoveryProtocolViolation:
3271
+ {
3272
+ c.writeI32(39);
3273
+ const inner = value.inner;
3031
3274
  FfiConverterOptionalString.writeIntoCursor(inner.peerId, c);
3032
3275
  FfiConverterTypeDiscoverySource.writeIntoCursor(inner.source, c);
3033
3276
  FfiConverterString.writeIntoCursor(inner.reason, c);
@@ -3097,6 +3340,7 @@ const FfiConverterTypeP2pEvent = (() => {
3097
3340
  const inner = value.inner;
3098
3341
  let size = 4;
3099
3342
  size += FfiConverterString.allocationSize(inner.peerId);
3343
+ size += FfiConverterUInt64.allocationSize(inner.connId);
3100
3344
  size += FfiConverterTypeIdentifyInfo.allocationSize(inner.info);
3101
3345
  return size;
3102
3346
  }
@@ -3105,6 +3349,7 @@ const FfiConverterTypeP2pEvent = (() => {
3105
3349
  const inner = value.inner;
3106
3350
  let size = 4;
3107
3351
  size += FfiConverterString.allocationSize(inner.peerId);
3352
+ size += FfiConverterUInt64.allocationSize(inner.connId);
3108
3353
  size += FfiConverterUInt64.allocationSize(inner.rttMs);
3109
3354
  return size;
3110
3355
  }
@@ -3113,6 +3358,7 @@ const FfiConverterTypeP2pEvent = (() => {
3113
3358
  const inner = value.inner;
3114
3359
  let size = 4;
3115
3360
  size += FfiConverterString.allocationSize(inner.peerId);
3361
+ size += FfiConverterUInt64.allocationSize(inner.connId);
3116
3362
  return size;
3117
3363
  }
3118
3364
  case P2pEvent_Tags.StreamReady:
@@ -3231,6 +3477,7 @@ const FfiConverterTypeP2pEvent = (() => {
3231
3477
  let size = 4;
3232
3478
  size += FfiConverterString.allocationSize(inner.peerId);
3233
3479
  size += FfiConverterTypePathKind.allocationSize(inner.path);
3480
+ size += FfiConverterUInt64.allocationSize(inner.connId);
3234
3481
  return size;
3235
3482
  }
3236
3483
  case P2pEvent_Tags.PathUpgraded:
@@ -3241,6 +3488,8 @@ const FfiConverterTypeP2pEvent = (() => {
3241
3488
  size += FfiConverterString.allocationSize(inner.peerId);
3242
3489
  size += FfiConverterTypePathKind.allocationSize(inner.from);
3243
3490
  size += FfiConverterTypePathKind.allocationSize(inner.to);
3491
+ size += FfiConverterUInt64.allocationSize(inner.oldConnId);
3492
+ size += FfiConverterUInt64.allocationSize(inner.newConnId);
3244
3493
  return size;
3245
3494
  }
3246
3495
  case P2pEvent_Tags.HolePunchFailed:
@@ -3275,6 +3524,8 @@ const FfiConverterTypeP2pEvent = (() => {
3275
3524
  const inner = value.inner;
3276
3525
  let size = 4;
3277
3526
  size += FfiConverterString.allocationSize(inner.peerId);
3527
+ size += FfiConverterUInt64.allocationSize(inner.oldConnId);
3528
+ size += FfiConverterUInt64.allocationSize(inner.newConnId);
3278
3529
  return size;
3279
3530
  }
3280
3531
  case P2pEvent_Tags.Message:
@@ -3353,6 +3604,18 @@ const FfiConverterTypeP2pEvent = (() => {
3353
3604
  size += FfiConverterString.allocationSize(inner.reason);
3354
3605
  return size;
3355
3606
  }
3607
+ case P2pEvent_Tags.MdnsFailed:
3608
+ {
3609
+ const inner = value.inner;
3610
+ let size = 4;
3611
+ size += FfiConverterTypeMdnsFailureKind.allocationSize(inner.kind);
3612
+ size += FfiConverterString.allocationSize(inner.detail);
3613
+ return size;
3614
+ }
3615
+ case P2pEvent_Tags.MdnsRecovered:
3616
+ {
3617
+ return 4;
3618
+ }
3356
3619
  case P2pEvent_Tags.DiscoveryProtocolViolation:
3357
3620
  {
3358
3621
  const inner = value.inner;
@@ -3417,6 +3680,7 @@ function uniffiEnsureInitialized() {
3417
3680
  export default Object.freeze({
3418
3681
  initialize: uniffiEnsureInitialized,
3419
3682
  converters: {
3683
+ FfiConverterTypeConfigCapability,
3420
3684
  FfiConverterTypeConnectTarget,
3421
3685
  FfiConverterTypeConnectionInfo,
3422
3686
  FfiConverterTypeDiscoveryOptions,
@@ -3427,6 +3691,7 @@ export default Object.freeze({
3427
3691
  FfiConverterTypeFfiError,
3428
3692
  FfiConverterTypeIdentifyInfo,
3429
3693
  FfiConverterTypeKnownPeerInfo,
3694
+ FfiConverterTypeMdnsFailureKind,
3430
3695
  FfiConverterTypeMdnsOptions,
3431
3696
  FfiConverterTypeNatErrorKind,
3432
3697
  FfiConverterTypeOpenStreamResult,