@tiledev/sdk-apptile-live-selling 0.16.0 → 0.16.1

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 (410) hide show
  1. package/dist/attribution.d.ts +2 -16
  2. package/dist/attribution.d.ts.map +1 -1
  3. package/dist/attribution.js +4 -10
  4. package/dist/attribution.js.map +1 -1
  5. package/dist/auctions.d.ts.map +1 -1
  6. package/dist/auctions.js +11 -42
  7. package/dist/auctions.js.map +1 -1
  8. package/dist/cartAttributes.d.ts +0 -10
  9. package/dist/cartAttributes.d.ts.map +1 -1
  10. package/dist/cartAttributes.js +1 -20
  11. package/dist/cartAttributes.js.map +1 -1
  12. package/dist/client.d.ts +2 -51
  13. package/dist/client.d.ts.map +1 -1
  14. package/dist/client.js +23 -123
  15. package/dist/client.js.map +1 -1
  16. package/dist/clips.d.ts +1 -12
  17. package/dist/clips.d.ts.map +1 -1
  18. package/dist/clips.js +6 -114
  19. package/dist/clips.js.map +1 -1
  20. package/dist/commentLinks.d.ts +0 -29
  21. package/dist/commentLinks.d.ts.map +1 -1
  22. package/dist/commentLinks.js.map +1 -1
  23. package/dist/engine.native.d.ts.map +1 -1
  24. package/dist/engine.native.js +845 -17
  25. package/dist/engine.native.js.map +1 -1
  26. package/dist/index.d.ts +4 -48
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +3 -240
  29. package/dist/index.js.map +1 -1
  30. package/dist/polls.d.ts.map +1 -1
  31. package/dist/polls.js +0 -3
  32. package/dist/polls.js.map +1 -1
  33. package/dist/react/LiveSellingProvider.d.ts +1 -54
  34. package/dist/react/LiveSellingProvider.d.ts.map +1 -1
  35. package/dist/react/LiveSellingProvider.js +3 -60
  36. package/dist/react/LiveSellingProvider.js.map +1 -1
  37. package/dist/react/LiveVideoTarget.d.ts.map +1 -1
  38. package/dist/react/LiveVideoTarget.js +3 -41
  39. package/dist/react/LiveVideoTarget.js.map +1 -1
  40. package/dist/react/index.d.ts +3 -30
  41. package/dist/react/index.d.ts.map +1 -1
  42. package/dist/react/index.js +1 -79
  43. package/dist/react/index.js.map +1 -1
  44. package/dist/react/index.web.d.ts +32 -36
  45. package/dist/react/index.web.d.ts.map +1 -1
  46. package/dist/react/index.web.js +122 -102
  47. package/dist/react/index.web.js.map +1 -1
  48. package/dist/react/useAuctionBidGate.d.ts +6 -62
  49. package/dist/react/useAuctionBidGate.d.ts.map +1 -1
  50. package/dist/react/useAuctionBidGate.js +27 -228
  51. package/dist/react/useAuctionBidGate.js.map +1 -1
  52. package/dist/react/useAuctionWins.d.ts +4 -14
  53. package/dist/react/useAuctionWins.d.ts.map +1 -1
  54. package/dist/react/useAuctionWins.js +5 -16
  55. package/dist/react/useAuctionWins.js.map +1 -1
  56. package/dist/react/useClips.d.ts +1 -7
  57. package/dist/react/useClips.d.ts.map +1 -1
  58. package/dist/react/useClips.js +7 -20
  59. package/dist/react/useClips.js.map +1 -1
  60. package/dist/react/useLiveSession.d.ts +3 -15
  61. package/dist/react/useLiveSession.d.ts.map +1 -1
  62. package/dist/react/useLiveSession.js +199 -612
  63. package/dist/react/useLiveSession.js.map +1 -1
  64. package/dist/react/useLiveStreams.d.ts.map +1 -1
  65. package/dist/react/useLiveStreams.js +2 -6
  66. package/dist/react/useLiveStreams.js.map +1 -1
  67. package/dist/react/useOngoingLive.d.ts +0 -1
  68. package/dist/react/useOngoingLive.d.ts.map +1 -1
  69. package/dist/react/useOngoingLive.js +1 -7
  70. package/dist/react/useOngoingLive.js.map +1 -1
  71. package/dist/react/useReplays.d.ts +0 -12
  72. package/dist/react/useReplays.d.ts.map +1 -1
  73. package/dist/react/useReplays.js +24 -56
  74. package/dist/react/useReplays.js.map +1 -1
  75. package/dist/react/useStreamInfo.d.ts +2 -13
  76. package/dist/react/useStreamInfo.d.ts.map +1 -1
  77. package/dist/react/useStreamInfo.js +8 -36
  78. package/dist/react/useStreamInfo.js.map +1 -1
  79. package/dist/replays.d.ts +0 -14
  80. package/dist/replays.d.ts.map +1 -1
  81. package/dist/replays.js +22 -68
  82. package/dist/replays.js.map +1 -1
  83. package/dist/session.d.ts +6 -39
  84. package/dist/session.d.ts.map +1 -1
  85. package/dist/session.js +22 -209
  86. package/dist/session.js.map +1 -1
  87. package/dist/sessionTypes.d.ts +18 -217
  88. package/dist/sessionTypes.d.ts.map +1 -1
  89. package/dist/sessionTypes.js +1 -2
  90. package/dist/sessionTypes.js.map +1 -1
  91. package/dist/streams.d.ts +1 -27
  92. package/dist/streams.d.ts.map +1 -1
  93. package/dist/streams.js +21 -84
  94. package/dist/streams.js.map +1 -1
  95. package/dist/types.d.ts +10 -288
  96. package/dist/types.d.ts.map +1 -1
  97. package/dist/types.js +1 -2
  98. package/dist/types.js.map +1 -1
  99. package/dist/wire.d.ts +0 -31
  100. package/dist/wire.d.ts.map +1 -1
  101. package/dist/wire.js +0 -25
  102. package/dist/wire.js.map +1 -1
  103. package/dist/zego.d.ts +1 -3
  104. package/dist/zego.d.ts.map +1 -1
  105. package/dist/zego.js +1 -1
  106. package/package.json +1 -1
  107. package/dist/auctionComments.d.ts +0 -25
  108. package/dist/auctionComments.d.ts.map +0 -1
  109. package/dist/auctionComments.js +0 -28
  110. package/dist/auctionComments.js.map +0 -1
  111. package/dist/auctionRules.d.ts +0 -77
  112. package/dist/auctionRules.d.ts.map +0 -1
  113. package/dist/auctionRules.js +0 -107
  114. package/dist/auctionRules.js.map +0 -1
  115. package/dist/cartExtension.d.ts +0 -39
  116. package/dist/cartExtension.d.ts.map +0 -1
  117. package/dist/cartExtension.js +0 -51
  118. package/dist/cartExtension.js.map +0 -1
  119. package/dist/checkoutRefused.d.ts +0 -9
  120. package/dist/checkoutRefused.d.ts.map +0 -1
  121. package/dist/checkoutRefused.js +0 -16
  122. package/dist/checkoutRefused.js.map +0 -1
  123. package/dist/clipsPage.d.ts +0 -29
  124. package/dist/clipsPage.d.ts.map +0 -1
  125. package/dist/clipsPage.js +0 -49
  126. package/dist/clipsPage.js.map +0 -1
  127. package/dist/commentHistory.d.ts +0 -70
  128. package/dist/commentHistory.d.ts.map +0 -1
  129. package/dist/commentHistory.js +0 -133
  130. package/dist/commentHistory.js.map +0 -1
  131. package/dist/commentLinkCards.d.ts +0 -11
  132. package/dist/commentLinkCards.d.ts.map +0 -1
  133. package/dist/commentLinkCards.js +0 -70
  134. package/dist/commentLinkCards.js.map +0 -1
  135. package/dist/giveawayPrize.d.ts +0 -13
  136. package/dist/giveawayPrize.d.ts.map +0 -1
  137. package/dist/giveawayPrize.js +0 -18
  138. package/dist/giveawayPrize.js.map +0 -1
  139. package/dist/giveawayPrizeLines.d.ts +0 -120
  140. package/dist/giveawayPrizeLines.d.ts.map +0 -1
  141. package/dist/giveawayPrizeLines.js +0 -97
  142. package/dist/giveawayPrizeLines.js.map +0 -1
  143. package/dist/giveawayPrizes.d.ts +0 -20
  144. package/dist/giveawayPrizes.d.ts.map +0 -1
  145. package/dist/giveawayPrizes.js +0 -50
  146. package/dist/giveawayPrizes.js.map +0 -1
  147. package/dist/giveawayRoster.d.ts +0 -53
  148. package/dist/giveawayRoster.d.ts.map +0 -1
  149. package/dist/giveawayRoster.js +0 -93
  150. package/dist/giveawayRoster.js.map +0 -1
  151. package/dist/heldComments.d.ts +0 -40
  152. package/dist/heldComments.d.ts.map +0 -1
  153. package/dist/heldComments.js +0 -75
  154. package/dist/heldComments.js.map +0 -1
  155. package/dist/hiddenShows.d.ts +0 -44
  156. package/dist/hiddenShows.d.ts.map +0 -1
  157. package/dist/hiddenShows.js +0 -53
  158. package/dist/hiddenShows.js.map +0 -1
  159. package/dist/linkLots.d.ts +0 -64
  160. package/dist/linkLots.d.ts.map +0 -1
  161. package/dist/linkLots.js +0 -84
  162. package/dist/linkLots.js.map +0 -1
  163. package/dist/liveHaptics.d.ts +0 -7
  164. package/dist/liveHaptics.d.ts.map +0 -1
  165. package/dist/liveHaptics.js +0 -11
  166. package/dist/liveHaptics.js.map +0 -1
  167. package/dist/liveHaptics.native.d.ts +0 -7
  168. package/dist/liveHaptics.native.d.ts.map +0 -1
  169. package/dist/liveHaptics.native.js +0 -12
  170. package/dist/liveHaptics.native.js.map +0 -1
  171. package/dist/livePages.d.ts +0 -176
  172. package/dist/livePages.d.ts.map +0 -1
  173. package/dist/livePages.js +0 -216
  174. package/dist/livePages.js.map +0 -1
  175. package/dist/liveRoom.d.ts +0 -21
  176. package/dist/liveRoom.d.ts.map +0 -1
  177. package/dist/liveRoom.js +0 -28
  178. package/dist/liveRoom.js.map +0 -1
  179. package/dist/liveShow.d.ts +0 -65
  180. package/dist/liveShow.d.ts.map +0 -1
  181. package/dist/liveShow.js +0 -65
  182. package/dist/liveShow.js.map +0 -1
  183. package/dist/missedPolls.d.ts +0 -27
  184. package/dist/missedPolls.d.ts.map +0 -1
  185. package/dist/missedPolls.js +0 -16
  186. package/dist/missedPolls.js.map +0 -1
  187. package/dist/pageOptions.d.ts +0 -149
  188. package/dist/pageOptions.d.ts.map +0 -1
  189. package/dist/pageOptions.js +0 -123
  190. package/dist/pageOptions.js.map +0 -1
  191. package/dist/pageTypes.d.ts +0 -185
  192. package/dist/pageTypes.d.ts.map +0 -1
  193. package/dist/pageTypes.js +0 -3
  194. package/dist/pageTypes.js.map +0 -1
  195. package/dist/phoneTaps.d.ts +0 -25
  196. package/dist/phoneTaps.d.ts.map +0 -1
  197. package/dist/phoneTaps.js +0 -47
  198. package/dist/phoneTaps.js.map +0 -1
  199. package/dist/pipWindow.d.ts +0 -85
  200. package/dist/pipWindow.d.ts.map +0 -1
  201. package/dist/pipWindow.js +0 -88
  202. package/dist/pipWindow.js.map +0 -1
  203. package/dist/react/clocks.d.ts +0 -29
  204. package/dist/react/clocks.d.ts.map +0 -1
  205. package/dist/react/clocks.js +0 -124
  206. package/dist/react/clocks.js.map +0 -1
  207. package/dist/react/navigation.d.ts +0 -13
  208. package/dist/react/navigation.d.ts.map +0 -1
  209. package/dist/react/navigation.js +0 -7
  210. package/dist/react/navigation.js.map +0 -1
  211. package/dist/react/platformSession.d.ts +0 -16
  212. package/dist/react/platformSession.d.ts.map +0 -1
  213. package/dist/react/platformSession.js +0 -28
  214. package/dist/react/platformSession.js.map +0 -1
  215. package/dist/react/platformSession.web.d.ts +0 -35
  216. package/dist/react/platformSession.web.d.ts.map +0 -1
  217. package/dist/react/platformSession.web.js +0 -148
  218. package/dist/react/platformSession.web.js.map +0 -1
  219. package/dist/react/replayPlayer.d.ts +0 -83
  220. package/dist/react/replayPlayer.d.ts.map +0 -1
  221. package/dist/react/replayPlayer.js +0 -315
  222. package/dist/react/replayPlayer.js.map +0 -1
  223. package/dist/react/share.d.ts +0 -22
  224. package/dist/react/share.d.ts.map +0 -1
  225. package/dist/react/share.js +0 -45
  226. package/dist/react/share.js.map +0 -1
  227. package/dist/react/shopifyProviders.d.ts +0 -82
  228. package/dist/react/shopifyProviders.d.ts.map +0 -1
  229. package/dist/react/shopifyProviders.js +0 -113
  230. package/dist/react/shopifyProviders.js.map +0 -1
  231. package/dist/react/showPages.d.ts +0 -106
  232. package/dist/react/showPages.d.ts.map +0 -1
  233. package/dist/react/showPages.js +0 -166
  234. package/dist/react/showPages.js.map +0 -1
  235. package/dist/react/showPagesOnDevice.d.ts +0 -18
  236. package/dist/react/showPagesOnDevice.d.ts.map +0 -1
  237. package/dist/react/showPagesOnDevice.js +0 -31
  238. package/dist/react/showPagesOnDevice.js.map +0 -1
  239. package/dist/react/startSignIn.d.ts +0 -3
  240. package/dist/react/startSignIn.d.ts.map +0 -1
  241. package/dist/react/startSignIn.js +0 -19
  242. package/dist/react/startSignIn.js.map +0 -1
  243. package/dist/react/systemPictureInPicture.d.ts +0 -34
  244. package/dist/react/systemPictureInPicture.d.ts.map +0 -1
  245. package/dist/react/systemPictureInPicture.js +0 -93
  246. package/dist/react/systemPictureInPicture.js.map +0 -1
  247. package/dist/react/useAccountName.d.ts +0 -8
  248. package/dist/react/useAccountName.d.ts.map +0 -1
  249. package/dist/react/useAccountName.js +0 -49
  250. package/dist/react/useAccountName.js.map +0 -1
  251. package/dist/react/useClipsPage.d.ts +0 -47
  252. package/dist/react/useClipsPage.d.ts.map +0 -1
  253. package/dist/react/useClipsPage.js +0 -130
  254. package/dist/react/useClipsPage.js.map +0 -1
  255. package/dist/react/useCommentLinkCards.d.ts +0 -6
  256. package/dist/react/useCommentLinkCards.d.ts.map +0 -1
  257. package/dist/react/useCommentLinkCards.js +0 -67
  258. package/dist/react/useCommentLinkCards.js.map +0 -1
  259. package/dist/react/useFeaturedClip.d.ts +0 -15
  260. package/dist/react/useFeaturedClip.d.ts.map +0 -1
  261. package/dist/react/useFeaturedClip.js +0 -52
  262. package/dist/react/useFeaturedClip.js.map +0 -1
  263. package/dist/react/useGiveawayEntry.d.ts +0 -59
  264. package/dist/react/useGiveawayEntry.d.ts.map +0 -1
  265. package/dist/react/useGiveawayEntry.js +0 -170
  266. package/dist/react/useGiveawayEntry.js.map +0 -1
  267. package/dist/react/useGiveawayPrize.d.ts +0 -12
  268. package/dist/react/useGiveawayPrize.d.ts.map +0 -1
  269. package/dist/react/useGiveawayPrize.js +0 -53
  270. package/dist/react/useGiveawayPrize.js.map +0 -1
  271. package/dist/react/useGiveawayPrizes.d.ts +0 -4
  272. package/dist/react/useGiveawayPrizes.d.ts.map +0 -1
  273. package/dist/react/useGiveawayPrizes.js +0 -58
  274. package/dist/react/useGiveawayPrizes.js.map +0 -1
  275. package/dist/react/useHiddenShows.d.ts +0 -10
  276. package/dist/react/useHiddenShows.d.ts.map +0 -1
  277. package/dist/react/useHiddenShows.js +0 -30
  278. package/dist/react/useHiddenShows.js.map +0 -1
  279. package/dist/react/useKeepScreenAwake.d.ts +0 -2
  280. package/dist/react/useKeepScreenAwake.d.ts.map +0 -1
  281. package/dist/react/useKeepScreenAwake.js +0 -34
  282. package/dist/react/useKeepScreenAwake.js.map +0 -1
  283. package/dist/react/useLiveAuction.d.ts +0 -106
  284. package/dist/react/useLiveAuction.d.ts.map +0 -1
  285. package/dist/react/useLiveAuction.js +0 -255
  286. package/dist/react/useLiveAuction.js.map +0 -1
  287. package/dist/react/useLiveChat.d.ts +0 -110
  288. package/dist/react/useLiveChat.d.ts.map +0 -1
  289. package/dist/react/useLiveChat.js +0 -230
  290. package/dist/react/useLiveChat.js.map +0 -1
  291. package/dist/react/useLiveGiveawaysAndPolls.d.ts +0 -95
  292. package/dist/react/useLiveGiveawaysAndPolls.d.ts.map +0 -1
  293. package/dist/react/useLiveGiveawaysAndPolls.js +0 -225
  294. package/dist/react/useLiveGiveawaysAndPolls.js.map +0 -1
  295. package/dist/react/useLivePage.d.ts +0 -136
  296. package/dist/react/useLivePage.d.ts.map +0 -1
  297. package/dist/react/useLivePage.js +0 -319
  298. package/dist/react/useLivePage.js.map +0 -1
  299. package/dist/react/useLiveShop.d.ts +0 -97
  300. package/dist/react/useLiveShop.d.ts.map +0 -1
  301. package/dist/react/useLiveShop.js +0 -197
  302. package/dist/react/useLiveShop.js.map +0 -1
  303. package/dist/react/useLiveShow.d.ts +0 -3
  304. package/dist/react/useLiveShow.d.ts.map +0 -1
  305. package/dist/react/useLiveShow.js +0 -21
  306. package/dist/react/useLiveShow.js.map +0 -1
  307. package/dist/react/useMySilentAuctionBids.d.ts +0 -29
  308. package/dist/react/useMySilentAuctionBids.d.ts.map +0 -1
  309. package/dist/react/useMySilentAuctionBids.js +0 -157
  310. package/dist/react/useMySilentAuctionBids.js.map +0 -1
  311. package/dist/react/useReplayPage.d.ts +0 -155
  312. package/dist/react/useReplayPage.d.ts.map +0 -1
  313. package/dist/react/useReplayPage.js +0 -580
  314. package/dist/react/useReplayPage.js.map +0 -1
  315. package/dist/react/useSilentAuctionLot.d.ts +0 -44
  316. package/dist/react/useSilentAuctionLot.d.ts.map +0 -1
  317. package/dist/react/useSilentAuctionLot.js +0 -168
  318. package/dist/react/useSilentAuctionLot.js.map +0 -1
  319. package/dist/react/useSilentAuctionLots.d.ts +0 -41
  320. package/dist/react/useSilentAuctionLots.d.ts.map +0 -1
  321. package/dist/react/useSilentAuctionLots.js +0 -64
  322. package/dist/react/useSilentAuctionLots.js.map +0 -1
  323. package/dist/react/useSilentAuctionRounds.d.ts +0 -15
  324. package/dist/react/useSilentAuctionRounds.d.ts.map +0 -1
  325. package/dist/react/useSilentAuctionRounds.js +0 -44
  326. package/dist/react/useSilentAuctionRounds.js.map +0 -1
  327. package/dist/replayPages.d.ts +0 -31
  328. package/dist/replayPages.d.ts.map +0 -1
  329. package/dist/replayPages.js +0 -34
  330. package/dist/replayPages.js.map +0 -1
  331. package/dist/shopifyCommerce.d.ts +0 -204
  332. package/dist/shopifyCommerce.d.ts.map +0 -1
  333. package/dist/shopifyCommerce.js +0 -217
  334. package/dist/shopifyCommerce.js.map +0 -1
  335. package/dist/shopifyIdentity.d.ts +0 -61
  336. package/dist/shopifyIdentity.d.ts.map +0 -1
  337. package/dist/shopifyIdentity.js +0 -61
  338. package/dist/shopifyIdentity.js.map +0 -1
  339. package/dist/shopifyIds.d.ts +0 -9
  340. package/dist/shopifyIds.d.ts.map +0 -1
  341. package/dist/shopifyIds.js +0 -18
  342. package/dist/shopifyIds.js.map +0 -1
  343. package/dist/showCredit.d.ts +0 -89
  344. package/dist/showCredit.d.ts.map +0 -1
  345. package/dist/showCredit.js +0 -120
  346. package/dist/showCredit.js.map +0 -1
  347. package/dist/showLinks.d.ts +0 -24
  348. package/dist/showLinks.d.ts.map +0 -1
  349. package/dist/showLinks.js +0 -23
  350. package/dist/showLinks.js.map +0 -1
  351. package/dist/showLots.d.ts +0 -44
  352. package/dist/showLots.d.ts.map +0 -1
  353. package/dist/showLots.js +0 -70
  354. package/dist/showLots.js.map +0 -1
  355. package/dist/showNames.d.ts +0 -77
  356. package/dist/showNames.d.ts.map +0 -1
  357. package/dist/showNames.js +0 -143
  358. package/dist/showNames.js.map +0 -1
  359. package/dist/showPages.d.ts +0 -56
  360. package/dist/showPages.d.ts.map +0 -1
  361. package/dist/showPages.js +0 -48
  362. package/dist/showPages.js.map +0 -1
  363. package/dist/silentAuctionFeed.d.ts +0 -49
  364. package/dist/silentAuctionFeed.d.ts.map +0 -1
  365. package/dist/silentAuctionFeed.js +0 -242
  366. package/dist/silentAuctionFeed.js.map +0 -1
  367. package/dist/silentAuctionRules.d.ts +0 -253
  368. package/dist/silentAuctionRules.d.ts.map +0 -1
  369. package/dist/silentAuctionRules.js +0 -489
  370. package/dist/silentAuctionRules.js.map +0 -1
  371. package/dist/silentAuctions.d.ts +0 -65
  372. package/dist/silentAuctions.d.ts.map +0 -1
  373. package/dist/silentAuctions.js +0 -272
  374. package/dist/silentAuctions.js.map +0 -1
  375. package/dist/storeData.d.ts +0 -16
  376. package/dist/storeData.d.ts.map +0 -1
  377. package/dist/storeData.js +0 -19
  378. package/dist/storeData.js.map +0 -1
  379. package/dist/ui/BubbleFrame.d.ts +0 -38
  380. package/dist/ui/BubbleFrame.d.ts.map +0 -1
  381. package/dist/ui/BubbleFrame.js +0 -181
  382. package/dist/ui/BubbleFrame.js.map +0 -1
  383. package/dist/ui/LiveBubble.d.ts +0 -43
  384. package/dist/ui/LiveBubble.d.ts.map +0 -1
  385. package/dist/ui/LiveBubble.js +0 -116
  386. package/dist/ui/LiveBubble.js.map +0 -1
  387. package/dist/ui/ReplayBubble.d.ts +0 -23
  388. package/dist/ui/ReplayBubble.d.ts.map +0 -1
  389. package/dist/ui/ReplayBubble.js +0 -71
  390. package/dist/ui/ReplayBubble.js.map +0 -1
  391. package/dist/ui.d.ts +0 -27
  392. package/dist/ui.d.ts.map +0 -1
  393. package/dist/ui.js +0 -34
  394. package/dist/ui.js.map +0 -1
  395. package/dist/unreadRoomMessages.d.ts +0 -26
  396. package/dist/unreadRoomMessages.d.ts.map +0 -1
  397. package/dist/unreadRoomMessages.js +0 -62
  398. package/dist/unreadRoomMessages.js.map +0 -1
  399. package/dist/viewerRules.d.ts +0 -38
  400. package/dist/viewerRules.d.ts.map +0 -1
  401. package/dist/viewerRules.js +0 -46
  402. package/dist/viewerRules.js.map +0 -1
  403. package/dist/winsAttribution.d.ts +0 -22
  404. package/dist/winsAttribution.d.ts.map +0 -1
  405. package/dist/winsAttribution.js +0 -49
  406. package/dist/winsAttribution.js.map +0 -1
  407. package/dist/zegoEngine.d.ts +0 -173
  408. package/dist/zegoEngine.d.ts.map +0 -1
  409. package/dist/zegoEngine.js +0 -1069
  410. package/dist/zegoEngine.js.map +0 -1
