@folklore/hooks 0.0.40 → 0.0.41

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.
package/dist/cjs.js CHANGED
@@ -1535,6 +1535,9 @@ function useYouTubePlayer(id) {
1535
1535
  });
1536
1536
  }
1537
1537
  debug('onReady [ID: %s]', videoId);
1538
+ if (muted) {
1539
+ player.mute();
1540
+ }
1538
1541
  };
1539
1542
  const onStateChange = _ref2 => {
1540
1543
  let {
package/dist/es.js CHANGED
@@ -1524,6 +1524,9 @@ function useYouTubePlayer(id) {
1524
1524
  });
1525
1525
  }
1526
1526
  debug('onReady [ID: %s]', videoId);
1527
+ if (muted) {
1528
+ player.mute();
1529
+ }
1527
1530
  };
1528
1531
  const onStateChange = _ref2 => {
1529
1532
  let {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/hooks",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "React hooks",
5
5
  "keywords": [
6
6
  "javascript",
@@ -49,7 +49,7 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "cdf211231eecfb77f442f81af2b300c7dd78b6d7",
52
+ "gitHead": "4b648e2f55b26852ed2edd73acabae9402594fc2",
53
53
  "dependencies": {
54
54
  "@folklore/events": "^0.0.5",
55
55
  "@folklore/services": "^0.1.38",