@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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/wix-member-login.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +6 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +6 -2
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin → cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +114 -44
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/base44-app-context.md +7 -2
- package/guides/base44-app-to-himi-app.md +4 -2
- package/guides/release-notes.md +22 -0
- package/guides/wix-site-to-himi-app.md +2 -1
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +5 -5
- package/templates/beauty-salon/l10n/ar.json +6 -12
- package/templates/beauty-salon/l10n/cs.json +6 -12
- package/templates/beauty-salon/l10n/da.json +6 -12
- package/templates/beauty-salon/l10n/de.json +6 -12
- package/templates/beauty-salon/l10n/el.json +6 -12
- package/templates/beauty-salon/l10n/en.json +6 -14
- package/templates/beauty-salon/l10n/es.json +6 -12
- package/templates/beauty-salon/l10n/fi.json +6 -12
- package/templates/beauty-salon/l10n/fr.json +6 -12
- package/templates/beauty-salon/l10n/he.json +5 -10
- package/templates/beauty-salon/l10n/hu.json +6 -12
- package/templates/beauty-salon/l10n/id.json +6 -12
- package/templates/beauty-salon/l10n/it.json +6 -12
- package/templates/beauty-salon/l10n/ja.json +6 -12
- package/templates/beauty-salon/l10n/ko.json +6 -12
- package/templates/beauty-salon/l10n/lt.json +6 -12
- package/templates/beauty-salon/l10n/nl.json +6 -12
- package/templates/beauty-salon/l10n/no.json +6 -12
- package/templates/beauty-salon/l10n/pl.json +6 -12
- package/templates/beauty-salon/l10n/pt.json +6 -12
- package/templates/beauty-salon/l10n/ru.json +6 -12
- package/templates/beauty-salon/l10n/sv.json +6 -12
- package/templates/beauty-salon/l10n/th.json +6 -12
- package/templates/beauty-salon/l10n/tr.json +6 -12
- package/templates/beauty-salon/l10n/uk.json +6 -12
- package/templates/beauty-salon/l10n/vi.json +6 -12
- package/templates/beauty-salon/l10n/zh.json +6 -12
- package/templates/branded-lite/dev/index.ts +5 -5
- package/templates/branded-lite/l10n/ar.json +6 -12
- package/templates/branded-lite/l10n/cs.json +6 -12
- package/templates/branded-lite/l10n/da.json +6 -12
- package/templates/branded-lite/l10n/de.json +6 -12
- package/templates/branded-lite/l10n/el.json +6 -12
- package/templates/branded-lite/l10n/en.json +6 -14
- package/templates/branded-lite/l10n/es.json +6 -12
- package/templates/branded-lite/l10n/fi.json +6 -12
- package/templates/branded-lite/l10n/fr.json +6 -12
- package/templates/branded-lite/l10n/he.json +5 -10
- package/templates/branded-lite/l10n/hu.json +6 -12
- package/templates/branded-lite/l10n/id.json +6 -12
- package/templates/branded-lite/l10n/it.json +6 -12
- package/templates/branded-lite/l10n/ja.json +6 -12
- package/templates/branded-lite/l10n/ko.json +6 -12
- package/templates/branded-lite/l10n/lt.json +6 -12
- package/templates/branded-lite/l10n/nl.json +6 -12
- package/templates/branded-lite/l10n/no.json +6 -12
- package/templates/branded-lite/l10n/pl.json +6 -12
- package/templates/branded-lite/l10n/pt.json +6 -12
- package/templates/branded-lite/l10n/ru.json +6 -12
- package/templates/branded-lite/l10n/sv.json +6 -12
- package/templates/branded-lite/l10n/th.json +6 -12
- package/templates/branded-lite/l10n/tr.json +6 -12
- package/templates/branded-lite/l10n/uk.json +6 -12
- package/templates/branded-lite/l10n/vi.json +6 -12
- package/templates/branded-lite/l10n/zh.json +6 -12
- package/templates/brandy/README.md +15 -2
- package/templates/community-club/dev/index.ts +5 -5
- package/templates/community-club/l10n/ar.json +6 -12
- package/templates/community-club/l10n/cs.json +6 -12
- package/templates/community-club/l10n/da.json +6 -12
- package/templates/community-club/l10n/de.json +6 -12
- package/templates/community-club/l10n/el.json +6 -12
- package/templates/community-club/l10n/en.json +6 -14
- package/templates/community-club/l10n/es.json +6 -12
- package/templates/community-club/l10n/fi.json +6 -12
- package/templates/community-club/l10n/fr.json +6 -12
- package/templates/community-club/l10n/he.json +5 -10
- package/templates/community-club/l10n/hu.json +6 -12
- package/templates/community-club/l10n/id.json +6 -12
- package/templates/community-club/l10n/it.json +6 -12
- package/templates/community-club/l10n/ja.json +6 -12
- package/templates/community-club/l10n/ko.json +6 -12
- package/templates/community-club/l10n/lt.json +6 -12
- package/templates/community-club/l10n/nl.json +6 -12
- package/templates/community-club/l10n/no.json +6 -12
- package/templates/community-club/l10n/pl.json +6 -12
- package/templates/community-club/l10n/pt.json +6 -12
- package/templates/community-club/l10n/ru.json +6 -12
- package/templates/community-club/l10n/sv.json +6 -12
- package/templates/community-club/l10n/th.json +6 -12
- package/templates/community-club/l10n/tr.json +6 -12
- package/templates/community-club/l10n/uk.json +6 -12
- package/templates/community-club/l10n/vi.json +6 -12
- package/templates/community-club/l10n/zh.json +6 -12
- package/templates/events-meetups/dev/index.ts +5 -5
- package/templates/events-meetups/l10n/ar.json +6 -12
- package/templates/events-meetups/l10n/cs.json +6 -12
- package/templates/events-meetups/l10n/da.json +6 -12
- package/templates/events-meetups/l10n/de.json +6 -12
- package/templates/events-meetups/l10n/el.json +6 -12
- package/templates/events-meetups/l10n/en.json +6 -14
- package/templates/events-meetups/l10n/es.json +6 -12
- package/templates/events-meetups/l10n/fi.json +6 -12
- package/templates/events-meetups/l10n/fr.json +6 -12
- package/templates/events-meetups/l10n/he.json +5 -10
- package/templates/events-meetups/l10n/hu.json +6 -12
- package/templates/events-meetups/l10n/id.json +6 -12
- package/templates/events-meetups/l10n/it.json +6 -12
- package/templates/events-meetups/l10n/ja.json +6 -12
- package/templates/events-meetups/l10n/ko.json +6 -12
- package/templates/events-meetups/l10n/lt.json +6 -12
- package/templates/events-meetups/l10n/nl.json +6 -12
- package/templates/events-meetups/l10n/no.json +6 -12
- package/templates/events-meetups/l10n/pl.json +6 -12
- package/templates/events-meetups/l10n/pt.json +6 -12
- package/templates/events-meetups/l10n/ru.json +6 -12
- package/templates/events-meetups/l10n/sv.json +6 -12
- package/templates/events-meetups/l10n/th.json +6 -12
- package/templates/events-meetups/l10n/tr.json +6 -12
- package/templates/events-meetups/l10n/uk.json +6 -12
- package/templates/events-meetups/l10n/vi.json +6 -12
- package/templates/events-meetups/l10n/zh.json +6 -12
- package/templates/gym-fitness/dev/index.ts +5 -5
- package/templates/gym-fitness/l10n/ar.json +6 -12
- package/templates/gym-fitness/l10n/cs.json +6 -12
- package/templates/gym-fitness/l10n/da.json +6 -12
- package/templates/gym-fitness/l10n/de.json +6 -12
- package/templates/gym-fitness/l10n/el.json +6 -12
- package/templates/gym-fitness/l10n/en.json +6 -14
- package/templates/gym-fitness/l10n/es.json +6 -12
- package/templates/gym-fitness/l10n/fi.json +6 -12
- package/templates/gym-fitness/l10n/fr.json +6 -12
- package/templates/gym-fitness/l10n/he.json +5 -10
- package/templates/gym-fitness/l10n/hu.json +6 -12
- package/templates/gym-fitness/l10n/id.json +6 -12
- package/templates/gym-fitness/l10n/it.json +6 -12
- package/templates/gym-fitness/l10n/ja.json +6 -12
- package/templates/gym-fitness/l10n/ko.json +6 -12
- package/templates/gym-fitness/l10n/lt.json +6 -12
- package/templates/gym-fitness/l10n/nl.json +6 -12
- package/templates/gym-fitness/l10n/no.json +6 -12
- package/templates/gym-fitness/l10n/pl.json +6 -12
- package/templates/gym-fitness/l10n/pt.json +6 -12
- package/templates/gym-fitness/l10n/ru.json +6 -12
- package/templates/gym-fitness/l10n/sv.json +6 -12
- package/templates/gym-fitness/l10n/th.json +6 -12
- package/templates/gym-fitness/l10n/tr.json +6 -12
- package/templates/gym-fitness/l10n/uk.json +6 -12
- package/templates/gym-fitness/l10n/vi.json +6 -12
- package/templates/gym-fitness/l10n/zh.json +6 -12
- package/templates/nonprofit-cause/dev/index.ts +5 -5
- package/templates/nonprofit-cause/l10n/ar.json +6 -12
- package/templates/nonprofit-cause/l10n/cs.json +6 -12
- package/templates/nonprofit-cause/l10n/da.json +6 -12
- package/templates/nonprofit-cause/l10n/de.json +6 -12
- package/templates/nonprofit-cause/l10n/el.json +6 -12
- package/templates/nonprofit-cause/l10n/en.json +6 -14
- package/templates/nonprofit-cause/l10n/es.json +6 -12
- package/templates/nonprofit-cause/l10n/fi.json +6 -12
- package/templates/nonprofit-cause/l10n/fr.json +6 -12
- package/templates/nonprofit-cause/l10n/he.json +5 -10
- package/templates/nonprofit-cause/l10n/hu.json +6 -12
- package/templates/nonprofit-cause/l10n/id.json +6 -12
- package/templates/nonprofit-cause/l10n/it.json +6 -12
- package/templates/nonprofit-cause/l10n/ja.json +6 -12
- package/templates/nonprofit-cause/l10n/ko.json +6 -12
- package/templates/nonprofit-cause/l10n/lt.json +6 -12
- package/templates/nonprofit-cause/l10n/nl.json +6 -12
- package/templates/nonprofit-cause/l10n/no.json +6 -12
- package/templates/nonprofit-cause/l10n/pl.json +6 -12
- package/templates/nonprofit-cause/l10n/pt.json +6 -12
- package/templates/nonprofit-cause/l10n/ru.json +6 -12
- package/templates/nonprofit-cause/l10n/sv.json +6 -12
- package/templates/nonprofit-cause/l10n/th.json +6 -12
- package/templates/nonprofit-cause/l10n/tr.json +6 -12
- package/templates/nonprofit-cause/l10n/uk.json +6 -12
- package/templates/nonprofit-cause/l10n/vi.json +6 -12
- package/templates/nonprofit-cause/l10n/zh.json +6 -12
- package/templates/personal-fitness-trainer/dev/index.ts +3 -3
- package/templates/podcast-creator/dev/index.ts +5 -5
- package/templates/podcast-creator/l10n/ar.json +6 -12
- package/templates/podcast-creator/l10n/cs.json +6 -12
- package/templates/podcast-creator/l10n/da.json +6 -12
- package/templates/podcast-creator/l10n/de.json +6 -12
- package/templates/podcast-creator/l10n/el.json +6 -12
- package/templates/podcast-creator/l10n/en.json +6 -14
- package/templates/podcast-creator/l10n/es.json +6 -12
- package/templates/podcast-creator/l10n/fi.json +6 -12
- package/templates/podcast-creator/l10n/fr.json +6 -12
- package/templates/podcast-creator/l10n/he.json +5 -10
- package/templates/podcast-creator/l10n/hu.json +6 -12
- package/templates/podcast-creator/l10n/id.json +6 -12
- package/templates/podcast-creator/l10n/it.json +6 -12
- package/templates/podcast-creator/l10n/ja.json +6 -12
- package/templates/podcast-creator/l10n/ko.json +6 -12
- package/templates/podcast-creator/l10n/lt.json +6 -12
- package/templates/podcast-creator/l10n/nl.json +6 -12
- package/templates/podcast-creator/l10n/no.json +6 -12
- package/templates/podcast-creator/l10n/pl.json +6 -12
- package/templates/podcast-creator/l10n/pt.json +6 -12
- package/templates/podcast-creator/l10n/ru.json +6 -12
- package/templates/podcast-creator/l10n/sv.json +6 -12
- package/templates/podcast-creator/l10n/th.json +6 -12
- package/templates/podcast-creator/l10n/tr.json +6 -12
- package/templates/podcast-creator/l10n/uk.json +6 -12
- package/templates/podcast-creator/l10n/vi.json +6 -12
- package/templates/podcast-creator/l10n/zh.json +6 -12
- package/templates/portfolio-creative/dev/index.ts +5 -5
- package/templates/portfolio-creative/l10n/ar.json +6 -12
- package/templates/portfolio-creative/l10n/cs.json +6 -12
- package/templates/portfolio-creative/l10n/da.json +6 -12
- package/templates/portfolio-creative/l10n/de.json +6 -12
- package/templates/portfolio-creative/l10n/el.json +6 -12
- package/templates/portfolio-creative/l10n/en.json +6 -14
- package/templates/portfolio-creative/l10n/es.json +6 -12
- package/templates/portfolio-creative/l10n/fi.json +6 -12
- package/templates/portfolio-creative/l10n/fr.json +6 -12
- package/templates/portfolio-creative/l10n/he.json +5 -10
- package/templates/portfolio-creative/l10n/hu.json +6 -12
- package/templates/portfolio-creative/l10n/id.json +6 -12
- package/templates/portfolio-creative/l10n/it.json +6 -12
- package/templates/portfolio-creative/l10n/ja.json +6 -12
- package/templates/portfolio-creative/l10n/ko.json +6 -12
- package/templates/portfolio-creative/l10n/lt.json +6 -12
- package/templates/portfolio-creative/l10n/nl.json +6 -12
- package/templates/portfolio-creative/l10n/no.json +6 -12
- package/templates/portfolio-creative/l10n/pl.json +6 -12
- package/templates/portfolio-creative/l10n/pt.json +6 -12
- package/templates/portfolio-creative/l10n/ru.json +6 -12
- package/templates/portfolio-creative/l10n/sv.json +6 -12
- package/templates/portfolio-creative/l10n/th.json +6 -12
- package/templates/portfolio-creative/l10n/tr.json +6 -12
- package/templates/portfolio-creative/l10n/uk.json +6 -12
- package/templates/portfolio-creative/l10n/vi.json +6 -12
- package/templates/portfolio-creative/l10n/zh.json +6 -12
- package/templates/restaurant/dev/index.ts +5 -5
- package/templates/restaurant/l10n/ar.json +6 -12
- package/templates/restaurant/l10n/cs.json +6 -12
- package/templates/restaurant/l10n/da.json +6 -12
- package/templates/restaurant/l10n/de.json +6 -12
- package/templates/restaurant/l10n/el.json +6 -12
- package/templates/restaurant/l10n/en.json +6 -14
- package/templates/restaurant/l10n/es.json +6 -12
- package/templates/restaurant/l10n/fi.json +6 -12
- package/templates/restaurant/l10n/fr.json +6 -12
- package/templates/restaurant/l10n/he.json +5 -10
- package/templates/restaurant/l10n/hu.json +6 -12
- package/templates/restaurant/l10n/id.json +6 -12
- package/templates/restaurant/l10n/it.json +6 -12
- package/templates/restaurant/l10n/ja.json +6 -12
- package/templates/restaurant/l10n/ko.json +6 -12
- package/templates/restaurant/l10n/lt.json +6 -12
- package/templates/restaurant/l10n/nl.json +6 -12
- package/templates/restaurant/l10n/no.json +6 -12
- package/templates/restaurant/l10n/pl.json +6 -12
- package/templates/restaurant/l10n/pt.json +6 -12
- package/templates/restaurant/l10n/ru.json +6 -12
- package/templates/restaurant/l10n/sv.json +6 -12
- package/templates/restaurant/l10n/th.json +6 -12
- package/templates/restaurant/l10n/tr.json +6 -12
- package/templates/restaurant/l10n/uk.json +6 -12
- package/templates/restaurant/l10n/vi.json +6 -12
- package/templates/restaurant/l10n/zh.json +6 -12
- package/templates/retail-store/dev/index.ts +5 -5
- package/templates/retail-store/l10n/ar.json +6 -12
- package/templates/retail-store/l10n/cs.json +6 -12
- package/templates/retail-store/l10n/da.json +6 -12
- package/templates/retail-store/l10n/de.json +6 -12
- package/templates/retail-store/l10n/el.json +6 -12
- package/templates/retail-store/l10n/en.json +6 -14
- package/templates/retail-store/l10n/es.json +6 -12
- package/templates/retail-store/l10n/fi.json +6 -12
- package/templates/retail-store/l10n/fr.json +6 -12
- package/templates/retail-store/l10n/he.json +5 -10
- package/templates/retail-store/l10n/hu.json +6 -12
- package/templates/retail-store/l10n/id.json +6 -12
- package/templates/retail-store/l10n/it.json +6 -12
- package/templates/retail-store/l10n/ja.json +6 -12
- package/templates/retail-store/l10n/ko.json +6 -12
- package/templates/retail-store/l10n/lt.json +6 -12
- package/templates/retail-store/l10n/nl.json +6 -12
- package/templates/retail-store/l10n/no.json +6 -12
- package/templates/retail-store/l10n/pl.json +6 -12
- package/templates/retail-store/l10n/pt.json +6 -12
- package/templates/retail-store/l10n/ru.json +6 -12
- package/templates/retail-store/l10n/sv.json +6 -12
- package/templates/retail-store/l10n/th.json +6 -12
- package/templates/retail-store/l10n/tr.json +6 -12
- package/templates/retail-store/l10n/uk.json +6 -12
- package/templates/retail-store/l10n/vi.json +6 -12
- package/templates/retail-store/l10n/zh.json +6 -12
- package/templates/yoga-studio/dev/index.ts +5 -5
- package/templates/yoga-studio/l10n/ar.json +6 -12
- package/templates/yoga-studio/l10n/cs.json +6 -12
- package/templates/yoga-studio/l10n/da.json +6 -12
- package/templates/yoga-studio/l10n/de.json +6 -12
- package/templates/yoga-studio/l10n/el.json +6 -12
- package/templates/yoga-studio/l10n/en.json +6 -14
- package/templates/yoga-studio/l10n/es.json +6 -12
- package/templates/yoga-studio/l10n/fi.json +6 -12
- package/templates/yoga-studio/l10n/fr.json +6 -12
- package/templates/yoga-studio/l10n/he.json +5 -10
- package/templates/yoga-studio/l10n/hu.json +6 -12
- package/templates/yoga-studio/l10n/id.json +6 -12
- package/templates/yoga-studio/l10n/it.json +6 -12
- package/templates/yoga-studio/l10n/ja.json +6 -12
- package/templates/yoga-studio/l10n/ko.json +6 -12
- package/templates/yoga-studio/l10n/lt.json +6 -12
- package/templates/yoga-studio/l10n/nl.json +6 -12
- package/templates/yoga-studio/l10n/no.json +6 -12
- package/templates/yoga-studio/l10n/pl.json +6 -12
- package/templates/yoga-studio/l10n/pt.json +6 -12
- package/templates/yoga-studio/l10n/ru.json +6 -12
- package/templates/yoga-studio/l10n/sv.json +6 -12
- package/templates/yoga-studio/l10n/th.json +6 -12
- package/templates/yoga-studio/l10n/tr.json +6 -12
- package/templates/yoga-studio/l10n/uk.json +6 -12
- package/templates/yoga-studio/l10n/vi.json +6 -12
- 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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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":
|
|
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/
|
|
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-
|
|
82
|
+
"key": "assets/pdf-CRFkfIB7.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92",
|
|
85
|
+
"file": "preview-deferred/cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|