@@ -1,69 +1,16 @@
1
1
  import type { ReactNode } from 'react';
2
- import { type LivePageOptions, type LiveSellingRoutes, type LiveTrack, type LiveWarning, type ViewerRestrictions } from '../pageOptions';
3
2
  import type { LiveEvent, LiveSellingClient, LiveSellingConfig } from '../types';
4
3
  export interface LiveSellingContextType {
5
4
  ready: boolean;
6
5
  error: string | null;
7
6
  client: LiveSellingClient;
8
- /** The signed-in viewer's email (`LiveSellingProvider`'s `viewerEmail`), or null. Since 0.9.0. */
9
- viewerEmail: string | null;
10
7
  }
11
8
  export interface LiveSellingProviderProps {
12
9
  children: ReactNode;
13
10
  config: LiveSellingConfig;
14
11
  /** Every live-engine event, for a host that wants to react without subscribing to the engine. */
15
12
  onEvent?: (event: LiveEvent) => void;
16
- /**
17
- * The signed-in shopper's email, or null when signed out (0.9.0). Decides which hidden shows they
18
- * see (`config.hiddenShows`): every hook that hands out shows reads it from here, so a show can't be
19
- * hidden on one screen and shown on another. A prop, so a sign-in or sign-out reaches every hook at
20
- * once. Only matters with `hiddenShows` set.
21
- */
22
- viewerEmail?: string | null;
23
- /**
24
- * Where the live pages send the shopper (0.14.0): the Live and Replay screens' hooks, the bubbles and
25
- * the session's `onPipRestore` take these rather than naming the app's routes. Unset, each says so
26
- * through `onWarning` and goes nowhere. Read at the moment each is taken, so an inline object is fine.
27
- */
28
- routes?: LiveSellingRoutes;
29
- /** The app's analytics `track` (0.14.0): `liveJoin`, and a show's copy of each add that lands. Unset: nothing is sent. */
30
- track?: LiveTrack;
31
- /**
32
- * Where a handled failure goes (0.14.0): a read the page carried on without, an announcement to the
33
- * room that didn't go, a keep-awake that failed. The app's Sentry, say. Unset: `console.warn`.
34
- */
35
- onWarning?: LiveWarning;
36
- /** The store's name, in the bidding rules (0.14.0); amore-v2 passed its `APP_NAME`. Unset: the bid bar's own words. */
37
- shopName?: string;
38
- /**
39
- * The names nobody watching may go by, the show's team's (0.15.0): the name asks refuse them as they
40
- * are typed, an account named as one is asked for another, and `ShopifyLiveSessionProvider` hands them
41
- * to the session, which never shows one. amore-v2's PM sets them in its Live Layer (Settings › Live
42
- * Room); `blockedNamesFrom` reads such a list. Unset: `DEFAULT_BLOCKED_VIEWER_NAMES` (Host, Moderator).
43
- */
44
- blockedNames?: readonly string[];
45
- /**
46
- * What the store stops this viewer doing (0.16.0): bidding (`blocked`, or `unknown` while not read) and
47
- * whose comments are muted. `ShopifyLiveSellingProvider` fills it from the customer's tags. Unset:
48
- * nothing restricted.
49
- */
50
- viewerRestrictions?: ViewerRestrictions;
51
- /**
52
- * A limit on each viewer's reactions (0.16.0): this many taps, back to this many each time the host
53
- * features another product. A tap past it sends nothing and calls `onReactionLimitReached`. Unset (the
54
- * default): no limit.
55
- */
56
- reactionLimit?: number;
57
- /** A tap past `reactionLimit` (0.16.0): for the app to say so (a toast, say). */
58
- onReactionLimitReached?: () => void;
59
13
  }
