mkfashion-sdk 1.2.9 → 1.3.0

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/package.json +2 -2
  2. package/src/mkfashion.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mkfashion-sdk",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "description": "SDK para integrar o provador virtual mKFashion com suporte a Wake Commerce",
5
5
  "main": "src/mkfashion.js",
6
6
  "scripts": {
@@ -15,4 +15,4 @@
15
15
  ],
16
16
  "author": "metaKosmos",
17
17
  "license": "MIT"
18
- }
18
+ }
package/src/mkfashion.js CHANGED
@@ -548,7 +548,7 @@ const mkfashion = {
548
548
  iframe.style.width = typeof width === 'number' ? `${width}px` : width
549
549
  iframe.style.height = typeof height === 'number' ? `${height}px` : height
550
550
  iframe.style.border = 'none'
551
- iframe.setAttribute('allow', 'camera; microphone')
551
+ iframe.setAttribute('allow', 'camera *; microphone *')
552
552
  iframe.setAttribute('allowfullscreen', 'true')
553
553
  return iframe
554
554
  },