@oxy.so/services 4.0.7 → 6.0.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 (326) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/assets/assets/signIn/slide-1.jpg +0 -0
  3. package/lib/commonjs/assets/assets/signIn/slide-1.jpg.d.ts +3 -0
  4. package/lib/commonjs/assets/assets/signIn/slide-2.jpg +0 -0
  5. package/lib/commonjs/assets/assets/signIn/slide-2.jpg.d.ts +3 -0
  6. package/lib/commonjs/assets/assets/signIn/slide-3.jpg +0 -0
  7. package/lib/commonjs/assets/assets/signIn/slide-3.jpg.d.ts +3 -0
  8. package/lib/commonjs/assets/assets/signIn/slide-4.jpg +0 -0
  9. package/lib/commonjs/assets/assets/signIn/slide-4.jpg.d.ts +3 -0
  10. package/lib/commonjs/assets/signIn/slide-1.jpg +0 -0
  11. package/lib/commonjs/assets/signIn/slide-2.jpg +0 -0
  12. package/lib/commonjs/assets/signIn/slide-3.jpg +0 -0
  13. package/lib/commonjs/assets/signIn/slide-4.jpg +0 -0
  14. package/lib/commonjs/index.js +45 -8
  15. package/lib/commonjs/index.js.map +1 -1
  16. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +11 -58
  17. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
  18. package/lib/commonjs/ui/components/OxyAuthChooser.js +36 -44
  19. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
  20. package/lib/commonjs/ui/components/OxyProvider.js +0 -2
  21. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  22. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  23. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +29 -8
  24. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  25. package/lib/commonjs/ui/components/authChooser/primitives.js +7 -52
  26. package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -1
  27. package/lib/commonjs/ui/components/authChooser/signInFailureMessage.js +1 -7
  28. package/lib/commonjs/ui/components/authChooser/signInFailureMessage.js.map +1 -1
  29. package/lib/commonjs/ui/components/authChooser/styles.js +0 -31
  30. package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
  31. package/lib/commonjs/ui/components/authChooser/types.js +2 -2
  32. package/lib/commonjs/ui/components/oauthNavigation.js +1 -1
  33. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +161 -0
  34. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -0
  35. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +111 -0
  36. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -0
  37. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +160 -0
  38. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -0
  39. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +371 -0
  40. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -0
  41. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +78 -0
  42. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -0
  43. package/lib/commonjs/ui/components/signIn/artwork.js +21 -0
  44. package/lib/commonjs/ui/components/signIn/artwork.js.map +1 -0
  45. package/lib/commonjs/ui/components/signIn/passkeyError.js +46 -0
  46. package/lib/commonjs/ui/components/signIn/passkeyError.js.map +1 -0
  47. package/lib/commonjs/ui/components/signIn/signInMethods.js +46 -0
  48. package/lib/commonjs/ui/components/signIn/signInMethods.js.map +1 -0
  49. package/lib/commonjs/ui/context/OxyContext.js +16 -16
  50. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  51. package/lib/commonjs/ui/context/commitSessionFlow.js +0 -43
  52. package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -1
  53. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +15 -1
  54. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -1
  55. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +1 -3
  56. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
  57. package/lib/commonjs/ui/oauth/browserAuthTransport.js +11 -4
  58. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -1
  59. package/lib/commonjs/ui/oauth/oauthHandshake.js +3 -0
  60. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -1
  61. package/lib/commonjs/ui/oauth/oauthPopup.js +2 -3
  62. package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -1
  63. package/lib/commonjs/ui/screens/ManageAccountScreen.js +2 -3
  64. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  65. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +1 -1
  66. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  67. package/lib/commonjs/ui/session/authStore.js +0 -21
  68. package/lib/commonjs/ui/session/authStore.js.map +1 -1
  69. package/lib/commonjs/ui/utils/accountDeletionHandoff.js +1 -1
  70. package/lib/commonjs/ui/utils/accountDeletionHandoff.js.map +1 -1
  71. package/lib/module/assets/assets/signIn/slide-1.jpg +0 -0
  72. package/lib/module/assets/assets/signIn/slide-1.jpg.d.ts +3 -0
  73. package/lib/module/assets/assets/signIn/slide-2.jpg +0 -0
  74. package/lib/module/assets/assets/signIn/slide-2.jpg.d.ts +3 -0
  75. package/lib/module/assets/assets/signIn/slide-3.jpg +0 -0
  76. package/lib/module/assets/assets/signIn/slide-3.jpg.d.ts +3 -0
  77. package/lib/module/assets/assets/signIn/slide-4.jpg +0 -0
  78. package/lib/module/assets/assets/signIn/slide-4.jpg.d.ts +3 -0
  79. package/lib/module/assets/signIn/slide-1.jpg +0 -0
  80. package/lib/module/assets/signIn/slide-2.jpg +0 -0
  81. package/lib/module/assets/signIn/slide-3.jpg +0 -0
  82. package/lib/module/assets/signIn/slide-4.jpg +0 -0
  83. package/lib/module/index.js +7 -6
  84. package/lib/module/index.js.map +1 -1
  85. package/lib/module/ui/components/OxyAccountDialogScreen.js +14 -59
  86. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
  87. package/lib/module/ui/components/OxyAuthChooser.js +37 -45
  88. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
  89. package/lib/module/ui/components/OxyProvider.js +0 -2
  90. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  91. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  92. package/lib/module/ui/components/authChooser/AccountsMenuView.js +21 -2
  93. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  94. package/lib/module/ui/components/authChooser/primitives.js +1 -44
  95. package/lib/module/ui/components/authChooser/primitives.js.map +1 -1
  96. package/lib/module/ui/components/authChooser/signInFailureMessage.js +1 -7
  97. package/lib/module/ui/components/authChooser/signInFailureMessage.js.map +1 -1
  98. package/lib/module/ui/components/authChooser/styles.js +0 -31
  99. package/lib/module/ui/components/authChooser/styles.js.map +1 -1
  100. package/lib/module/ui/components/authChooser/types.js +2 -2
  101. package/lib/module/ui/components/oauthNavigation.js +1 -1
  102. package/lib/module/ui/components/signIn/InlineCommonsQr.js +157 -0
  103. package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -0
  104. package/lib/module/ui/components/signIn/OxyAccountPicker.js +106 -0
  105. package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -0
  106. package/lib/module/ui/components/signIn/OxyAuthScreen.js +151 -0
  107. package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -0
  108. package/lib/module/ui/components/signIn/OxySignInPanel.js +366 -0
  109. package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -0
  110. package/lib/module/ui/components/signIn/OxySignUpPanel.js +75 -0
  111. package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -0
  112. package/lib/module/ui/components/signIn/artwork.js +16 -0
  113. package/lib/module/ui/components/signIn/artwork.js.map +1 -0
  114. package/lib/module/ui/components/signIn/passkeyError.js +40 -0
  115. package/lib/module/ui/components/signIn/passkeyError.js.map +1 -0
  116. package/lib/module/ui/components/signIn/signInMethods.js +42 -0
  117. package/lib/module/ui/components/signIn/signInMethods.js.map +1 -0
  118. package/lib/module/ui/context/OxyContext.js +17 -17
  119. package/lib/module/ui/context/OxyContext.js.map +1 -1
  120. package/lib/module/ui/context/commitSessionFlow.js +0 -42
  121. package/lib/module/ui/context/commitSessionFlow.js.map +1 -1
  122. package/lib/module/ui/hooks/accountDialogSnapshot.js +14 -1
  123. package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -1
  124. package/lib/module/ui/hooks/useDeviceSwitcher.js +3 -5
  125. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
  126. package/lib/module/ui/oauth/browserAuthTransport.js +11 -4
  127. package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -1
  128. package/lib/module/ui/oauth/oauthHandshake.js +3 -0
  129. package/lib/module/ui/oauth/oauthHandshake.js.map +1 -1
  130. package/lib/module/ui/oauth/oauthPopup.js +2 -3
  131. package/lib/module/ui/oauth/oauthPopup.js.map +1 -1
  132. package/lib/module/ui/screens/ManageAccountScreen.js +3 -4
  133. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  134. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +1 -1
  135. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  136. package/lib/module/ui/session/authStore.js +1 -22
  137. package/lib/module/ui/session/authStore.js.map +1 -1
  138. package/lib/module/ui/utils/accountDeletionHandoff.js +2 -2
  139. package/lib/module/ui/utils/accountDeletionHandoff.js.map +1 -1
  140. package/lib/typescript/assets/signIn/slide-1.jpg.d.ts +3 -0
  141. package/lib/typescript/assets/signIn/slide-2.jpg.d.ts +3 -0
  142. package/lib/typescript/assets/signIn/slide-3.jpg.d.ts +3 -0
  143. package/lib/typescript/assets/signIn/slide-4.jpg.d.ts +3 -0
  144. package/lib/typescript/commonjs/index.d.ts +8 -2
  145. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  146. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +5 -12
  148. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
  149. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  150. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -1
  151. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  153. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +0 -19
  154. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts +1 -5
  156. package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
  157. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +0 -31
  158. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +3 -3
  160. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +1 -1
  161. package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts +20 -0
  162. package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts +34 -0
  164. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts +43 -0
  166. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts +43 -0
  168. package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts +17 -0
  170. package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts +8 -0
  172. package/lib/typescript/commonjs/ui/components/signIn/artwork.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts +16 -0
  174. package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts +39 -0
  176. package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +0 -40
  179. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -1
  180. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +8 -9
  181. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +7 -1
  183. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +9 -0
  186. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +3 -0
  188. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +2 -3
  190. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/ui/session/authStore.d.ts +0 -30
  193. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -26
  195. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  196. package/lib/typescript/module/index.d.ts +8 -2
  197. package/lib/typescript/module/index.d.ts.map +1 -1
  198. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  199. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +5 -12
  200. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
  201. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  202. package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -1
  203. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
  204. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  205. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +0 -19
  206. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -1
  207. package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts +1 -5
  208. package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
  209. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +0 -31
  210. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
  211. package/lib/typescript/module/ui/components/authChooser/types.d.ts +3 -3
  212. package/lib/typescript/module/ui/components/oauthNavigation.d.ts +1 -1
  213. package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts +20 -0
  214. package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -0
  215. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts +34 -0
  216. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -0
  217. package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts +43 -0
  218. package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -0
  219. package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts +43 -0
  220. package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -0
  221. package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts +17 -0
  222. package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -0
  223. package/lib/typescript/module/ui/components/signIn/artwork.d.ts +8 -0
  224. package/lib/typescript/module/ui/components/signIn/artwork.d.ts.map +1 -0
  225. package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts +16 -0
  226. package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts.map +1 -0
  227. package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts +39 -0
  228. package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts.map +1 -0
  229. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  230. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +0 -40
  231. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -1
  232. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +8 -9
  233. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
  234. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +7 -1
  235. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  236. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  237. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +9 -0
  238. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -1
  239. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +3 -0
  240. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -1
  241. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +2 -3
  242. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -1
  243. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  244. package/lib/typescript/module/ui/session/authStore.d.ts +0 -30
  245. package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -1
  246. package/lib/typescript/module/ui/types/navigation.d.ts +0 -26
  247. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  248. package/package.json +4 -7
  249. package/src/assets/signIn/slide-1.jpg +0 -0
  250. package/src/assets/signIn/slide-1.jpg.d.ts +3 -0
  251. package/src/assets/signIn/slide-2.jpg +0 -0
  252. package/src/assets/signIn/slide-2.jpg.d.ts +3 -0
  253. package/src/assets/signIn/slide-3.jpg +0 -0
  254. package/src/assets/signIn/slide-3.jpg.d.ts +3 -0
  255. package/src/assets/signIn/slide-4.jpg +0 -0
  256. package/src/assets/signIn/slide-4.jpg.d.ts +3 -0
  257. package/src/index.ts +16 -7
  258. package/src/ui/components/OxyAccountDialogScreen.tsx +11 -72
  259. package/src/ui/components/OxyAuthChooser.tsx +37 -53
  260. package/src/ui/components/OxyProvider.tsx +0 -2
  261. package/src/ui/components/ProfileButton.tsx +1 -4
  262. package/src/ui/components/authChooser/AccountsMenuView.tsx +28 -1
  263. package/src/ui/components/authChooser/primitives.tsx +1 -39
  264. package/src/ui/components/authChooser/signInFailureMessage.ts +1 -7
  265. package/src/ui/components/authChooser/styles.ts +0 -31
  266. package/src/ui/components/authChooser/types.ts +3 -3
  267. package/src/ui/components/oauthNavigation.ts +1 -1
  268. package/src/ui/components/signIn/InlineCommonsQr.tsx +135 -0
  269. package/src/ui/components/signIn/OxyAccountPicker.tsx +129 -0
  270. package/src/ui/components/signIn/OxyAuthScreen.tsx +123 -0
  271. package/src/ui/components/signIn/OxySignInPanel.tsx +392 -0
  272. package/src/ui/components/signIn/OxySignUpPanel.tsx +86 -0
  273. package/src/ui/components/signIn/artwork.ts +13 -0
  274. package/src/ui/components/signIn/passkeyError.ts +44 -0
  275. package/src/ui/components/signIn/signInMethods.ts +51 -0
  276. package/src/ui/context/OxyContext.tsx +21 -18
  277. package/src/ui/context/__tests__/commitSessionFlow.test.ts +0 -89
  278. package/src/ui/context/commitSessionFlow.ts +0 -61
  279. package/src/ui/context/oxyContextTypes.ts +9 -9
  280. package/src/ui/hooks/accountDialogSnapshot.ts +20 -1
  281. package/src/ui/hooks/useDeviceSwitcher.ts +3 -11
  282. package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +21 -0
  283. package/src/ui/oauth/browserAuthTransport.ts +14 -4
  284. package/src/ui/oauth/oauthHandshake.ts +4 -1
  285. package/src/ui/oauth/oauthPopup.ts +2 -3
  286. package/src/ui/screens/ManageAccountScreen.tsx +3 -4
  287. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
  288. package/src/ui/session/authStore.ts +0 -37
  289. package/src/ui/types/navigation.ts +0 -26
  290. package/src/ui/utils/accountDeletionHandoff.ts +2 -2
  291. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +0 -132
  292. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +0 -1
  293. package/lib/commonjs/ui/components/authChooser/SignUpView.js +0 -77
  294. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +0 -1
  295. package/lib/commonjs/ui/components/passkeyHubPopup.js +0 -33
  296. package/lib/commonjs/ui/components/passkeyHubPopup.js.map +0 -1
  297. package/lib/commonjs/ui/oauth/legacyRedirectLanes.js +0 -48
  298. package/lib/commonjs/ui/oauth/legacyRedirectLanes.js.map +0 -1
  299. package/lib/module/ui/components/authChooser/SignInEntryView.js +0 -127
  300. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +0 -1
  301. package/lib/module/ui/components/authChooser/SignUpView.js +0 -73
  302. package/lib/module/ui/components/authChooser/SignUpView.js.map +0 -1
  303. package/lib/module/ui/components/passkeyHubPopup.js +0 -29
  304. package/lib/module/ui/components/passkeyHubPopup.js.map +0 -1
  305. package/lib/module/ui/oauth/legacyRedirectLanes.js +0 -44
  306. package/lib/module/ui/oauth/legacyRedirectLanes.js.map +0 -1
  307. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +0 -39
  308. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  309. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +0 -31
  310. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  311. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +0 -23
  312. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +0 -1
  313. package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts +0 -40
  314. package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts.map +0 -1
  315. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +0 -39
  316. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  317. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +0 -31
  318. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  319. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +0 -23
  320. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +0 -1
  321. package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts +0 -40
  322. package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts.map +0 -1
  323. package/src/ui/components/authChooser/SignInEntryView.tsx +0 -157
  324. package/src/ui/components/authChooser/SignUpView.tsx +0 -76
  325. package/src/ui/components/passkeyHubPopup.ts +0 -28
  326. package/src/ui/oauth/legacyRedirectLanes.ts +0 -43
