@geode/opengeodeweb-front 2.0.0-rc.23 → 2.0.0-rc.25

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.
@@ -32,4 +32,9 @@
32
32
  await websocket_store.ws_connect()
33
33
  }
34
34
  })
35
+
36
+ onMounted(async () => {
37
+ console.log("useRuntimeConfig()", useRuntimeConfig())
38
+ console.log("site_key", site_key)
39
+ })
35
40
  </script>
@@ -1,18 +1,19 @@
1
1
  <template>
2
- <vue-recaptcha
3
- ref="recaptcha"
4
- :sitekey="site_key"
5
- :loadRecaptchaScript="true"
6
- @expired="is_captcha_validated = false"
7
- @verify="submit_recaptcha"
8
- align-self="center"
9
- />
2
+ <ClientOnly>
3
+ <vue-recaptcha
4
+ ref="recaptcha"
5
+ :sitekey="site_key"
6
+ :loadRecaptchaScript="true"
7
+ @expired="is_captcha_validated = false"
8
+ @verify="submit_recaptcha"
9
+ align-self="center"
10
+ />
11
+ </ClientOnly>
10
12
  </template>
11
13
 
12
14
  <script setup>
13
15
  import { VueRecaptcha } from "vue-recaptcha"
14
16
 
15
- const websocket_store = use_websocket_store()
16
17
  const cloud_store = use_cloud_store()
17
18
  const { is_captcha_validated } = storeToRefs(cloud_store)
18
19
 
@@ -22,6 +23,7 @@
22
23
  const { site_key } = props
23
24
 
24
25
  onMounted(() => {
26
+ console.log("recaptcha mounted", site_key)
25
27
  if (process.client) {
26
28
  const config = useRuntimeConfig()
27
29
  if (config.public.NODE_ENV !== "production") {
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "description": "OpenSource Vue/Vuetify framework for web applications",
21
21
  "type": "module",
22
- "version": "2.0.0-rc.23",
22
+ "version": "2.0.0-rc.25",
23
23
  "main": "./nuxt.config.js",
24
24
  "dependencies": {
25
25
  "@kitware/vtk.js": "^29.1.1",