@quintype/native-components 2.29.5 → 2.29.6

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": "@quintype/native-components",
3
- "version": "2.29.5",
3
+ "version": "2.29.6",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -95,7 +95,7 @@ const getStoryCards = (
95
95
 
96
96
  {source.length > (storyType === STORY_TYPES.VIDEO_STORY ? 2 : 1)
97
97
  && isMiddleIndexOfArray(index, source)
98
- && getAd(true)}
98
+ && getAd(true, "body")}
99
99
  {/* ^ Requesting mid-content-ad if there are > 1 card
100
100
  (> 2 cards in case of video story since the 1st card gets rendered in header). */}
101
101
 
@@ -108,7 +108,7 @@ const getStoryCards = (
108
108
  {cards.length === 1
109
109
  && source.length > (storyType === STORY_TYPES.VIDEO_STORY ? 2 : 1)
110
110
  && isMiddleIndexOfArray(index, source)
111
- && getAd(true)}
111
+ && getAd(true, "body")}
112
112
  {/* ^ In the case of a story having just 1 card,
113
113
  requesting mid-content-Ad if there are > 1 story-elements in that card
114
114
  (> 2 story-elements in case of video story since the 1st story-element gets rendered in header). */}
@@ -419,7 +419,7 @@ export const Story = ({
419
419
  </View>))}
420
420
 
421
421
 
422
- {getAd()}
422
+ {getAd(false, "header")}
423
423
 
424
424
  {getStoryCards(
425
425
  cards,