@tiledev/sdk-apptile-live-selling 0.12.1 → 0.14.0

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 (138) hide show
  1. package/README.md +116 -19
  2. package/dist/giveawayPrizeLines.d.ts +10 -0
  3. package/dist/giveawayPrizeLines.d.ts.map +1 -1
  4. package/dist/giveawayPrizeLines.js +11 -1
  5. package/dist/giveawayPrizeLines.js.map +1 -1
  6. package/dist/heldComments.d.ts +13 -2
  7. package/dist/heldComments.d.ts.map +1 -1
  8. package/dist/heldComments.js +16 -2
  9. package/dist/heldComments.js.map +1 -1
  10. package/dist/hiddenShows.d.ts +10 -0
  11. package/dist/hiddenShows.d.ts.map +1 -1
  12. package/dist/hiddenShows.js +11 -0
  13. package/dist/hiddenShows.js.map +1 -1
  14. package/dist/index.d.ts +9 -4
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +35 -2
  17. package/dist/index.js.map +1 -1
  18. package/dist/livePages.d.ts +79 -0
  19. package/dist/livePages.d.ts.map +1 -0
  20. package/dist/livePages.js +90 -0
  21. package/dist/livePages.js.map +1 -0
  22. package/dist/liveRoom.d.ts +21 -0
  23. package/dist/liveRoom.d.ts.map +1 -0
  24. package/dist/liveRoom.js +28 -0
  25. package/dist/liveRoom.js.map +1 -0
  26. package/dist/pageOptions.d.ts +100 -0
  27. package/dist/pageOptions.d.ts.map +1 -0
  28. package/dist/pageOptions.js +82 -0
  29. package/dist/pageOptions.js.map +1 -0
  30. package/dist/pageTypes.d.ts +127 -0
  31. package/dist/pageTypes.d.ts.map +1 -0
  32. package/dist/pageTypes.js +3 -0
  33. package/dist/pageTypes.js.map +1 -0
  34. package/dist/react/LiveSellingProvider.d.ts +23 -1
  35. package/dist/react/LiveSellingProvider.d.ts.map +1 -1
  36. package/dist/react/LiveSellingProvider.js +26 -2
  37. package/dist/react/LiveSellingProvider.js.map +1 -1
  38. package/dist/react/index.d.ts +10 -0
  39. package/dist/react/index.d.ts.map +1 -1
  40. package/dist/react/index.js +29 -1
  41. package/dist/react/index.js.map +1 -1
  42. package/dist/react/index.web.d.ts +11 -32
  43. package/dist/react/index.web.d.ts.map +1 -1
  44. package/dist/react/index.web.js +46 -139
  45. package/dist/react/index.web.js.map +1 -1
  46. package/dist/react/navigation.d.ts +13 -0
  47. package/dist/react/navigation.d.ts.map +1 -0
  48. package/dist/react/navigation.js +7 -0
  49. package/dist/react/navigation.js.map +1 -0
  50. package/dist/react/platformSession.d.ts +16 -0
  51. package/dist/react/platformSession.d.ts.map +1 -0
  52. package/dist/react/platformSession.js +28 -0
  53. package/dist/react/platformSession.js.map +1 -0
  54. package/dist/react/platformSession.web.d.ts +35 -0
  55. package/dist/react/platformSession.web.d.ts.map +1 -0
  56. package/dist/react/platformSession.web.js +148 -0
  57. package/dist/react/platformSession.web.js.map +1 -0
  58. package/dist/react/replayPlayer.d.ts +74 -0
  59. package/dist/react/replayPlayer.d.ts.map +1 -0
  60. package/dist/react/replayPlayer.js +279 -0
  61. package/dist/react/replayPlayer.js.map +1 -0
  62. package/dist/react/shopifyProviders.d.ts +68 -0
  63. package/dist/react/shopifyProviders.d.ts.map +1 -0
  64. package/dist/react/shopifyProviders.js +98 -0
  65. package/dist/react/shopifyProviders.js.map +1 -0
  66. package/dist/react/showPages.d.ts +5 -1
  67. package/dist/react/showPages.d.ts.map +1 -1
  68. package/dist/react/showPages.js +14 -5
  69. package/dist/react/showPages.js.map +1 -1
  70. package/dist/react/useKeepScreenAwake.d.ts +2 -0
  71. package/dist/react/useKeepScreenAwake.d.ts.map +1 -0
  72. package/dist/react/useKeepScreenAwake.js +34 -0
  73. package/dist/react/useKeepScreenAwake.js.map +1 -0
  74. package/dist/react/useLiveAuction.d.ts +104 -0
  75. package/dist/react/useLiveAuction.d.ts.map +1 -0
  76. package/dist/react/useLiveAuction.js +244 -0
  77. package/dist/react/useLiveAuction.js.map +1 -0
  78. package/dist/react/useLiveChat.d.ts +75 -0
  79. package/dist/react/useLiveChat.d.ts.map +1 -0
  80. package/dist/react/useLiveChat.js +131 -0
  81. package/dist/react/useLiveChat.js.map +1 -0
  82. package/dist/react/useLiveGiveawaysAndPolls.d.ts +84 -0
  83. package/dist/react/useLiveGiveawaysAndPolls.d.ts.map +1 -0
  84. package/dist/react/useLiveGiveawaysAndPolls.js +180 -0
  85. package/dist/react/useLiveGiveawaysAndPolls.js.map +1 -0
  86. package/dist/react/useLivePage.d.ts +113 -0
  87. package/dist/react/useLivePage.d.ts.map +1 -0
  88. package/dist/react/useLivePage.js +264 -0
  89. package/dist/react/useLivePage.js.map +1 -0
  90. package/dist/react/useLiveSession.d.ts +8 -0
  91. package/dist/react/useLiveSession.d.ts.map +1 -1
  92. package/dist/react/useLiveSession.js +43 -27
  93. package/dist/react/useLiveSession.js.map +1 -1
  94. package/dist/react/useLiveShop.d.ts +83 -0
  95. package/dist/react/useLiveShop.d.ts.map +1 -0
  96. package/dist/react/useLiveShop.js +165 -0
  97. package/dist/react/useLiveShop.js.map +1 -0
  98. package/dist/react/useReplayPage.d.ts +117 -0
  99. package/dist/react/useReplayPage.d.ts.map +1 -0
  100. package/dist/react/useReplayPage.js +504 -0
  101. package/dist/react/useReplayPage.js.map +1 -0
  102. package/dist/sessionTypes.d.ts +17 -9
  103. package/dist/sessionTypes.d.ts.map +1 -1
  104. package/dist/sessionTypes.js.map +1 -1
  105. package/dist/shopifyIdentity.d.ts +7 -4
  106. package/dist/shopifyIdentity.d.ts.map +1 -1
  107. package/dist/shopifyIdentity.js +11 -5
  108. package/dist/shopifyIdentity.js.map +1 -1
  109. package/dist/showCredit.d.ts +87 -0
  110. package/dist/showCredit.d.ts.map +1 -0
  111. package/dist/showCredit.js +120 -0
  112. package/dist/showCredit.js.map +1 -0
  113. package/dist/showNames.d.ts +24 -3
  114. package/dist/showNames.d.ts.map +1 -1
  115. package/dist/showNames.js +57 -10
  116. package/dist/showNames.js.map +1 -1
  117. package/dist/showPages.d.ts +12 -0
  118. package/dist/showPages.d.ts.map +1 -1
  119. package/dist/showPages.js +10 -0
  120. package/dist/showPages.js.map +1 -1
  121. package/dist/ui/BubbleFrame.d.ts +38 -0
  122. package/dist/ui/BubbleFrame.d.ts.map +1 -0
  123. package/dist/ui/BubbleFrame.js +181 -0
  124. package/dist/ui/BubbleFrame.js.map +1 -0
  125. package/dist/ui/LiveBubble.d.ts +37 -0
  126. package/dist/ui/LiveBubble.d.ts.map +1 -0
  127. package/dist/ui/LiveBubble.js +101 -0
  128. package/dist/ui/LiveBubble.js.map +1 -0
  129. package/dist/ui/ReplayBubble.d.ts +23 -0
  130. package/dist/ui/ReplayBubble.d.ts.map +1 -0
  131. package/dist/ui/ReplayBubble.js +65 -0
  132. package/dist/ui/ReplayBubble.js.map +1 -0
  133. package/dist/ui.d.ts +27 -0
  134. package/dist/ui.d.ts.map +1 -0
  135. package/dist/ui.js +34 -0
  136. package/dist/ui.js.map +1 -0
  137. package/package.json +36 -5
  138. package/ui/package.json +6 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledev/sdk-apptile-live-selling",
