@nevuamarkets/poly-websockets 1.0.0-beta.1 → 1.0.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.
package/README.md
CHANGED
|
@@ -68,8 +68,6 @@ new WSSubscriptionManager(handlers: WebSocketHandlers, options?: SubscriptionMan
|
|
|
68
68
|
- `options` - Optional configuration:
|
|
69
69
|
- `reconnectAndCleanupIntervalMs?: number` - Reconnection check interval (default: 5000ms)
|
|
70
70
|
- `pendingFlushIntervalMs?: number` - How often to flush pending subscriptions (default: 100ms)
|
|
71
|
-
- ~~`burstLimiter`~~ - **@deprecated** No longer used
|
|
72
|
-
- ~~`maxMarketsPerWS`~~ - **@deprecated** No longer used. Create multiple manager instances instead
|
|
73
71
|
|
|
74
72
|
#### Methods
|
|
75
73
|
|
|
@@ -23,13 +23,4 @@ export type SubscriptionManagerOptions = {
|
|
|
23
23
|
* Default: 100ms
|
|
24
24
|
*/
|
|
25
25
|
pendingFlushIntervalMs?: number;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated No longer used. Rate limiting has been removed from this library.
|
|
28
|
-
*/
|
|
29
|
-
burstLimiter?: any;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated No longer used. Each manager instance uses a single WebSocket connection.
|
|
32
|
-
* If you need to split subscriptions across connections, create multiple WSSubscriptionManager instances.
|
|
33
|
-
*/
|
|
34
|
-
maxMarketsPerWS?: number;
|
|
35
26
|
};
|
package/package.json
CHANGED
|
@@ -25,15 +25,4 @@ export type SubscriptionManagerOptions = {
|
|
|
25
25
|
* Default: 100ms
|
|
26
26
|
*/
|
|
27
27
|
pendingFlushIntervalMs?: number;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated No longer used. Rate limiting has been removed from this library.
|
|
31
|
-
*/
|
|
32
|
-
burstLimiter?: any;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated No longer used. Each manager instance uses a single WebSocket connection.
|
|
36
|
-
* If you need to split subscriptions across connections, create multiple WSSubscriptionManager instances.
|
|
37
|
-
*/
|
|
38
|
-
maxMarketsPerWS?: number;
|
|
39
28
|
}
|