@shad0wz7/nestjs-pdf 2.4.1 → 2.4.3
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +210 -133
- package/dist/index.mjs +210 -133
- package/package.json +18 -16
package/dist/index.d.mts
CHANGED
|
@@ -193,16 +193,16 @@ declare class MjmlService {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
declare class PuppeteerService {
|
|
196
|
-
private readonly hbsService;
|
|
197
196
|
private readonly browserService;
|
|
198
197
|
private readonly options;
|
|
198
|
+
private readonly hbsService?;
|
|
199
199
|
private readonly mjmlService?;
|
|
200
200
|
private readonly pugService?;
|
|
201
201
|
private readonly ejsService?;
|
|
202
202
|
private readonly nunjucksService?;
|
|
203
203
|
private readonly etaService?;
|
|
204
204
|
private readonly mustacheService?;
|
|
205
|
-
constructor(
|
|
205
|
+
constructor(browserService: BrowserService, options: PuppeteerParameters, hbsService?: HandlebarsService | undefined, mjmlService?: MjmlService | undefined, pugService?: PugService | undefined, ejsService?: EjsService | undefined, nunjucksService?: NunjucksService | undefined, etaService?: EtaService | undefined, mustacheService?: MustacheService | undefined);
|
|
206
206
|
private readonly limit;
|
|
207
207
|
generatePdfFromHtml(html: string, options?: PuppeteerParameters): Promise<Uint8Array>;
|
|
208
208
|
generatePdfFromTemplateHbsString(template: string, parameters?: any, options?: PuppeteerParameters): Promise<Uint8Array<ArrayBufferLike>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -193,16 +193,16 @@ declare class MjmlService {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
declare class PuppeteerService {
|
|
196
|
-
private readonly hbsService;
|
|
197
196
|
private readonly browserService;
|
|
198
197
|
private readonly options;
|
|
198
|
+
private readonly hbsService?;
|
|
199
199
|
private readonly mjmlService?;
|
|
200
200
|
private readonly pugService?;
|
|
201
201
|
private readonly ejsService?;
|
|
202
202
|
private readonly nunjucksService?;
|
|
203
203
|
private readonly etaService?;
|
|
204
204
|
private readonly mustacheService?;
|
|
205
|
-
constructor(
|
|
205
|
+
constructor(browserService: BrowserService, options: PuppeteerParameters, hbsService?: HandlebarsService | undefined, mjmlService?: MjmlService | undefined, pugService?: PugService | undefined, ejsService?: EjsService | undefined, nunjucksService?: NunjucksService | undefined, etaService?: EtaService | undefined, mustacheService?: MustacheService | undefined);
|
|
206
206
|
private readonly limit;
|
|
207
207
|
generatePdfFromHtml(html: string, options?: PuppeteerParameters): Promise<Uint8Array>;
|
|
208
208
|
generatePdfFromTemplateHbsString(template: string, parameters?: any, options?: PuppeteerParameters): Promise<Uint8Array<ArrayBufferLike>>;
|