@types/stompit
Advanced tools
Comparing version 0.26.1 to 0.26.2
@@ -32,4 +32,4 @@ import { EventEmitter } from "events"; | ||
interface ChannelOptions { | ||
alwaysConnected?: boolean; | ||
recoverAfterApplicationError?: boolean; | ||
alwaysConnected?: boolean | undefined; | ||
recoverAfterApplicationError?: boolean | undefined; | ||
} | ||
@@ -36,0 +36,0 @@ |
@@ -17,9 +17,9 @@ import { ChannelOptions } from "./Channel"; | ||
interface ChannelPoolOptions { | ||
minChannels?: number; | ||
minFreeChannels?: number; | ||
maxChannels?: number; | ||
freeExcessTimeout?: number; | ||
requestChannelTimeout?: number; | ||
channelOptions?: ChannelOptions; | ||
minChannels?: number | undefined; | ||
minFreeChannels?: number | undefined; | ||
maxChannels?: number | undefined; | ||
freeExcessTimeout?: number | undefined; | ||
requestChannelTimeout?: number | undefined; | ||
channelOptions?: ChannelOptions | undefined; | ||
} | ||
} |
@@ -12,7 +12,7 @@ import { ConnectOptions } from "../connect"; | ||
transportPath: string; | ||
path?: string; | ||
host?: string; | ||
port?: number; | ||
path?: string | undefined; | ||
host?: string | undefined; | ||
port?: number | undefined; | ||
pseudoUri: string; | ||
} | ||
} |
@@ -16,22 +16,22 @@ import { Socket, TcpNetConnectOpts, IpcNetConnectOpts } from "net"; | ||
interface ConnectHeaders { | ||
"accept-version"?: string; | ||
"heart-beat"?: string; | ||
host?: string; | ||
login?: string; | ||
passcode?: string; | ||
"accept-version"?: string | undefined; | ||
"heart-beat"?: string | undefined; | ||
host?: string | undefined; | ||
login?: string | undefined; | ||
passcode?: string | undefined; | ||
} | ||
interface BaseConnectOptions extends SocketOptions { | ||
connectHeaders?: ConnectHeaders; | ||
ssl?: boolean; | ||
connectHeaders?: ConnectHeaders | undefined; | ||
ssl?: boolean | undefined; | ||
// This connectionListener type comes from @types/node | ||
connect?: (options: ConnectOptions, connectionListener?: () => void) => Socket; | ||
connect?: ((options: ConnectOptions, connectionListener?: () => void) => Socket) | undefined; | ||
} | ||
interface NetTcpConnectOptions extends BaseConnectOptions, TcpNetConnectOpts { | ||
ssl?: false; | ||
ssl?: false | undefined; | ||
} | ||
interface NetIpcConnectOptions extends BaseConnectOptions, IpcNetConnectOpts { | ||
ssl?: false; | ||
ssl?: false | undefined; | ||
} | ||
@@ -38,0 +38,0 @@ |
@@ -27,21 +27,21 @@ import { EventEmitter } from "events"; | ||
// Milliseconds delay of the first reconnect | ||
initialReconnectDelay?: number; | ||
initialReconnectDelay?: number | undefined; | ||
// Maximum milliseconds delay of any reconnect | ||
maxReconnectDelay?: number; | ||
maxReconnectDelay?: number | undefined; | ||
// Exponential increase of the reconnect delay | ||
useExponentialBackOff?: boolean; | ||
useExponentialBackOff?: boolean | undefined; | ||
// The exponent used in the exponential backoff attempts | ||
reconnectDelayExponent?: number; | ||
reconnectDelayExponent?: number | undefined; | ||
// Maximum number of reconnects | ||
maxReconnects?: number; | ||
maxReconnects?: number | undefined; | ||
// Randomly choose a server to use for reconnect | ||
randomize?: boolean; | ||
randomize?: boolean | undefined; | ||
// Override the connect function | ||
connectFunction?: (options: ConnectOptions, connectionListener?: ConnectionListener) => Client; | ||
connectFunction?: ((options: ConnectOptions, connectionListener?: ConnectionListener) => Client) | undefined; | ||
} | ||
@@ -48,0 +48,0 @@ |
@@ -41,9 +41,9 @@ import { EventEmitter } from "events"; | ||
interface SocketOptions { | ||
commandHandlers?: CommandHandlers; | ||
unknownCommand?: () => void; | ||
outgoingFrameStream?: OutgoingFrameStream; | ||
heartbeat?: Heartbeat; | ||
heartbeatDelayMargin?: number; | ||
heartbeatOutputMargin?: number; | ||
resetDisconnect?: boolean; | ||
commandHandlers?: CommandHandlers | undefined; | ||
unknownCommand?: (() => void) | undefined; | ||
outgoingFrameStream?: OutgoingFrameStream | undefined; | ||
heartbeat?: Heartbeat | undefined; | ||
heartbeatDelayMargin?: number | undefined; | ||
heartbeatOutputMargin?: number | undefined; | ||
resetDisconnect?: boolean | undefined; | ||
} | ||
@@ -50,0 +50,0 @@ |
{ | ||
"name": "@types/stompit", | ||
"version": "0.26.1", | ||
"version": "0.26.2", | ||
"description": "TypeScript definitions for stompit", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stompit", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "52bcae2c58d4a85555fdc13983d267f9ff9c592c0c86e8e88d971276fa7205e1", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "0546b946f1850678c26895498d0dcee7fc9e2b69fd0663be8b4a7baf5b42a10b", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 23 Jun 2020 18:33:56 GMT | ||
* Last updated: Fri, 02 Jul 2021 22:32:56 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
15621
1