be-components 7.6.4 → 7.6.5

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.
Files changed (187) hide show
  1. package/lib/commonjs/Components/Spring.js +9 -52
  2. package/lib/commonjs/Components/Spring.js.map +1 -1
  3. package/lib/commonjs/NotificationManager/api/index.js +2 -1
  4. package/lib/commonjs/NotificationManager/api/index.js.map +1 -1
  5. package/lib/commonjs/Notifications/index.js +2 -2
  6. package/lib/commonjs/Notifications/index.js.map +1 -1
  7. package/lib/commonjs/ProfileManager/Components/BettorVouch.js +1 -1
  8. package/lib/commonjs/ProfileManager/Components/BettorVouch.js.map +1 -1
  9. package/lib/commonjs/SocialComponents/PostCard/index.js +1 -1
  10. package/lib/commonjs/SocialComponents/PostCard/index.js.map +1 -1
  11. package/lib/module/Components/Spring.js +10 -53
  12. package/lib/module/Components/Spring.js.map +1 -1
  13. package/lib/module/NotificationManager/api/index.js +2 -1
  14. package/lib/module/NotificationManager/api/index.js.map +1 -1
  15. package/lib/module/Notifications/index.js +2 -2
  16. package/lib/module/Notifications/index.js.map +1 -1
  17. package/lib/module/ProfileManager/Components/BettorVouch.js +1 -1
  18. package/lib/module/ProfileManager/Components/BettorVouch.js.map +1 -1
  19. package/lib/module/SocialComponents/PostCard/index.js +1 -1
  20. package/lib/module/SocialComponents/PostCard/index.js.map +1 -1
  21. package/lib/typescript/lib/commonjs/Components/Spring.d.ts +1 -5
  22. package/lib/typescript/lib/commonjs/Components/Spring.d.ts.map +1 -1
  23. package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts +58 -0
  24. package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts.map +1 -1
  25. package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts +58 -0
  26. package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts.map +1 -1
  27. package/lib/typescript/lib/commonjs/index.d.ts +58 -0
  28. package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
  29. package/lib/typescript/lib/module/AdServer/index.d.ts +1 -3
  30. package/lib/typescript/lib/module/AdServer/index.d.ts.map +1 -1
  31. package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts +1 -3
  32. package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
  33. package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts +1 -3
  34. package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts.map +1 -1
  35. package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts +1 -3
  36. package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts.map +1 -1
  37. package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts +1 -3
  38. package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts.map +1 -1
  39. package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts +1 -3
  40. package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts.map +1 -1
  41. package/lib/typescript/lib/module/BetRouter/index.d.ts +1 -3
  42. package/lib/typescript/lib/module/BetRouter/index.d.ts.map +1 -1
  43. package/lib/typescript/lib/module/Bracket/components/BracketCompetitionCard.d.ts +1 -3
  44. package/lib/typescript/lib/module/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
  45. package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts +1 -3
  46. package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
  47. package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts +1 -3
  48. package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts.map +1 -1
  49. package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts +1 -3
  50. package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts.map +1 -1
  51. package/lib/typescript/lib/module/Bracket/components/PlayerBracketManager.d.ts +1 -3
  52. package/lib/typescript/lib/module/Bracket/components/PlayerBracketManager.d.ts.map +1 -1
  53. package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts +1 -3
  54. package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts.map +1 -1
  55. package/lib/typescript/lib/module/Campaign/components/AutoManager.d.ts +1 -3
  56. package/lib/typescript/lib/module/Campaign/components/AutoManager.d.ts.map +1 -1
  57. package/lib/typescript/lib/module/Campaign/components/ProgressTimer.d.ts +1 -3
  58. package/lib/typescript/lib/module/Campaign/components/ProgressTimer.d.ts.map +1 -1
  59. package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts +1 -3
  60. package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
  61. package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts +1 -3
  62. package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts.map +1 -1
  63. package/lib/typescript/lib/module/Competition/components/CompetitionCard.d.ts +1 -3
  64. package/lib/typescript/lib/module/Competition/components/CompetitionCard.d.ts.map +1 -1
  65. package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts +1 -3
  66. package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
  67. package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts +1 -3
  68. package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
  69. package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts +1 -3
  70. package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts.map +1 -1
  71. package/lib/typescript/lib/module/Competition/components/CompetitionTypeCard.d.ts +1 -3
  72. package/lib/typescript/lib/module/Competition/components/CompetitionTypeCard.d.ts.map +1 -1
  73. package/lib/typescript/lib/module/Competition/components/MatchMarketCard.d.ts +1 -3
  74. package/lib/typescript/lib/module/Competition/components/MatchMarketCard.d.ts.map +1 -1
  75. package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts +1 -3
  76. package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts.map +1 -1
  77. package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts +1 -3
  78. package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
  79. package/lib/typescript/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.d.ts +1 -3
  80. package/lib/typescript/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map +1 -1
  81. package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -3
  82. package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
  83. package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts +1 -3
  84. package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
  85. package/lib/typescript/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.d.ts +1 -3
  86. package/lib/typescript/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.d.ts.map +1 -1
  87. package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.d.ts +1 -3
  88. package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.d.ts.map +1 -1
  89. package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts +1 -3
  90. package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts.map +1 -1
  91. package/lib/typescript/lib/module/Components/Spring.d.ts +3 -1126
  92. package/lib/typescript/lib/module/Components/Spring.d.ts.map +1 -1
  93. package/lib/typescript/lib/module/EventComponents/TeamProfile/index.d.ts +1 -3
  94. package/lib/typescript/lib/module/EventComponents/TeamProfile/index.d.ts.map +1 -1
  95. package/lib/typescript/lib/module/FlashMarket/components/MarketTimer.d.ts +1 -3
  96. package/lib/typescript/lib/module/FlashMarket/components/MarketTimer.d.ts.map +1 -1
  97. package/lib/typescript/lib/module/FlashMarket/components/ProgressTimer.d.ts +1 -3
  98. package/lib/typescript/lib/module/FlashMarket/components/ProgressTimer.d.ts.map +1 -1
  99. package/lib/typescript/lib/module/FlashMarket/index.d.ts +1 -3
  100. package/lib/typescript/lib/module/FlashMarket/index.d.ts.map +1 -1
  101. package/lib/typescript/lib/module/Guide/index.d.ts +1 -3
  102. package/lib/typescript/lib/module/Guide/index.d.ts.map +1 -1
  103. package/lib/typescript/lib/module/Leaders/components/LeaderboardCard.d.ts +1 -3
  104. package/lib/typescript/lib/module/Leaders/components/LeaderboardCard.d.ts.map +1 -1
  105. package/lib/typescript/lib/module/MarketComponents/components/BetScopeIndicator.d.ts +1 -3
  106. package/lib/typescript/lib/module/MarketComponents/components/BetScopeIndicator.d.ts.map +1 -1
  107. package/lib/typescript/lib/module/MarketComponents/components/EventScoringCard.d.ts +1 -3
  108. package/lib/typescript/lib/module/MarketComponents/components/EventScoringCard.d.ts.map +1 -1
  109. package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts +1 -3
  110. package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
  111. package/lib/typescript/lib/module/MarketComponents/components/OrderGradeBar.d.ts +1 -3
  112. package/lib/typescript/lib/module/MarketComponents/components/OrderGradeBar.d.ts.map +1 -1
  113. package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts +1 -3
  114. package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
  115. package/lib/typescript/lib/module/MarketMaker/components/ManageFundForm.d.ts +1 -3
  116. package/lib/typescript/lib/module/MarketMaker/components/ManageFundForm.d.ts.map +1 -1
  117. package/lib/typescript/lib/module/MarketMaker/components/OrderForm.d.ts +1 -3
  118. package/lib/typescript/lib/module/MarketMaker/components/OrderForm.d.ts.map +1 -1
  119. package/lib/typescript/lib/module/MarketMaker/components/SetMarketForm.d.ts +1 -3
  120. package/lib/typescript/lib/module/MarketMaker/components/SetMarketForm.d.ts.map +1 -1
  121. package/lib/typescript/lib/module/NotificationManager/api/index.d.ts +58 -0
  122. package/lib/typescript/lib/module/NotificationManager/api/index.d.ts.map +1 -1
  123. package/lib/typescript/lib/module/Observer/Observer.d.ts +1 -3
  124. package/lib/typescript/lib/module/Observer/Observer.d.ts.map +1 -1
  125. package/lib/typescript/lib/module/PlayerRecommender/components/ContactsSelector.d.ts +1 -3
  126. package/lib/typescript/lib/module/PlayerRecommender/components/ContactsSelector.d.ts.map +1 -1
  127. package/lib/typescript/lib/module/Premium/components/ALaCartePremium.d.ts +1 -3
  128. package/lib/typescript/lib/module/Premium/components/ALaCartePremium.d.ts.map +1 -1
  129. package/lib/typescript/lib/module/RankingsCard/index.d.ts +1 -3
  130. package/lib/typescript/lib/module/RankingsCard/index.d.ts.map +1 -1
  131. package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/components/TagSelector.d.ts +1 -3
  132. package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/components/TagSelector.d.ts.map +1 -1
  133. package/lib/typescript/lib/module/SocialComponents/GifSelector/WebSelector.d.ts +1 -3
  134. package/lib/typescript/lib/module/SocialComponents/GifSelector/WebSelector.d.ts.map +1 -1
  135. package/lib/typescript/lib/module/SocialComponents/PlayerFollowButton.d.ts +1 -3
  136. package/lib/typescript/lib/module/SocialComponents/PlayerFollowButton.d.ts.map +1 -1
  137. package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PostsList.d.ts +1 -3
  138. package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PostsList.d.ts.map +1 -1
  139. package/lib/typescript/lib/module/SocialComponents/PostCard/components/DraftTextViewer.d.ts +1 -3
  140. package/lib/typescript/lib/module/SocialComponents/PostCard/components/DraftTextViewer.d.ts.map +1 -1
  141. package/lib/typescript/lib/module/SocialComponents/Poster/index.d.ts +1 -3
  142. package/lib/typescript/lib/module/SocialComponents/Poster/index.d.ts.map +1 -1
  143. package/lib/typescript/lib/module/Socket/index.d.ts +1 -3
  144. package/lib/typescript/lib/module/Socket/index.d.ts.map +1 -1
  145. package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts +1 -3
  146. package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts.map +1 -1
  147. package/lib/typescript/lib/module/Squares/components/Countdown.d.ts +1 -3
  148. package/lib/typescript/lib/module/Squares/components/Countdown.d.ts.map +1 -1
  149. package/lib/typescript/lib/module/Squares/components/EventCard.d.ts +1 -3
  150. package/lib/typescript/lib/module/Squares/components/EventCard.d.ts.map +1 -1
  151. package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts +1 -3
  152. package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts.map +1 -1
  153. package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts +1 -3
  154. package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts.map +1 -1
  155. package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -3
  156. package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
  157. package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts +1 -3
  158. package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts.map +1 -1
  159. package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts +1 -3
  160. package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts.map +1 -1
  161. package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts +1 -3
  162. package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts.map +1 -1
  163. package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts +1 -3
  164. package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts.map +1 -1
  165. package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts +1 -3
  166. package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts.map +1 -1
  167. package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts +1 -3
  168. package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts.map +1 -1
  169. package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts +1 -3
  170. package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
  171. package/lib/typescript/lib/module/Wallet/components/VerifyACHAccount.d.ts +1 -3
  172. package/lib/typescript/lib/module/Wallet/components/VerifyACHAccount.d.ts.map +1 -1
  173. package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts +1 -3
  174. package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts.map +1 -1
  175. package/lib/typescript/src/Components/AutoPageFlatList.d.ts +1 -1
  176. package/lib/typescript/src/Components/AutoPageFlatList.d.ts.map +1 -1
  177. package/lib/typescript/src/Components/Spring.d.ts +1 -1
  178. package/lib/typescript/src/Components/Spring.d.ts.map +1 -1
  179. package/lib/typescript/src/NotificationManager/api/index.d.ts +58 -0
  180. package/lib/typescript/src/NotificationManager/api/index.d.ts.map +1 -1
  181. package/package.json +36 -35
  182. package/src/Components/AutoPageFlatList.tsx +1 -1
  183. package/src/Components/Spring.tsx +13 -44
  184. package/src/NotificationManager/api/index.ts +1 -1
  185. package/src/Notifications/index.tsx +2 -2
  186. package/src/ProfileManager/Components/BettorVouch.tsx +1 -1
  187. package/src/SocialComponents/PostCard/index.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-components",
