@authing/native-js-ui-components 3.0.4 → 3.0.12
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/lib/index.d.ts +3 -4
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +4 -3
- package/src/components/Guard/index.tsx +2 -2
- package/src/components/index.ts +2 -5
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authing/native-js-ui-components",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"framework": "Native",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "lib/index.min.js",
|
|
7
7
|
"typings": "lib/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@authing/react-ui-components": "^3.0.
|
|
9
|
+
"@authing/react-ui-components": "^3.0.12",
|
|
10
10
|
"react": "16.14.0",
|
|
11
11
|
"react-dom": "16.14.0"
|
|
12
12
|
},
|
|
@@ -166,5 +166,6 @@
|
|
|
166
166
|
"webpack-dev-server": "3.11.0",
|
|
167
167
|
"webpack-manifest-plugin": "2.2.0",
|
|
168
168
|
"workbox-webpack-plugin": "5.1.4"
|
|
169
|
-
}
|
|
169
|
+
},
|
|
170
|
+
"gitHead": "f5635b5d69805749ebf0e463b28d8b4dcb17e2b7"
|
|
170
171
|
}
|
|
@@ -42,7 +42,7 @@ export {
|
|
|
42
42
|
GuardEventsCamelToKebabMap,
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
export type
|
|
45
|
+
export type GuardEventListeners = {
|
|
46
46
|
[key in keyof GuardEventsHandlerKebab]: Exclude<
|
|
47
47
|
Required<GuardEventsHandlerKebab>[key],
|
|
48
48
|
undefined
|
|
@@ -86,7 +86,7 @@ export class Guard {
|
|
|
86
86
|
[evtName]: [],
|
|
87
87
|
});
|
|
88
88
|
},
|
|
89
|
-
{} as
|
|
89
|
+
{} as GuardEventListeners
|
|
90
90
|
);
|
|
91
91
|
|
|
92
92
|
private render(cb?: () => void) {
|
package/src/components/index.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
// export * from "./Guard";
|
|
2
|
-
import { Guard } from "./Guard";
|
|
3
1
|
import { GuardConfig, GuardLocalConfig } from "@authing/react-ui-components/components";
|
|
4
|
-
export * from "./AuthingGuard";
|
|
5
|
-
|
|
6
|
-
export { Guard };
|
|
7
2
|
export type { GuardConfig, GuardLocalConfig };
|
|
8
3
|
|
|
4
|
+
export * from "./AuthingGuard";
|
|
5
|
+
export * from "./Guard";
|