bulltrackers-module 1.0.446 → 1.0.447

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.
@@ -1,4 +1,4 @@
1
- # Data Feeder Pipeline (V2.1 - Bug Fixed)
1
+ # Data Feeder Pipeline (V2.2 - Static Jump Fixed)
2
2
  # Orchestrates data fetching with UTC-alignment and Targeted Step execution.
3
3
 
4
4
  main:
@@ -11,10 +11,21 @@ main:
11
11
  - market_date: '${text.split(time.format(sys.now()), "T")[0]}'
12
12
 
13
13
  # --- TEST MODE / SELECTIVE EXECUTION ---
14
+ # Since 'next' cannot be dynamic, we map specific strings to steps.
14
15
  - check_test_mode:
15
16
  switch:
16
17
  - condition: '${input != null and "target_step" in input}'
17
- next: '${input.target_step}'
18
+ steps:
19
+ - route_test:
20
+ switch:
21
+ - condition: '${input.target_step == "market"}'
22
+ next: run_market_close_tasks
23
+ - condition: '${input.target_step == "rankings"}'
24
+ next: run_rankings_fetch
25
+ - condition: '${input.target_step == "social"}'
26
+ next: run_social_midnight
27
+ - condition: '${input.target_step == "global"}'
28
+ next: run_global_indexer
18
29
 
19
30
  # --- PHASE 1: MARKET CLOSE (22:00 UTC) ---
20
31
  - run_market_close_tasks:
@@ -76,7 +87,6 @@ main:
76
87
  url: '${"https://" + location + "-" + project + ".cloudfunctions.net/social-orchestrator"}'
77
88
  auth: { type: OIDC }
78
89
 
79
- # FIX: Split assign and call into two steps
80
90
  - prepare_midnight_index:
81
91
  assign:
82
92
  - current_date: '${text.split(time.format(sys.now()), "T")[0]}'
@@ -120,7 +130,6 @@ main:
120
130
  url: '${"https://" + location + "-" + project + ".cloudfunctions.net/social-orchestrator"}'
121
131
  auth: { type: OIDC }
122
132
 
123
- # FIX: Split assign and call into two steps
124
133
  - prepare_recurring_index:
125
134
  assign:
126
135
  - cur_date_rec: '${text.split(time.format(sys.now()), "T")[0]}'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bulltrackers-module",
3
- "version": "1.0.446",
3
+ "version": "1.0.447",
4
4
  "description": "Helper Functions for Bulltrackers.",
5
5
  "main": "index.js",
6
6
  "files": [