@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.
- package/dist/exports-browser.cjs +621 -101
- package/dist/exports-browser.cjs.map +1 -1
- package/dist/exports-browser.d.ts +15 -8
- package/dist/exports-browser.js +600 -102
- package/dist/exports-browser.js.map +1 -1
- package/dist/exports-nodejs.cjs +74 -2
- package/dist/exports-nodejs.cjs.map +1 -1
- package/dist/exports-nodejs.d.ts +18 -8
- package/dist/exports-nodejs.js +72 -3
- package/dist/exports-nodejs.js.map +1 -1
- package/package.json +12 -8
|
@@ -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
|
|
371
|
-
*
|
|
372
|
-
*
|
|
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.
|
|
379
|
-
*
|
|
380
|
-
*
|
|
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
|
-
|
|
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 };
|