react-postscribe 0.1.2 → 0.1.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.
package/dist/index.cjs.js CHANGED
@@ -118,7 +118,7 @@ function (_React$Component) {
118
118
  _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "componentDidMount", function () {
119
119
  if (typeof window === 'undefined') return;
120
120
  Promise.resolve(require('postscribe')).then(function (postscribe) {
121
- postscribe(_this.el, _this.props.html, pick(_this.props, ['afterAsync', 'afterDequeue', 'afterStreamStart', 'afterWrite', 'done', 'autoFix', 'beforeEnqueue', 'beforeWrite', 'beforeWriteToken', 'error', 'releaseAsync']));
121
+ postscribe.default(_this.el, _this.props.html, pick(_this.props, ['afterAsync', 'afterDequeue', 'afterStreamStart', 'afterWrite', 'done', 'autoFix', 'beforeEnqueue', 'beforeWrite', 'beforeWriteToken', 'error', 'releaseAsync']));
122
122
  });
123
123
  });
124
124
 
package/dist/index.esm.js CHANGED
@@ -112,7 +112,7 @@ function (_React$Component) {
112
112
  _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "componentDidMount", function () {
113
113
  if (typeof window === 'undefined') return;
114
114
  import('postscribe').then(function (postscribe) {
115
- postscribe(_this.el, _this.props.html, pick(_this.props, ['afterAsync', 'afterDequeue', 'afterStreamStart', 'afterWrite', 'done', 'autoFix', 'beforeEnqueue', 'beforeWrite', 'beforeWriteToken', 'error', 'releaseAsync']));
115
+ postscribe.default(_this.el, _this.props.html, pick(_this.props, ['afterAsync', 'afterDequeue', 'afterStreamStart', 'afterWrite', 'done', 'autoFix', 'beforeEnqueue', 'beforeWrite', 'beforeWriteToken', 'error', 'releaseAsync']));
116
116
  });
117
117
  });
118
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-postscribe",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "React component to render HTML with postscribe",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",