@das-fed/utils 7.1.0-dev.30 → 7.1.0-dev.32

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 (36) hide show
  1. package/api-services/index.js +960 -978
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +800 -782
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/contract/index.js +782 -800
  6. package/api-services/modules/contract/index.js.gz +0 -0
  7. package/api-services/modules/enterpriseright/index.js +782 -800
  8. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  9. package/api-services/modules/gateway-edge/index.js +782 -800
  10. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  11. package/api-services/modules/index.js +970 -952
  12. package/api-services/modules/index.js.gz +0 -0
  13. package/api-services/modules/iot/index.js +1054 -1036
  14. package/api-services/modules/iot/index.js.gz +0 -0
  15. package/api-services/modules/link/index.js +782 -800
  16. package/api-services/modules/link/index.js.gz +0 -0
  17. package/api-services/modules/platformManage/index.js +776 -794
  18. package/api-services/modules/platformManage/index.js.gz +0 -0
  19. package/api-services/modules/space-manage/index.js +782 -800
  20. package/api-services/modules/space-manage/index.js.gz +0 -0
  21. package/api-services/modules/supplier/index.js +802 -784
  22. package/api-services/modules/supplier/index.js.gz +0 -0
  23. package/create-api-service/sso/index.d.ts +3 -16
  24. package/create-api-service/sso/index.js +560 -543
  25. package/create-api-service/sso/index.js.gz +0 -0
  26. package/create-api-service/sso/utils.d.ts +6 -0
  27. package/create-api-service/thirdLogout/index.js +446 -410
  28. package/create-api-service/thirdLogout/index.js.gz +0 -0
  29. package/create-api-service/thirdLogout/sso/utils.d.ts +8 -0
  30. package/create-api-service/thirdLogout/{index.d.ts → thirdLogout/index.d.ts} +7 -1
  31. package/curring-http/type.d.ts +93 -93
  32. package/esm-map.json +4 -1
  33. package/package.json +4 -4
  34. package/token-tools/index.d.ts +35 -0
  35. package/token-tools/index.js +59 -25
  36. package/token-tools/index.js.gz +0 -0
@@ -1,4 +1,5 @@
1
- import { getQuery } from './utils';
1
+ import { tokenStorage } from '@das-fed/utils/token-tools';
2
+ import { getLoginType, getQuery } from './utils';
2
3
 
3
4
  declare const real_uri: any;
4
5
  declare const getTokenParams: any;
@@ -13,18 +14,4 @@ declare const login: (_params: any) => any;
13
14
  * @returns 刷新或项目恢复后的访问令牌
14
15
  */
15
16
  declare const refreshToken: (params: any) => unknown;
16
- declare const tokenStorage: () => {
17
- getData: () => {
18
- accessToken: any;
19
- accessTokenExpiredAt: any;
20
- refreshToken: any;
21
- };
22
- save: (data: {
23
- accessToken: string | null;
24
- accessTokenExpiredAt: number;
25
- refreshToken: string | null;
26
- info: any;
27
- }) => void;
28
- remove: () => void;
29
- };
30
- export { getTokenParams, getTokenFromCode, real_uri, getQuery, getToken, tokenStorage, login, refreshToken };
17
+ export { getTokenParams, getTokenFromCode, real_uri, getLoginType, getQuery, getToken, tokenStorage, login, refreshToken, };