@wix/himalaya-cli 0.1764.0 → 0.1766.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 (325) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/wix-member-login.d.ts +7 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +1 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +1 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +6 -2
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +6 -2
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin → cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92.bin} +1 -1
  8. package/dist/browser-plane/sw.js +6 -6
  9. package/dist/cli.mjs +114 -44
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/base44-app-context.md +7 -2
  12. package/guides/base44-app-to-himi-app.md +4 -2
  13. package/guides/release-notes.md +22 -0
  14. package/guides/wix-site-to-himi-app.md +2 -1
  15. package/package.json +2 -2
  16. package/templates/beauty-salon/dev/index.ts +5 -5
  17. package/templates/beauty-salon/l10n/ar.json +6 -12
  18. package/templates/beauty-salon/l10n/cs.json +6 -12
  19. package/templates/beauty-salon/l10n/da.json +6 -12
  20. package/templates/beauty-salon/l10n/de.json +6 -12
  21. package/templates/beauty-salon/l10n/el.json +6 -12
  22. package/templates/beauty-salon/l10n/en.json +6 -14
  23. package/templates/beauty-salon/l10n/es.json +6 -12
  24. package/templates/beauty-salon/l10n/fi.json +6 -12
  25. package/templates/beauty-salon/l10n/fr.json +6 -12
  26. package/templates/beauty-salon/l10n/he.json +5 -10
  27. package/templates/beauty-salon/l10n/hu.json +6 -12
  28. package/templates/beauty-salon/l10n/id.json +6 -12
  29. package/templates/beauty-salon/l10n/it.json +6 -12
  30. package/templates/beauty-salon/l10n/ja.json +6 -12
  31. package/templates/beauty-salon/l10n/ko.json +6 -12
  32. package/templates/beauty-salon/l10n/lt.json +6 -12
  33. package/templates/beauty-salon/l10n/nl.json +6 -12
  34. package/templates/beauty-salon/l10n/no.json +6 -12
  35. package/templates/beauty-salon/l10n/pl.json +6 -12
  36. package/templates/beauty-salon/l10n/pt.json +6 -12
  37. package/templates/beauty-salon/l10n/ru.json +6 -12
  38. package/templates/beauty-salon/l10n/sv.json +6 -12
  39. package/templates/beauty-salon/l10n/th.json +6 -12
  40. package/templates/beauty-salon/l10n/tr.json +6 -12
  41. package/templates/beauty-salon/l10n/uk.json +6 -12
  42. package/templates/beauty-salon/l10n/vi.json +6 -12
  43. package/templates/beauty-salon/l10n/zh.json +6 -12
  44. package/templates/branded-lite/dev/index.ts +5 -5
  45. package/templates/branded-lite/l10n/ar.json +6 -12
  46. package/templates/branded-lite/l10n/cs.json +6 -12
  47. package/templates/branded-lite/l10n/da.json +6 -12
  48. package/templates/branded-lite/l10n/de.json +6 -12
  49. package/templates/branded-lite/l10n/el.json +6 -12
  50. package/templates/branded-lite/l10n/en.json +6 -14
  51. package/templates/branded-lite/l10n/es.json +6 -12
  52. package/templates/branded-lite/l10n/fi.json +6 -12
  53. package/templates/branded-lite/l10n/fr.json +6 -12
  54. package/templates/branded-lite/l10n/he.json +5 -10
  55. package/templates/branded-lite/l10n/hu.json +6 -12
  56. package/templates/branded-lite/l10n/id.json +6 -12
  57. package/templates/branded-lite/l10n/it.json +6 -12
  58. package/templates/branded-lite/l10n/ja.json +6 -12
  59. package/templates/branded-lite/l10n/ko.json +6 -12
  60. package/templates/branded-lite/l10n/lt.json +6 -12
  61. package/templates/branded-lite/l10n/nl.json +6 -12
  62. package/templates/branded-lite/l10n/no.json +6 -12
  63. package/templates/branded-lite/l10n/pl.json +6 -12
  64. package/templates/branded-lite/l10n/pt.json +6 -12
  65. package/templates/branded-lite/l10n/ru.json +6 -12
  66. package/templates/branded-lite/l10n/sv.json +6 -12
  67. package/templates/branded-lite/l10n/th.json +6 -12
  68. package/templates/branded-lite/l10n/tr.json +6 -12
  69. package/templates/branded-lite/l10n/uk.json +6 -12
  70. package/templates/branded-lite/l10n/vi.json +6 -12
  71. package/templates/branded-lite/l10n/zh.json +6 -12
  72. package/templates/brandy/README.md +15 -2
  73. package/templates/community-club/dev/index.ts +5 -5
  74. package/templates/community-club/l10n/ar.json +6 -12
  75. package/templates/community-club/l10n/cs.json +6 -12
  76. package/templates/community-club/l10n/da.json +6 -12
  77. package/templates/community-club/l10n/de.json +6 -12
  78. package/templates/community-club/l10n/el.json +6 -12
  79. package/templates/community-club/l10n/en.json +6 -14
  80. package/templates/community-club/l10n/es.json +6 -12
  81. package/templates/community-club/l10n/fi.json +6 -12
  82. package/templates/community-club/l10n/fr.json +6 -12
  83. package/templates/community-club/l10n/he.json +5 -10
  84. package/templates/community-club/l10n/hu.json +6 -12
  85. package/templates/community-club/l10n/id.json +6 -12
  86. package/templates/community-club/l10n/it.json +6 -12
  87. package/templates/community-club/l10n/ja.json +6 -12
  88. package/templates/community-club/l10n/ko.json +6 -12
  89. package/templates/community-club/l10n/lt.json +6 -12
  90. package/templates/community-club/l10n/nl.json +6 -12
  91. package/templates/community-club/l10n/no.json +6 -12
  92. package/templates/community-club/l10n/pl.json +6 -12
  93. package/templates/community-club/l10n/pt.json +6 -12
  94. package/templates/community-club/l10n/ru.json +6 -12
  95. package/templates/community-club/l10n/sv.json +6 -12
  96. package/templates/community-club/l10n/th.json +6 -12
  97. package/templates/community-club/l10n/tr.json +6 -12
  98. package/templates/community-club/l10n/uk.json +6 -12
  99. package/templates/community-club/l10n/vi.json +6 -12
  100. package/templates/community-club/l10n/zh.json +6 -12
  101. package/templates/events-meetups/dev/index.ts +5 -5
  102. package/templates/events-meetups/l10n/ar.json +6 -12
  103. package/templates/events-meetups/l10n/cs.json +6 -12
  104. package/templates/events-meetups/l10n/da.json +6 -12
  105. package/templates/events-meetups/l10n/de.json +6 -12
  106. package/templates/events-meetups/l10n/el.json +6 -12
  107. package/templates/events-meetups/l10n/en.json +6 -14
  108. package/templates/events-meetups/l10n/es.json +6 -12
  109. package/templates/events-meetups/l10n/fi.json +6 -12
  110. package/templates/events-meetups/l10n/fr.json +6 -12
  111. package/templates/events-meetups/l10n/he.json +5 -10
  112. package/templates/events-meetups/l10n/hu.json +6 -12
  113. package/templates/events-meetups/l10n/id.json +6 -12
  114. package/templates/events-meetups/l10n/it.json +6 -12
  115. package/templates/events-meetups/l10n/ja.json +6 -12
  116. package/templates/events-meetups/l10n/ko.json +6 -12
  117. package/templates/events-meetups/l10n/lt.json +6 -12
  118. package/templates/events-meetups/l10n/nl.json +6 -12
  119. package/templates/events-meetups/l10n/no.json +6 -12
  120. package/templates/events-meetups/l10n/pl.json +6 -12
  121. package/templates/events-meetups/l10n/pt.json +6 -12
  122. package/templates/events-meetups/l10n/ru.json +6 -12
  123. package/templates/events-meetups/l10n/sv.json +6 -12
  124. package/templates/events-meetups/l10n/th.json +6 -12
  125. package/templates/events-meetups/l10n/tr.json +6 -12
  126. package/templates/events-meetups/l10n/uk.json +6 -12
  127. package/templates/events-meetups/l10n/vi.json +6 -12
  128. package/templates/events-meetups/l10n/zh.json +6 -12
  129. package/templates/gym-fitness/dev/index.ts +5 -5
  130. package/templates/gym-fitness/l10n/ar.json +6 -12
  131. package/templates/gym-fitness/l10n/cs.json +6 -12
  132. package/templates/gym-fitness/l10n/da.json +6 -12
  133. package/templates/gym-fitness/l10n/de.json +6 -12
  134. package/templates/gym-fitness/l10n/el.json +6 -12
  135. package/templates/gym-fitness/l10n/en.json +6 -14
  136. package/templates/gym-fitness/l10n/es.json +6 -12
  137. package/templates/gym-fitness/l10n/fi.json +6 -12
  138. package/templates/gym-fitness/l10n/fr.json +6 -12
  139. package/templates/gym-fitness/l10n/he.json +5 -10
  140. package/templates/gym-fitness/l10n/hu.json +6 -12
  141. package/templates/gym-fitness/l10n/id.json +6 -12
  142. package/templates/gym-fitness/l10n/it.json +6 -12
  143. package/templates/gym-fitness/l10n/ja.json +6 -12
  144. package/templates/gym-fitness/l10n/ko.json +6 -12
  145. package/templates/gym-fitness/l10n/lt.json +6 -12
  146. package/templates/gym-fitness/l10n/nl.json +6 -12
  147. package/templates/gym-fitness/l10n/no.json +6 -12
  148. package/templates/gym-fitness/l10n/pl.json +6 -12
  149. package/templates/gym-fitness/l10n/pt.json +6 -12
  150. package/templates/gym-fitness/l10n/ru.json +6 -12
  151. package/templates/gym-fitness/l10n/sv.json +6 -12
  152. package/templates/gym-fitness/l10n/th.json +6 -12
  153. package/templates/gym-fitness/l10n/tr.json +6 -12
  154. package/templates/gym-fitness/l10n/uk.json +6 -12
  155. package/templates/gym-fitness/l10n/vi.json +6 -12
  156. package/templates/gym-fitness/l10n/zh.json +6 -12
  157. package/templates/nonprofit-cause/dev/index.ts +5 -5
  158. package/templates/nonprofit-cause/l10n/ar.json +6 -12
  159. package/templates/nonprofit-cause/l10n/cs.json +6 -12
  160. package/templates/nonprofit-cause/l10n/da.json +6 -12
  161. package/templates/nonprofit-cause/l10n/de.json +6 -12
  162. package/templates/nonprofit-cause/l10n/el.json +6 -12
  163. package/templates/nonprofit-cause/l10n/en.json +6 -14
  164. package/templates/nonprofit-cause/l10n/es.json +6 -12
  165. package/templates/nonprofit-cause/l10n/fi.json +6 -12
  166. package/templates/nonprofit-cause/l10n/fr.json +6 -12
  167. package/templates/nonprofit-cause/l10n/he.json +5 -10
  168. package/templates/nonprofit-cause/l10n/hu.json +6 -12
  169. package/templates/nonprofit-cause/l10n/id.json +6 -12
  170. package/templates/nonprofit-cause/l10n/it.json +6 -12
  171. package/templates/nonprofit-cause/l10n/ja.json +6 -12
  172. package/templates/nonprofit-cause/l10n/ko.json +6 -12
  173. package/templates/nonprofit-cause/l10n/lt.json +6 -12
  174. package/templates/nonprofit-cause/l10n/nl.json +6 -12
  175. package/templates/nonprofit-cause/l10n/no.json +6 -12
  176. package/templates/nonprofit-cause/l10n/pl.json +6 -12
  177. package/templates/nonprofit-cause/l10n/pt.json +6 -12
  178. package/templates/nonprofit-cause/l10n/ru.json +6 -12
  179. package/templates/nonprofit-cause/l10n/sv.json +6 -12
  180. package/templates/nonprofit-cause/l10n/th.json +6 -12
  181. package/templates/nonprofit-cause/l10n/tr.json +6 -12
  182. package/templates/nonprofit-cause/l10n/uk.json +6 -12
  183. package/templates/nonprofit-cause/l10n/vi.json +6 -12
  184. package/templates/nonprofit-cause/l10n/zh.json +6 -12
  185. package/templates/personal-fitness-trainer/dev/index.ts +3 -3
  186. package/templates/podcast-creator/dev/index.ts +5 -5
  187. package/templates/podcast-creator/l10n/ar.json +6 -12
  188. package/templates/podcast-creator/l10n/cs.json +6 -12
  189. package/templates/podcast-creator/l10n/da.json +6 -12
  190. package/templates/podcast-creator/l10n/de.json +6 -12
  191. package/templates/podcast-creator/l10n/el.json +6 -12
  192. package/templates/podcast-creator/l10n/en.json +6 -14
  193. package/templates/podcast-creator/l10n/es.json +6 -12
  194. package/templates/podcast-creator/l10n/fi.json +6 -12
  195. package/templates/podcast-creator/l10n/fr.json +6 -12
  196. package/templates/podcast-creator/l10n/he.json +5 -10
  197. package/templates/podcast-creator/l10n/hu.json +6 -12
  198. package/templates/podcast-creator/l10n/id.json +6 -12
  199. package/templates/podcast-creator/l10n/it.json +6 -12
  200. package/templates/podcast-creator/l10n/ja.json +6 -12
  201. package/templates/podcast-creator/l10n/ko.json +6 -12
  202. package/templates/podcast-creator/l10n/lt.json +6 -12
  203. package/templates/podcast-creator/l10n/nl.json +6 -12
  204. package/templates/podcast-creator/l10n/no.json +6 -12
  205. package/templates/podcast-creator/l10n/pl.json +6 -12
  206. package/templates/podcast-creator/l10n/pt.json +6 -12
  207. package/templates/podcast-creator/l10n/ru.json +6 -12
  208. package/templates/podcast-creator/l10n/sv.json +6 -12
  209. package/templates/podcast-creator/l10n/th.json +6 -12
  210. package/templates/podcast-creator/l10n/tr.json +6 -12
  211. package/templates/podcast-creator/l10n/uk.json +6 -12
  212. package/templates/podcast-creator/l10n/vi.json +6 -12
  213. package/templates/podcast-creator/l10n/zh.json +6 -12
  214. package/templates/portfolio-creative/dev/index.ts +5 -5
  215. package/templates/portfolio-creative/l10n/ar.json +6 -12
  216. package/templates/portfolio-creative/l10n/cs.json +6 -12
  217. package/templates/portfolio-creative/l10n/da.json +6 -12
  218. package/templates/portfolio-creative/l10n/de.json +6 -12
  219. package/templates/portfolio-creative/l10n/el.json +6 -12
  220. package/templates/portfolio-creative/l10n/en.json +6 -14
  221. package/templates/portfolio-creative/l10n/es.json +6 -12
  222. package/templates/portfolio-creative/l10n/fi.json +6 -12
  223. package/templates/portfolio-creative/l10n/fr.json +6 -12
  224. package/templates/portfolio-creative/l10n/he.json +5 -10
  225. package/templates/portfolio-creative/l10n/hu.json +6 -12
  226. package/templates/portfolio-creative/l10n/id.json +6 -12
  227. package/templates/portfolio-creative/l10n/it.json +6 -12
  228. package/templates/portfolio-creative/l10n/ja.json +6 -12
  229. package/templates/portfolio-creative/l10n/ko.json +6 -12
  230. package/templates/portfolio-creative/l10n/lt.json +6 -12
  231. package/templates/portfolio-creative/l10n/nl.json +6 -12
  232. package/templates/portfolio-creative/l10n/no.json +6 -12
  233. package/templates/portfolio-creative/l10n/pl.json +6 -12
  234. package/templates/portfolio-creative/l10n/pt.json +6 -12
  235. package/templates/portfolio-creative/l10n/ru.json +6 -12
  236. package/templates/portfolio-creative/l10n/sv.json +6 -12
  237. package/templates/portfolio-creative/l10n/th.json +6 -12
  238. package/templates/portfolio-creative/l10n/tr.json +6 -12
  239. package/templates/portfolio-creative/l10n/uk.json +6 -12
  240. package/templates/portfolio-creative/l10n/vi.json +6 -12
  241. package/templates/portfolio-creative/l10n/zh.json +6 -12
  242. package/templates/restaurant/dev/index.ts +5 -5
  243. package/templates/restaurant/l10n/ar.json +6 -12
  244. package/templates/restaurant/l10n/cs.json +6 -12
  245. package/templates/restaurant/l10n/da.json +6 -12
  246. package/templates/restaurant/l10n/de.json +6 -12
  247. package/templates/restaurant/l10n/el.json +6 -12
  248. package/templates/restaurant/l10n/en.json +6 -14
  249. package/templates/restaurant/l10n/es.json +6 -12
  250. package/templates/restaurant/l10n/fi.json +6 -12
  251. package/templates/restaurant/l10n/fr.json +6 -12
  252. package/templates/restaurant/l10n/he.json +5 -10
  253. package/templates/restaurant/l10n/hu.json +6 -12
  254. package/templates/restaurant/l10n/id.json +6 -12
  255. package/templates/restaurant/l10n/it.json +6 -12
  256. package/templates/restaurant/l10n/ja.json +6 -12
  257. package/templates/restaurant/l10n/ko.json +6 -12
  258. package/templates/restaurant/l10n/lt.json +6 -12
  259. package/templates/restaurant/l10n/nl.json +6 -12
  260. package/templates/restaurant/l10n/no.json +6 -12
  261. package/templates/restaurant/l10n/pl.json +6 -12
  262. package/templates/restaurant/l10n/pt.json +6 -12
  263. package/templates/restaurant/l10n/ru.json +6 -12
  264. package/templates/restaurant/l10n/sv.json +6 -12
  265. package/templates/restaurant/l10n/th.json +6 -12
  266. package/templates/restaurant/l10n/tr.json +6 -12
  267. package/templates/restaurant/l10n/uk.json +6 -12
  268. package/templates/restaurant/l10n/vi.json +6 -12
  269. package/templates/restaurant/l10n/zh.json +6 -12
  270. package/templates/retail-store/dev/index.ts +5 -5
  271. package/templates/retail-store/l10n/ar.json +6 -12
  272. package/templates/retail-store/l10n/cs.json +6 -12
  273. package/templates/retail-store/l10n/da.json +6 -12
  274. package/templates/retail-store/l10n/de.json +6 -12
  275. package/templates/retail-store/l10n/el.json +6 -12
  276. package/templates/retail-store/l10n/en.json +6 -14
  277. package/templates/retail-store/l10n/es.json +6 -12
  278. package/templates/retail-store/l10n/fi.json +6 -12
  279. package/templates/retail-store/l10n/fr.json +6 -12
  280. package/templates/retail-store/l10n/he.json +5 -10
  281. package/templates/retail-store/l10n/hu.json +6 -12
  282. package/templates/retail-store/l10n/id.json +6 -12
  283. package/templates/retail-store/l10n/it.json +6 -12
  284. package/templates/retail-store/l10n/ja.json +6 -12
  285. package/templates/retail-store/l10n/ko.json +6 -12
  286. package/templates/retail-store/l10n/lt.json +6 -12
  287. package/templates/retail-store/l10n/nl.json +6 -12
  288. package/templates/retail-store/l10n/no.json +6 -12
  289. package/templates/retail-store/l10n/pl.json +6 -12
  290. package/templates/retail-store/l10n/pt.json +6 -12
  291. package/templates/retail-store/l10n/ru.json +6 -12
  292. package/templates/retail-store/l10n/sv.json +6 -12
  293. package/templates/retail-store/l10n/th.json +6 -12
  294. package/templates/retail-store/l10n/tr.json +6 -12
  295. package/templates/retail-store/l10n/uk.json +6 -12
  296. package/templates/retail-store/l10n/vi.json +6 -12
  297. package/templates/retail-store/l10n/zh.json +6 -12
  298. package/templates/yoga-studio/dev/index.ts +5 -5
  299. package/templates/yoga-studio/l10n/ar.json +6 -12
  300. package/templates/yoga-studio/l10n/cs.json +6 -12
  301. package/templates/yoga-studio/l10n/da.json +6 -12
  302. package/templates/yoga-studio/l10n/de.json +6 -12
  303. package/templates/yoga-studio/l10n/el.json +6 -12
  304. package/templates/yoga-studio/l10n/en.json +6 -14
  305. package/templates/yoga-studio/l10n/es.json +6 -12
  306. package/templates/yoga-studio/l10n/fi.json +6 -12
  307. package/templates/yoga-studio/l10n/fr.json +6 -12
  308. package/templates/yoga-studio/l10n/he.json +5 -10
  309. package/templates/yoga-studio/l10n/hu.json +6 -12
  310. package/templates/yoga-studio/l10n/id.json +6 -12
  311. package/templates/yoga-studio/l10n/it.json +6 -12
  312. package/templates/yoga-studio/l10n/ja.json +6 -12
  313. package/templates/yoga-studio/l10n/ko.json +6 -12
  314. package/templates/yoga-studio/l10n/lt.json +6 -12
  315. package/templates/yoga-studio/l10n/nl.json +6 -12
  316. package/templates/yoga-studio/l10n/no.json +6 -12
  317. package/templates/yoga-studio/l10n/pl.json +6 -12
  318. package/templates/yoga-studio/l10n/pt.json +6 -12
  319. package/templates/yoga-studio/l10n/ru.json +6 -12
  320. package/templates/yoga-studio/l10n/sv.json +6 -12
  321. package/templates/yoga-studio/l10n/th.json +6 -12
  322. package/templates/yoga-studio/l10n/tr.json +6 -12
  323. package/templates/yoga-studio/l10n/uk.json +6 -12
  324. package/templates/yoga-studio/l10n/vi.json +6 -12
  325. package/templates/yoga-studio/l10n/zh.json +6 -12
