@micromag/screen-share 0.3.307 → 0.3.311

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/es/index.js CHANGED
@@ -137,7 +137,8 @@ var ShareScreen = function ShareScreen(_ref) {
137
137
  }, [index, id]); // if not share URl was specified, default to the currentURL (without the screen index/id part)
138
138
 
139
139
  var finalShareURL = shareUrl || currentUrl;
140
- var defaultOptions = options !== null ? ['email', 'facebook', 'twitter', 'linkedin', 'whatsapp', 'facebookMessenger'] : [];
140
+ var defaultOptions = options !== null ? ['email', 'facebook', 'twitter', 'linkedin', 'whatsapp'] // 'facebookMessenger'
141
+ : [];
141
142
  var selectedOptions = options !== null ? Object.keys(options).reduce(function (acc, key) {
142
143
  if (!options[key]) return acc;
143
144
  return [].concat(_toConsumableArray(acc), [key]);
package/lib/index.js CHANGED
@@ -156,7 +156,8 @@ var ShareScreen = function ShareScreen(_ref) {
156
156
  }, [index, id]); // if not share URl was specified, default to the currentURL (without the screen index/id part)
157
157
 
158
158
  var finalShareURL = shareUrl || currentUrl;
159
- var defaultOptions = options !== null ? ['email', 'facebook', 'twitter', 'linkedin', 'whatsapp', 'facebookMessenger'] : [];
159
+ var defaultOptions = options !== null ? ['email', 'facebook', 'twitter', 'linkedin', 'whatsapp'] // 'facebookMessenger'
160
+ : [];
160
161
  var selectedOptions = options !== null ? Object.keys(options).reduce(function (acc, key) {
161
162
  if (!options[key]) return acc;
162
163
  return [].concat(_toConsumableArray__default["default"](acc), [key]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-share",
3
- "version": "0.3.307",
3
+ "version": "0.3.311",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -53,15 +53,15 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@babel/runtime": "^7.13.10",
56
- "@micromag/core": "^0.3.307",
57
- "@micromag/element-background": "^0.3.307",
58
- "@micromag/element-call-to-action": "^0.3.307",
59
- "@micromag/element-container": "^0.3.307",
60
- "@micromag/element-heading": "^0.3.307",
61
- "@micromag/element-layout": "^0.3.307",
62
- "@micromag/element-share-options": "^0.3.307",
63
- "@micromag/element-text": "^0.3.307",
64
- "@micromag/transforms": "^0.3.307",
56
+ "@micromag/core": "^0.3.311",
57
+ "@micromag/element-background": "^0.3.311",
58
+ "@micromag/element-call-to-action": "^0.3.311",
59
+ "@micromag/element-container": "^0.3.311",
60
+ "@micromag/element-heading": "^0.3.311",
61
+ "@micromag/element-layout": "^0.3.311",
62
+ "@micromag/element-share-options": "^0.3.311",
63
+ "@micromag/element-text": "^0.3.311",
64
+ "@micromag/transforms": "^0.3.311",
65
65
  "classnames": "^2.2.6",
66
66
  "lodash": "^4.17.21",
67
67
  "prop-types": "^15.7.2",
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "cdc815b7aebe1b9ae8741e1956e21780def64caf"
74
+ "gitHead": "fab297a7ad204611597c749b969f14d992d35d47"
75
75
  }