@plusscommunities/pluss-newsletter-web-sharing 1.4.28 → 1.4.30

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/index.cjs.js CHANGED
@@ -2907,7 +2907,7 @@ var AddNewsletterEntry = /*#__PURE__*/function (_Component) {
2907
2907
  IsFeatured: this.state.isFeatured,
2908
2908
  FeaturedExpiry: this.state.isFeatured ? getUTCFromTimeDatePickers(this.state.featuredExpiryDate, '23:59').valueOf() : undefined,
2909
2909
  Publisher: null,
2910
- AuthorDisplay: this.state.authorDisplay,
2910
+ AuthorDisplay: this.props.forceNewsAuthorName ? 'name' : this.state.authorDisplay,
2911
2911
  Links: _toConsumableArray__default['default'](this.state.links)
2912
2912
  };
2913
2913
 
package/dist/index.esm.js CHANGED
@@ -2863,7 +2863,7 @@ var AddNewsletterEntry = /*#__PURE__*/function (_Component) {
2863
2863
  IsFeatured: this.state.isFeatured,
2864
2864
  FeaturedExpiry: this.state.isFeatured ? getUTCFromTimeDatePickers(this.state.featuredExpiryDate, '23:59').valueOf() : undefined,
2865
2865
  Publisher: null,
2866
- AuthorDisplay: this.state.authorDisplay,
2866
+ AuthorDisplay: this.props.forceNewsAuthorName ? 'name' : this.state.authorDisplay,
2867
2867
  Links: _toConsumableArray(this.state.links)
2868
2868
  };
2869
2869
 
package/dist/index.umd.js CHANGED
@@ -2885,7 +2885,7 @@
2885
2885
  IsFeatured: this.state.isFeatured,
2886
2886
  FeaturedExpiry: this.state.isFeatured ? getUTCFromTimeDatePickers(this.state.featuredExpiryDate, '23:59').valueOf() : undefined,
2887
2887
  Publisher: null,
2888
- AuthorDisplay: this.state.authorDisplay,
2888
+ AuthorDisplay: this.props.forceNewsAuthorName ? 'name' : this.state.authorDisplay,
2889
2889
  Links: _toConsumableArray__default['default'](this.state.links)
2890
2890
  };
2891
2891
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-newsletter-web-sharing",
3
- "version": "1.4.28",
3
+ "version": "1.4.30",
4
4
  "description": "Extension package to enable newsletter on Pluss Communities Platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -37,7 +37,7 @@
37
37
  "@babel/runtime": "^7.14.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "@plusscommunities/pluss-core-web": "^1.4.31",
40
+ "@plusscommunities/pluss-core-web": "^1.6.8",
41
41
  "@fortawesome/fontawesome-svg-core": "^6.4.0",
42
42
  "@fortawesome/free-solid-svg-icons": "^6.4.0",
43
43
  "@fortawesome/react-fontawesome": "^0.2.0",
@@ -524,7 +524,7 @@ class AddNewsletterEntry extends Component {
524
524
  IsFeatured: this.state.isFeatured,
525
525
  FeaturedExpiry: this.state.isFeatured ? getUTCFromTimeDatePickers(this.state.featuredExpiryDate, '23:59').valueOf() : undefined,
526
526
  Publisher: null,
527
- AuthorDisplay: this.state.authorDisplay,
527
+ AuthorDisplay: this.props.forceNewsAuthorName ? 'name' : this.state.authorDisplay,
528
528
  Links: [...this.state.links],
529
529
  };
530
530
  if (this.state.authorDisplay === 'custom') {