@authing/native-js-ui-components 3.1.15 → 3.1.24

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/native-js-ui-components",
3
- "version": "3.1.15",
3
+ "version": "3.1.24",
4
4
  "framework": "Native",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -165,8 +165,8 @@
165
165
  "workbox-webpack-plugin": "5.1.4"
166
166
  },
167
167
  "dependencies": {
168
- "@authing/react-ui-components": "^3.1.15",
168
+ "@authing/react-ui-components": "^3.1.21",
169
169
  "authing-js-sdk": "4.23.30-alpha.3"
170
170
  },
171
- "gitHead": "e8c0c8a0537ae158c58225dafa0adc8e0055ed32"
171
+ "gitHead": "c44b0255b686962674c05050ef87f6d479c8b042"
172
172
  }
@@ -143,4 +143,12 @@ export class Guard {
143
143
  this.visible = false;
144
144
  this.render();
145
145
  }
146
+
147
+ unmountComponent() {
148
+ const node = Guard.getGuardContainer(this.config?.target);
149
+
150
+ if (node) {
151
+ ReactDOM.unmountComponentAtNode(node);
152
+ }
153
+ }
146
154
  }
package/tsconfig.json CHANGED
@@ -3,7 +3,11 @@
3
3
  "baseUrl": ".",
4
4
  "outDir": "lib/",
5
5
  "target": "es5",
6
- "lib": ["dom", "dom.iterable", "esnext"],
6
+ "lib": [
7
+ "dom",
8
+ "dom.iterable",
9
+ "esnext"
10
+ ],
7
11
  "allowJs": true,
8
12
  "skipLibCheck": true,
9
13
  "esModuleInterop": true,
@@ -17,8 +21,17 @@
17
21
  "isolatedModules": true,
18
22
  "declaration": true,
19
23
  "noEmit": false,
20
- "jsx": "react"
24
+ "jsx": "react",
25
+ "downlevelIteration": true
21
26
  },
22
- "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"],
23
- "exclude": ["node_modules", "lib", "build"]
24
- }
27
+ "include": [
28
+ "src/**/*.ts",
29
+ "src/**/*.tsx",
30
+ "src/**/*.json"
31
+ ],
32
+ "exclude": [
33
+ "node_modules",
34
+ "lib",
35
+ "build"
36
+ ]
37
+ }