@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.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1253,6 +1253,11 @@ var RuleRunnerService = class {
|
|
|
1253
1253
|
id: dedupKey,
|
|
1254
1254
|
email,
|
|
1255
1255
|
name: ""
|
|
1256
|
+
},
|
|
1257
|
+
context: {
|
|
1258
|
+
ruleId,
|
|
1259
|
+
templateId,
|
|
1260
|
+
runId: runId || ""
|
|
1256
1261
|
}
|
|
1257
1262
|
});
|
|
1258
1263
|
finalHtml = modified.htmlBody;
|
|
@@ -1459,6 +1464,11 @@ var RuleRunnerService = class {
|
|
|
1459
1464
|
id: String(userId),
|
|
1460
1465
|
email,
|
|
1461
1466
|
name: String(user.name || user.firstName || "")
|
|
1467
|
+
},
|
|
1468
|
+
context: {
|
|
1469
|
+
ruleId,
|
|
1470
|
+
templateId,
|
|
1471
|
+
runId: runId || ""
|
|
1462
1472
|
}
|
|
1463
1473
|
});
|
|
1464
1474
|
finalHtml = modified.htmlBody;
|