zmdms-utils 0.0.37 → 0.0.38

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/es/pdf.d.ts CHANGED
@@ -39,4 +39,4 @@ interface IImgToPdfConfig {
39
39
  waterConfig?: IWaterResult;
40
40
  }
41
41
 
42
- export { imgToPdf };
42
+ export { IImgToPdfConfig, imgToPdf };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-utils",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/src/pdf.ts CHANGED
@@ -122,7 +122,7 @@ export function addImageWater(
122
122
  }
123
123
  }
124
124
 
125
- interface IImgToPdfConfig {
125
+ export interface IImgToPdfConfig {
126
126
  /** 图片 base64字符串 */
127
127
  image: string | HTMLImageElement | HTMLCanvasElement | Uint8Array | RGBAData;
128
128
  width: number;