apps-sdk 1.0.151 → 1.0.153
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
|
@@ -206,7 +206,7 @@ class PayWall extends React.Component {
|
|
|
206
206
|
// config.DEBUG_MODE && console.log('PayWallLogic.paywallJS type:', typeof PayWallLogic.paywallJS);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
if (!this.paywallData.url) {
|
|
209
|
+
if (Object.keys(this.paywallData).length === 0 || !this.paywallData.url) {
|
|
210
210
|
config.DEBUG_MODE && console.log('PayWallLogic: paywallData no tiene url para este type / keyword -> ' + type + ' / ' + keyword);
|
|
211
211
|
return null;
|
|
212
212
|
}
|