@@ -1,3 +1,10 @@
1
+ /** A refused IAM call. Carries the HTTP status and IAM application code, so the web host maps them
2
+ * to the same failure identity as the native hosts (`authFailure`). Never screen copy. */
3
+ export declare class IamCallError extends Error {
4
+ readonly status: number;
5
+ readonly applicationCode?: string;
6
+ constructor(message: string, status: number, applicationCode?: string);
7
+ }
1
8
  /** Mint an anonymous visitor access token for the client. */
2
9
  export declare function mintVisitor(clientId: string): Promise<string>;
3
10
  /** The site's One App visitor instance (`visitorSource: "one-app"`) for a one-shot CLI read
@@ -101,6 +101,7 @@ declare const _default: {
101
101
  readonly "auth.feedback.invalid_input": "Check the highlighted fields and try again.";
102
102
  readonly "auth.feedback.invalid_credentials": "The email or password is incorrect. Check your details or reset your password.";
103
103
  readonly "auth.feedback.registration_failed": "We could not create an account. Check your details, or try signing in or resetting your password.";
104
+ readonly "auth.feedback.email_in_use": "This email already has an account. Sign in instead, or reset your password.";
104
105
  readonly "auth.feedback.invalid_code": "That code is invalid or has expired. Check the code or request a new one.";
105
106
  readonly "auth.feedback.expired_code": "That code has expired. Request a new code and try again.";
106
107
  readonly "auth.feedback.totp": "That code did not work. Enter the current code from your authenticator app.";
@@ -1,4 +1,4 @@
1
- export type AuthFailureCode = "invalid_input" | "invalid_credentials" | "registration_failed" | "invalid_code" | "expired_code" | "network" | "rate_limited" | "unavailable" | "cancelled" | "verification_required" | "delivery_failed" | "sms_region_unsupported" | "verification_expired" | "unknown";
1
+ export type AuthFailureCode = "invalid_input" | "invalid_credentials" | "registration_failed" | "email_in_use" | "invalid_code" | "expired_code" | "network" | "rate_limited" | "unavailable" | "cancelled" | "verification_required" | "delivery_failed" | "sms_region_unsupported" | "verification_expired" | "unknown";
2
2
  export type AuthOperation = "signIn" | "register" | "reset" | "verify";
3
3
  export declare function authMessage(key: string, translate?: (key: string) => string | undefined): string;
4
4
  /** Only structured failure identities cross into UI copy. Never echo server/error text. */
