@yeepay/client-utils 4.0.2 → 4.0.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.
|
@@ -15,7 +15,6 @@ declare global {
|
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/is.d.ts
|
|
18
|
-
declare function isMobileDevice(): boolean;
|
|
19
18
|
declare const BREAKPOINTS: {
|
|
20
19
|
MOBILE_MAX: number;
|
|
21
20
|
TABLET_MIN: number;
|
|
@@ -110,4 +109,4 @@ declare function removeToken(): void;
|
|
|
110
109
|
//#region src/utils.d.ts
|
|
111
110
|
declare function getQueryObject(url?: string): Record<string, string>;
|
|
112
111
|
//#endregion
|
|
113
|
-
export { BREAKPOINTS, MEDIA_QUERIES, logger as debug, getQueryObject, getToken, isDesktop, isMobile,
|
|
112
|
+
export { BREAKPOINTS, MEDIA_QUERIES, logger as debug, getQueryObject, getToken, isDesktop, isMobile, isTablet, removeToken, serviceFactory, setTokenFromUrl, verifySuccessCode };
|
|
@@ -298,4 +298,4 @@ function serviceFactory(options, callbacks) {
|
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
//#endregion
|
|
301
|
-
export { BREAKPOINTS, MEDIA_QUERIES, logger as debug, getQueryObject, getToken, isDesktop, isMobile,
|
|
301
|
+
export { BREAKPOINTS, MEDIA_QUERIES, logger as debug, getQueryObject, getToken, isDesktop, isMobile, isTablet, removeToken, serviceFactory, setTokenFromUrl, verifySuccessCode };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yeepay/client-utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.4",
|
|
5
5
|
"description": "shared utilities for yeepay client packages",
|
|
6
6
|
"author": "Yong Yang",
|
|
7
7
|
"homepage": "http://gitlab.yeepay.com/ued/client-utils#readme",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import": "./dist/index.
|
|
14
|
+
"import": "./dist/index.mjs"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"main": "./dist/index.
|
|
18
|
-
"types": "./dist/index.d.
|
|
17
|
+
"main": "./dist/index.mjs",
|
|
18
|
+
"types": "./dist/index.d.mts",
|
|
19
19
|
"files": [
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"happy-dom": "^18.0.1",
|
|
42
42
|
"lint-staged": "^15.2.2",
|
|
43
43
|
"simple-git-hooks": "^2.11.1",
|
|
44
|
-
"tsdown": "^0.
|
|
44
|
+
"tsdown": "^0.18.0",
|
|
45
45
|
"typescript": "^5.4.5",
|
|
46
46
|
"vitest": "^1.6.0"
|
|
47
47
|
},
|