@@ -0,0 +1,371 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.OxySignInPanel = void 0;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _components = require("react-native-css/components");
10
+ var _authCard = require("@oxy.so/bloom/auth-card");
11
+ var _button = require("@oxy.so/bloom/button");
12
+ var _divider = require("@oxy.so/bloom/divider");
13
+ var _RiKey2Line = require("@oxy.so/bloom/icons/RiKey2Line");
14
+ var _RiQrCodeLine = require("@oxy.so/bloom/icons/RiQrCodeLine");
15
+ var _theme = require("@oxy.so/bloom/theme");
16
+ var _textField = require("@oxy.so/bloom/text-field");
17
+ var _toast = require("@oxy.so/bloom/toast");
18
+ var _typography = require("@oxy.so/bloom/typography");
19
+ var _reactQuery = require("@tanstack/react-query");
20
+ var _OxyContext = require("../../context/OxyContext.js");
21
+ var _accountDialogSnapshot = require("../../hooks/accountDialogSnapshot.js");
22
+ var _useDeviceSwitcher = require("../../hooks/useDeviceSwitcher.js");
23
+ var _useI18n = require("../../hooks/useI18n.js");
24
+ var _commonsStoreLinks = require("../../utils/commonsStoreLinks.js");
25
+ var _isWebBrowser = require("../../utils/isWebBrowser.js");
26
+ var _primitives = require("../authChooser/primitives.js");
27
+ var _artwork = require("./artwork.js");
28
+ var _InlineCommonsQr = require("./InlineCommonsQr.js");
29
+ var _OxyAccountPicker = require("./OxyAccountPicker.js");
30
+ var _OxyAuthScreen = require("./OxyAuthScreen.js");
31
+ var _passkeyError = require("./passkeyError.js");
32
+ var _signInMethods = require("./signInMethods.js");
33
+ var _jsxRuntime = require("react/jsx-runtime");
34
+ /**
35
+ * THE Oxy sign-in screen. The account dialog every Oxy app opens and the
36
+ * auth.oxy.so page render this one component; only where it is mounted
37
+ * differs (`host`).
38
+ *
39
+ * picker a returning device: "Choose an account", then "Use another account"
40
+ * entry the header, the Commons way in, and the way in for someone with no
41
+ * account. On auth.oxy.so (`page`) also the username with its
42
+ * Continue — a username-first passkey sign-in, which takes a
43
+ * platform passkey AND a hardware security key with no resident
44
+ * credential (a U2F key such as a Titan) — and "or continue with" the
45
+ * discoverable passkey. From `md` that page is Bloom `AuthCard`'s
46
+ * split card, with the embedded QR over its photo carousel in the
47
+ * right column; below `md` it is "Continue with Oxy" at the top.
48
+ * In an app's dialog on the web, "Continue with Oxy" opens that page
49
+ * in a window over the app, like "Sign in with Google": the browser's
50
+ * session lives on auth.oxy.so, so every Oxy app shares it. On
51
+ * native it is "Continue with Oxy" ("Get Commons" without Commons).
52
+ *
53
+ * `signInMethods.ts` owns which blocks a platform gets.
54
+ */
55
+
56
+ const OxySignInPanel = ({
57
+ onSignedIn,
58
+ onCreateAccount,
59
+ onRecover,
60
+ loginHint,
61
+ appName = null,
62
+ host = 'page'
63
+ }) => {
64
+ const theme = (0, _theme.useTheme)();
65
+ const {
66
+ t
67
+ } = (0, _useI18n.useI18n)();
68
+ const queryClient = (0, _reactQuery.useQueryClient)();
69
+ const {
70
+ accountDialogController: controller,
71
+ openAccountDialog,
72
+ signInWithPasskey,
73
+ continueOnAuth
74
+ } = (0, _OxyContext.useOxy)();
75
+ const snapshot = (0, _accountDialogSnapshot.useAccountDialogSnapshot)(controller);
76
+ const {
77
+ principals,
78
+ activeContext
79
+ } = (0, _useDeviceSwitcher.useDeviceSwitcher)();
80
+ const methods = (0, _signInMethods.resolveSignInMethods)({
81
+ web: (0, _isWebBrowser.isWebBrowser)(),
82
+ host,
83
+ commonsAvailability: snapshot.commonsAvailability
84
+ });
85
+ const [showForm, setShowForm] = (0, _react.useState)(Boolean(loginHint));
86
+ const [identifier, setIdentifier] = (0, _react.useState)(loginHint ?? '');
87
+ const [pending, setPending] = (0, _react.useState)(false);
88
+ const [error, setError] = (0, _react.useState)(null);
89
+ const [rateLimitSeconds, setRateLimitSeconds] = (0, _react.useState)(0);
90
+ const blocked = pending || rateLimitSeconds > 0;
91
+
92
+ // The countdown after a 429: one tick a second until the person may retry.
93
+ (0, _react.useEffect)(() => {
94
+ if (rateLimitSeconds <= 0) return;
95
+ const timer = setTimeout(() => setRateLimitSeconds(seconds => Math.max(0, seconds - 1)), 1000);
96
+ return () => clearTimeout(timer);
97
+ }, [rateLimitSeconds]);
98
+
99
+ // On a page, a request the controller runs (the embedded QR, or one shown in
100
+ // the dialog opened over it) finishes the page's sign-in too. Only one that
101
+ // STARTED here: a completion already on the controller is somebody else's.
102
+ const [mountedAttempt] = (0, _react.useState)(snapshot.signIn.attempt);
103
+ const completedHere = snapshot.signIn.phase === 'completed' && snapshot.signIn.attempt !== mountedAttempt;
104
+ (0, _react.useEffect)(() => {
105
+ if (host === 'page' && completedHere) onSignedIn();
106
+ }, [host, completedHere, onSignedIn]);
107
+
108
+ /** Show the request a controller call just started — the dialog is where it lives. */
109
+ const showRequest = (0, _react.useCallback)(() => {
110
+ if (host === 'page') openAccountDialog('qr');
111
+ }, [host, openAccountDialog]);
112
+
113
+ // These open a window or leave the page, so they run straight from the
114
+ // press, before any await.
115
+ const continueWithOxy = () => {
116
+ void controller?.signInWithOxy();
117
+ showRequest();
118
+ };
119
+ const signInOnOxy = () => {
120
+ void continueOnAuth('signin').then(result => {
121
+ if (result.status === 'signed-in') onSignedIn();else if (result.status === 'failed') _toast.toast.error(t('signin.errors.failed'));
122
+ });
123
+ };
124
+ const useAnotherDevice = () => {
125
+ void controller?.showQr();
126
+ showRequest();
127
+ };
128
+ const getCommons = () => {
129
+ Promise.resolve().then(() => _reactNative.Linking.openURL((0, _commonsStoreLinks.getCommonsAcquisitionUrl)(_reactNative.Platform.OS))).catch(() => _toast.toast.error(t('accountSwitcher.linkOpenFailed')));
130
+ };
131
+ const runPasskey = async (username, failToast) => {
132
+ if (blocked) return;
133
+ setError(null);
134
+ setPending(true);
135
+ try {
136
+ await signInWithPasskey({
137
+ username
138
+ });
139
+ onSignedIn();
140
+ } catch (err) {
141
+ if ((0, _passkeyError.isRateLimited)(err)) {
142
+ setRateLimitSeconds(_passkeyError.RATE_LIMIT_SECONDS);
143
+ } else {
144
+ const message = (0, _passkeyError.describePasskeyError)(err, t);
145
+ setError(message);
146
+ _toast.toast.error(failToast, {
147
+ description: message
148
+ });
149
+ }
150
+ } finally {
151
+ setPending(false);
152
+ }
153
+ };
154
+ const submitUsername = () => {
155
+ const username = identifier.trim();
156
+ if (username) void runPasskey(username, t('signin.errors.failed'));else setError(t('signin.username.required'));
157
+ };
158
+
159
+ // A returning device starts at WHO. Not while adding an account from inside
160
+ // a signed-in app: the rows are the accounts it would add.
161
+ const pickerAllowed = host === 'dialog' ? !snapshot.hasSession : activeContext !== null;
162
+ const reauthenticate = context => {
163
+ setIdentifier(context.handle ?? '');
164
+ setShowForm(true);
165
+ };
166
+ const selectContext = async context => {
167
+ const outcome = await controller?.chooseContext(context.contextId).catch(() => 'failed');
168
+ switch (outcome) {
169
+ case 'switched':
170
+ // Every account-scoped query now describes somebody else.
171
+ void queryClient.invalidateQueries();
172
+ onSignedIn();
173
+ return;
174
+ case 'current':
175
+ onSignedIn();
176
+ return;
177
+ case 'signing-in':
178
+ // The request for that account is running; it shows where requests do.
179
+ showRequest();
180
+ return;
181
+ case 'failed':
182
+ // The pair could not be activated as it stands: sign in as it explicitly.
183
+ if (methods.passkey && context.handle) reauthenticate(context);else _toast.toast.error(t('accountSwitcher.toasts.activateFailed'));
184
+ return;
185
+ default:
186
+ return;
187
+ }
188
+ };
189
+ const showsPicker = pickerAllowed && !showForm && principals.length > 0;
190
+ // auth.oxy.so's page is the split card from `md`.
191
+ const splits = methods.commons === 'qr';
192
+ if (showsPicker) {
193
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyAccountPicker.OxyAccountPicker, {
194
+ principals: principals,
195
+ appName: appName,
196
+ signedOut: !snapshot.hasSession,
197
+ pendingContextId: snapshot.activatingContextId,
198
+ isLoading: snapshot.activatingContextId !== null,
199
+ onSelectContext: context => void selectContext(context),
200
+ onUseAnother: () => {
201
+ setIdentifier('');
202
+ setShowForm(true);
203
+ }
204
+ });
205
+ }
206
+ const shownError = rateLimitSeconds > 0 ? t('signin.errors.rateLimited', {
207
+ seconds: rateLimitSeconds
208
+ }) : error;
209
+ const adding = host === 'dialog' && snapshot.hasSession;
210
+ const title = adding ? t('signin.addAccountTitle') : t('signin.title');
211
+ const description = adding ? t('signin.addAccountSubtitle') : appName ? t('signin.subtitleToApp', {
212
+ app: appName
213
+ }) : t('signin.subtitle');
214
+ const noAccount = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_typography.Text, {
215
+ style: [styles.note, styles.noAccount, {
216
+ color: theme.colors.textSecondary
217
+ }],
218
+ children: [t('signin.noAccount'), ' ', /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
219
+ accessibilityRole: "link",
220
+ onPress: onCreateAccount,
221
+ style: [styles.noAccountLink, {
222
+ color: theme.colors.text
223
+ }],
224
+ testID: "create-account-link",
225
+ children: t('signin.createAccount')
226
+ })]
227
+ });
228
+ // One solid action per screen: the username's Continue when there is one.
229
+ const commonsAppearance = methods.passkey ? 'outline' : 'solid';
230
+ const continueWithOxyButton = /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
231
+ appearance: commonsAppearance,
232
+ tone: commonsAppearance === 'solid' ? 'action' : 'neutral',
233
+ size: "lg",
234
+ fullWidth: true,
235
+ onPress: methods.commons === 'window' ? signInOnOxy : continueWithOxy,
236
+ testID: "continue-with-oxy",
237
+ children: t('accountSwitcher.continueWithOxy')
238
+ });
239
+ const form = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_OxyAuthScreen.OxyAuthScreen, {
240
+ className: splits ? 'md:max-w-none' : undefined,
241
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyAuthScreen.OxyAuthScreenHeader, {
242
+ title: title,
243
+ description: description
244
+ }), splits ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
245
+ className: "md:hidden",
246
+ children: continueWithOxyButton
247
+ }) : null, methods.commons === 'continue' || methods.commons === 'window' ? continueWithOxyButton : null, methods.commons === 'get-commons' ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
248
+ style: styles.stack,
249
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
250
+ style: [styles.note, {
251
+ color: theme.colors.textSecondary
252
+ }],
253
+ children: t('accountSwitcher.commonsNotInstalled')
254
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
255
+ appearance: "solid",
256
+ tone: "action",
257
+ size: "lg",
258
+ fullWidth: true,
259
+ onPress: getCommons,
260
+ testID: "get-commons-button",
261
+ children: t('accountSwitcher.getCommons')
262
+ })]
263
+ }) : null, methods.passkey ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
264
+ style: styles.stack,
265
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
266
+ style: styles.field,
267
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_textField.TextFieldLabel, {
268
+ nativeID: "username-label",
269
+ children: t('signin.username.label')
270
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_textField.TextField, {
271
+ invalid: shownError !== null,
272
+ disabled: blocked,
273
+ radius: 999,
274
+ style: styles.input,
275
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_textField.TextFieldInput, {
276
+ testID: "username",
277
+ label: t('signin.username.label'),
278
+ value: identifier,
279
+ onValueChange: value => {
280
+ setIdentifier(value);
281
+ if (error) setError(null);
282
+ },
283
+ placeholder: t('signin.username.placeholder'),
284
+ autoComplete: "username",
285
+ autoCapitalize: "none",
286
+ autoCorrect: false,
287
+ autoFocus: _reactNative.Platform.OS === 'web',
288
+ returnKeyType: "go",
289
+ onSubmitEditing: submitUsername,
290
+ "aria-required": true
291
+ })
292
+ }), shownError ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_textField.TextFieldHint, {
293
+ invalid: true,
294
+ children: shownError
295
+ }) : null]
296
+ }), noAccount, /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
297
+ appearance: "solid",
298
+ tone: "action",
299
+ size: "lg",
300
+ fullWidth: true,
301
+ loading: pending,
302
+ disabled: blocked,
303
+ onPress: submitUsername,
304
+ testID: "username-continue",
305
+ children: t('signin.actions.continue')
306
+ })]
307
+ }) : null, methods.commons === 'window' ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_divider.Divider, {
308
+ children: t('signin.orContinueWith')
309
+ }), methods.passkey ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
310
+ appearance: "outline",
311
+ tone: "neutral",
312
+ size: "lg",
313
+ fullWidth: true,
314
+ leadingIcon: _RiKey2Line.RiKey2Line,
315
+ disabled: blocked,
316
+ onPress: () => void runPasskey(undefined, t('signin.errors.failed')),
317
+ testID: "passkey-sign-in",
318
+ children: t('signin.methods.passkey')
319
+ }) : methods.commons === 'window' ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
320
+ appearance: "outline",
321
+ tone: "neutral",
322
+ size: "lg",
323
+ fullWidth: true,
324
+ leadingIcon: _RiQrCodeLine.RiQrCodeLine,
325
+ onPress: useAnotherDevice,
326
+ testID: "scan-qr",
327
+ children: t('accountSwitcher.scanQr')
328
+ }), methods.passkey ? null : noAccount, onRecover ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.SubtleLink, {
329
+ label: t('signin.recoverLink'),
330
+ theme: theme,
331
+ onPress: onRecover,
332
+ testID: "recover-link"
333
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyAuthScreen.OxyAuthTerms, {})]
334
+ });
335
+ if (!splits) return form;
336
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyAuthScreen.OxyAuthSplit, {
337
+ aside: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
338
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_authCard.AuthMediaCarousel, {
339
+ slides: _artwork.SIGN_IN_SLIDES,
340
+ style: _reactNative.StyleSheet.absoluteFill
341
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_InlineCommonsQr.InlineCommonsQr, {
342
+ controller: controller
343
+ })]
344
+ }),
345
+ children: form
346
+ });
347
+ };
348
+ exports.OxySignInPanel = OxySignInPanel;
349
+ const styles = _reactNative.StyleSheet.create({
350
+ stack: {
351
+ gap: 12
352
+ },
353
+ field: {
354
+ gap: 6
355
+ },
356
+ note: {
357
+ fontSize: 14,
358
+ lineHeight: 20,
359
+ textAlign: 'center'
360
+ },
361
+ noAccount: {
362
+ textAlign: 'left'
363
+ },
364
+ noAccountLink: {
365
+ textDecorationLine: 'underline'
366
+ },
367
+ input: {
368
+ height: 40
369
+ }
370
+ });
371
+ //# sourceMappingURL=OxySignInPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_components","_authCard","_button","_divider","_RiKey2Line","_RiQrCodeLine","_theme","_textField","_toast","_typography","_reactQuery","_OxyContext","_accountDialogSnapshot","_useDeviceSwitcher","_useI18n","_commonsStoreLinks","_isWebBrowser","_primitives","_artwork","_InlineCommonsQr","_OxyAccountPicker","_OxyAuthScreen","_passkeyError","_signInMethods","_jsxRuntime","OxySignInPanel","onSignedIn","onCreateAccount","onRecover","loginHint","appName","host","theme","useTheme","t","useI18n","queryClient","useQueryClient","accountDialogController","controller","openAccountDialog","signInWithPasskey","continueOnAuth","useOxy","snapshot","useAccountDialogSnapshot","principals","activeContext","useDeviceSwitcher","methods","resolveSignInMethods","web","isWebBrowser","commonsAvailability","showForm","setShowForm","useState","Boolean","identifier","setIdentifier","pending","setPending","error","setError","rateLimitSeconds","setRateLimitSeconds","blocked","useEffect","timer","setTimeout","seconds","Math","max","clearTimeout","mountedAttempt","signIn","attempt","completedHere","phase","showRequest","useCallback","continueWithOxy","signInWithOxy","signInOnOxy","then","result","status","toast","useAnotherDevice","showQr","getCommons","Promise","resolve","Linking","openURL","getCommonsAcquisitionUrl","Platform","OS","catch","runPasskey","username","failToast","err","isRateLimited","RATE_LIMIT_SECONDS","message","describePasskeyError","description","submitUsername","trim","pickerAllowed","hasSession","reauthenticate","context","handle","selectContext","outcome","chooseContext","contextId","invalidateQueries","passkey","showsPicker","length","splits","commons","jsx","OxyAccountPicker","signedOut","pendingContextId","activatingContextId","isLoading","onSelectContext","onUseAnother","shownError","adding","title","app","noAccount","jsxs","Text","style","styles","note","color","colors","textSecondary","children","accessibilityRole","onPress","noAccountLink","text","testID","commonsAppearance","continueWithOxyButton","Button","appearance","tone","size","fullWidth","form","OxyAuthScreen","className","undefined","OxyAuthScreenHeader","View","stack","field","TextFieldLabel","nativeID","TextField","invalid","disabled","radius","input","TextFieldInput","label","value","onValueChange","placeholder","autoComplete","autoCapitalize","autoCorrect","autoFocus","returnKeyType","onSubmitEditing","TextFieldHint","loading","Divider","leadingIcon","RiKey2Line","RiQrCodeLine","SubtleLink","OxyAuthTerms","OxyAuthSplit","aside","Fragment","AuthMediaCarousel","slides","SIGN_IN_SLIDES","StyleSheet","absoluteFill","InlineCommonsQr","exports","create","gap","fontSize","lineHeight","textAlign","textDecorationLine","height"],"sourceRoot":"../../../../../src","sources":["ui/components/signIn/OxySignInPanel.tsx"],"mappings":";;;;;;AAuBA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AACA,IAAAS,UAAA,GAAAT,OAAA;AACA,IAAAU,MAAA,GAAAV,OAAA;AACA,IAAAW,WAAA,GAAAX,OAAA;AAEA,IAAAY,WAAA,GAAAZ,OAAA;AACA,IAAAa,WAAA,GAAAb,OAAA;AACA,IAAAc,sBAAA,GAAAd,OAAA;AACA,IAAAe,kBAAA,GAAAf,OAAA;AACA,IAAAgB,QAAA,GAAAhB,OAAA;AACA,IAAAiB,kBAAA,GAAAjB,OAAA;AACA,IAAAkB,aAAA,GAAAlB,OAAA;AACA,IAAAmB,WAAA,GAAAnB,OAAA;AACA,IAAAoB,QAAA,GAAApB,OAAA;AACA,IAAAqB,gBAAA,GAAArB,OAAA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,uBAAU,CAACI,MAAM,CAAC;EAC/BtC,KAAK,EAAE;IACLuC,GAAG,EAAE;EACP,CAAC;EACDtC,KAAK,EAAE;IACLsC,GAAG,EAAE;EACP,CAAC;EACD9D,IAAI,EAAE;IACJ+D,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,SAAS,EAAE;EACb,CAAC;EACDtE,SAAS,EAAE;IACTsE,SAAS,EAAE;EACb,CAAC;EACD1D,aAAa,EAAE;IACb2D,kBAAkB,EAAE;EACtB,CAAC;EACDnC,KAAK,EAAE;IACLoC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.OxySignUpPanel = void 0;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _button = require("@oxy.so/bloom/button");
10
+ var _RiKey2Line = require("@oxy.so/bloom/icons/RiKey2Line");
11
+ var _theme = require("@oxy.so/bloom/theme");
12
+ var _toast = require("@oxy.so/bloom/toast");
13
+ var _OxyContext = require("../../context/OxyContext.js");
14
+ var _accountDialogSnapshot = require("../../hooks/accountDialogSnapshot.js");
15
+ var _useI18n = require("../../hooks/useI18n.js");
16
+ var _commonsStoreLinks = require("../../utils/commonsStoreLinks.js");
17
+ var _isWebBrowser = require("../../utils/isWebBrowser.js");
18
+ var _primitives = require("../authChooser/primitives.js");
19
+ var _OxyAuthScreen = require("./OxyAuthScreen.js");
20
+ var _jsxRuntime = require("react/jsx-runtime");
21
+ /**
22
+ * Account creation in the account dialog.
23
+ *
24
+ * On the web the account is made on auth.oxy.so, in its window over the app
25
+ * (`onCreateOnWeb`), and this app is signed in as it. On native, Commons
26
+ * creates the identity: straight in when it is installed, "Get Commons"
27
+ * otherwise.
28
+ */
29
+
30
+ /** Commons' own identity-creation deep link. */const COMMONS_CREATE_IDENTITY_URL = 'oxycommons://create-identity';
31
+ const OxySignUpPanel = ({
32
+ onSignIn,
33
+ onCreateOnWeb
34
+ }) => {
35
+ const theme = (0, _theme.useTheme)();
36
+ const {
37
+ t
38
+ } = (0, _useI18n.useI18n)();
39
+ const {
40
+ accountDialogController: controller
41
+ } = (0, _OxyContext.useOxy)();
42
+ const snapshot = (0, _accountDialogSnapshot.useAccountDialogSnapshot)(controller);
43
+ const web = (0, _isWebBrowser.isWebBrowser)();
44
+ const openExternal = (0, _react.useCallback)(url => {
45
+ Promise.resolve().then(() => _reactNative.Linking.openURL(url)).catch(() => _toast.toast.error(t('accountSwitcher.linkOpenFailed')));
46
+ }, [t]);
47
+ const commonsInstalled = snapshot.commonsAvailability === 'available';
48
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_OxyAuthScreen.OxyAuthScreen, {
49
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyAuthScreen.OxyAuthScreenHeader, {
50
+ title: t('signup.title'),
51
+ description: web ? t('signup.webSubtitle') : t('signup.subtitle')
52
+ }), web ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
53
+ appearance: "solid",
54
+ tone: "action",
55
+ size: "lg",
56
+ fullWidth: true,
57
+ leadingIcon: _RiKey2Line.RiKey2Line,
58
+ onPress: onCreateOnWeb,
59
+ testID: "signup-open-identity",
60
+ children: t('signup.createAccount')
61
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
62
+ appearance: "solid",
63
+ tone: "action",
64
+ size: "lg",
65
+ fullWidth: true,
66
+ onPress: () => openExternal(commonsInstalled ? COMMONS_CREATE_IDENTITY_URL : (0, _commonsStoreLinks.getCommonsAcquisitionUrl)(_reactNative.Platform.OS)),
67
+ testID: "signup-commons",
68
+ children: commonsInstalled ? t('signup.createInCommons') : t('accountSwitcher.getCommons')
69
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.SubtleLink, {
70
+ label: t('signup.backToSignInLink'),
71
+ theme: theme,
72
+ onPress: onSignIn,
73
+ testID: "back-to-sign-in"
74
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_OxyAuthScreen.OxyAuthTerms, {})]
75
+ });
76
+ };
77
+ exports.OxySignUpPanel = OxySignUpPanel;
78
+ //# sourceMappingURL=OxySignUpPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_button","_RiKey2Line","_theme","_toast","_OxyContext","_accountDialogSnapshot","_useI18n","_commonsStoreLinks","_isWebBrowser","_primitives","_OxyAuthScreen","_jsxRuntime","COMMONS_CREATE_IDENTITY_URL","OxySignUpPanel","onSignIn","onCreateOnWeb","theme","useTheme","t","useI18n","accountDialogController","controller","useOxy","snapshot","useAccountDialogSnapshot","web","isWebBrowser","openExternal","useCallback","url","Promise","resolve","then","Linking","openURL","catch","toast","error","commonsInstalled","commonsAvailability","jsxs","OxyAuthScreen","children","jsx","OxyAuthScreenHeader","title","description","Button","appearance","tone","size","fullWidth","leadingIcon","RiKey2Line","onPress","testID","getCommonsAcquisitionUrl","Platform","OS","SubtleLink","label","OxyAuthTerms","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/signIn/OxySignUpPanel.tsx"],"mappings":";;;;;;AAUA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,sBAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,kBAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAV,OAAA;AACA,IAAAW,WAAA,GAAAX,OAAA;AACA,IAAAY,cAAA,GAAAZ,OAAA;AAAmF,IAAAa,WAAA,GAAAb,OAAA;AAtBnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAiBA,g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TC,SAAS;MACTC,WAAW,EAAEC,sBAAW;MACxBC,OAAO,EAAEvC,aAAc;MACvBwC,MAAM,EAAC,sBAAsB;MAAAb,QAAA,EAE5BxB,CAAC,CAAC,sBAAsB;IAAC,CACpB,CAAC,gBAET,IAAAP,WAAA,CAAAgC,GAAA,EAAC3C,OAAA,CAAA+C,MAAM;MACLC,UAAU,EAAC,OAAO;MAClBC,IAAI,EAAC,QAAQ;MACbC,IAAI,EAAC,IAAI;MACTC,SAAS;MACTG,OAAO,EAAEA,CAAA,KACP3B,YAAY,CAACW,gBAAgB,GAAG1B,2BAA2B,GAAG,IAAA4C,2CAAwB,EAACC,qBAAQ,CAACC,EAAE,CAAC,CACpG;MACDH,MAAM,EAAC,gBAAgB;MAAAb,QAAA,EAEtBJ,gBAAgB,GAAGpB,CAAC,CAAC,wBAAwB,CAAC,GAAGA,CAAC,CAAC,4BAA4B;IAAC,CAC3E,CACT,eACD,IAAAP,WAAA,CAAAgC,GAAA,EAAClC,WAAA,CAAAkD,UAAU;MAACC,KAAK,EAAE1C,CAAC,CAAC,yBAAyB,CAAE;MAACF,KAAK,EAAEA,KAAM;MAACsC,OAAO,EAAExC,QAAS;MAACyC,MAAM,EAAC;IAAiB,CAAE,CAAC,eAC7G,IAAA5C,WAAA,CAAAgC,GAAA,EAACjC,cAAA,CAAAmD,YAAY,IAAE,CAAC;EAAA,CACH,CAAC;AAEpB,CAAC;AAACC,OAAA,CAAAjD,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SIGN_IN_SLIDES = void 0;
7
+ var _slide = _interopRequireDefault(require("../../../assets/signIn/slide-1.jpg"));
8
+ var _slide2 = _interopRequireDefault(require("../../../assets/signIn/slide-2.jpg"));
9
+ var _slide3 = _interopRequireDefault(require("../../../assets/signIn/slide-3.jpg"));
10
+ var _slide4 = _interopRequireDefault(require("../../../assets/signIn/slide-4.jpg"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ /**
13
+ * The photos the sign-in split card's carousel turns through. Shipped with the
14
+ * SDK and imported like its icon fonts, so every host serves them from its own
15
+ * origin — nothing to allow in anyone's CSP.
16
+ */
17
+
18
+ const SIGN_IN_SLIDES = exports.SIGN_IN_SLIDES = [_slide.default, _slide2.default, _slide3.default, _slide4.default].map(source => ({
19
+ source
20
+ }));
21
+ //# sourceMappingURL=artwork.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_slide","_interopRequireDefault","require","_slide2","_slide3","_slide4","e","__esModule","default","SIGN_IN_SLIDES","exports","slide1","slide2","slide3","slide4","map","source"],"sourceRoot":"../../../../../src","sources":["ui/components/signIn/artwork.ts"],"mappings":";;;;;;AAOA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,OAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAwD,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAVxD;AACA;AACA;AACA;AACA;;AAQO,MAAMG,cAAgC,GAAAC,OAAA,CAAAD,cAAA,GAAG,CAACE,cAAM,EAAEC,eAAM,EAAEC,eAAM,EAAEC,eAAM,CAAC,CAACC,GAAG,CAAEC,MAAM,KAAM;EAAEA;AAAO,CAAC,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.RATE_LIMIT_SECONDS = void 0;
7
+ exports.describePasskeyError = describePasskeyError;
8
+ exports.isRateLimited = isRateLimited;
9
+ /**
10
+ * The message for a failed passkey sign-in, and whether it was rate-limited.
11
+ *
12
+ * A dismissed or timed-out browser prompt rejects with a `NotAllowedError` /
13
+ * `AbortError` DOMException, often re-wrapped by `@simplewebauthn/browser` as a
14
+ * `WebAuthnError` whose `cause` is the original — so the cancellation shape is
15
+ * looked for along the cause chain, and reported calmly instead of as the raw
16
+ * "The operation either timed out or was not allowed…".
17
+ */
18
+
19
+ /** How long the surface waits after a 429 before it lets the person retry. */
20
+ const RATE_LIMIT_SECONDS = exports.RATE_LIMIT_SECONDS = 60;
21
+ function isCancellation(error) {
22
+ let current = error;
23
+ for (let depth = 0; depth < 5 && current instanceof Error; depth += 1) {
24
+ if (current.name === 'NotAllowedError' || current.name === 'AbortError') return true;
25
+ // `@simplewebauthn/browser`'s stable code for an aborted ceremony.
26
+ if (current.code === 'ERROR_CEREMONY_ABORTED') return true;
27
+ current = current.cause;
28
+ }
29
+ return false;
30
+ }
31
+
32
+ /** An HTTP status off a thrown SDK error (ApiError- or axios-shaped). */
33
+ function errorStatus(error) {
34
+ return error?.status ?? error?.response?.status;
35
+ }
36
+ function isRateLimited(error) {
37
+ return errorStatus(error) === 429;
38
+ }
39
+
40
+ /** The inline message for a passkey ceremony that did not sign anyone in. */
41
+ function describePasskeyError(error, t) {
42
+ if (isCancellation(error)) return t('signin.errors.passkeyCancelled');
43
+ if (error instanceof Error && error.message.trim().length > 0) return error.message;
44
+ return t('signin.errors.passkeyFailed');
45
+ }
46
+ //# sourceMappingURL=passkeyError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RATE_LIMIT_SECONDS","exports","isCancellation","error","current","depth","Error","name","code","cause","errorStatus","status","response","isRateLimited","describePasskeyError","t","message","trim","length"],"sourceRoot":"../../../../../src","sources":["ui/components/signIn/passkeyError.ts"],"mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;AACO,MAAMA,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,EAAE;AAEpC,SAASE,cAAcA,CAACC,KAAc,EAAW;EAC/C,IAAIC,OAAgB,GAAGD,KAAK;EAC5B,KAAK,IAAIE,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAG,CAAC,IAAID,OAAO,YAAYE,KAAK,EAAED,KAAK,IAAI,CAAC,EAAE;IACrE,IAAID,OAAO,CAACG,IAAI,KAAK,iBAAiB,IAAIH,OAAO,CAACG,IAAI,KAAK,YAAY,EAAE,OAAO,IAAI;IACpF;IACA,IAAKH,OAAO,CAAwBI,IAAI,KAAK,wBAAwB,EAAE,OAAO,IAAI;IAClFJ,OAAO,GAAIA,OAAO,CAAyBK,KAAK;EAClD;EACA,OAAO,KAAK;AACd;;AAEA;AACA,SAASC,WAAWA,CAACP,KAAc,EAAsB;EACvD,OACGA,KAAK,EAAsCQ,MAAM,IACjDR,KAAK,EAAqDS,QAAQ,EAAED,MAAM;AAE/E;AAEO,SAASE,aAAaA,CAACV,KAAc,EAAW;EACrD,OAAOO,WAAW,CAACP,KAAK,CAAC,KAAK,GAAG;AACnC;;AAEA;AACO,SAASW,oBAAoBA,CAACX,KAAc,EAAEY,CAAY,EAAU;EACzE,IAAIb,cAAc,CAACC,KAAK,CAAC,EAAE,OAAOY,CAAC,CAAC,gCAAgC,CAAC;EACrE,IAAIZ,KAAK,YAAYG,KAAK,IAAIH,KAAK,CAACa,OAAO,CAACC,IAAI,CAAC,CAAC,CAACC,MAAM,GAAG,CAAC,EAAE,OAAOf,KAAK,CAACa,OAAO;EACnF,OAAOD,CAAC,CAAC,6BAA6B,CAAC;AACzC","ignoreList":[]}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.resolveSignInMethods = resolveSignInMethods;
7
+ /**
8
+ * Which sign-in methods a surface offers, from where it runs.
9
+ *
10
+ * One screen everywhere; only the transport behind each block changes:
11
+ *
12
+ * - auth.oxy.so (`page`) is where the web signs in: the embedded Commons QR
13
+ * (the split card's right column from `md`, "Continue with Oxy" below it),
14
+ * the username with its Continue, and the passkey — asserted right here,
15
+ * on the one origin every Oxy passkey belongs to;
16
+ * - an app's account dialog on the web (`dialog`) opens that screen in a
17
+ * window over the app ("Continue with Oxy"), like "Sign in with Google":
18
+ * the browser's session lives on auth.oxy.so, so every Oxy app shares it;
19
+ * - native signs in with Commons: "Continue with Oxy", or "Get Commons" on a
20
+ * device that has no Commons to continue with.
21
+ */
22
+
23
+ /**
24
+ * `qr` — auth.oxy.so: the embedded QR from `md`, "Continue with Oxy" below.
25
+ * `window` — an app on the web: "Continue with Oxy" opens auth.oxy.so's window.
26
+ * `continue` — native "Continue with Oxy": Oxy picks the route (shared
27
+ * keychain, Commons on this device, a push, or the QR view).
28
+ * `get-commons` — native, and Commons is not installed here.
29
+ */
30
+
31
+ function resolveSignInMethods(facts) {
32
+ if (facts.web) {
33
+ return facts.host === 'page' ? {
34
+ commons: 'qr',
35
+ passkey: true
36
+ } : {
37
+ commons: 'window',
38
+ passkey: false
39
+ };
40
+ }
41
+ return {
42
+ commons: facts.commonsAvailability === 'unavailable' ? 'get-commons' : 'continue',
43
+ passkey: false
44
+ };
45
+ }
46
+ //# sourceMappingURL=signInMethods.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["resolveSignInMethods","facts","web","host","commons","passkey","commonsAvailability"],"sourceRoot":"../../../../../src","sources":["ui/components/signIn/signInMethods.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;;AAkBO,SAASA,oBAAoBA,CAACC,KAAyB,EAAiB;EAC7E,IAAIA,KAAK,CAACC,GAAG,EAAE;IACb,OAAOD,KAAK,CAACE,IAAI,KAAK,MAAM,GAAG;MAAEC,OAAO,EAAE,IAAI;MAAEC,OAAO,EAAE;IAAK,CAAC,GAAG;MAAED,OAAO,EAAE,QAAQ;MAAEC,OAAO,EAAE;IAAM,CAAC;EACzG;EACA,OAAO;IACLD,OAAO,EAAEH,KAAK,CAACK,mBAAmB,KAAK,aAAa,GAAG,aAAa,GAAG,UAAU;IACjFD,OAAO,EAAE;EACX,CAAC;AACH","ignoreList":[]}