@@ -226,6 +226,7 @@ var copy_generated_default = {
226
226
  "auth.feedback.invalid_input": "Check the highlighted fields and try again.",
227
227
  "auth.feedback.invalid_credentials": "The email or password is incorrect. Check your details or reset your password.",
228
228
  "auth.feedback.registration_failed": "We could not create an account. Check your details, or try signing in or resetting your password.",
229
+ "auth.feedback.email_in_use": "This email already has an account. Sign in instead, or reset your password.",
229
230
  "auth.feedback.invalid_code": "That code is invalid or has expired. Check the code or request a new one.",
230
231
  "auth.feedback.expired_code": "That code has expired. Request a new code and try again.",
231
232
  "auth.feedback.totp": "That code did not work. Enter the current code from your authenticator app.",
@@ -256,6 +257,7 @@ var failureKeys = {
256
257
  invalid_input: "auth.feedback.invalid_input",
257
258
  invalid_credentials: "auth.feedback.invalid_credentials",
258
259
  registration_failed: "auth.feedback.registration_failed",
260
+ email_in_use: "auth.feedback.email_in_use",
259
261
  invalid_code: "auth.feedback.invalid_code",
260
262
  expired_code: "auth.feedback.expired_code",
261
263
  network: "auth.feedback.network",
@@ -273,12 +275,12 @@ var failureKeys = {
273
275
  var codes = new Set(Object.keys(failureKeys));
274
276
  var aliases = {
275
277
  invalidCredentials: "invalid_credentials",
276
- emailInUse: "registration_failed",
278
+ emailInUse: "email_in_use",
277
279
  unsupported: "unavailable",
278
280
  recaptchaRequired: "verification_required",
279
281
  needsTwoFactor: "verification_required",
280
282
  INVALID_CREDENTIALS: "invalid_credentials",
281
- EMAIL_IN_USE: "registration_failed",
283
+ EMAIL_IN_USE: "email_in_use",
282
284
  UNSUPPORTED: "unavailable",
283
285
  NETWORK: "network",
284
286
  CANCELLED: "cancelled",
@@ -293,6 +295,7 @@ var aliases = {
293
295
  verificationExpired: "verification_expired"
294
296
  };
295
297
  var iamCredentialCodes = /* @__PURE__ */ new Set(["-19999", "-19976"]);
298
+ var iamEmailInUseCode = "-19995";
296
299
  function authMessage(key, translate) {
297
300
  const translated = translate?.(key);
298
301
  return translated && translated !== key ? translated : copy_generated_default[key] ?? copy_generated_default["auth.feedback.unknown"];
@@ -305,6 +308,7 @@ function authFailure(raw, operation = "signIn", translate) {
305
308
  const application = String(payload.details?.applicationError?.code ?? value.details?.applicationError?.code ?? payload.applicationCode ?? value.applicationCode ?? named ?? "");
306
309
  let code = codes.has(named) ? named : aliases[named] ?? "unknown";
307
310
  if (operation === "signIn" && iamCredentialCodes.has(application)) code = "invalid_credentials";
311
+ else if (operation === "register" && (application === iamEmailInUseCode || status === 409)) code = "email_in_use";
308
312
  else if (status === 429) code = "rate_limited";
309
313
  else if ([404, 405, 501].includes(status)) code = "unavailable";
310
314
  else if ([401, 403].includes(status) && operation === "signIn") code = "invalid_credentials";
@@ -1978,6 +1978,7 @@ var copy_generated_default = {
1978
1978
  "auth.feedback.invalid_input": "Check the highlighted fields and try again.",
1979
1979
  "auth.feedback.invalid_credentials": "The email or password is incorrect. Check your details or reset your password.",
1980
1980
  "auth.feedback.registration_failed": "We could not create an account. Check your details, or try signing in or resetting your password.",
1981
+ "auth.feedback.email_in_use": "This email already has an account. Sign in instead, or reset your password.",
1981
1982
  "auth.feedback.invalid_code": "That code is invalid or has expired. Check the code or request a new one.",
1982
1983
  "auth.feedback.expired_code": "That code has expired. Request a new code and try again.",
1983
1984
  "auth.feedback.totp": "That code did not work. Enter the current code from your authenticator app.",
@@ -2008,6 +2009,7 @@ var failureKeys = {
2008
2009
  invalid_input: "auth.feedback.invalid_input",
2009
2010
  invalid_credentials: "auth.feedback.invalid_credentials",
2010
2011
  registration_failed: "auth.feedback.registration_failed",
2012
+ email_in_use: "auth.feedback.email_in_use",
2011
2013
  invalid_code: "auth.feedback.invalid_code",
2012
2014
  expired_code: "auth.feedback.expired_code",
2013
2015
  network: "auth.feedback.network",
@@ -2025,12 +2027,12 @@ var failureKeys = {
2025
2027
  var codes = new Set(Object.keys(failureKeys));
2026
2028
  var aliases = {
2027
2029
  invalidCredentials: "invalid_credentials",
2028
- emailInUse: "registration_failed",
2030
+ emailInUse: "email_in_use",
2029
2031
  unsupported: "unavailable",
2030
2032
  recaptchaRequired: "verification_required",
2031
2033
  needsTwoFactor: "verification_required",
2032
2034
  INVALID_CREDENTIALS: "invalid_credentials",
2033
- EMAIL_IN_USE: "registration_failed",
2035
+ EMAIL_IN_USE: "email_in_use",
2034
2036
  UNSUPPORTED: "unavailable",
2035
2037
  NETWORK: "network",
2036
2038
  CANCELLED: "cancelled",
@@ -2045,6 +2047,7 @@ var aliases = {
2045
2047
  verificationExpired: "verification_expired"
2046
2048
  };
2047
2049
  var iamCredentialCodes = /* @__PURE__ */ new Set(["-19999", "-19976"]);
2050
+ var iamEmailInUseCode = "-19995";
2048
2051
  function authMessage(key, translate) {
2049
2052
  const translated = translate?.(key);
2050
2053
  return translated && translated !== key ? translated : copy_generated_default[key] ?? copy_generated_default["auth.feedback.unknown"];
@@ -2057,6 +2060,7 @@ function authFailure(raw, operation = "signIn", translate) {
2057
2060
  const application = String(payload.details?.applicationError?.code ?? value.details?.applicationError?.code ?? payload.applicationCode ?? value.applicationCode ?? named ?? "");
2058
2061
  let code = codes.has(named) ? named : aliases[named] ?? "unknown";
2059
2062
  if (operation === "signIn" && iamCredentialCodes.has(application)) code = "invalid_credentials";
2063
+ else if (operation === "register" && (application === iamEmailInUseCode || status2 === 409)) code = "email_in_use";
2060
2064
  else if (status2 === 429) code = "rate_limited";
2061
2065
  else if ([404, 405, 501].includes(status2)) code = "unavailable";
2062
2066
  else if ([401, 403].includes(status2) && operation === "signIn") code = "invalid_credentials";
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2586764
5
+ "bytes": 2587092
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 24320
22
22
  },
23
23
  {
24
- "name": "preview-deferred/a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin",
24
+ "name": "preview-deferred/cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-Q7DgSDyV.js",
82
+ "key": "assets/pdf-CRFkfIB7.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed",
85
- "file": "preview-deferred/a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin"
84
+ "sha256": "cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92",
85
+ "file": "preview-deferred/cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",