apps-sdk 1.0.197 → 1.0.198

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apps-sdk",
3
- "version": "1.0.197",
3
+ "version": "1.0.198",
4
4
  "description": "Apps SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,7 +23,7 @@ class PayWall extends React.Component {
23
23
  };
24
24
  this.maxRetries = 50;
25
25
  this.retryInterval = 1000;
26
- this.bottomsheet = typeof(props.bottomsheet) === 'undefined' ? false : props.bottomsheet;
26
+ this.bottomsheet = typeof(props.bottomsheet) === 'undefined' ? true : props.bottomsheet;
27
27
  }
28
28
 
29
29
  componentDidMount() {
@@ -302,7 +302,7 @@ class PayWall extends React.Component {
302
302
  {content}
303
303
  </BottomSheet>
304
304
  ) : (
305
- content
305
+ visible ? content : null
306
306
  );
307
307
  }
308
308
  }