@hep-code-runner/vue2 2.3.7 → 2.3.9

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,6 +40,7 @@ export default {
40
40
  | 属性 | 类型 | 默认值 | 说明 |
41
41
  |------|------|--------|------|
42
42
  | pistonUrl | string | '/api/piston' | Piston API 地址 |
43
+ | token | string | - | 认证 Token(会作为 Authorization 和 id-token Header) |
43
44
  | language | string | 'javascript' | 当前语言 |
44
45
  | code | string | '' | 当前代码 |
45
46
  | theme | 'light' \| 'dark' | 'light' | 主题 |
@@ -164,6 +165,7 @@ export default {
164
165
  | title | string | '代码执行器' | 弹窗标题 |
165
166
  | width | string \| number | 800 | 弹窗宽度 |
166
167
  | pistonUrl | string | '/api/piston' | Piston API 地址 |
168
+ | token | string | - | 认证 Token(会作为 Authorization 和 id-token Header) |
167
169
  | theme | 'light' \| 'dark' | 'light' | 主题 |
168
170
  | themeColor | string | - | 自定义主题色 |
169
171
  | showLanguageSelector | boolean | true | 显示语言选择器 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hep-code-runner/vue2",
3
- "version": "2.3.7",
3
+ "version": "2.3.9",
4
4
  "description": "Vue 2 code runner component",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",