@smart100/spu-web-plugin 0.0.34 → 0.0.36
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 +0 -11
- package/dist/index.d.ts +2 -2
- package/dist/spu-web-plugin.mjs +3818 -3382
- package/package.json +1 -1
- package/src/apaasSpuTrack.ts +17 -21
- package/src/axios.ts +49 -17
- package/src/core.js +158 -4
- package/src/index.ts +16 -10
- package/src/login.ts +83 -22
- package/src/nativeApi.ts +60 -0
- package/src/package/ali-oss/aliyun-oss-sdk.js +25121 -25121
- package/src/package/ali-oss/aliyun-oss-sdk.min.js +14 -14
- package/src/package/ali-oss/package.json +162 -162
- package/src/package/apaas-track/apaas-spu/index.js +6 -6
- package/src/package/apaas-track/apaas-spu/index.mjs +1586 -1564
- package/src/package/apaas-track/apaas-spu/index.umd.js +6 -6
- package/src/types/index.d.ts +2 -2
- package/src/urlquery.ts +4 -0
package/README.md
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
# @smart100/spu-web-plugin
|
|
2
2
|
|
|
3
|
-
+ node >= 18.15.0
|
|
4
|
-
|
|
5
3
|
## 文档
|
|
6
4
|
[@smart100/spu-web-plugin](https://tarymee.github.io/spu-web-plugin/)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## 发布
|
|
10
|
-
|
|
11
|
-
+ 修改代码
|
|
12
|
-
+ 修改 package.json 版本号
|
|
13
|
-
+ 执行 npm i 同步版本号到 package-lock.json 文件
|
|
14
|
-
+ 执行 npm run build 构建打包文件到 dist 目录
|
|
15
|
-
+ 执行 npm publish
|
package/dist/index.d.ts
CHANGED
|
@@ -85,13 +85,13 @@ export const functionCheck: (functioncode?: string) => boolean
|
|
|
85
85
|
export const setTitle: (pagetitle?: string) => void
|
|
86
86
|
export const isInApp: () => boolean
|
|
87
87
|
export const AMapLoader: IAMapLoader
|
|
88
|
+
export const singleLogin: any
|
|
89
|
+
export const updateToken: () => Promise<void>
|
|
88
90
|
export const getToken: () => string
|
|
89
91
|
export const getTokenExpires: () => string
|
|
90
92
|
export const getRefreshToken: () => string
|
|
91
93
|
export const getUser: (key?: string) => any
|
|
92
94
|
export const checkLogin: () => boolean
|
|
93
|
-
export const singleLogin: any
|
|
94
|
-
export const startRefreshtoken: any
|
|
95
95
|
export const Module: any
|
|
96
96
|
export const components: any
|
|
97
97
|
export const expandexp: (options: any) => void
|