@streamr/dht 103.3.1 → 103.7.0-rc.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.
@@ -367,18 +367,17 @@ declare class Timestamp$Type extends MessageType<Timestamp> {
367
367
  */
368
368
  interface Timestamp {
369
369
  /**
370
- * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
371
- * be between -315576000000 and 315576000000 inclusive (which corresponds to
372
- * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
370
+ * Represents seconds of UTC time since Unix epoch
371
+ * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
372
+ * 9999-12-31T23:59:59Z inclusive.
373
373
  *
374
374
  * @generated from protobuf field: int64 seconds = 1
375
375
  */
376
376
  seconds: number;
377
377
  /**
378
- * Non-negative fractions of a second at nanosecond resolution. This field is
379
- * the nanosecond portion of the duration, not an alternative to seconds.
380
- * Negative second values with fractions must still have non-negative nanos
381
- * values that count forward in time. Must be between 0 and 999,999,999
378
+ * Non-negative fractions of a second at nanosecond resolution. Negative
379
+ * second values with fractions must still have non-negative nanos values
380
+ * that count forward in time. Must be from 0 to 999,999,999
382
381
  * inclusive.
383
382
  *
384
383
  * @generated from protobuf field: int32 nanos = 2
@@ -1317,5 +1316,13 @@ declare class Handshaker extends EventEmitter<HandshakerEvents> {
1317
1316
  stop(): void;
1318
1317
  }
1319
1318
 
1320
- export { ConnectionManager, ConnectionType, DataEntry, DefaultConnectorFacade, DhtCallContext, DhtNode, EXISTING_CONNECTION_TIMEOUT, LatencyType, ListeningRpcCommunicator, ManagedConnection, Message, NodeType, PeerDescriptor, PendingConnection, RoutingRpcCommunicator, RpcRemote, Simulator, SimulatorTransport, WebsocketClientConnection, areEqualPeerDescriptors, createOutgoingHandshaker, getRandomRegion, getRegionDelayMatrix, randomDhtAddress, toDhtAddress, toDhtAddressRaw, toNodeId };
1319
+ declare function installWebrtcBridge(worker: Worker): void;
1320
+
1321
+ declare function setGapDiagnosticsEnabled(val: boolean): void;
1322
+ declare function logGapDiagnosticSampled(layer: string, opts?: {
1323
+ detail?: Record<string, unknown>;
1324
+ outlierThresholdMs?: number;
1325
+ }): void;
1326
+
1327
+ export { ConnectionManager, ConnectionType, DataEntry, DefaultConnectorFacade, DhtCallContext, DhtNode, EXISTING_CONNECTION_TIMEOUT, LatencyType, ListeningRpcCommunicator, ManagedConnection, Message, NodeType, PeerDescriptor, PendingConnection, RoutingRpcCommunicator, RpcRemote, Simulator, SimulatorTransport, WebsocketClientConnection, areEqualPeerDescriptors, createOutgoingHandshaker, getRandomRegion, getRegionDelayMatrix, installWebrtcBridge, logGapDiagnosticSampled, randomDhtAddress, setGapDiagnosticsEnabled, toDhtAddress, toDhtAddressRaw, toNodeId };
1321
1328
  export type { ConnectionLocker, ConnectionsView, DhtAddress, DhtAddressRaw, DhtNodeEvents, DhtNodeOptions, DhtRpcOptions, IConnection, ITransport, IceServer, LockID, PortRange, RingContacts, ServiceID, TlsCertificate, TransportEvents };