@smart100/spu-web-plugin 1.0.17 → 1.0.19

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/index.d.ts CHANGED
@@ -31,12 +31,11 @@ interface IAMapLoader {
31
31
  }
32
32
 
33
33
  interface IMapService {
34
- init: () => Promise<any>
34
+ init: () => Promise<void>
35
35
  type: 'amap' | 'tencent' | 'baidu'
36
36
  AMap: any
37
37
  BMap: any
38
38
  TMap: any
39
- MapCore: any
40
39
  }
41
40
 
42
41
  type StorageType = 'storage' | 'storage-1d' | 'storage-3m' | 'storage-1y'
@@ -81,6 +80,7 @@ interface IUploadService {
81
80
  // modulename: string
82
81
  // moduleversion: string
83
82
  // storageproxyprefix?: string
83
+ // isfixapptokenexpired?: boolean
84
84
  // router?: any
85
85
  // }
86
86
 
@@ -98,7 +98,7 @@ export default SPUWebPlugin
98
98
  export const globalOptions: any
99
99
  export const lsProxy: any
100
100
  export const ssProxy: any
101
- export const getLocation: () => Promise<{
101
+ export const getLocation: (isuseiplocation?: boolean) => Promise<{
102
102
  longitude: string
103
103
  latitude: string
104
104
  address: string
@@ -127,6 +127,7 @@ export const getCloudServ: (type?: StorageType) => any
127
127
  export const getUniqueid: () => string
128
128
  export const getUuid: () => string
129
129
  export const functionCheck: (functioncode?: string) => boolean
130
+ export const getServerTime: () => Promise<string>
130
131
  export const setTitle: (pagetitle?: string) => void
131
132
  export const isInApp: () => boolean
132
133
  export const AMapLoader: IAMapLoader