@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,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MISSED_POLL_READ_MS = void 0;
4
- exports.readsForMissedPoll = readsForMissedPoll;
5
- /** How often the session reads the show's record for a poll it may have missed: 20 s. */
6
- exports.MISSED_POLL_READ_MS = 20000;
7
- /**
8
- * Whether the session reads the record for a missed poll: a show on air (playing, or waiting for the
9
- * host's camera), the room connected (a reconnect reads it anyway), and no poll showing (one showing is
10
- * the room's, and fresher than any read).
11
- */
12
- function readsForMissedPoll(input) {
13
- const onAir = input.status === 'playing' || input.status === 'waitingForHost';
14
- return onAir && input.connected && !input.pollShowing;
15
- }
16
- //# sourceMappingURL=missedPolls.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"missedPolls.js","sourceRoot":"","sources":["../src/missedPolls.ts"],"names":[],"mappings":";;;AAuBA,gDAGC;AAXD,yFAAyF;AAC5E,QAAA,mBAAmB,GAAG,KAAM,CAAC;AAE1C;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,KAA8E;IAC/G,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,gBAAgB,CAAC;IAC9E,OAAO,KAAK,IAAI,KAAK,CAAC,SAAS,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;AACxD,CAAC"}
@@ -1,149 +0,0 @@
1
- /**
2
- * What the live pages need from the app (0.14.0), set once on `LiveSellingProvider`: where the shopper
3
- * goes (`routes`), the app's analytics (`track`), where a handled failure is reported (`onWarning`) and
4
- * the store's name (`shopName`).
5
- *
6
- * The page hooks (`useLivePage`, `useReplayPage` and the rest) moved here from amore-v2, where they
7
- * navigated by route name and reported through the app's own analytics and Sentry. Routes stay the
8
- * app's: the hooks call these instead, handing over the screen's own navigation when they run inside
9
- * one, so a route can act on that screen (replace it, go back from it) as the app's code did.
10
- *
11
- * Pure: no React, no React Native, so the defaults load in plain Node for tests.
12
- */
13
- import type { NavigationProp, ParamListBase } from '@react-navigation/native' with { 'resolution-mode': 'import' };
14
- import type { VariantPageParams } from './showCredit';
15
- /** The navigation of the screen a route is taken from (React Navigation's `useNavigation()`). */
16
- export type ScreenNavigation = NavigationProp<ParamListBase>;
17
- /** How the app's Sign In page signs in: sdk-shopify's `AuthMethod`, as `useSignIn` hands it over. */
18
- export type SignInPageMethod = 'password' | 'shopify';
19
- /**
20
- * Where the live pages send the shopper. Each is the app's: the route names, the params, and whether
21
- * a screen already in the stack is reused. The ones that take `navigation` are taken from inside a
22
- * screen and get that screen's; the others are taken from outside the navigator (a bubble, the
23
- * session's `onPipRestore`), where the app reaches its navigator through its own ref.
24
- */
25
- export interface LiveSellingRoutes {
26
- /**
27
- * Back to the Live screen for this show: the one already in the stack (the screens above it close,
28
- * the Cart included), else a new one. Never a second Live screen over the first: the engine holds
29
- * one room, and two players would fight over its one picture. Taken by the live bubble's tap and
30
- * by the phone's picture-in-picture window coming back to a show the Live screen shrank.
31
- */
32
- openLive(streamId: string): void;
33
- /**
34
- * Back to the Replay screen for this recording: the one already in the stack (the screens above it
35
- * close), else a new one. Taken by the replay bubble's tap.
36
- */
37
- openReplay(feedId: string): void;
38
- /** The Live screen's link named a show that has ended and has a recording: its Replay, in the Live screen's place. */
39
- replaceWithReplay(feedId: string, navigation: ScreenNavigation): void;
40
- /**
41
- * The Live tab: the Live screen's back with nothing behind it (a link on a cold start), and a link to
42
- * a show with nothing to play. Back to the tabs already in the stack, or in the Live screen's place.
43
- */
44
- backToLiveTab(navigation: ScreenNavigation): void;
45
- /** Home: the Replay screen's close or picture-in-picture with nothing behind it, and its "no recording" button. */
46
- openHome(navigation: ScreenNavigation): void;
47
- /** The cart, over the show; `itemsYouWon` opens its Items You Won tab (an auction show's cart). */
48
- openCart(options: {
49
- itemsYouWon: boolean;
50
- }, navigation: ScreenNavigation): void;
51
- /** The variant page, drawn as a sheet over the playing show, with the show's credit. */
52
- openVariantPage(params: VariantPageParams, navigation: ScreenNavigation): void;
53
- /** The app's Sign In page (sdk-shopify's `useSignIn` `onOpenSignInPage`): a bid, a giveaway entry, "Sign in to comment". */
54
- openSignIn(method: SignInPageMethod, navigation: ScreenNavigation): void;
55
- /**
56
- * A link from a show, inside the app (0.15.0; decided 2026-10-19 by amore-v2's Head of Engineering:
57
- * never the phone's browser): a host's or moderator's link in the chat, or a lot the host added as a web
58
- * address. amore-v2's: the store's product or collection on its screen, any other page in its `WebPage`
59
- * route with `title` in the header (`screenForLink`). Taken only for an https address (`opensInApp`),
60
- * after the show has gone into the bubble. Optional: without it, links are shown as words, with nothing
61
- * to tap.
62
- */
63
- openLink?(url: string, title: string | null | undefined, navigation: ScreenNavigation): void;
64
- /**
65
- * The route names of the pages drawn as sheets over a show (amore-v2's: `VariantSelector` and
66
- * `SignIn`). Under one the show plays on, with the screen kept on and the light status bar.
67
- */
68
- sheets: readonly string[];
69
- }
70
- /** The app's analytics `track`, for `liveJoin` and a show's copy of each add that lands. */
71
- export type LiveTrack = (name: string, properties: Record<string, unknown>) => void;
72
- /** A handled failure: a read that failed, an announcement that didn't go. The app's Sentry, say. */
73
- export type LiveWarning = (error: unknown, context: Record<string, unknown>) => void;
74
- /**
75
- * What the store stops this viewer doing (0.16.0), from the store-data standard's customer tags
76
- * (`viewerRestrictionsFromTags`; `ShopifyLiveSellingProvider` reads them with sdk-shopify's `useCustomerTags`).
77
- */
78
- export interface ViewerRestrictions {
79
- /** `blocked`: a bid stops at the gate's `blocked`; `unknown` (not read yet): a bid waits, `checkingAccount`. */
80
- bidding: 'allowed' | 'blocked' | 'unknown';
81
- /** The viewer's comments reach nobody else (the engine's `forceMuted`). */
82
- commentsMuted: boolean;
83
- /** Reads them again (a screen coming on show, a bid waiting on them). */
84
- refresh: () => void;
85
- }
86
- /** A provider given none: nothing restricted. */
87
- export declare const NO_RESTRICTIONS: ViewerRestrictions;
88
- /** The store-data standard (0.16.0): a customer with this tag may not bid. */
89
- export declare const BID_BLOCKED_TAG = "BIDBLOCKED";
90
- /** The store-data standard (0.16.0): a customer with this tag may not bid, and only they see their comments. */
91
- export declare const APP_BLOCKED_TAG = "APPBLOCKED";
92
- /**
93
- * What the standard tags stop, for a customer's tags (trimmed, case-insensitive). `known` false (not read
94
- * yet): bidding is `unknown`, so a bid waits rather than going. Signed out is known with no tags.
95
- */
96
- export declare function viewerRestrictionsFromTags(tags: readonly string[] | null | undefined, known: boolean): Pick<ViewerRestrictions, 'bidding' | 'commentsMuted'>;
97
- /** What the page hooks read from `LiveSellingProvider`. */
98
- export interface LivePageOptions {
99
- /** Every route, `openLink` included: one the app didn't give says so and goes nowhere. */
100
- routes: Required<LiveSellingRoutes>;
101
- track: LiveTrack;
102
- /** The store's name, in the bidding rules. Unset: the bid bar's own words. */
103
- shopName: string | undefined;
104
- /** The app gave `routes.openLink` (0.15.0): a link from a show can be opened, so it is drawn as one. */
105
- canOpenLinks: boolean;
106
- /**
107
- * The names nobody watching may go by (0.15.0), the show's team's: the provider's `blockedNames`, else
108
- * `DEFAULT_BLOCKED_VIEWER_NAMES` (Host, Moderator). The name asks refuse them as they are typed.
109
- */
110
- blockedNames: readonly string[];
111
- /** What the store stops this viewer doing (0.16.0): the provider's `viewerRestrictions`, else `NO_RESTRICTIONS`. */
112
- viewerRestrictions: ViewerRestrictions;
113
- /** Taps a viewer may react with (0.16.0): the provider's `reactionLimit`, else null (no limit). */
114
- reactionLimit: number | null;
115
- /** A tap past the limit (0.16.0): calls the provider's `onReactionLimitReached`, if any. */
116
- onReactionLimitReached: () => void;
117
- }
118
- /** The provider's props the options are made from, any of them unset. */
119
- export interface LivePageOptionsInput {
120
- routes?: LiveSellingRoutes | null;
121
- track?: LiveTrack | null;
122
- shopName?: string | null;
123
- blockedNames?: readonly string[] | null;
124
- reactionLimit?: number | null;
125
- onReactionLimitReached?: (() => void) | null;
126
- }
127
- /** Without `onWarning`: the console, so a failure is never silent in development. */
128
- export declare const consoleWarning: LiveWarning;
129
- /**
130
- * Where `reportLiveWarning` goes: the provider's `onWarning`, or the console when it has none. Module
131
- * state rather than context, because the plain functions an app calls outside any screen
132
- * (`announceAddToLiveRoom`, `reportShowAdd`) report too.
133
- */
134
- export declare function setLiveWarningSink(sink: LiveWarning | null | undefined): void;
135
- /** Reports a handled failure to the app. Never throws: a report that fails must not fail the screen. */
136
- export declare function reportLiveWarning(error: unknown, context: Record<string, unknown>): void;
137
- /**
138
- * The routes of a provider given none: each says so (`reportLiveWarning`) and goes nowhere, and no
139
- * page counts as a sheet. A screen still draws; only its buttons that go somewhere do nothing.
140
- */
141
- export declare const NO_ROUTES: Required<LiveSellingRoutes>;
142
- /**
143
- * The page options, read from `latest` at the moment each is used, with their defaults: no routes
144
- * (`NO_ROUTES`), no analytics, no store name, links that can't open, the SDK's blocked names. The
145
- * routes and `track` keep one identity however often the app hands the provider new ones (an inline
146
- * object, a hook's function), so a page hook can depend on them without its effects running again.
147
- */
148
- export declare function pageOptionsReading(latest: () => LivePageOptionsInput): LivePageOptions;
149
- //# sourceMappingURL=pageOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageOptions.d.ts","sourceRoot":"","sources":["../src/pageOptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC,OAAO,iBAAiB,EAAE,QAAQ,EAAE,CAAC;AAGnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,iGAAiG;AACjG,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAE7D,qGAAqG;AACrG,MAAM,MAAM,gBAAgB,GAAG,UAAU,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IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,sBAAsB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;CAC9C;AAED,qFAAqF;AACrF,eAAO,MAAM,cAAc,EAAE,WAE5B,CAAC;AAIF;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAE7E;AAED,wGAAwG;AACxG,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAMxF;AAOD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,iBAAiB,CAWjD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,oBAAoB,GAAG,eAAe,CAwCtF"}
@@ -1,123 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NO_ROUTES = exports.consoleWarning = exports.APP_BLOCKED_TAG = exports.BID_BLOCKED_TAG = exports.NO_RESTRICTIONS = void 0;
4
- exports.viewerRestrictionsFromTags = viewerRestrictionsFromTags;
5
- exports.setLiveWarningSink = setLiveWarningSink;
6
- exports.reportLiveWarning = reportLiveWarning;
7
- exports.pageOptionsReading = pageOptionsReading;
8
- const showNames_1 = require("./showNames");
9
- /** A provider given none: nothing restricted. */
10
- exports.NO_RESTRICTIONS = Object.freeze({ bidding: 'allowed', commentsMuted: false, refresh: () => { } });
11
- /** The store-data standard (0.16.0): a customer with this tag may not bid. */
12
- exports.BID_BLOCKED_TAG = 'BIDBLOCKED';
13
- /** The store-data standard (0.16.0): a customer with this tag may not bid, and only they see their comments. */
14
- exports.APP_BLOCKED_TAG = 'APPBLOCKED';
15
- /**
16
- * What the standard tags stop, for a customer's tags (trimmed, case-insensitive). `known` false (not read
17
- * yet): bidding is `unknown`, so a bid waits rather than going. Signed out is known with no tags.
18
- */
19
- function viewerRestrictionsFromTags(tags, known) {
20
- if (!known || !tags)
21
- return { bidding: 'unknown', commentsMuted: false };
22
- const has = (tag) => tags.some((t) => t.trim().toLowerCase() === tag.toLowerCase());
23
- const appBlocked = has(exports.APP_BLOCKED_TAG);
24
- return { bidding: appBlocked || has(exports.BID_BLOCKED_TAG) ? 'blocked' : 'allowed', commentsMuted: appBlocked };
25
- }
26
- /** Without `onWarning`: the console, so a failure is never silent in development. */
27
- const consoleWarning = (error, context) => {
28
- console.warn(error, context);
29
- };
30
- exports.consoleWarning = consoleWarning;
31
- let warningSink = exports.consoleWarning;
32
- /**
33
- * Where `reportLiveWarning` goes: the provider's `onWarning`, or the console when it has none. Module
34
- * state rather than context, because the plain functions an app calls outside any screen
35
- * (`announceAddToLiveRoom`, `reportShowAdd`) report too.
36
- */
37
- function setLiveWarningSink(sink) {
38
- warningSink = sink !== null && sink !== void 0 ? sink : exports.consoleWarning;
39
- }
40
- /** Reports a handled failure to the app. Never throws: a report that fails must not fail the screen. */
41
- function reportLiveWarning(error, context) {
42
- try {
43
- warningSink(error, context);
44
- }
45
- catch {
46
- // Nothing more to do: the report itself failed.
47
- }
48
- }
49
- function goesNowhere(route) {
50
- return () => reportLiveWarning(new Error(`LiveSellingProvider has no \`routes\`: ${route} goes nowhere`), { at: `routes.${route}` });
51
- }
52
- /**
53
- * The routes of a provider given none: each says so (`reportLiveWarning`) and goes nowhere, and no
54
- * page counts as a sheet. A screen still draws; only its buttons that go somewhere do nothing.
55
- */
56
- exports.NO_ROUTES = {
57
- openLive: goesNowhere('openLive'),
58
- openReplay: goesNowhere('openReplay'),
59
- replaceWithReplay: goesNowhere('replaceWithReplay'),
60
- backToLiveTab: goesNowhere('backToLiveTab'),
61
- openHome: goesNowhere('openHome'),
62
- openCart: goesNowhere('openCart'),
63
- openVariantPage: goesNowhere('openVariantPage'),
64
- openSignIn: goesNowhere('openSignIn'),
65
- openLink: goesNowhere('openLink'),
66
- sheets: [],
67
- };
68
- /**
69
- * The page options, read from `latest` at the moment each is used, with their defaults: no routes
70
- * (`NO_ROUTES`), no analytics, no store name, links that can't open, the SDK's blocked names. The
71
- * routes and `track` keep one identity however often the app hands the provider new ones (an inline
72
- * object, a hook's function), so a page hook can depend on them without its effects running again.
73
- */
74
- function pageOptionsReading(latest) {
75
- const routes = () => { var _a; return (_a = latest().routes) !== null && _a !== void 0 ? _a : exports.NO_ROUTES; };
76
- return {
77
- routes: {
78
- openLive: (streamId) => routes().openLive(streamId),
79
- openReplay: (feedId) => routes().openReplay(feedId),
80
- replaceWithReplay: (feedId, navigation) => routes().replaceWithReplay(feedId, navigation),
81
- backToLiveTab: (navigation) => routes().backToLiveTab(navigation),
82
- openHome: (navigation) => routes().openHome(navigation),
83
- openCart: (options, navigation) => routes().openCart(options, navigation),
84
- openVariantPage: (params, navigation) => routes().openVariantPage(params, navigation),
85
- openSignIn: (method, navigation) => routes().openSignIn(method, navigation),
86
- openLink: (url, title, navigation) => {
87
- const openLink = routes().openLink;
88
- if (openLink)
89
- openLink(url, title, navigation);
90
- else
91
- exports.NO_ROUTES.openLink(url, title, navigation);
92
- },
93
- get sheets() {
94
- var _a;
95
- return (_a = routes().sheets) !== null && _a !== void 0 ? _a : [];
96
- },
97
- },
98
- track: (name, properties) => {
99
- const track = latest().track;
100
- if (track)
101
- track(name, properties);
102
- },
103
- get shopName() {
104
- var _a;
105
- return (_a = latest().shopName) !== null && _a !== void 0 ? _a : undefined;
106
- },
107
- get canOpenLinks() {
108
- var _a;
109
- return !!((_a = latest().routes) === null || _a === void 0 ? void 0 : _a.openLink);
110
- },
111
- get blockedNames() {
112
- var _a;
113
- return (_a = latest().blockedNames) !== null && _a !== void 0 ? _a : showNames_1.DEFAULT_BLOCKED_VIEWER_NAMES;
114
- },
115
- viewerRestrictions: exports.NO_RESTRICTIONS,
116
- get reactionLimit() {
117
- var _a;
118
- return (_a = latest().reactionLimit) !== null && _a !== void 0 ? _a : null;
119
- },
120
- onReactionLimitReached: () => { var _a, _b; return (_b = (_a = latest()).onReactionLimitReached) === null || _b === void 0 ? void 0 : _b.call(_a); },
121
- };
122
- }
123
- //# sourceMappingURL=pageOptions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageOptions.js","sourceRoot":"","sources":["../src/pageOptions.ts"],"names":[],"mappings":";;;AAwGA,gEAQC;AA8CD,gDAEC;AAGD,8CAMC;AA8BD,gDAwCC;AAjOD,2CAA2D;AA8E3D,iDAAiD;AACpC,QAAA,eAAe,GAAuB,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,CAAC,CAAC;AAElI,8EAA8E;AACjE,QAAA,eAAe,GAAG,YAAY,CAAC;AAC5C,gHAAgH;AACnG,QAAA,eAAe,GAAG,YAAY,CAAC;AAE5C;;;GAGG;AACH,SAAgB,0BAA0B,CACxC,IAA0C,EAC1C,KAAc;IAEd,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI;QAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;IACzE,MAAM,GAAG,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;IAC5F,MAAM,UAAU,GAAG,GAAG,CAAC,uBAAe,CAAC,CAAC;IACxC,OAAO,EAAE,OAAO,EAAE,UAAU,IAAI,GAAG,CAAC,uBAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC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AAS,CAAC,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;YAClD,CAAC;YACD,IAAI,MAAM;;gBACR,OAAO,MAAA,MAAM,EAAE,CAAC,MAAM,mCAAI,EAAE,CAAC;YAC/B,CAAC;SACF;QACD,KAAK,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE;YAC1B,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC;YAC7B,IAAI,KAAK;gBAAE,KAAK,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QACrC,CAAC;QACD,IAAI,QAAQ;;YACV,OAAO,MAAA,MAAM,EAAE,CAAC,QAAQ,mCAAI,SAAS,CAAC;QACxC,CAAC;QACD,IAAI,YAAY;;YACd,OAAO,CAAC,CAAC,CAAA,MAAA,MAAM,EAAE,CAAC,MAAM,0CAAE,QAAQ,CAAA,CAAC;QACrC,CAAC;QACD,IAAI,YAAY;;YACd,OAAO,MAAA,MAAM,EAAE,CAAC,YAAY,mCAAI,wCAA4B,CAAC;QAC/D,CAAC;QACD,kBAAkB,EAAE,uBAAe;QACnC,IAAI,aAAa;;YACf,OAAO,MAAA,MAAM,EAAE,CAAC,aAAa,mCAAI,IAAI,CAAC;QACxC,CAAC;QACD,sBAAsB,EAAE,GAAG,EAAE,eAAC,OAAA,MAAA,MAAA,MAAM,EAAE,EAAC,sBAAsB,kDAAI,CAAA,EAAA;KAClE,CAAC;AACJ,CAAC"}
@@ -1,185 +0,0 @@
1
- /**
2
- * What the live pages hand their tiles, ready to draw (0.14.0): the shapes amore-v2's Live and Replay
3
- * tiles declared (`@/components/modules`), with the same names and fields, so a tile imports its
4
- * props' parts from here and the page hook that fills them is the SDK's. Money is formatted by the
5
- * hook; the words are the tile's.
6
- *
7
- * Types alone: sdk-shopify's `Product` is read for its type.
8
- */
9
- import type { Product } from '@tiledev/sdk-shopify';
10
- /** The product the host is featuring, ready to draw (`LiveProductCard01`): the page formats the money. */
11
- export interface LiveFeaturedProduct {
12
- id: string;
13
- title: string;
14
- /** Formatted ("$58.00"). */
15
- price: string;
16
- imageUrl?: string | null;
17
- /** The lot's number, the one the host reads out ("104"). None: no badge. */
18
- lotNumber?: string | null;
19
- /** An auction lot's opening bid, formatted ("$20.00"). None on a live show. */
20
- startingBid?: string | null;
21
- /**
22
- * A link the host featured (0.15.0; a lot that is a web address, not a product of the store): the
23
- * card opens its page rather than selling it, on any show (a link is opened, never bought or bid on).
24
- */
25
- isLink?: boolean;
26
- /** False: a link the app can't open, so the card is words, not a button. Default: a button. */
27
- canOpen?: boolean;
28
- }
29
- /**
30
- * A link the host added to the show, ready to draw in the Shop sheet (0.15.0; `LiveShopButton01`): a lot
31
- * that is a web address, not a product of the store, mostly an affiliate link. It is opened, never
32
- * bought: its card has no Add to Cart and no star. The page formats the price.
33
- */
34
- export interface LiveShopLink {
35
- /** Says this item is a link, not a product. */
36
- kind: 'link';
37
- /** The lot's key on the show (its address when the host gave it no id). */
38
- id: string;
39
- title: string;
40
- /** Formatted ("$45.00"); empty: none shown. */
41
- price: string;
42
- imageUrl?: string | null;
43
- /** The page a tap opens; none when the app can't open it (not https), and the card is then words, not a button. */
44
- url?: string | null;
45
- }
46
- /**
47
- * Where the featured lot stands in its auction, ready to draw (`LiveProductCard01`; the page formats
48
- * the money): bidding on it is open now, it has been won, or the host hasn't opened it yet.
49
- */
50
- export interface LiveAuctionRound {
51
- state: 'open' | 'closed' | 'upcoming';
52
- /** The highest bid so far, formatted ("$45.00"). None before the first bid. */
53
- highestBid: string | null;
54
- /** Who holds it, as the room shows them (never an email). None before the first bid. */
55
- leaderName: string | null;
56
- /** The shopper holds it. */
57
- leaderIsYou: boolean;
58
- }
59
- /** One lot on an auction show, ready to draw (`LiveShopButton01`): where bidding opens (formatted) and where it stands. */
60
- export interface LiveAuctionLot {
61
- product: Product;
62
- /** The host's opening bid ("$20.00"); none on a lot the host hasn't priced. */
63
- startingBid: string | null;
64
- /** Bidding on it is open now, it has been won, or the host hasn't opened it yet. */
65
- state: 'open' | 'closed' | 'upcoming';
66
- }
67
- /** A round's winner, ready to draw (`LiveAuctionWin01`): the page formats the money and knows whether it is the shopper. */
68
- export interface LiveAuctionWinner {
69
- /** Tells one win from the next: a new key plays the celebration again. */
70
- key: string;
71
- /** The winner's name as the room shows it (never an email). */
72
- name: string;
73
- /** The winning bid, formatted ("$45.00"). */
74
- amount: string;
75
- /** The shopper won: the celebration says "You". */
76
- isYou: boolean;
77
- }
78
- /** What stands between the shopper and the bid they asked for (`LiveBidBar01`), in the order the bid gate asks. */
79
- export type LiveBidStep = 'blocked' | 'checkingAccount' | 'accountUnknown' | 'terms' | 'unpaidWins' | 'variant';
80
- /**
81
- * A bid that didn't go, and why (`LiveBidBar01`): the room moved past it or it is over the host's
82
- * ceiling (the page didn't send it), or it was sent and didn't go through (`notSent`: no one to take
83
- * it, or the send failed; decided 2026-10-06, Head of Engineering).
84
- */
85
- export interface LiveBidRefusal {
86
- /** A new number for each refusal, so the same reason twice shows twice. */
87
- id: number;
88
- reason: 'outbid' | 'overCap' | 'notSent';
89
- /** The round's minimum now ("outbid"), the ceiling ("overCap"), or the bid itself ("notSent", not shown). */
90
- amount: number;
91
- }
92
- /** One shopper's add to their cart, as the room announced it (`LiveCartChips01`). */
93
- export interface LiveCartChip {
94
- id: string;
95
- /** The shopper's first name, safe to show the room; none when the room doesn't know it. */
96
- name?: string | null;
97
- productTitle: string;
98
- /** The lot's number ("104"), when the shopper's app sent one. */
99
- lotNumber?: string | null;
100
- }
101
- /** One sale the host closed, as the room announced it (`LiveSoldChips01`). */
102
- export interface LiveSoldChip {
103
- id: string;
104
- /** How many were sold. */
105
- quantity: number;
106
- productName: string;
107
- /** The lot's number ("104"), when the room's announcement carried one. */
108
- lotNumber?: string | null;
109
- }
110
- /** The prize on offer, as the giveaway's sheet shows it (`LiveGiveawayButton01`), from its record and the catalogue. */
111
- export interface LiveGiveawayPrize {
112
- /** The prize's name on the giveaway ("Flutter Sleeve Tie-Front Blouse"). */
113
- productName: string;
114
- /** The one variant given away ("Navy / XL"), or null. */
115
- variantTitle: string | null;
116
- /** What it costs in the store, formatted ("$22.00"), struck through beside FREE. Null: not known yet. */
117
- retailPrice: string | null;
118
- /** The variant's photo, else the product's, else the giveaway's own thumbnail. */
119
- imageUrl: string | null;
120
- /** The product's description from the catalogue, as plain text. Null until the catalogue answers, or none. */
121
- description: string | null;
122
- }
123
- /** A name tapped in the chat, to reply to (`LiveCommentBox01`). A new `key` for every tap, so tapping the same name twice still puts it in. */
124
- export interface LiveCommentMention {
125
- name: string;
126
- key: number;
127
- }
128
- /**
129
- * A signed-in shopper's name on their account (0.15.0), as the comment box's "Commenting As:" starts
130
- * from it (`LiveCommentBox01`'s `accountName`): each part trimmed, possibly empty.
131
- */
132
- export interface NameOnAccount {
133
- firstName?: string | null;
134
- lastName?: string | null;
135
- }
136
- /** The same, as the giveaway's "Entering As:" starts from it (`LiveGiveawayButton01`'s `accountName`). */
137
- export type GiveawayNameOnAccount = NameOnAccount;
138
- /** One recording in the feed, as the player draws it (`ReplayPlayer01`). */
139
- export interface ReplayShow {
140
- id: string;
141
- /** Shown until the video has its first picture, and while the show slides in. */
142
- posterUrl?: string | null;
143
- }
144
- /** The product on screen, ready to draw (`ReplayNowCard01`): the page formats the price. */
145
- export interface ReplayNowProduct {
146
- id: string;
147
- title: string;
148
- /** Formatted ("$58.00"). */
149
- price: string;
150
- imageUrl?: string | null;
151
- /** A link the host added (0.15.0): the card opens its page rather than selling it. */
152
- isLink?: boolean;
153
- /** False: a link the app can't open, so the card is words, not a button. Default: a button. */
154
- canOpen?: boolean;
155
- }
156
- /** A link the host added, in the Replay screen's shop (0.15.0; `ReplayShopBar01`): `LiveShopLink`'s shape. */
157
- export type ReplayShopLink = LiveShopLink;
158
- /** One comment from the show's chat (`ReplayComments01`). */
159
- export interface ReplayCommentItem {
160
- id: string;
161
- /** The name it was said under. */
162
- author: string;
163
- text: string;
164
- /** Said by the host: drawn under the tile's `hostName`. */
165
- fromHost?: boolean;
166
- }
167
- /** One clip of the reel, ready to draw (0.15.0; `ClipReel01`): the page formats the price. */
168
- export interface ClipReelItem {
169
- id: string;
170
- /** The recording the clip plays from (an HLS playlist on native). */
171
- videoUrl: string;
172
- /** Shown until the video draws its first frame, and on web, where HLS doesn't play. */
173
- posterUrl?: string | null;
174
- /** A clip is often a cut from a longer recording: it starts here and loops back here at `endMs`. Neither set: the whole video, looped. */
175
- startMs?: number | null;
176
- /** None: the cut runs to the end of the recording. */
177
- endMs?: number | null;
178
- /** The product the clip sells. None: no product bar and no share button. */
179
- product?: {
180
- title: string;
181
- price: string;
182
- imageUrl?: string | null;
183
- } | null;
184
- }
185
- //# sourceMappingURL=pageTypes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageTypes.d.ts","sourceRoot":"","sources":["../src/pageTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAIpD,0GAA0G;AAC1G,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,KAA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ACd,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,sFAAsF;IACtF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,8GAA8G;AAC9G,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAE1C,6DAA6D;AAC7D,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,8FAA8F;AAC9F,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,QAAQ,EAAE,MAAM,CAAC;IACjB,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0IAA0I;IAC1I,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,4EAA4E;IAC5E,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;CAC7E"}
package/dist/pageTypes.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=pageTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageTypes.js","sourceRoot":"","sources":["../src/pageTypes.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- import type { LiveHapticsModule } from './types';
2
- /** Ticks come at most this often, however fast they're asked for (20 a second). */
3
- export declare const LIVE_HAPTICS_TICK_GAP_MS = 50;
4
- /** Taps on the phone at a show's big moments. Each does nothing where haptics aren't available. */
5
- export interface LiveHaptics {
6
- /** A light click, like a picker wheel's: one name rolling past in a giveaway draw. */
7
- tick(): void;
8
- /** One firm knock: a moment to look up for (a bidding war starting). */
9
- knock(): void;
10
- /** The shopper won: the giveaway's draw landed on them, or an auction round closed on their bid. */
11
- success(): void;
12
- }
13
- /**
14
- * The taps over a haptics module (decided 2026-10-06, Head of Engineering: "Draw + auction moments",
15
- * after Sparkl's roller on the giveaway draw). The module is read at each tap (`module()`), so a
16
- * `configure` after the first render still counts.
17
- *
18
- * - **Ticks are capped** at one every `LIVE_HAPTICS_TICK_GAP_MS`: a long roster rolls past faster than
19
- * a finger can feel, and old Amore's draw buzzed about 13 times a second on Android, one long rattle.
20
- * - **Never in the way:** no module, nothing; a tap that fails (a build made before the module was
21
- * added: expo-haptics rejects "not available") is dropped. A tap is never worth an error.
22
- * - The phone's own settings still apply (iOS's System Haptics switch turns them all off).
23
- */
24
- export declare function createLiveHaptics(module: () => LiveHapticsModule | null | undefined, now?: () => number): LiveHaptics;
25
- //# sourceMappingURL=phoneTaps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"phoneTaps.d.ts","sourceRoot":"","sources":["../src/phoneTaps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,mFAAmF;AACnF,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,mGAAmG;AACnG,MAAM,WAAW,WAAW;IAC1B,sFAAsF;IACtF,IAAI,IAAI,IAAI,CAAC;IACb,wEAAwE;IACxE,KAAK,IAAI,IAAI,CAAC;IACd,oGAAoG;IACpG,OAAO,IAAI,IAAI,CAAC;CACjB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,iBAAiB,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG,GAAE,MAAM,MAAiB,GAAG,WAAW,CAyB/H"}
package/dist/phoneTaps.js DELETED
@@ -1,47 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LIVE_HAPTICS_TICK_GAP_MS = void 0;
4
- exports.createLiveHaptics = createLiveHaptics;
5
- /** Ticks come at most this often, however fast they're asked for (20 a second). */
6
- exports.LIVE_HAPTICS_TICK_GAP_MS = 50;
7
- /**
8
- * The taps over a haptics module (decided 2026-10-06, Head of Engineering: "Draw + auction moments",
9
- * after Sparkl's roller on the giveaway draw). The module is read at each tap (`module()`), so a
10
- * `configure` after the first render still counts.
11
- *
12
- * - **Ticks are capped** at one every `LIVE_HAPTICS_TICK_GAP_MS`: a long roster rolls past faster than
13
- * a finger can feel, and old Amore's draw buzzed about 13 times a second on Android, one long rattle.
14
- * - **Never in the way:** no module, nothing; a tap that fails (a build made before the module was
15
- * added: expo-haptics rejects "not available") is dropped. A tap is never worth an error.
16
- * - The phone's own settings still apply (iOS's System Haptics switch turns them all off).
17
- */
18
- function createLiveHaptics(module, now = Date.now) {
19
- let lastTickAt = Number.NEGATIVE_INFINITY;
20
- const quietly = (tap) => {
21
- try {
22
- const haptics = module();
23
- if (!haptics)
24
- return;
25
- void tap(haptics).catch(() => undefined);
26
- }
27
- catch {
28
- // A synchronous failure is dropped too.
29
- }
30
- };
31
- return {
32
- tick() {
33
- const at = now();
34
- if (at - lastTickAt < exports.LIVE_HAPTICS_TICK_GAP_MS)
35
- return;
36
- lastTickAt = at;
37
- quietly((haptics) => haptics.selectionAsync());
38
- },
39
- knock() {
40
- quietly((haptics) => haptics.impactAsync(haptics.ImpactFeedbackStyle.Heavy));
41
- },
42
- success() {
43
- quietly((haptics) => haptics.notificationAsync(haptics.NotificationFeedbackType.Success));
44
- },
45
- };
46
- }
47
- //# sourceMappingURL=phoneTaps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"phoneTaps.js","sourceRoot":"","sources":["../src/phoneTaps.ts"],"names":[],"mappings":";;;AA0BA,8CAyBC;AAjDD,mFAAmF;AACtE,QAAA,wBAAwB,GAAG,EAAE,CAAC;AAY3C;;;;;;;;;;GAUG;AACH,SAAgB,iBAAiB,CAAC,MAAkD,EAAE,MAAoB,IAAI,CAAC,GAAG;IAChH,IAAI,UAAU,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAC1C,MAAM,OAAO,GAAG,CAAC,GAAkD,EAAE,EAAE;QACrE,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC;YACzB,IAAI,CAAC,OAAO;gBAAE,OAAO;YACrB,KAAK,GAAG,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;QAC3C,CAAC;QAAC,MAAM,CAAC;YACP,wCAAwC;QAC1C,CAAC;IACH,CAAC,CAAC;IACF,OAAO;QACL,IAAI;YACF,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACjB,IAAI,EAAE,GAAG,UAAU,GAAG,gCAAwB;gBAAE,OAAO;YACvD,UAAU,GAAG,EAAE,CAAC;YAChB,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;QACjD,CAAC;QACD,KAAK;YACH,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;QAC/E,CAAC;QACD,OAAO;YACL,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC,CAAC;QAC5F,CAAC;KACF,CAAC;AACJ,CAAC"}