vintasend-pug 0.12.2 → 0.13.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.
|
@@ -2,7 +2,7 @@ import pug from 'pug';
|
|
|
2
2
|
import type { BaseEmailTemplateRenderer, BaseLogger, BaseNotificationTypeConfig, DatabaseNotification, EmailTemplate, EmailTemplateContent, JsonObject } from 'vintasend';
|
|
3
3
|
export declare class PugEmailTemplateRenderer<Config extends BaseNotificationTypeConfig> implements BaseEmailTemplateRenderer<Config> {
|
|
4
4
|
private options;
|
|
5
|
-
|
|
5
|
+
logger: BaseLogger | null;
|
|
6
6
|
constructor(options: pug.Options);
|
|
7
7
|
/**
|
|
8
8
|
* Inject logger (called by VintaSend when logger exists)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pug-email-template-renderer.d.ts","sourceRoot":"","sources":["../src/pug-email-template-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,KAAK,EACV,yBAAyB,EACzB,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EACpB,UAAU,EACX,MAAM,WAAW,CAAC;AAEnB,qBAAa,wBAAwB,CAAC,MAAM,SAAS,0BAA0B,CAC7E,YAAW,yBAAyB,CAAC,MAAM,CAAC;IAIhC,OAAO,CAAC,OAAO;IAF3B,
|
|
1
|
+
{"version":3,"file":"pug-email-template-renderer.d.ts","sourceRoot":"","sources":["../src/pug-email-template-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,KAAK,EACV,yBAAyB,EACzB,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EACpB,UAAU,EACX,MAAM,WAAW,CAAC;AAEnB,qBAAa,wBAAwB,CAAC,MAAM,SAAS,0BAA0B,CAC7E,YAAW,yBAAyB,CAAC,MAAM,CAAC;IAIhC,OAAO,CAAC,OAAO;IAF3B,MAAM,EAAE,UAAU,GAAG,IAAI,CAAQ;gBAEb,OAAO,EAAE,GAAG,CAAC,OAAO;IAExC;;OAEG;IACH,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;IAIhC,MAAM,CACV,YAAY,EAAE,oBAAoB,CAAC,MAAM,CAAC,EAC1C,OAAO,EAAE,UAAU,GAClB,OAAO,CAAC,aAAa,CAAC;IAsBnB,yBAAyB,CAC7B,YAAY,EAAE,oBAAoB,CAAC,MAAM,CAAC,EAC1C,eAAe,EAAE,oBAAoB,EACrC,OAAO,EAAE,UAAU,GAClB,OAAO,CAAC,aAAa,CAAC;CAiB1B;AAED,qBAAa,+BAA+B,CAAC,MAAM,SAAS,0BAA0B;IACpF,MAAM,CAAC,OAAO,GAAE,GAAG,CAAC,OAAY;CAGjC"}
|
|
@@ -8,7 +8,7 @@ import type { BaseEmailTemplateRenderer, BaseLogger, BaseNotificationTypeConfig,
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class PugInlineEmailTemplateRenderer<Config extends BaseNotificationTypeConfig> implements BaseEmailTemplateRenderer<Config> {
|
|
10
10
|
private templates;
|
|
11
|
-
|
|
11
|
+
logger: BaseLogger | null;
|
|
12
12
|
constructor(generatedTemplates: Record<string, string>);
|
|
13
13
|
/**
|
|
14
14
|
* Inject logger (called by VintaSend when logger exists)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pug-inline-email-template-renderer.d.ts","sourceRoot":"","sources":["../src/pug-inline-email-template-renderer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,yBAAyB,EACzB,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,UAAU,EACX,MAAM,WAAW,CAAC;AAEnB;;;;;;GAMG;AACH,qBAAa,8BAA8B,CAAC,MAAM,SAAS,0BAA0B,CACnF,YAAW,yBAAyB,CAAC,MAAM,CAAC;IAE5C,OAAO,CAAC,SAAS,CAAyB;IAC1C,
|
|
1
|
+
{"version":3,"file":"pug-inline-email-template-renderer.d.ts","sourceRoot":"","sources":["../src/pug-inline-email-template-renderer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,yBAAyB,EACzB,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,UAAU,EACX,MAAM,WAAW,CAAC;AAEnB;;;;;;GAMG;AACH,qBAAa,8BAA8B,CAAC,MAAM,SAAS,0BAA0B,CACnF,YAAW,yBAAyB,CAAC,MAAM,CAAC;IAE5C,OAAO,CAAC,SAAS,CAAyB;IAC1C,MAAM,EAAE,UAAU,GAAG,IAAI,CAAQ;gBAErB,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAItD;;OAEG;IACH,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;IAIhC,MAAM,CACV,YAAY,EAAE,oBAAoB,CAAC,MAAM,CAAC,EAC1C,OAAO,EAAE,UAAU,GAClB,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IA8CvC,yBAAyB,CAC7B,YAAY,EAAE,oBAAoB,CAAC,MAAM,CAAC,EAC1C,eAAe,EAAE,oBAAoB,EACrC,OAAO,EAAE,UAAU,GAClB,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAmC9C;AAED,qBAAa,qCAAqC,CAAC,MAAM,SAAS,0BAA0B;IAC1F,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,8BAA8B,CAAC,MAAM,CAAC;CAG3F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vintasend-pug",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"pug": "^3.0.3",
|
|
28
|
-
"vintasend": "
|
|
28
|
+
"vintasend": "file:../../.."
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@biomejs/biome": "^2.4.5",
|