next-blurhash-previews 0.0.3-beta50 → 0.0.3-beta51

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,8 +39,8 @@ export const blurhashPlugin = publicPath => () => {
39
39
 
40
40
  const newNode = `
41
41
  <blurhash-image url="${originalImg}" preview='${JSON.stringify(blurHash)}'>
42
- <img alt="${alt}" width="${w}" src="${originalImg}" slot="image" />
43
- <canvas width="${blurHash.w}" height="${blurHash.h}" slot="preview"></canvas>
42
+ <img alt="${alt}" width="${w}" height="${h}" src="${originalImg}" slot="image" />
43
+ <canvas width="${w}" height="${h}" slot="preview"></canvas>
44
44
  </blurhash-image>`.trim();
45
45
 
46
46
  parent.children[index] = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-blurhash-previews",
3
- "version": "0.0.3-beta50",
3
+ "version": "0.0.3-beta51",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.js",