Comparing version 0.3.0 to 0.3.1
/// <reference types="pdfkit" /> | ||
import { Content, PDFEasyDefaults } from '../types'; | ||
export declare const resolveCover: (app: PDFKit.PDFDocument, based: string) => Promise<void>; | ||
export declare const resolveContent: (app: PDFKit.PDFDocument, defaults: PDFEasyDefaults, content: Content) => Promise<void>; |
@@ -105,3 +105,5 @@ import PDFDocument from 'pdfkit'; | ||
background?: PluginBackgroundCallback<string | false>; | ||
page?: PluginPageCallback<void>[]; | ||
page: PluginPageCallback<void>[]; | ||
onAfter?: () => void; | ||
onBefore?: () => void; | ||
} | ||
@@ -142,2 +144,6 @@ export type PluginBackgroundCallback<T> = (context: PDFKit.PDFPage) => T; | ||
/** | ||
* Cover URL or Base64 | ||
*/ | ||
cover?: string; | ||
/** | ||
* Advanced PDF Easy Options | ||
@@ -144,0 +150,0 @@ * |
{ | ||
"name": "pdfeasy", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Client/Server Side PDF-Creator based in PDFKit", | ||
@@ -5,0 +5,0 @@ "author": "Novout <novout@hotmail.com>", |
@@ -15,3 +15,2 @@ <p align="center"> | ||
<a><img src="https://img.shields.io/github/license/Novout/pdfeasy?style=for-the-badge&color=5cb4f8&label="></a> | ||
<a><img src="https://img.shields.io/github/lerna-json/v/Novout/pdfeasy?style=for-the-badge&color=5cb4f8&label="></a> | ||
<p> | ||
@@ -148,2 +147,2 @@ | ||
`pdfeasy/dist/index.d.ts` | ||
`pdfeasy/dist/index.d.ts` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
7046324
163764
2
23
16