···2525 },
2626 "generate": {
2727 "title": "Your passphrase",
2828+ "passphraseFrameLabel": "Passphrase",
2829 "next": "I have saved my passphrase",
2930 "description": "Your passphrase acts as your username and password. Make sure to keep it safe as you will need to enter it to login to your account"
3031 },
+11-1
src/backend/helpers/report.ts
···99// for anybody who cares - these are anonymous metrics.
1010// They are just used for figuring out if providers are broken or not
1111const metricsEndpoint = "https://backend.movie-web.app/metrics/providers";
1212+const captchaMetricsEndpoint = "https://backend.movie-web.app/metrics/captcha";
1213const batchId = () => nanoid(32);
13141415export type ProviderMetric = {
···136137export function useReportProviders() {
137138 const report = useCallback((items: ProviderMetric[]) => {
138139 if (items.length === 0) return;
139139- reportProviders(items);
140140+ reportProviders(items).catch(() => {});
140141 }, []);
141142142143 return { report };
143144}
145145+146146+export function reportCaptchaSolve(success: boolean) {
147147+ ofetch(captchaMetricsEndpoint, {
148148+ method: "POST",
149149+ body: {
150150+ success,
151151+ },
152152+ }).catch(() => {});
153153+}