3
- "version": "7.6.4",
3
+ "version": "7.6.5",
4
4
  "description": "Components for BettorEdge Apps",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -63,8 +63,8 @@
63
63
  "@types/draft-js": "^0.11.18",
64
64
  "@types/is-url": "^1.2.32",
65
65
  "@types/jest": "^29.5.5",
66
- "@types/react": "~19.0.10",
67
- "@types/react-dom": "^19.0.2",
66
+ "@types/react": "~19.1.10",
67
+ "@types/react-dom": "~19.1.7",
68
68
  "commitlint": "^17.0.2",
69
69
  "del-cli": "^5.1.0",
70
70
  "eslint": "^8.51.0",
@@ -73,14 +73,14 @@
73
73
  "html-webpack-plugin": "^5.6.3",
74
74
  "jest": "^29.7.0",
75
75
  "prettier": "^3.0.3",
76
- "react": "19.0.0",
77
- "react-native": "0.79.5",
76
+ "react": "19.1.0",
77
+ "react-native": "0.81.5",
78
78
  "react-native-builder-bob": "^0.23.2",
79
79
  "release-it": "^15.0.0",
80
- "typescript": "~5.8.3"
80
+ "typescript": "~5.9.2"
81
81
  },
82
82
  "resolutions": {
83
- "@types/react": "^18.2.44"
83
+ "@types/react": "~19.1.10"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "react": "*",
@@ -170,36 +170,36 @@
170
170
  "@microsoft/clarity": "^1.0.0",
171
171
  "@microsoft/react-native-clarity": "^4.3.1",
172
172
  "@paypal/react-paypal-js": "^8.3.0",
173
- "@react-native-async-storage/async-storage": "2.1.2",
174
- "@react-native-community/datetimepicker": "^8.4.5",
175
- "@react-native-community/slider": "^5.0.1",
173
+ "@react-native-async-storage/async-storage": "2.2.0",
174
+ "@react-native-community/datetimepicker": "8.4.4",
175
+ "@react-native-community/slider": "5.0.1",
176
176
  "@react-spring/web": "^9.7.3",
177
177
  "@types/uuid": "^9.0.8",
178
178
  "axios": "^1.6.8",
179
179
  "buffer": "^6.0.3",
180
180
  "draft-js": "^0.11.7",
181
- "expo": "^53.0.20",
182
- "expo-application": "^6.1.4",
183
- "expo-asset": "~11.1.5",
184
- "expo-av": "~15.1.4",
185
- "expo-camera": "~16.1.6",
186
- "expo-clipboard": "~7.1.4",
187
- "expo-constants": "^17.1.7",
188
- "expo-contacts": "~14.2.4",
189
- "expo-crypto": "~14.1.4",
190
- "expo-dev-client": "~5.2.4",
191
- "expo-device": "^7.1.4",
192
- "expo-font": "~13.3.1",
193
- "expo-image-picker": "~16.1.4",
194
- "expo-linear-gradient": "~14.1.4",
195
- "expo-localization": "^16.1.5",
196
- "expo-location": "~18.1.5",
197
- "expo-notifications": "~0.31.2",
198
- "expo-sharing": "~13.1.5",
199
- "expo-sms": "~13.1.4",
200
- "expo-status-bar": "~2.2.3",
201
- "expo-updates": "~0.28.13",
202
- "expo-web-browser": "~14.2.0",
181
+ "expo": "~54.0.0",
182
+ "expo-application": "~7.0.8",
183
+ "expo-asset": "~12.0.12",
184
+ "expo-av": "~16.0.8",
185
+ "expo-camera": "~17.0.10",
186
+ "expo-clipboard": "~8.0.8",
187
+ "expo-constants": "~18.0.13",
188
+ "expo-contacts": "~15.0.11",
189
+ "expo-crypto": "~15.0.8",
190
+ "expo-dev-client": "~6.0.20",
191
+ "expo-device": "~8.0.10",
192
+ "expo-font": "~14.0.10",
193
+ "expo-image-picker": "~17.0.10",
194
+ "expo-linear-gradient": "~15.0.8",
195
+ "expo-localization": "~17.0.8",
196
+ "expo-location": "~19.0.8",
197
+ "expo-notifications": "~0.32.16",
198
+ "expo-sharing": "~14.0.8",
199
+ "expo-sms": "~14.0.8",
200
+ "expo-status-bar": "~3.0.9",
201
+ "expo-updates": "~29.0.16",
202
+ "expo-web-browser": "~15.0.10",
203
203
  "install-expo-modules": "latest",
204
204
  "is-url": "^1.2.4",
205
205
  "moment-mini": "^2.29.4",
@@ -209,15 +209,16 @@
209
209
  "react-datepicker": "^8.7.0",
210
210
  "react-datetime-picker": "^6.0.1",
211
211
  "react-device-detect": "^2.2.3",
212
- "react-dom": "19.0.0",
212
+ "react-dom": "19.1.0",
213
213
  "react-gifted-charts": "^0.0.12",
214
214
  "react-native-base64": "^0.2.1",
215
215
  "react-native-gifted-charts": "^1.4.65",
216
- "react-native-svg": "15.11.2",
216
+ "react-native-svg": "15.12.1",
217
217
  "react-native-uuid": "^2.0.3",
218
+ "react-native-web": "^0.21.0",
218
219
  "react-native-web-linear-gradient": "^1.1.2",
219
220
  "react-native-web-swiper": "^2.2.4",
220
- "react-native-webview": "13.13.5",
221
+ "react-native-webview": "13.15.0",
221
222
  "react-qr-code": "^2.0.15",
222
223
  "styled-components": "^6.1.16",
223
224
  "us-bank-account-validator": "^1.0.0",
@@ -9,7 +9,7 @@ import Pagination from './Pagination';
9
9
  interface AutoPageFlatListProps<T> {
10
10
  data: T[];
11
11
  reset_key:string,
12
- renderItem: ({ item, index }: { item: T, index:number }) => JSX.Element;
12
+ renderItem: ({ item, index }: { item: T, index:number }) => any;
13
13
  horizontal?: boolean;
14
14
  time_on_page?: number; // seconds
15
15
  itemHeight?: number; // required for vertical paging
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- import { Modal, Platform } from 'react-native';
3
- import { useSpring, animated } from '@react-spring/web';
2
+ import { Modal } from 'react-native';
4
3
  import Text from './Text';
5
4
 
6
5
  type SpringViewProps = {
@@ -11,52 +10,22 @@ type SpringViewProps = {
11
10
  to:number,
12
11
  children: any
13
12
  }
14
- const SpringView = ({ style, children, from, to, slide, onResolve }:SpringViewProps) => {
13
+ const SpringView = ({ style, children }:SpringViewProps) => {
15
14
 
16
- let config:any = {
17
- from: { x: from},
18
- to: { x: to },
19
- friction: 120,
20
- tension: 280,
21
- //...style
22
- }
23
- if(slide == 'vertical'){
24
- config = {
25
- from: { y: from},
26
- to: { y: to },
27
- //delay: 500,
28
- onResolve: () => { if(onResolve){ onResolve() } },
29
- //...style
30
- // easing: easings.easeInBounce
31
- }
32
- }
33
15
 
16
+ //const props = useSpring(config)
34
17
 
35
18
 
36
- const props = useSpring(config)
37
-
38
- if(Platform.OS == 'web'){
39
- return (
40
- <animated.div
41
- onAnimationEnd={() => console.log('animation has ended')}
42
- style={{ ...props, ...style }}
43
-
44
- >
45
- {children}
46
- </animated.div>
47
- )
48
- } else {
49
- return (
50
- <Modal
51
- style={{ ...style }}
52
- animationType="slide"
53
- visible={true}
54
- >
55
- <Text>HEY THIS SHOULD BE IN HERE!!!</Text>
56
- {children}
57
- </Modal>
58
- )
59
- }
19
+ return (
20
+ <Modal
21
+ style={{ ...style }}
22
+ animationType="slide"
23
+ visible={true}
24
+ >
25
+ <Text>HEY THIS SHOULD BE IN HERE!!!</Text>
26
+ {children}
27
+ </Modal>
28
+ )
60
29
 
61
30
 
62
31
  }
@@ -44,7 +44,7 @@ export const NotificationHelpers = {
44
44
  { label: 'Filters', path_name: '/markets/filters', params: {}, requiredParams: [], primary: false },
45
45
  { label: 'Live Markets', path_name: '/markets/live', params: {}, requiredParams: [], primary: false },
46
46
  { label: 'Parlays', path_name: '/markets/parlays', params: {}, requiredParams: [], primary: false },
47
- { label: 'Market Activity', path_name: '/markets/activity/[content_id]', params: { content_id: '' }, requiredParams: ['content_id'], primary: false },
47
+ { label: 'Market Activity', path_name: '/markets/activity/[content_id]', params: { content_id: '', content_type: '' }, requiredParams: ['content_id'], primary: false },
48
48
  { label: 'Contest', path_name: '/markets/contest/[contest_id]', params: { contest_id: '', contest_type: '' }, requiredParams: ['contest_id', 'contest_type'], primary: true },
49
49
  { label: 'Filter', path_name: '/markets/filter/[player_filter_id]', params: { player_filter_id: '', mode: '' }, requiredParams: ['player_filter_id'], primary: false },
50
50
  { label: 'Fund', path_name: '/markets/fund/[fund_id]', params: { fund_id: '' }, requiredParams: ['fund_id'], primary: false },
@@ -17,8 +17,8 @@ Notifications.setNotificationHandler({
17
17
 
18
18
  const NotificationModule = ({}) => {
19
19
  const Notification = useNotifications();
20
- const notificationListener = useRef<EventSubscription>();
21
- const responseListener = useRef<EventSubscription>();
20
+ const notificationListener = useRef<EventSubscription>(null);
21
+ const responseListener = useRef<EventSubscription>(null);
22
22
 
23
23
  useEffect(() => {
24
24
  notificationListener.current = Notifications.addNotificationReceivedListener(notification => {
@@ -11,7 +11,7 @@ type BettorVouchProps = {
11
11
  }
12
12
  const BettorVouch = ({ VOUCHED_CALLBACK_URL, first_name, last_name, email, phone }:BettorVouchProps) => {
13
13
  const id = 'vouched-container';
14
- const vouchedRef = useRef();
14
+ const vouchedRef = useRef<any>(null);
15
15
 
16
16
  useEffect(() => {
17
17
  // Assuming vouched is included via script tag or otherwise loaded
@@ -61,7 +61,7 @@ const PostCard = ({ player_id, width, articles, post, player, orders, refresh_ke
61
61
  my_reactions:[]
62
62
  })
63
63
  const { my_reactions, my_data_loading } = my_data;
64
- const post_ref = useRef();
64
+ const post_ref = useRef<any>(null);
65
65
  const is_in_viewport = useIsInViewport(post_ref);
66
66
 
67
67
  useEffect(() => {