@kontextso/sdk-react-native 0.0.10-rc.8 → 0.0.10-rc.9
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.js +1 -5
- package/dist/index.mjs +1 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3109,11 +3109,7 @@ var InlineAd = ({ code, messageId, wrapper }) => {
|
|
|
3109
3109
|
setLinkIncluded(true);
|
|
3110
3110
|
}
|
|
3111
3111
|
}, [ad]);
|
|
3112
|
-
if (!context)
|
|
3113
|
-
log.error("AdsContext is null");
|
|
3114
|
-
return null;
|
|
3115
|
-
}
|
|
3116
|
-
if (!ad || !ad.content || context?.isDisabled) return null;
|
|
3112
|
+
if (!context || !ad || !ad.content || context?.isDisabled) return null;
|
|
3117
3113
|
if (ad.isLoading || ad.content?.trim().toLowerCase().includes("none"))
|
|
3118
3114
|
return null;
|
|
3119
3115
|
const onProgress = (progress) => {
|
package/dist/index.mjs
CHANGED
|
@@ -3077,11 +3077,7 @@ var InlineAd = ({ code, messageId, wrapper }) => {
|
|
|
3077
3077
|
setLinkIncluded(true);
|
|
3078
3078
|
}
|
|
3079
3079
|
}, [ad]);
|
|
3080
|
-
if (!context)
|
|
3081
|
-
log.error("AdsContext is null");
|
|
3082
|
-
return null;
|
|
3083
|
-
}
|
|
3084
|
-
if (!ad || !ad.content || context?.isDisabled) return null;
|
|
3080
|
+
if (!context || !ad || !ad.content || context?.isDisabled) return null;
|
|
3085
3081
|
if (ad.isLoading || ad.content?.trim().toLowerCase().includes("none"))
|
|
3086
3082
|
return null;
|
|
3087
3083
|
const onProgress = (progress) => {
|