xpict 0.1.1 → 0.1.2

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.
@@ -6,11 +6,11 @@ export type TemplateConfig = {
6
6
  fill?: Color;
7
7
  };
8
8
  export type TemplateOptions<Data> = {
9
- imagePath: undefined;
9
+ imagePath?: undefined;
10
10
  config: TemplateConfig;
11
11
  layers: Layer<Data>[];
12
12
  } | {
13
- config: undefined;
13
+ config?: undefined;
14
14
  imagePath: string;
15
15
  layers: Layer<Data>[];
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xpict",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Xpict é uma biblioteca para a geração de imagens padronizadas a partir de modelos declarativos.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",