60
- export declare function LiveSellingProvider({ children, config, onEvent, viewerEmail, routes, track, onWarning, shopName, blockedNames, viewerRestrictions, reactionLimit, onReactionLimitReached, }: LiveSellingProviderProps): import("react").FunctionComponentElement<import("react").ProviderProps<LiveSellingContextType | undefined>>;
14
+ export declare function LiveSellingProvider({ children, config, onEvent }: LiveSellingProviderProps): import("react").FunctionComponentElement<import("react").ProviderProps<LiveSellingContextType | undefined>>;
61
15
  export declare function useLiveSelling(): LiveSellingContextType;
62
- /**
63
- * What the live pages need from the app (0.14.0), as `LiveSellingProvider` was given it: `routes`,
64
- * `track`, `shopName`, and since 0.15.0 `canOpenLinks` and `blockedNames`, with their defaults outside a
65
- * provider. The routes and `track` keep one identity, so an app's own screen can take the same routes
66
- * the page hooks do.
67
- */
68
- export declare function useLivePageOptions(): LivePageOptions;
69
16
  //# sourceMappingURL=LiveSellingProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiveSellingProvider.d.ts","sourceRoot":"","sources":["../../src/react/LiveSellingProvider.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEhF,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,kGAAkG;IAClG,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,iGAAiG;IACjG,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,0HAA0H;IAC1H,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,uHAAuH;IACvH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iFAAiF;IACjF,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;CACrC;AAUD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW,EACX,MAAM,EACN,KAAK,EACL,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,sBAAsB,GACvB,EAAE,wBAAwB,+GA2E1B;AAED,wBAAgB,cAAc,IAAI,sBAAsB,CAIvD;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,IAAI,eAAe,CAEpD"}
