@iccandle/widget-web-trading 0.3.6 → 0.3.7
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/web-trading-widget.cjs +12 -12
- package/dist/web-trading-widget.d.ts +4 -0
- package/dist/web-trading-widget.js +1542 -1538
- package/package.json +1 -1
|
@@ -166,6 +166,8 @@ export declare function toTradingViewLocale(
|
|
|
166
166
|
|
|
167
167
|
export type WebTradingWidgetProps = WebTradingWidgetHostChartProps & {
|
|
168
168
|
readonly baseUrl: string;
|
|
169
|
+
/** Tick WebSocket URL. When omitted, derived from `baseUrl`. */
|
|
170
|
+
readonly tickWebSocketUrl: string;
|
|
169
171
|
/** Auth token stored in localStorage under `web-trading-token` for API requests. */
|
|
170
172
|
readonly token?: string | null;
|
|
171
173
|
readonly language?: WidgetLanguage;
|
|
@@ -193,6 +195,8 @@ export declare const WebTradingWidget: FC<WebTradingWidgetProps>;
|
|
|
193
195
|
|
|
194
196
|
export type ChartNewsOrdersOverlayProps = {
|
|
195
197
|
readonly baseUrl: string;
|
|
198
|
+
/** Tick WebSocket URL. When omitted, derived from `baseUrl`. */
|
|
199
|
+
readonly tickWebSocketUrl: string;
|
|
196
200
|
readonly language?: WidgetLanguage;
|
|
197
201
|
readonly containerRef?: import("react").RefObject<HTMLElement | null>;
|
|
198
202
|
readonly onCreateNewOrder?: () => void;
|