@vuepress/client 2.0.0-beta.46 → 2.0.0-beta.47

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/app.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  usePageHead,
15
15
  usePageLang,
16
16
  withBase
17
- } from "./chunk-HEGD2UVF.js";
17
+ } from "./chunk-OOQFWU6B.js";
18
18
 
19
19
  // src/app.ts
20
20
  import { clientConfigs } from "@internal/clientConfigs";
@@ -58,6 +58,7 @@ var createVueRouter = () => {
58
58
 
59
59
  // src/setupDevtools.ts
60
60
  import { setupDevtoolsPlugin } from "@vue/devtools-api";
61
+ var COMPONENT_STATE_TYPE = "VuePress";
61
62
  var setupDevtools = (app, globalComputed) => {
62
63
  setupDevtoolsPlugin({
63
64
  app,
@@ -66,11 +67,11 @@ var setupDevtools = (app, globalComputed) => {
66
67
  packageName: "@vuepress/client",
67
68
  homepage: "https://v2.vuepress.vuejs.org",
68
69
  logo: "https://v2.vuepress.vuejs.org/images/hero.png",
69
- componentStateTypes: ["VuePress"]
70
+ componentStateTypes: [COMPONENT_STATE_TYPE]
70
71
  }, (api) => {
71
72
  api.on.inspectComponent((payload) => {
72
73
  payload.instanceData.state.push(...Object.entries(globalComputed).map(([name, item]) => ({
73
- type: "VuePress",
74
+ type: COMPONENT_STATE_TYPE,
74
75
  key: name,
75
76
  editable: false,
76
77
  value: item.value
File without changes
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  useSiteLocaleData,
26
26
  useUpdateHead,
27
27
  withBase
28
- } from "./chunk-HEGD2UVF.js";
28
+ } from "./chunk-OOQFWU6B.js";
29
29
 
30
30
  // src/helpers/defineClientConfig.ts
31
31
  var defineClientConfig = (clientConfig) => clientConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/client",
3
- "version": "2.0.0-beta.46",
3
+ "version": "2.0.0-beta.47",
4
4
  "description": "Client package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -34,8 +34,8 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@vue/devtools-api": "^6.1.4",
37
- "@vuepress/shared": "2.0.0-beta.46",
38
- "vue": "^3.2.35",
37
+ "@vuepress/shared": "2.0.0-beta.47",
38
+ "vue": "^3.2.36",
39
39
  "vue-router": "^4.0.15"
40
40
  },
41
41
  "publishConfig": {