vatts 1.1.4-alpha.7 → 1.1.4-alpha.8

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.
@@ -20,10 +20,9 @@ const Image = ({ src, width, height, quality = 75, priority = false, className,
20
20
  return src;
21
21
  }
22
22
  let optimizedSrc = optimizeSrc(src, baseUrl);
23
- console.log(optimizedSrc);
24
23
  if (isOptimizable) {
25
24
  const params = new URLSearchParams();
26
- params.set('url', src);
25
+ params.set('url', optimizedSrc);
27
26
  // Tratamento inteligente para remover "px" se o usuário passar string
28
27
  if (width) {
29
28
  const w = String(width).replace('px', '');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vatts",
3
- "version": "1.1.4-alpha.7",
3
+ "version": "1.1.4-alpha.8",
4
4
  "description": "Vatts.js is a high-level framework for building web applications with ease and speed. It provides a robust set of tools and features to streamline development and enhance productivity.",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "itsmuzin",