@streamr/dht 103.3.1 → 103.6.0-rc.0

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.
@@ -344,8 +344,8 @@ declare class Timestamp$Type extends MessageType<Timestamp> {
344
344
  * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
345
345
  * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
346
346
  * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
347
- * is required. A proto3 JSON serializer should always use UTC (as indicated by
348
- * "Z") when printing the Timestamp type and a proto3 JSON parser should be
347
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
348
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
349
349
  * able to accept both UTC and other timezones (as indicated by an offset).
350
350
  *
351
351
  * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
@@ -368,7 +368,7 @@ declare class Timestamp$Type extends MessageType<Timestamp> {
368
368
  interface Timestamp {
369
369
  /**
370
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
371
+ * be between -62135596800 and 253402300799 inclusive (which corresponds to
372
372
  * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
373
373
  *
374
374
  * @generated from protobuf field: int64 seconds = 1
@@ -1317,5 +1317,10 @@ declare class Handshaker extends EventEmitter<HandshakerEvents> {
1317
1317
  stop(): void;
1318
1318
  }
1319
1319
 
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 };
1320
+ /**
1321
+ * Stub for the Node.js build — `installWebrtcBridge` is a browser-only API.
1322
+ */
1323
+ declare function installWebrtcBridge(_worker: unknown): void;
1324
+
1325
+ 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, randomDhtAddress, toDhtAddress, toDhtAddressRaw, toNodeId };
1321
1326
  export type { ConnectionLocker, ConnectionsView, DhtAddress, DhtAddressRaw, DhtNodeEvents, DhtNodeOptions, DhtRpcOptions, IConnection, ITransport, IceServer, LockID, PortRange, RingContacts, ServiceID, TlsCertificate, TransportEvents };
@@ -2810,7 +2810,7 @@ const parseVersion = (version) => {
2810
2810
  }
2811
2811
  };
2812
2812
 
2813
- var version = "103.3.1";
2813
+ var version = "103.6.0-rc.0";
2814
2814
 
2815
2815
  const logger$z = new Logger('Handshaker');
2816
2816
  // Optimally the Outgoing and Incoming Handshakers could be their own separate classes
@@ -7805,5 +7805,12 @@ class SimulatorTransport extends ConnectionManager {
7805
7805
  }
7806
7806
  }
7807
7807
 
7808
- 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 };
7808
+ /**
7809
+ * Stub for the Node.js build — `installWebrtcBridge` is a browser-only API.
7810
+ */
7811
+ function installWebrtcBridge(_worker) {
7812
+ throw new Error('installWebrtcBridge is only supported in browser environments');
7813
+ }
7814
+
7815
+ 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, randomDhtAddress, toDhtAddress, toDhtAddressRaw, toNodeId };
7809
7816
  //# sourceMappingURL=exports-nodejs.js.map