3
- "version": "0.12.1",
4
- "description": "Live selling, auctions and giveaways for React Native — the Apptile live-selling gateway as a typed singleton, a Zego room engine behind a platform boundary, an assembled session state machine, and system picture-in-picture with its own config plugin. Commerce comes from an adapter.",
3
+ "version": "0.14.0",
4
+ "description": "Live selling, auctions and giveaways for React Native — the Apptile live-selling gateway as a typed singleton, a Zego room engine behind a platform boundary, an assembled session state machine, system picture-in-picture with its own config plugin, and the Live and Replay page models with their floating bubbles (`/ui`). Commerce comes from an adapter.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
7
7
  "sideEffects": false,
@@ -17,6 +17,10 @@
17
17
  "types": "./dist/types.d.ts",
18
18
  "default": "./dist/types.js"
19
19
  },
20
+ "./ui": {
21
+ "types": "./dist/ui.d.ts",
22
+ "default": "./dist/ui.js"
23
+ },
20
24
  "./package.json": "./package.json",
21
25
  "./*": {
22
26
  "types": "./dist/*.d.ts",
@@ -27,6 +31,7 @@
27
31
  "dist",
28
32
  "types",
29
33
  "session",
34
+ "ui",
30
35
  "README.md"
31
36
  ],
32
37
  "scripts": {
@@ -53,22 +58,48 @@
53
58
  "access": "public"
54
59
  },
