@authing/react-ui-components 4.4.3-ey.53 → 4.4.3-ey.54
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authing/react-ui-components",
|
|
3
|
-
"version": "4.4.3-ey.
|
|
3
|
+
"version": "4.4.3-ey.54",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/index.min.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"antd": "^4.8.0",
|
|
14
14
|
"authing-js-sdk": "4.23.48",
|
|
15
15
|
"classnames": "^2.3.1",
|
|
16
|
+
"crypto-js": "^4.1.1",
|
|
16
17
|
"fastclick": "^1.0.6",
|
|
17
18
|
"global": "^4.4.0",
|
|
18
19
|
"phone": "^3.1.12",
|
|
@@ -143,6 +144,7 @@
|
|
|
143
144
|
"@testing-library/jest-dom": "^5.11.4",
|
|
144
145
|
"@testing-library/react": "^11.1.0",
|
|
145
146
|
"@testing-library/user-event": "^12.1.10",
|
|
147
|
+
"@types/crypto-js": "^4.1.2",
|
|
146
148
|
"@types/jest": "^26.0.15",
|
|
147
149
|
"@types/lodash": "^4.14.175",
|
|
148
150
|
"@types/node": "^12.0.0",
|
package/types/_utils/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const getClassnames: (classnames: (string | boolean | undefined)[
|
|
|
27
27
|
* @param item
|
|
28
28
|
* @returns {boolean}
|
|
29
29
|
*/
|
|
30
|
-
export declare function isObject(item: any):
|
|
30
|
+
export declare function isObject(item: any): any;
|
|
31
31
|
/**
|
|
32
32
|
* https://www.itranslater.com/qa/details/2115518846294557696
|
|
33
33
|
* Deep merge two objects.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const generateRandomStr: (length?: number) => string;
|
|
2
|
+
export declare const md5: (text: string) => string;
|
|
3
|
+
export declare const signRequestParams: (params: Record<string, any>) => Record<string, any> & {
|
|
4
|
+
_random: string;
|
|
5
|
+
_timestamp: number;
|
|
6
|
+
} & {
|
|
7
|
+
_sign: string;
|
|
8
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.4.3-ey.
|
|
1
|
+
declare const _default: "4.4.3-ey.54";
|
|
2
2
|
export default _default;
|