@iccandle/vuejs-widget 0.4.0 → 0.5.1

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
@@ -390,7 +390,7 @@ The widget handles JSON messages with a `name` (and optional `data`) from the re
390
390
  | `pattern.clearClassicPatternSelected` / `pattern.clear_custom_pattern_selected` | Clear pattern overlay. |
391
391
  | `nav.click` | Handle embed navigation (clears date range on `/news` routes). |
392
392
 
393
- The host → embed helpers use a different shape: `{ type: "parent-origin" | "payment-success" | "open-pricing" | "chart-resolution", ... }`.
393
+ The host → embed helpers use a different shape: `{ type: "parent-origin" | "payment-success" | "open-pricing" | "chart-resolution" | "chart-selection", ... }`. `chart-selection` carries the window selector's `symbol`, `resolution` and `endTimestamp` (unix seconds, or `null`) so the embed can disable Simulate once the selector no longer matches the scan.
394
394
 
395
395
  ## Optional: timescale marks (news / events)
396
396
 
@@ -408,6 +408,17 @@ If your datafeed implements `getTimescaleMarks`, you can surface stored events f
408
408
 
409
409
  ## Changelog
410
410
 
411
+ ### 0.5.1
412
+
413
+ - Post the window selector's symbol, resolution and last-candle time to the results iframe (`chart-selection`) so it can disable Simulate once the selector moves or the symbol/timeframe changes.
414
+
415
+ ### 0.5.0
416
+
417
+ - Scanner settings: new "Candles to generate" option (1–50, default 15), sent to the results iframe as `&horizon=`.
418
+ - Simulated candles show their 0–100 score above each candle, thinned out as you zoom.
419
+ - Simulate frames the chart around the generated candles (longer reveals draw faster); closing returns to the previous view.
420
+ - Scanning centres the chart on the window selector instead of jumping to a fixed range.
421
+
411
422
  ### 0.4.0
412
423
 
413
424
  - **Breaking:** removed the `bg_dark` / `bg_light` props. Use a Plugin Portal style via `apiKey` instead.