1
+ {"version":3,"file":"LiveSellingProvider.d.ts","sourceRoot":"","sources":["../../src/react/LiveSellingProvider.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEhF,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,iGAAiG;IACjG,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC;AAID,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,wBAAwB,+GA6B1F;AAED,wBAAgB,cAAc,IAAI,sBAAsB,CAIvD"}
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LiveSellingProvider = LiveSellingProvider;
4
4
  exports.useLiveSelling = useLiveSelling;
5
- exports.useLivePageOptions = useLivePageOptions;
6
5
  /**
7
6
  * `LiveSellingProvider` — configures the client once and exposes readiness + the client to the tree.
8
7
  *
@@ -12,28 +11,13 @@ exports.useLivePageOptions = useLivePageOptions;
12
11
  *
13
12
  * `onEvent` is a passthrough of the live engine's `LiveEvent` union, so a host can react to comments,
14
13
  * bids, sold announcements and co-host signals without subscribing to the engine directly.
15
- *
16
- * `viewerEmail` is who is watching, for the hidden shows (`config.hiddenShows`); `useHiddenShows`
17
- * (its own file) reads it with the rule for the hooks that hand out shows.
18
- *
19
- * `routes`, `track`, `onWarning` and `shopName` (0.14.0), and `blockedNames` (0.15.0), are what the live
20
- * pages need from the app (`pageOptions.ts`): the page hooks read them through `useLivePageOptions`, and
21
- * the bubbles too.
22
14
  */
23
15
  const react_1 = require("react");
24
16
  const liveSelling_1 = require("../liveSelling");
25
- const pageOptions_1 = require("../pageOptions");
26
17
  const LiveSellingContext = (0, react_1.createContext)(undefined);
27
- const sameNames = (first, second) => first === second || (first.length === second.length && first.every((name, at) => name === second[at]));
28
- /** The defaults, for a hook rendered without the provider: no routes, no analytics, no store name. */
29
- const LivePageOptionsContext = (0, react_1.createContext)((0, pageOptions_1.pageOptionsReading)(() => ({})));
30
- function LiveSellingProvider({ children, config, onEvent, viewerEmail, routes, track, onWarning, shopName, blockedNames, viewerRestrictions, reactionLimit, onReactionLimitReached, }) {
31
- var _a, _b;
18
+ function LiveSellingProvider({ children, config, onEvent }) {
32
19
  const [ready, setReady] = (0, react_1.useState)(false);
33
20
  const [error, setError] = (0, react_1.useState)(null);
34
- // Set as the provider draws rather than in an effect: the screens below run their effects first, and
35
- // a failure reported there must reach the app's `onWarning`, not the console.
36
- (0, pageOptions_1.setLiveWarningSink)(onWarning);
37
21
  (0, react_1.useEffect)(() => {
38
22
  try {
39
23
  liveSelling_1.liveSelling.configure(config);
@@ -53,40 +37,8 @@ function LiveSellingProvider({ children, config, onEvent, viewerEmail, routes, t
53
37
  return;
54
38
  return liveSelling_1.liveSelling.engine.subscribe(onEvent);
55
39
  }, [onEvent]);
56
- const email = (viewerEmail === null || viewerEmail === void 0 ? void 0 : viewerEmail.trim()) || null;
57
- const value = (0, react_1.useMemo)(() => ({ ready, error, client: liveSelling_1.liveSelling, viewerEmail: email }), [ready, error, email]);
58
- // The routes and `track` keep one identity for the provider's life, reading the latest props when
59
- // taken, so the page hooks' effects don't run again each time the app draws.
60
- const latestPageProps = (0, react_1.useRef)({ routes, track, shopName, blockedNames, onReactionLimitReached });
61
- latestPageProps.current = { routes, track, shopName, blockedNames, onReactionLimitReached };
62
- const stablePageOptions = (0, react_1.useMemo)(() => (0, pageOptions_1.pageOptionsReading)(() => latestPageProps.current), []);
63
- // What the hooks draw from (not only call) changes the value, so they draw again.
64
- const canOpenLinks = !!(routes === null || routes === void 0 ? void 0 : routes.openLink);
65
- // The same list keeps the same array, so a list the app builds each draw (`blockedNamesFrom`) doesn't
66
- // change the value each draw.
67
- const blockedNamesNow = (0, react_1.useRef)(stablePageOptions.blockedNames);
68
- const latestBlockedNames = stablePageOptions.blockedNames;
69
- if (!sameNames(blockedNamesNow.current, latestBlockedNames))
70
- blockedNamesNow.current = latestBlockedNames;
71
- const pageBlockedNames = blockedNamesNow.current;
72
- // A new value only when what it says changes; `refresh` read at the call.
73
- const latestRefresh = (0, react_1.useRef)(viewerRestrictions === null || viewerRestrictions === void 0 ? void 0 : viewerRestrictions.refresh);
74
- latestRefresh.current = viewerRestrictions === null || viewerRestrictions === void 0 ? void 0 : viewerRestrictions.refresh;
75
- const bidding = (_a = viewerRestrictions === null || viewerRestrictions === void 0 ? void 0 : viewerRestrictions.bidding) !== null && _a !== void 0 ? _a : 'allowed';
76
- const commentsMuted = (_b = viewerRestrictions === null || viewerRestrictions === void 0 ? void 0 : viewerRestrictions.commentsMuted) !== null && _b !== void 0 ? _b : false;
77
- const restrictions = (0, react_1.useMemo)(() => ({ bidding, commentsMuted, refresh: () => { var _a; return (_a = latestRefresh.current) === null || _a === void 0 ? void 0 : _a.call(latestRefresh); } }), [bidding, commentsMuted]);
78
- const pageReactionLimit = reactionLimit !== null && reactionLimit !== void 0 ? reactionLimit : null;
79
- const pageOptions = (0, react_1.useMemo)(() => ({
80
- routes: stablePageOptions.routes,
81
- track: stablePageOptions.track,
82
- shopName: shopName !== null && shopName !== void 0 ? shopName : undefined,
83
- canOpenLinks,
84
- blockedNames: pageBlockedNames,
85
- viewerRestrictions: restrictions,
86
- reactionLimit: pageReactionLimit,
87
- onReactionLimitReached: stablePageOptions.onReactionLimitReached,
88
- }), [stablePageOptions, shopName, canOpenLinks, pageBlockedNames, restrictions, pageReactionLimit]);
89
- return (0, react_1.createElement)(LiveSellingContext.Provider, { value }, (0, react_1.createElement)(LivePageOptionsContext.Provider, { value: pageOptions }, children));
40
+ const value = (0, react_1.useMemo)(() => ({ ready, error, client: liveSelling_1.liveSelling }), [ready, error]);
41
+ return (0, react_1.createElement)(LiveSellingContext.Provider, { value }, children);
90
42
  }
91
43
  function useLiveSelling() {
92
44
  const ctx = (0, react_1.useContext)(LiveSellingContext);
@@ -94,13 +46,4 @@ function useLiveSelling() {
94
46
  throw new Error('useLiveSelling must be used within a LiveSellingProvider');
95
47
  return ctx;
96
48
  }
97
- /**
98
- * What the live pages need from the app (0.14.0), as `LiveSellingProvider` was given it: `routes`,
99
- * `track`, `shopName`, and since 0.15.0 `canOpenLinks` and `blockedNames`, with their defaults outside a
100
- * provider. The routes and `track` keep one identity, so an app's own screen can take the same routes
101
- * the page hooks do.
102
- */
103
- function useLivePageOptions() {
104
- return (0, react_1.useContext)(LivePageOptionsContext);
105
- }
106
49
  //# sourceMappingURL=LiveSellingProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiveSellingProvider.js","sourceRoot":"","sources":["../../src/react/LiveSellingProvider.ts"],"names":[],"mappings":";;AAkGA,kDAwFC;AAED,wCAIC;AAQD,gDAEC;AA1MD;;;;;;;;;;;;;;;;GAgBG;AACH,iCAAuG;AAGvG,gDAA6C;AAC7C,gDAQwB;AA6DxB,MAAM,kBAAkB,GAAG,IAAA,qBAAa,EAAqC,SAAS,CAA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3,"file":"LiveVideoTarget.d.ts","sourceRoot":"","sources":["../../src/react/LiveVideoTarget.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAiB,SAAS,EAAO,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAsB,IAAI,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAwBzD,qGAAqG;AACrG,eAAO,MAAM,sBAAsB,SAA4B,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,eAAe,+FAG1B,CAAC;AAEH,MAAM,WAAW,oBAAoB;IACnC,0FAA0F;IAC1F,MAAM,EAAE,OAAO,CAAC;IAChB;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,KAAK,EACL,OAAe,EACf,KAAK,EACL,QAAQ,GACT,EAAE,oBAAoB,6CAuGtB"}
1
+ {"version":3,"file":"LiveVideoTarget.d.ts","sourceRoot":"","sources":["../../src/react/LiveVideoTarget.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAiB,SAAS,EAAO,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAwBzD,qGAAqG;AACrG,eAAO,MAAM,sBAAsB,SAA4B,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,eAAe,+FAG1B,CAAC;AAEH,MAAM,WAAW,oBAAoB;IACnC,0FAA0F;IAC1F,MAAM,EAAE,OAAO,CAAC;IAChB;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,KAAK,EACL,OAAe,EACf,KAAK,EACL,QAAQ,GACT,EAAE,oBAAoB,6CAmEtB"}
@@ -51,9 +51,7 @@ exports.NativeVideoView = (0, react_1.forwardRef)(function NativeVideoView(props
51
51
  function LiveVideoTarget({ active, muted, autoPip = false, style, children, }) {
52
52
  const viewRef = (0, react_1.useRef)(null);
53
53
  const { status, muted: shopperMuted, actions } = (0, useLiveSession_1.useLiveSession)();
54
- /* `force` is false only from the foreground re-claim below; `onLayout` passes its event here, so
55
- anything but an explicit `false` forces. */
56
- const claim = (0, react_1.useCallback)((force = true) => {
54
+ const claim = (0, react_1.useCallback)(() => {
57
55
  if (!active)
58
56
  return;
59
57
  if (status !== 'playing' && status !== 'connecting')
@@ -63,41 +61,9 @@ function LiveVideoTarget({ active, muted, autoPip = false, style, children, }) {
63
61
  return;
64
62
  // Forced: this runs when the surface takes ownership, and the engine may still believe it is
65
63
  // rendering into this view when in fact the view was torn down behind another screen.
66
- actions.bindVideoView(tag, force !== false);
64
+ actions.bindVideoView(tag, true);
67
65
  }, [active, status, actions]);
68
66
  (0, react_1.useEffect)(claim, [claim]);
69
- /**
70
- * Back from the background: take the picture again if the engine let go of it.
71
- *
72
- * With no system window granted, the session stops playback a moment after the app leaves, and that
73
- * forgets the bound view. Coming back, the session's own foreground handler re-issues playback only
74
- * into a view it still has — none — and nothing here re-ran, because `active` and `status` had not
75
- * changed: a blank surface over a show that was playing (ENG-580, the white bubble after a comment
76
- * link). Freckled Poppy withheld `active` for one commit to force a re-claim; this asks directly.
77
- *
78
- * Unforced, so a view the engine is still playing into is left alone, and on the next task rather
79
- * than now, so the session's own re-issue goes first.
80
- */
81
- const claimRef = (0, react_1.useRef)(claim);
82
- claimRef.current = claim;
83
- (0, react_1.useEffect)(() => {
84
- let pending = null;
85
- const subscription = react_native_1.AppState.addEventListener('change', (next) => {
86
- if (next !== 'active')
87
- return;
88
- if (pending)
89
- clearTimeout(pending);
90
- pending = setTimeout(() => {
91
- pending = null;
92
- claimRef.current(false);
93
- }, 0);
94
- });
95
- return () => {
96
- subscription.remove();
97
- if (pending)
98
- clearTimeout(pending);
99
- };
100
- }, []);
101
67
  /**
102
68
  * The sound, in its own effect — and the split from `claim` is load-bearing twice over.
103
69
  *
@@ -113,10 +79,6 @@ function LiveVideoTarget({ active, muted, autoPip = false, style, children, }) {
113
79
  * write nothing at all, which kept a handover clean — the arriving surface states the answer — but
114
80
  * also left the room audible when NOTHING arrived. It now stands the room down instead, deferred so
115
81
  * a handover still reads as one continuous sound; see `videoTargets`.
116
- *
117
- * Restated on every `status` change as well. A card mounted during a cold start said "silent" while
118
- * the engine did not exist yet, and nothing said it again once it did: the host was audible over
119
- * the Home tab (Freckled Poppy). `connecting` → `playing` is exactly the moment to repeat it.
120
82
  */
121
83
  (0, react_1.useEffect)(() => {
122
84
  if (!active) {
@@ -127,7 +89,7 @@ function LiveVideoTarget({ active, muted, autoPip = false, style, children, }) {
127
89
  const release = (0, videoTargets_1.holdVideoTarget)();
128
90
  actions.setOutputMuted(muted !== null && muted !== void 0 ? muted : shopperMuted);
129
91
  return release;
130
- }, [active, muted, shopperMuted, status, actions]);
92
+ }, [active, muted, shopperMuted, actions]);
131
93
  /**
132
94
  * The handover request, released on the way out.
133
95
  *
@@ -1 +1 @@
1
- {"version":3,"file":"LiveVideoTarget.js","sourceRoot":"","sources":["../../src/react/LiveVideoTarget.ts"],"names":[],"mappings":";;;AA0FA,0CA6GC;AAvMD;;;;;;;;;;;;;GAaG;AACH,iCAAkF;AAElF,+CAAwD;AAGxD,oDAAiD;AACjD,qDAAkD;AAClD,iDAAmE;AAGnE;;;;;;;;;G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ProviderProps, type LiveSellingContextType, } from './LiveSellingProvider';
8
- export { useHiddenShows, type HiddenShowsForViewer } from './useHiddenShows';
9
8
  export { useOngoingLive, type UseOngoingLiveState } from './useOngoingLive';
10
9
  export { refreshOngoingLive } from '../ongoingLiveStore';
11
10
  export { useLiveStreams, type UseLiveStreamsState } from './useLiveStreams';
12
11
  export { useAuction, type UseAuctionState } from './useAuction';
13
12
  export { useReplays, type UseReplaysOptions, type UseReplaysState } from './useReplays';
14
- export { useClips, type UseClipsOptions, type UseClipsState } from './useClips';
15
- export { useFeaturedClip, forgetFeaturedClips, type UseFeaturedClipOptions, type UseFeaturedClipState } from './useFeaturedClip';
16
- export { useGiveawayPrizes } from './useGiveawayPrizes';
13
+ export { useClips, type UseClipsState } from './useClips';
17
14
  export { LiveSessionProvider, useLiveSession, type LiveSessionProviderProps, } from './useLiveSession';
18
- export { useLiveShow } from './useLiveShow';
19
- export { useAuctionCountdown, useShowClock } from './clocks';
20
- export { useStreamInfo, refreshStreamRecords, refreshStreamRecordsIfStale, type UseStreamInfoState, } from './useStreamInfo';
15
+ export { useStreamInfo, refreshStreamRecords, refreshStreamRecordsIfStale, } from './useStreamInfo';
21
16
  export { LiveVideoTarget, NativeVideoView, isNativeVideoSupported, type LiveVideoTargetProps, } from './LiveVideoTarget';
22
- export { useAuctionBidGate, SHEET_HANDOFF_MS, ACCOUNT_CHECK_LIMIT_MS, type AuctionBidGate, type BidBlocker, type BidRefusal, type UseAuctionBidGateOptions, } from './useAuctionBidGate';
23
- export { useGiveawayEntry, type GiveawayDraw, type UseGiveawayEntryState, type SessionForGiveaway, type UseGiveawayEntryOptions, } from './useGiveawayEntry';
24
- export { useGiveawayPrize, type UseGiveawayPrizeState } from './useGiveawayPrize';
25
- export { useCommentLinkCards, type CommentLinkCards } from './useCommentLinkCards';
26
- export { useSilentAuctionLots, type UseSilentAuctionLotsOptions, type SilentAuctionLotsPage } from './useSilentAuctionLots';
27
- export { useSilentAuctionLot, type UseSilentAuctionLotOptions, type SilentAuctionLotConsole } from './useSilentAuctionLot';
28
- export { useMySilentAuctionBids, type UseMySilentAuctionBidsOptions, type MySilentAuctionBidsPage } from './useMySilentAuctionBids';
29
- export { useSilentAuctionRounds, type UseSilentAuctionRoundsOptions, type SilentAuctionRounds } from './useSilentAuctionRounds';
17
+ export { useAuctionBidGate, SHEET_HANDOFF_MS, type AuctionBidGate, type BidBlocker } from './useAuctionBidGate';
30
18
  export { useAuctionWins, type AuctionWinRow, type UseAuctionWinsOptions, type UseAuctionWinsState, } from './useAuctionWins';
31
- export { useItemsYouWonPage, useLiveHubPage, useLiveRail } from './showPagesOnDevice';
32
- export { useItemsYouWonPageFor, useLiveHubPageFor, useLiveRailFor, SHOWS_PAGE_SIZE, type ItemsYouWonPage, type LiveHubPage, type LiveRail, type SessionForShowPages, type UseItemsYouWonPageOptions, type UseLiveHubPageOptions, } from './showPages';
33
19
  export { nativeViewTag } from '../nativeViewTag';
34
- export { useLivePageOptions } from './LiveSellingProvider';
35
- export { ShopifyLiveSellingProvider, ShopifyLiveSessionProvider, type ShopifyLiveSellingConfig, type ShopifyLiveSellingProviderProps, type ShopifyLiveSessionProviderProps, } from './shopifyProviders';
36
- export { ReplayPlayerProvider, useReplayPlayer, type ReplayPlayerState } from './replayPlayer';
37
- export { useAutoPictureInPicture } from './systemPictureInPicture';
38
- export { useKeepScreenAwake } from './useKeepScreenAwake';
39
- export { useLivePage, RESTRICTIONS_REFRESH_MS, type LivePage } from './useLivePage';
40
- export { useLiveChat, type LiveChat, type LiveChatShow } from './useLiveChat';
41
- export { useLiveShop, shareProduct, shareAddress, SHARE_AGAIN_AFTER_MS, type LiveShop, type LiveShopScreen } from './useLiveShop';
42
- export { useLiveAuction, type LiveAuction, type LiveAuctionScreen } from './useLiveAuction';
43
- export { useLiveGiveawaysAndPolls, type LiveGiveawaysAndPolls } from './useLiveGiveawaysAndPolls';
44
- export { useReplayPage, type ReplayPage, type UseReplayPageOptions } from './useReplayPage';
45
- export { useAccountName, type AccountName } from './useAccountName';
46
- export { useClipsPage, type ClipsPage } from './useClipsPage';
47
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACjI,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,KAAK,wBAAwB,GAC9B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,2BAA2B,EAC3B,KAAK,kBAAkB,GACxB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","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,KAAK,wBAAwB,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,EACf,eAAe,EACf,sBAAsB,EACtB,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAChH,OAAO,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useLivePage = exports.useKeepScreenAwake = exports.useAutoPictureInPicture = exports.useReplayPlayer = exports.ReplayPlayerProvider = exports.ShopifyLiveSessionProvider = exports.ShopifyLiveSellingProvider = exports.useLivePageOptions = exports.nativeViewTag = exports.SHOWS_PAGE_SIZE = exports.useLiveRailFor = exports.useLiveHubPageFor = exports.useItemsYouWonPageFor = exports.useLiveRail = exports.useLiveHubPage = exports.useItemsYouWonPage = exports.useAuctionWins = exports.useSilentAuctionRounds = exports.useMySilentAuctionBids = exports.useSilentAuctionLot = exports.useSilentAuctionLots = exports.useCommentLinkCards = exports.useGiveawayPrize = exports.useGiveawayEntry = exports.ACCOUNT_CHECK_LIMIT_MS = exports.SHEET_HANDOFF_MS = exports.useAuctionBidGate = exports.isNativeVideoSupported = exports.NativeVideoView = exports.LiveVideoTarget = exports.refreshStreamRecordsIfStale = exports.refreshStreamRecords = exports.useStreamInfo = exports.useShowClock = exports.useAuctionCountdown = exports.useLiveShow = exports.useLiveSession = exports.LiveSessionProvider = exports.useGiveawayPrizes = exports.forgetFeaturedClips = exports.useFeaturedClip = exports.useClips = exports.useReplays = exports.useAuction = exports.useLiveStreams = exports.refreshOngoingLive = exports.useOngoingLive = exports.useHiddenShows = exports.useLiveSelling = exports.LiveSellingProvider = void 0;
4
- exports.useClipsPage = exports.useAccountName = exports.useReplayPage = exports.useLiveGiveawaysAndPolls = exports.useLiveAuction = exports.SHARE_AGAIN_AFTER_MS = exports.shareAddress = exports.shareProduct = exports.useLiveShop = exports.useLiveChat = exports.RESTRICTIONS_REFRESH_MS = void 0;
3
+ exports.nativeViewTag = exports.useAuctionWins = exports.SHEET_HANDOFF_MS = exports.useAuctionBidGate = exports.isNativeVideoSupported = exports.NativeVideoView = exports.LiveVideoTarget = exports.refreshStreamRecordsIfStale = exports.refreshStreamRecords = exports.useStreamInfo = exports.useLiveSession = exports.LiveSessionProvider = exports.useClips = exports.useReplays = exports.useAuction = exports.useLiveStreams = exports.refreshOngoingLive = exports.useOngoingLive = exports.useLiveSelling = exports.LiveSellingProvider = void 0;
5
4
  /**
6
5
  * React helpers for `@tiledev/sdk-apptile-live-selling` — the provider and the read hooks.
7
6
  *
@@ -11,8 +10,6 @@ exports.useClipsPage = exports.useAccountName = exports.useReplayPage = exports.
11
10
  var LiveSellingProvider_1 = require("./LiveSellingProvider");
12
11
  Object.defineProperty(exports, "LiveSellingProvider", { enumerable: true, get: function () { return LiveSellingProvider_1.LiveSellingProvider; } });
13
12
  Object.defineProperty(exports, "useLiveSelling", { enumerable: true, get: function () { return LiveSellingProvider_1.useLiveSelling; } });
14
- var useHiddenShows_1 = require("./useHiddenShows");
15
- Object.defineProperty(exports, "useHiddenShows", { enumerable: true, get: function () { return useHiddenShows_1.useHiddenShows; } });
16
13
  var useOngoingLive_1 = require("./useOngoingLive");
17
14
  Object.defineProperty(exports, "useOngoingLive", { enumerable: true, get: function () { return useOngoingLive_1.useOngoingLive; } });
18
15
  var ongoingLiveStore_1 = require("../ongoingLiveStore");
@@ -25,22 +22,10 @@ var useReplays_1 = require("./useReplays");
25
22
  Object.defineProperty(exports, "useReplays", { enumerable: true, get: function () { return useReplays_1.useReplays; } });
26
23
  var useClips_1 = require("./useClips");
27
24
  Object.defineProperty(exports, "useClips", { enumerable: true, get: function () { return useClips_1.useClips; } });
28
- var useFeaturedClip_1 = require("./useFeaturedClip");
29
- Object.defineProperty(exports, "useFeaturedClip", { enumerable: true, get: function () { return useFeaturedClip_1.useFeaturedClip; } });
30
- Object.defineProperty(exports, "forgetFeaturedClips", { enumerable: true, get: function () { return useFeaturedClip_1.forgetFeaturedClips; } });
31
- var useGiveawayPrizes_1 = require("./useGiveawayPrizes");
32
- Object.defineProperty(exports, "useGiveawayPrizes", { enumerable: true, get: function () { return useGiveawayPrizes_1.useGiveawayPrizes; } });
33
25
  // The assembled session: the engine's events plus the polled record, folded into one state.
34
26
  var useLiveSession_1 = require("./useLiveSession");
35
27
  Object.defineProperty(exports, "LiveSessionProvider", { enumerable: true, get: function () { return useLiveSession_1.LiveSessionProvider; } });
36
28
  Object.defineProperty(exports, "useLiveSession", { enumerable: true, get: function () { return useLiveSession_1.useLiveSession; } });
37
- // The show a screen is about, once the session holds its record (0.9.0).
38
- var useLiveShow_1 = require("./useLiveShow");
39
- Object.defineProperty(exports, "useLiveShow", { enumerable: true, get: function () { return useLiveShow_1.useLiveShow; } });
40
- // The clocks a screen shows, kept in the component that shows them: the session itself never ticks.
41
- var clocks_1 = require("./clocks");
42
- Object.defineProperty(exports, "useAuctionCountdown", { enumerable: true, get: function () { return clocks_1.useAuctionCountdown; } });
43
- Object.defineProperty(exports, "useShowClock", { enumerable: true, get: function () { return clocks_1.useShowClock; } });
44
29
  var useStreamInfo_1 = require("./useStreamInfo");
45
30
  Object.defineProperty(exports, "useStreamInfo", { enumerable: true, get: function () { return useStreamInfo_1.useStreamInfo; } });
46
31
  Object.defineProperty(exports, "refreshStreamRecords", { enumerable: true, get: function () { return useStreamInfo_1.refreshStreamRecords; } });
@@ -52,72 +37,9 @@ Object.defineProperty(exports, "isNativeVideoSupported", { enumerable: true, get
52
37
  var useAuctionBidGate_1 = require("./useAuctionBidGate");
53
38
  Object.defineProperty(exports, "useAuctionBidGate", { enumerable: true, get: function () { return useAuctionBidGate_1.useAuctionBidGate; } });
54
39
  Object.defineProperty(exports, "SHEET_HANDOFF_MS", { enumerable: true, get: function () { return useAuctionBidGate_1.SHEET_HANDOFF_MS; } });
55
- Object.defineProperty(exports, "ACCOUNT_CHECK_LIMIT_MS", { enumerable: true, get: function () { return useAuctionBidGate_1.ACCOUNT_CHECK_LIMIT_MS; } });
56
- // The giveaway's flows on a screen (0.9.0): the entry, its sheet and sign-in, the draw; the prize.
57
- var useGiveawayEntry_1 = require("./useGiveawayEntry");
58
- Object.defineProperty(exports, "useGiveawayEntry", { enumerable: true, get: function () { return useGiveawayEntry_1.useGiveawayEntry; } });
59
- var useGiveawayPrize_1 = require("./useGiveawayPrize");
60
- Object.defineProperty(exports, "useGiveawayPrize", { enumerable: true, get: function () { return useGiveawayPrize_1.useGiveawayPrize; } });
61
- var useCommentLinkCards_1 = require("./useCommentLinkCards");
62
- Object.defineProperty(exports, "useCommentLinkCards", { enumerable: true, get: function () { return useCommentLinkCards_1.useCommentLinkCards; } });
63
- var useSilentAuctionLots_1 = require("./useSilentAuctionLots");
64
- Object.defineProperty(exports, "useSilentAuctionLots", { enumerable: true, get: function () { return useSilentAuctionLots_1.useSilentAuctionLots; } });
65
- var useSilentAuctionLot_1 = require("./useSilentAuctionLot");
66
- Object.defineProperty(exports, "useSilentAuctionLot", { enumerable: true, get: function () { return useSilentAuctionLot_1.useSilentAuctionLot; } });
67
- var useMySilentAuctionBids_1 = require("./useMySilentAuctionBids");
68
- Object.defineProperty(exports, "useMySilentAuctionBids", { enumerable: true, get: function () { return useMySilentAuctionBids_1.useMySilentAuctionBids; } });
69
- var useSilentAuctionRounds_1 = require("./useSilentAuctionRounds");
70
- Object.defineProperty(exports, "useSilentAuctionRounds", { enumerable: true, get: function () { return useSilentAuctionRounds_1.useSilentAuctionRounds; } });
71
40
  var useAuctionWins_1 = require("./useAuctionWins");
72
41
  Object.defineProperty(exports, "useAuctionWins", { enumerable: true, get: function () { return useAuctionWins_1.useAuctionWins; } });
73
- // The page models (0.11.0): Items You Won, the Live tab, a home screen's live rail.
74
- var showPagesOnDevice_1 = require("./showPagesOnDevice");
75
- Object.defineProperty(exports, "useItemsYouWonPage", { enumerable: true, get: function () { return showPagesOnDevice_1.useItemsYouWonPage; } });
76
- Object.defineProperty(exports, "useLiveHubPage", { enumerable: true, get: function () { return showPagesOnDevice_1.useLiveHubPage; } });
77
- Object.defineProperty(exports, "useLiveRail", { enumerable: true, get: function () { return showPagesOnDevice_1.useLiveRail; } });
78
- var showPages_1 = require("./showPages");
79
- Object.defineProperty(exports, "useItemsYouWonPageFor", { enumerable: true, get: function () { return showPages_1.useItemsYouWonPageFor; } });
80
- Object.defineProperty(exports, "useLiveHubPageFor", { enumerable: true, get: function () { return showPages_1.useLiveHubPageFor; } });
81
- Object.defineProperty(exports, "useLiveRailFor", { enumerable: true, get: function () { return showPages_1.useLiveRailFor; } });
82
- Object.defineProperty(exports, "SHOWS_PAGE_SIZE", { enumerable: true, get: function () { return showPages_1.SHOWS_PAGE_SIZE; } });
83
42
  // React Native only, so it lives here rather than on the root entry.
84
43
  var nativeViewTag_1 = require("../nativeViewTag");
85
44
  Object.defineProperty(exports, "nativeViewTag", { enumerable: true, get: function () { return nativeViewTag_1.nativeViewTag; } });
86
- // The Live and Replay pages (0.14.0, moved from amore-v2): what the app gives them once
87
- // (`LiveSellingProvider`'s `routes`, `track`, `onWarning`, `shopName`), the providers on sdk-shopify, the
88
- // replay player, and the page models a screen's tiles take their props from.
89
- var LiveSellingProvider_2 = require("./LiveSellingProvider");
90
- Object.defineProperty(exports, "useLivePageOptions", { enumerable: true, get: function () { return LiveSellingProvider_2.useLivePageOptions; } });
91
- var shopifyProviders_1 = require("./shopifyProviders");
92
- Object.defineProperty(exports, "ShopifyLiveSellingProvider", { enumerable: true, get: function () { return shopifyProviders_1.ShopifyLiveSellingProvider; } });
93
- Object.defineProperty(exports, "ShopifyLiveSessionProvider", { enumerable: true, get: function () { return shopifyProviders_1.ShopifyLiveSessionProvider; } });
94
- var replayPlayer_1 = require("./replayPlayer");
95
- Object.defineProperty(exports, "ReplayPlayerProvider", { enumerable: true, get: function () { return replayPlayer_1.ReplayPlayerProvider; } });
96
- Object.defineProperty(exports, "useReplayPlayer", { enumerable: true, get: function () { return replayPlayer_1.useReplayPlayer; } });
97
- // The phone's own picture-in-picture window, for any surface that draws a show's video (0.15.2).
98
- var systemPictureInPicture_1 = require("./systemPictureInPicture");
99
- Object.defineProperty(exports, "useAutoPictureInPicture", { enumerable: true, get: function () { return systemPictureInPicture_1.useAutoPictureInPicture; } });
100
- var useKeepScreenAwake_1 = require("./useKeepScreenAwake");
101
- Object.defineProperty(exports, "useKeepScreenAwake", { enumerable: true, get: function () { return useKeepScreenAwake_1.useKeepScreenAwake; } });
102
- var useLivePage_1 = require("./useLivePage");
103
- Object.defineProperty(exports, "useLivePage", { enumerable: true, get: function () { return useLivePage_1.useLivePage; } });
104
- Object.defineProperty(exports, "RESTRICTIONS_REFRESH_MS", { enumerable: true, get: function () { return useLivePage_1.RESTRICTIONS_REFRESH_MS; } });
105
- var useLiveChat_1 = require("./useLiveChat");
106
- Object.defineProperty(exports, "useLiveChat", { enumerable: true, get: function () { return useLiveChat_1.useLiveChat; } });
107
- var useLiveShop_1 = require("./useLiveShop");
108
- Object.defineProperty(exports, "useLiveShop", { enumerable: true, get: function () { return useLiveShop_1.useLiveShop; } });
109
- Object.defineProperty(exports, "shareProduct", { enumerable: true, get: function () { return useLiveShop_1.shareProduct; } });
110
- Object.defineProperty(exports, "shareAddress", { enumerable: true, get: function () { return useLiveShop_1.shareAddress; } });
111
- Object.defineProperty(exports, "SHARE_AGAIN_AFTER_MS", { enumerable: true, get: function () { return useLiveShop_1.SHARE_AGAIN_AFTER_MS; } });
112
- var useLiveAuction_1 = require("./useLiveAuction");
113
- Object.defineProperty(exports, "useLiveAuction", { enumerable: true, get: function () { return useLiveAuction_1.useLiveAuction; } });
114
- var useLiveGiveawaysAndPolls_1 = require("./useLiveGiveawaysAndPolls");
115
- Object.defineProperty(exports, "useLiveGiveawaysAndPolls", { enumerable: true, get: function () { return useLiveGiveawaysAndPolls_1.useLiveGiveawaysAndPolls; } });
116
- var useReplayPage_1 = require("./useReplayPage");
117
- Object.defineProperty(exports, "useReplayPage", { enumerable: true, get: function () { return useReplayPage_1.useReplayPage; } });
118
- // 0.15.0: the name on the shopper's account, for the name asks; the Clips page.
119
- var useAccountName_1 = require("./useAccountName");
120
- Object.defineProperty(exports, "useAccountName", { enumerable: true, get: function () { return useAccountName_1.useAccountName; } });
121
- var useClipsPage_1 = require("./useClipsPage");
122
- Object.defineProperty(exports, "useClipsPage", { enumerable: true, get: function () { return useClipsPage_1.useClipsPage; } });
123
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.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}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,6DAK+B;AAJ7B,0HAAA,mBAAmB,OAAA;AACnB,qHAAA,cAAc,OAAA;AAIhB,mDAA4E;AAAnE,gHAAA,cAAc,OAAA;AACvB,wDAAyD;AAAhD,sHAAA,kBAAkB,OAAA;AAC3B,mDAA4E;AAAnE,gHAAA,cAAc,OAAA;AACvB,2CAAgE;AAAvD,wGAAA,UAAU,OAAA;AACnB,2CAAwF;AAA/E,wGAAA,UAAU,OAAA;AACnB,uCAA0D;AAAjD,oGAAA,QAAQ,OAAA;AAEjB,4FAA4F;AAC5F,mDAI0B;AAHxB,qHAAA,mBAAmB,OAAA;AACnB,gHAAA,cAAc,OAAA;AAGhB,iDAIyB;AAHvB,8GAAA,aAAa,OAAA;AACb,qHAAA,oBAAoB,OAAA;AACpB,4HAAA,2BAA2B,OAAA;AAE7B,qDAK2B;AAJzB,kHAAA,eAAe,OAAA;AACf,kHAAA,eAAe,OAAA;AACf,yHAAA,sBAAsB,OAAA;AAGxB,yDAAgH;AAAvG,sHAAA,iBAAiB,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAC5C,mDAK0B;AAJxB,gHAAA,cAAc,OAAA;AAKhB,qEAAqE;AACrE,kDAAiD;AAAxC,8GAAA,aAAa,OAAA"}
@@ -1,47 +1,43 @@
1
- import { type ItemsYouWonPage, type LiveHubPage, type LiveRail, type UseItemsYouWonPageOptions, type UseLiveHubPageOptions } from './showPages';
1
+ import { View } from 'react-native';
2
+ import type { ViewProps } from 'react-native';
3
+ import type { LiveSession } from '../sessionTypes';
4
+ import type { AuctionBidGate, UseAuctionBidGateOptions } from './useAuctionBidGate';
5
+ import type { UseAuctionWinsOptions, UseAuctionWinsState } from './useAuctionWins';
6
+ import type { LiveSessionProviderProps } from './useLiveSession';
7
+ import type { LiveVideoTargetProps } from './LiveVideoTarget';
2
8
  export { LiveSellingProvider, useLiveSelling, type LiveSellingProviderProps, type LiveSellingContextType, } from './LiveSellingProvider';
3
- export { useHiddenShows, type HiddenShowsForViewer } from './useHiddenShows';
4
9
  export { useOngoingLive, type UseOngoingLiveState } from './useOngoingLive';
5
10
  export { refreshOngoingLive } from '../ongoingLiveStore';
6
11
  export { useLiveStreams, type UseLiveStreamsState } from './useLiveStreams';
7
12
  export { useAuction, type UseAuctionState } from './useAuction';
8
13
  export { useReplays, type UseReplaysOptions, type UseReplaysState } from './useReplays';
9
- export { useClips, type UseClipsOptions, type UseClipsState } from './useClips';
10
- export { useFeaturedClip, forgetFeaturedClips, type UseFeaturedClipOptions, type UseFeaturedClipState } from './useFeaturedClip';
11
- export { useGiveawayPrizes } from './useGiveawayPrizes';
12
- export { useStreamInfo, refreshStreamRecords, refreshStreamRecordsIfStale, type UseStreamInfoState, } from './useStreamInfo';
13
- export { useAuctionCountdown, useShowClock } from './clocks';
14
- export { useGiveawayEntry, type GiveawayDraw, type UseGiveawayEntryState, type SessionForGiveaway, type UseGiveawayEntryOptions, } from './useGiveawayEntry';
15
- export { useGiveawayPrize, type UseGiveawayPrizeState } from './useGiveawayPrize';
16
- export { useCommentLinkCards, type CommentLinkCards } from './useCommentLinkCards';
17
- export { useSilentAuctionLots, type UseSilentAuctionLotsOptions, type SilentAuctionLotsPage } from './useSilentAuctionLots';
18
- export { useSilentAuctionLot, type UseSilentAuctionLotOptions, type SilentAuctionLotConsole } from './useSilentAuctionLot';
19
- export { useMySilentAuctionBids, type UseMySilentAuctionBidsOptions, type MySilentAuctionBidsPage } from './useMySilentAuctionBids';
20
- export { useSilentAuctionRounds, type UseSilentAuctionRoundsOptions, type SilentAuctionRounds } from './useSilentAuctionRounds';
14
+ export { useClips, type UseClipsState } from './useClips';
15
+ export { useStreamInfo, refreshStreamRecords, refreshStreamRecordsIfStale, } from './useStreamInfo';
21
16
  export { nativeViewTag } from '../nativeViewTag';
22
- export { useItemsYouWonPageFor, useLiveHubPageFor, useLiveRailFor, SHOWS_PAGE_SIZE, type ItemsYouWonPage, type LiveHubPage, type LiveRail, type SessionForShowPages, type UseItemsYouWonPageOptions, type UseLiveHubPageOptions, } from './showPages';
23
- export type { AuctionBidGate, BidBlocker, BidRefusal, UseAuctionBidGateOptions } from './useAuctionBidGate';
17
+ export type { AuctionBidGate, BidBlocker } from './useAuctionBidGate';
24
18
  export type { AuctionWinRow, UseAuctionWinsOptions, UseAuctionWinsState } from './useAuctionWins';
25
19
  export type { LiveSessionProviderProps } from './useLiveSession';
26
20
  export type { LiveVideoTargetProps } from './LiveVideoTarget';
27
- export { LiveSessionProvider, useLiveSession, useLiveShow, isNativeVideoSupported, NativeVideoView, LiveVideoTarget, SHEET_HANDOFF_MS, useAuctionBidGate, useAuctionWins, } from './platformSession.web';
28
- export { useLivePageOptions } from './LiveSellingProvider';
29
- export { ShopifyLiveSellingProvider, ShopifyLiveSessionProvider, type ShopifyLiveSellingConfig, type ShopifyLiveSellingProviderProps, type ShopifyLiveSessionProviderProps, } from './shopifyProviders';
30
- export { ReplayPlayerProvider, useReplayPlayer, type ReplayPlayerState } from './replayPlayer';
31
- export { useAutoPictureInPicture } from './systemPictureInPicture';
32
- export { useKeepScreenAwake } from './useKeepScreenAwake';
33
- export { useLivePage, RESTRICTIONS_REFRESH_MS, type LivePage } from './useLivePage';
34
- export { useLiveChat, type LiveChat, type LiveChatShow } from './useLiveChat';
35
- export { useLiveShop, shareProduct, shareAddress, SHARE_AGAIN_AFTER_MS, type LiveShop, type LiveShopScreen } from './useLiveShop';
36
- export { useLiveAuction, type LiveAuction, type LiveAuctionScreen } from './useLiveAuction';
37
- export { useLiveGiveawaysAndPolls, type LiveGiveawaysAndPolls } from './useLiveGiveawaysAndPolls';
38
- export { useReplayPage, type ReplayPage, type UseReplayPageOptions } from './useReplayPage';
39
- export { useAccountName, type AccountName } from './useAccountName';
40
- export { useClipsPage, type ClipsPage } from './useClipsPage';
41
- /** The Items You Won tab over the empty wins: signed in, it says nothing was won. */
42
- export declare function useItemsYouWonPage<TRaw = unknown>(options: UseItemsYouWonPageOptions): ItemsYouWonPage<TRaw>;
43
- /** The Live tab over the idle session: the recordings are real, the show on air never plays here. */
44
- export declare function useLiveHubPage(options: UseLiveHubPageOptions): LiveHubPage;
45
- /** A home screen's live rail over the idle session. */
46
- export declare function useLiveRail(options: UseLiveHubPageOptions): LiveRail;
21
+ export declare function LiveSessionProvider({ children }: LiveSessionProviderProps): import("react").FunctionComponentElement<import("react").ProviderProps<LiveSession | null>>;
22
+ /**
23
+ * The idle session, read without touching the context: a surface rendered outside the provider
24
+ * behaves the same as one inside it, because on the web there is only ever this one session.
25
+ */
26
+ export declare function useLiveSession<TRaw = unknown>(): LiveSession<TRaw>;
27
+ export declare const isNativeVideoSupported = false;
28
+ /**
29
+ * A plain `View`, which is what the native file falls back to on a build without the Zego SDK:
30
+ * callers position this and draw a poster over it, so returning null would collapse the layout the
31
+ * poster depends on.
32
+ */
33
+ export declare const NativeVideoView: import("react").ForwardRefExoticComponent<ViewProps & import("react").RefAttributes<unknown>>;
34
+ export declare function LiveVideoTarget({ style, children }: LiveVideoTargetProps): import("react").CElement<ViewProps, View>;
35
+ export declare const SHEET_HANDOFF_MS = 380;
36
+ /** Never blocks, because there is no bid to gate — `placeBid` above resolves without sending. */
37
+ export declare function useAuctionBidGate(_options: UseAuctionBidGateOptions): AuctionBidGate;
38
+ /**
39
+ * An empty tab rather than a failure. The wins metafield is readable from a browser, but settling one
40
+ * mints a cart and sends the shopper to checkout — not something a preview should be able to start.
41
+ */
42
+ export declare function useAuctionWins<TRaw = unknown>(_options?: UseAuctionWinsOptions): UseAuctionWinsState<TRaw>;
47
43
  //# sourceMappingURL=index.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../src/react/index.web.ts"],"names":[],"mappings":"AA2BA,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,yBAAyB,EAC9B,KAAK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