@wikala/spmkt 2.21.1 → 2.21.3

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.
@@ -218,7 +218,7 @@ export default {
218
218
  setAffiliateData() {
219
219
  let affiliateData = null
220
220
  try {
221
- affiliateData = JSON.parse(localStorage.getItem('__ref__'))
221
+ affiliateData = JSON.parse(localStorage.getItem('__a__'))
222
222
  this.setAffiliate(affiliateData)
223
223
  } catch(e) {}
224
224
  },
@@ -15,10 +15,9 @@
15
15
  <b-carousel-item v-for="(image, i) in product.images" :key="i">
16
16
  <picture class="image">
17
17
  <img
18
- decoding="async"
19
- loading="lazy"
20
18
  :src="image.url"
21
19
  :srcset="getSrcset(image)"
20
+ decoding="async"
22
21
  sizes="(min-width: 1420px) 672px, (min-width: 1220px) 576px, (min-width: 1080px) 480px, (min-width: 780px) calc(40.71vw + 48px), 100vw">
23
22
  </picture>
24
23
  </b-carousel-item>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikala/spmkt",
3
- "version": "2.21.1",
3
+ "version": "2.21.3",
4
4
  "private": false,
5
5
  "description": "supermarket",
6
6
  "scripts": {