bulltrackers-module 1.0.430 → 1.0.431
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.
|
@@ -15,7 +15,7 @@ const { processAlertForPI, readComputationResults } = require('./helpers/alert_h
|
|
|
15
15
|
* documentPath: "unified_insights/2025-12-27/results/popular-investor/computations/PiRiskIncrease"
|
|
16
16
|
* }
|
|
17
17
|
*/
|
|
18
|
-
async function handleAlertTrigger(message, context,
|
|
18
|
+
async function handleAlertTrigger(message, context, config, dependencies) {
|
|
19
19
|
const { db, logger } = dependencies;
|
|
20
20
|
|
|
21
21
|
try {
|
|
@@ -123,7 +123,7 @@ async function handleAlertTrigger(message, context, dependencies, config) {
|
|
|
123
123
|
* Triggered when computation results are written to:
|
|
124
124
|
* unified_insights/{date}/results/popular-investor/computations/{computationName}
|
|
125
125
|
*/
|
|
126
|
-
async function handleComputationResultWrite(change, context,
|
|
126
|
+
async function handleComputationResultWrite(change, context, config, dependencies) {
|
|
127
127
|
const { db, logger } = dependencies;
|
|
128
128
|
const { date, computationName } = context.params;
|
|
129
129
|
|