@geode/opengeodeweb-front 2.0.0-rc.11 → 2.0.0-rc.12

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.
@@ -5,7 +5,7 @@
5
5
  <h4 class="pb-3">
6
6
  Please complete the recaptcha to launch the app
7
7
  </h4>
8
- <vue-recaptcha ref="recaptcha" :sitekey="useRuntimeConfig().public.RECAPTCHA_SITE_KEY" :loadRecaptchaScript="true"
8
+ <vue-recaptcha ref="recaptcha" :sitekey="site_key" :loadRecaptchaScript="true"
9
9
  @expired="is_captcha_validated = false" @verify="submit_recaptcha" align-self="center" />
10
10
  </v-col>
11
11
  <v-col v-else-if="!cloud_store.is_running && !cloud_store.is_connexion_launched">
@@ -22,6 +22,10 @@ const websocket_store = use_websocket_store()
22
22
  const cloud_store = use_cloud_store()
23
23
  const { is_captcha_validated } = storeToRefs(cloud_store)
24
24
 
25
+ const props = defineProps({
26
+ site_key: { type: String, required: true }
27
+ })
28
+
25
29
  watch(is_captcha_validated, async (value) => {
26
30
  if (value === true && process.client) {
27
31
  await cloud_store.create_connexion()
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "description": "OpenSource Vue/Vuetify framework for web applications",
20
20
  "type": "module",
21
- "version": "2.0.0-rc.11",
21
+ "version": "2.0.0-rc.12",
22
22
  "main": "./nuxt.config.js",
23
23
  "dependencies": {
24
24
  "@kitware/vtk.js": "^28.8.0",