pinets 0.9.8 → 0.9.10

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.
@@ -16,6 +16,11 @@ export declare class BoxHelper {
16
16
  */
17
17
  private _resolveColor;
18
18
  private _createBox;
19
+ /**
20
+ * Enforce max_boxes_count: auto-delete the oldest non-deleted boxes
21
+ * when the active count exceeds the limit (FIFO eviction).
22
+ */
23
+ private _enforceMaxCount;
19
24
  new(...args: any[]): BoxObject;
20
25
  any(...args: any[]): BoxObject;
21
26
  set_left(id: BoxObject, left: number): void;
@@ -15,6 +15,7 @@ export declare class LabelHelper {
15
15
  */
16
16
  private _resolve;
17
17
  private _createLabel;
18
+ private _enforceMaxCount;
18
19
  new(...args: any[]): LabelObject;
19
20
  any(...args: any[]): LabelObject;
20
21
  set_x(id: LabelObject, x: number): void;
@@ -16,6 +16,7 @@ export declare class LineHelper {
16
16
  */
17
17
  private _resolve;
18
18
  private _createLine;
19
+ private _enforceMaxCount;
19
20
  new(...args: any[]): LineObject;
20
21
  any(...args: any[]): LineObject;
21
22
  set_x1(id: LineObject, x: number): void;
@@ -20,6 +20,7 @@ export declare class PolylineHelper {
20
20
  */
21
21
  private _extractPoints;
22
22
  new(...args: any[]): PolylineObject;
23
+ private _enforceMaxCount;
23
24
  any(...args: any[]): PolylineObject;
24
25
  delete(id: PolylineObject): void;
25
26
  get all(): PolylineObject[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinets",
3
- "version": "0.9.8",
3
+ "version": "0.9.10",
4
4
  "description": "Run Pine Script anywhere. PineTS is an open-source transpiler and runtime that brings Pine Script logic to Node.js and the browser with 1:1 syntax compatibility. Reliably write, port, and run indicators or strategies on your own infrastructure.",
5
5
  "keywords": [
6
6
  "Pine Script",