55
60
  "peerDependencies": {
56
- "@tiledev/sdk-shopify": ">=0.10.0 <1",
61
+ "@expo/vector-icons": ">=15.0.0",
62
+ "@react-native-async-storage/async-storage": ">=2.0.0 <3",
63
+ "@react-navigation/native": ">=7.0.0 <8",
64
+ "@tiledev/react-native-performant-image": ">=0.3.0 <1",
65
+ "@tiledev/sdk-analytics-core": ">=0.3.2 <1",
66
+ "@tiledev/sdk-shopify": ">=0.21.0 <1",
67
+ "expo-keep-awake": ">=15.0.0",
68
+ "expo-video": ">=3.0.0",
57
69
  "react": ">=17",
58
70
  "react-native": ">=0.71",
71
+ "react-native-safe-area-context": ">=5.0.0",
59
72
  "zego-express-engine-reactnative": ">=3.0.0"
60
73
  },
61
74
  "peerDependenciesMeta": {
75
+ "@expo/vector-icons": {
76
+ "optional": true
77
+ },
78
+ "@tiledev/react-native-performant-image": {
79
+ "optional": true
80
+ },
81
+ "react-native-safe-area-context": {
82
+ "optional": true
83
+ },
62
84
  "zego-express-engine-reactnative": {
63
85
  "optional": true
64
86
  }
65
87
  },
66
88
  "devDependencies": {
67
- "typescript": "^5.0.0",
68
- "react": "^18.2.0",
89
+ "@expo/vector-icons": "^15.1.1",
90
+ "@react-native-async-storage/async-storage": "^2.2.0",
91
+ "@react-navigation/native": "^7.5.1",
92
+ "@tiledev/react-native-performant-image": "^0.3.0",
93
+ "@tiledev/sdk-analytics-core": "^0.3.3",
94
+ "@tiledev/sdk-shopify": "^0.21.0",
69
95
  "@types/react": "^18.2.0",
70
96
  "expo": "^54.0.0",
97
+ "expo-keep-awake": "~15.0.8",
98
+ "expo-video": "~3.0.16",
99
+ "react": "^18.2.0",
71
100
  "react-native": "^0.76.0",
101
+ "react-native-safe-area-context": "~5.6.0",
102
+ "typescript": "^5.0.0",
72
103
  "zego-express-engine-reactnative": "^3.22.0"
73
104
  },
74
105
  "dependencies": {
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/ui.js",
3
+ "module": "../dist/ui.js",
4
+ "types": "../dist/ui.d.ts",
5
+ "sideEffects": false
6
+ }