diff --git a/functions/src/household.ts b/functions/src/household.ts index 4f7462b..09c6d3e 100644 --- a/functions/src/household.ts +++ b/functions/src/household.ts @@ -84,7 +84,7 @@ async function removeUidFromHousehold( * Der Besitzer kann seinen eigenen Haushalt nicht verlassen. */ export const leaveHousehold = onCall( - {region: "europe-west3"}, + {region: "europe-west3", enforceAppCheck: true}, async (request) => { if (!request.auth) { throw new HttpsError("unauthenticated", "Anmeldung erforderlich."); @@ -134,7 +134,7 @@ export const leaveHousehold = onCall( * Ein Mitglied aus dem eigenen Haushalt entfernen (nur der Besitzer). */ export const removeMember = onCall( - {region: "europe-west3"}, + {region: "europe-west3", enforceAppCheck: true}, async (request) => { if (!request.auth) { throw new HttpsError("unauthenticated", "Anmeldung erforderlich."); @@ -203,7 +203,7 @@ export const removeMember = onCall( * ändern dürfte. Codes sind einmalig verwendbar und 7 Tage gültig. */ export const joinHousehold = onCall( - {region: "europe-west3"}, + {region: "europe-west3", enforceAppCheck: true}, async (request) => { if (!request.auth) { throw new HttpsError("unauthenticated", "Anmeldung erforderlich."); diff --git a/functions/src/index.ts b/functions/src/index.ts index bb6a612..065a0b8 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -159,6 +159,7 @@ interface DiagnosisResult { export const diagnosePlant = onCall( { region: "europe-west3", + enforceAppCheck: true, secrets: [anthropicApiKey], memory: "512MiB", timeoutSeconds: 120, @@ -228,6 +229,7 @@ export const diagnosePlant = onCall( export const identifyPlant = onCall( { region: "europe-west3", + enforceAppCheck: true, secrets: [plantNetApiKey, anthropicApiKey], memory: "512MiB", timeoutSeconds: 120, @@ -329,6 +331,7 @@ interface LocationAnalysis { export const analyzeLocation = onCall( { region: "europe-west3", + enforceAppCheck: true, secrets: [anthropicApiKey], memory: "512MiB", timeoutSeconds: 120, @@ -379,6 +382,7 @@ interface PlantFitAssessment { export const assessPlantFit = onCall( { region: "europe-west3", + enforceAppCheck: true, secrets: [anthropicApiKey], memory: "512MiB", timeoutSeconds: 120, diff --git a/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved index c4a5293..5c3953c 100644 --- a/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/firebase-ios-sdk", "state" : { - "revision" : "42e81d245e30e49ea6a5830cf2842d44a1591270", - "version" : "12.15.0" + "revision" : "33a468adfdb75b53f05a37e7c886ca7c962b5c17", + "version" : "12.17.0" } }, { @@ -41,8 +41,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleAppMeasurement.git", "state" : { - "revision" : "144855f40d8668927f256a3045f7fdc4c3f4338b", - "version" : "12.15.0" + "revision" : "fceaffa07d22dcd5624d3639fd970351a4a5ad8c", + "version" : "12.17.0" } }, { @@ -116,6 +116,15 @@ "revision" : "f4a19a3c313dc2616c70bb49d29a799fb16be837", "version" : "2.4.1" } + }, + { + "identity" : "recaptcha-enterprise-mobile-sdk", + "kind" : "remoteSourceControl", + "location" : "https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk.git", + "state" : { + "revision" : "85588690041e63784be7bcb4b631c32565127ba2", + "version" : "18.9.1" + } } ], "version" : 2