smartbi-toolkit 1.2.3 → 1.2.4

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/README.md CHANGED
@@ -51,11 +51,11 @@ noop()
51
51
  该工具为vite插件,可以一键生成ext扩展包,但需要有java和Apache Ant环境
52
52
 
53
53
  ```javascript
54
- import vitePluginSmartbi from 'smartbi-toolkit/vite-plugin/VitePluginSmartbi'
54
+ import { VitePluginSmartbi } from 'smartbi-toolkit/vite-plugin/vite-plugin-smartbi'
55
55
 
56
56
  export default defineConfig({
57
57
  plugins: [
58
- vitePluginSmartbi({
58
+ VitePluginSmartbi({
59
59
  name:'ext-test',
60
60
  })
61
61
  ],
@@ -104,11 +104,11 @@ export type VitePluginSmartbiOptions = {
104
104
  环境同上,构建工具封装
105
105
 
106
106
  ```javascript
107
- import vitePluginSmartbi from 'smartbi-toolkit/vite-plugin/VitePluginSmartbix'
107
+ import { vitePluginSmartbiX } from 'smartbi-toolkit/vite-plugin/vite-plugin-smartbix'
108
108
 
109
109
  export default defineConfig({
110
110
  plugins: [
111
- VitePluginSmartbix({
111
+ vitePluginSmartbiX({
112
112
  name:'ext-test',
113
113
  })
114
114
  ],
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as axios$1 from "axios";
1
+ import * as axios0 from "axios";
2
2
 
3
3
  //#region src/index.d.ts
4
4
  type SmartbiDev = {
@@ -34,6 +34,6 @@ declare const login: (form?: {
34
34
  /**
35
35
  * 心跳
36
36
  */
37
- declare const noop: () => Promise<axios$1.AxiosResponse<any, any, {}>>;
37
+ declare const noop: () => Promise<axios0.AxiosResponse<any, any, {}>>;
38
38
  //#endregion
39
39
  export { SmartbiDev, login, noop, setSmartbiEnv, setStatus, smartbi, startHeatBeat, stopHeatBeat };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "smartbi-toolkit",
3
3
  "type": "module",
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "description": "非官方smartbi开发工具包,集成了rmi调用,ext扩展包一键打包等功能",
6
6
  "author": "Alex Liu <648632561@qq.com>",
7
7
  "license": "MIT",