svelte-asciiart 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/utils.js +1 -1
  2. package/package.json +1 -1
package/dist/utils.js CHANGED
@@ -103,7 +103,7 @@ export function exportSvg(svgEl, options = {}) {
103
103
  return new XMLSerializer().serializeToString(clone);
104
104
  }
105
105
  export async function exportSvgToPng(svgEl, options = {}) {
106
- const { scale = 2, output = 'dataUrl', ...svgOptions } = options;
106
+ const { scale = 1, output = 'dataUrl', ...svgOptions } = options;
107
107
  // Get the exported SVG with embedded styles
108
108
  const svgString = exportSvg(svgEl, svgOptions);
109
109
  // Parse viewBox to get dimensions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-asciiart",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",