funhi-chart 1.4.4 → 1.4.5
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/dts/core/FunhiChartController.d.ts +0 -22
- package/dist/dts/test-gap-fix.d.ts +1 -0
- package/dist/dts/utils/candleAggregation.d.ts +0 -5
- package/dist/index.d.ts +0 -5
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
|
@@ -14,8 +14,6 @@ export declare class FunhiChartController {
|
|
|
14
14
|
private updateHandler;
|
|
15
15
|
private currentTimeframe;
|
|
16
16
|
private config;
|
|
17
|
-
private gapCheckInterval;
|
|
18
|
-
private readonly GAP_CHECK_INTERVAL_MS;
|
|
19
17
|
constructor(config: ControllerConfig);
|
|
20
18
|
/**
|
|
21
19
|
* Initializes the chart and loads initial data
|
|
@@ -57,26 +55,6 @@ export declare class FunhiChartController {
|
|
|
57
55
|
* Resizes the chart
|
|
58
56
|
*/
|
|
59
57
|
resize(): void;
|
|
60
|
-
/**
|
|
61
|
-
* Checks for gaps in candles and loads missing ones from database for current timeframe
|
|
62
|
-
*/
|
|
63
|
-
private checkAndFillGaps;
|
|
64
|
-
/**
|
|
65
|
-
* Checks for gaps in candles and loads missing ones from database for a specific timeframe
|
|
66
|
-
*/
|
|
67
|
-
private checkAndFillGapsForTimeframe;
|
|
68
|
-
/**
|
|
69
|
-
* Checks for gaps in all timeframes and loads missing candles
|
|
70
|
-
*/
|
|
71
|
-
private checkAndFillGapsForAllTimeframes;
|
|
72
|
-
/**
|
|
73
|
-
* Starts periodic gap checking
|
|
74
|
-
*/
|
|
75
|
-
private startGapChecking;
|
|
76
|
-
/**
|
|
77
|
-
* Stops periodic gap checking
|
|
78
|
-
*/
|
|
79
|
-
private stopGapChecking;
|
|
80
58
|
/**
|
|
81
59
|
* Destroys the controller and cleans up resources
|
|
82
60
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -35,11 +35,6 @@ declare class CandleAggregation {
|
|
|
35
35
|
* Get timeframe in seconds from label
|
|
36
36
|
*/
|
|
37
37
|
getTimeframeSeconds(label: string): number;
|
|
38
|
-
/**
|
|
39
|
-
* Fill gaps in candles with flat candles (same OHLC)
|
|
40
|
-
* This ensures continuous chart rendering
|
|
41
|
-
*/
|
|
42
|
-
fillGaps(candles: CandleData[], timeframe: number): CandleData[];
|
|
43
38
|
/**
|
|
44
39
|
* Get the current incomplete candle for a timeframe
|
|
45
40
|
* This is used for real-time updates
|
package/dist/index.d.ts
CHANGED
|
@@ -253,11 +253,6 @@ declare class CandleAggregation {
|
|
|
253
253
|
* Get timeframe in seconds from label
|
|
254
254
|
*/
|
|
255
255
|
getTimeframeSeconds(label: string): number;
|
|
256
|
-
/**
|
|
257
|
-
* Fill gaps in candles with flat candles (same OHLC)
|
|
258
|
-
* This ensures continuous chart rendering
|
|
259
|
-
*/
|
|
260
|
-
fillGaps(candles: CandleData[], timeframe: number): CandleData[];
|
|
261
256
|
/**
|
|
262
257
|
* Get the current incomplete candle for a timeframe
|
|
263
258
|
* This is used for real-time updates
|