nfets 0.0.146 → 0.0.148

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.
@@ -318,7 +318,10 @@ interface TextOptions extends PDFKit.Mixins.TextOptions {
318
318
  x?: number | undefined;
319
319
  y?: number | undefined;
320
320
  }
321
- type ImageOptions = PDFKit.Mixins.ImageOption;
321
+ type ImageOptions = Omit<PDFKit.Mixins.ImageOption, 'align' | 'valign'> & {
322
+ align?: 'left' | 'center' | 'right';
323
+ valign?: 'top' | 'center' | 'bottom';
324
+ };
322
325
  type ColorValue = PDFKit.Mixins.ColorValue;
323
326
  type RuleValue = PDFKit.Mixins.RuleValue;
324
327
  type TableOptions = PDFKit.Mixins.TableOptions;
@@ -318,7 +318,10 @@ interface TextOptions extends PDFKit.Mixins.TextOptions {
318
318
  x?: number | undefined;
319
319
  y?: number | undefined;
320
320
  }
321
- type ImageOptions = PDFKit.Mixins.ImageOption;
321
+ type ImageOptions = Omit<PDFKit.Mixins.ImageOption, 'align' | 'valign'> & {
322
+ align?: 'left' | 'center' | 'right';
323
+ valign?: 'top' | 'center' | 'bottom';
324
+ };
322
325
  type ColorValue = PDFKit.Mixins.ColorValue;
323
326
  type RuleValue = PDFKit.Mixins.RuleValue;
324
327
  type TableOptions = PDFKit.Mixins.TableOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nfets",
3
- "version": "0.0.146",
3
+ "version": "0.0.148",
4
4
  "description": "typescript libraries for Brazilian's SEFAZ standards",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -71,7 +71,7 @@
71
71
  "@types/node": "^26.1.2",
72
72
  "@types/pdfkit": "^0.17.3",
73
73
  "@typescript-eslint/parser": "^8.66.0",
74
- "axios": "^1.19.0",
74
+ "axios": "^1.20.0",
75
75
  "cross-env": "^10.1.0",
76
76
  "eslint": "^10.8.0",
77
77
  "eslint-plugin-prettier": "^5.5.6",