@astralibx/email-rule-engine 12.0.0 → 12.1.0
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/index.cjs +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -1
package/dist/index.cjs
CHANGED
|
@@ -1261,6 +1261,11 @@ var RuleRunnerService = class {
|
|
|
1261
1261
|
id: dedupKey,
|
|
1262
1262
|
email,
|
|
1263
1263
|
name: ""
|
|
1264
|
+
},
|
|
1265
|
+
context: {
|
|
1266
|
+
ruleId,
|
|
1267
|
+
templateId,
|
|
1268
|
+
runId: runId || ""
|
|
1264
1269
|
}
|
|
1265
1270
|
});
|
|
1266
1271
|
finalHtml = modified.htmlBody;
|
|
@@ -1467,6 +1472,11 @@ var RuleRunnerService = class {
|
|
|
1467
1472
|
id: String(userId),
|
|
1468
1473
|
email,
|
|
1469
1474
|
name: String(user.name || user.firstName || "")
|
|
1475
|
+
},
|
|
1476
|
+
context: {
|
|
1477
|
+
ruleId,
|
|
1478
|
+
templateId,
|
|
1479
|
+
runId: runId || ""
|
|
1470
1480
|
}
|
|
1471
1481
|
});
|
|
1472
1482
|
finalHtml = modified.htmlBody;
|