@authing/react-ui-components 4.3.1 → 4.3.2-rc.1

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.3.1",
3
+ "version": "4.3.2-rc.1",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -235,6 +235,5 @@
235
235
  "webpack-dev-server": "3.11.0",
236
236
  "webpack-manifest-plugin": "2.2.0",
237
237
  "workbox-webpack-plugin": "5.1.4"
238
- },
239
- "gitHead": "d464051d33c7350b716615a3836bfd9998eb8a13"
238
+ }
240
239
  }
@@ -307,4 +307,10 @@ export interface ApplicationConfig {
307
307
  mfa: {
308
308
  faceScore: number;
309
309
  };
310
+ /** 是否开启自定义安全规则 */
311
+ customSecurityEnabled: boolean;
312
+ /** 应用的人机验证策略,始终开启、不开启、设置条件触发 */
313
+ appRobotVerify: 'always_enable' | 'disable' | 'condition_set';
314
+ /** 用户池的人机验证策略,始终开启、不开启、设置条件触发 */
315
+ userpoolRobotVerify: 'always_enable' | 'disable' | 'condition_set';
310
316
  }
@@ -154,3 +154,5 @@ export declare const useGuardPhoneRegex: () => RegExp | null;
154
154
  export declare const useGuardDefaultLanguage: () => Lang;
155
155
  /** 用来操作和获取租户相关的内容 */
156
156
  export declare const useGuardTenantProvider: () => MultipleTenant | undefined;
157
+ /** 当前人机验证策略 */
158
+ export declare const useRobotVerify: () => "always_enable" | "disable" | "condition_set";
@@ -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): boolean;
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.
@@ -1,2 +1,2 @@
1
- declare const _default: "4.3.1";
1
+ declare const _default: "4.3.2-rc.1";
2
2
  export default _default;
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2019-present Authing
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,26 +0,0 @@
1
- {
2
- "files": {
3
- "main.css": "/static/css/main.5aec6972.chunk.css",
4
- "main.js": "/static/js/main.b635a15a.chunk.js",
5
- "main.js.map": "/static/js/main.b635a15a.chunk.js.map",
6
- "runtime-main.js": "/static/js/runtime-main.6f6a6483.js",
7
- "runtime-main.js.map": "/static/js/runtime-main.6f6a6483.js.map",
8
- "static/css/2.31681d53.chunk.css": "/static/css/2.31681d53.chunk.css",
9
- "static/js/2.d2a1168e.chunk.js": "/static/js/2.d2a1168e.chunk.js",
10
- "static/js/2.d2a1168e.chunk.js.map": "/static/js/2.d2a1168e.chunk.js.map",
11
- "static/js/3.b3dd7130.chunk.js": "/static/js/3.b3dd7130.chunk.js",
12
- "static/js/3.b3dd7130.chunk.js.map": "/static/js/3.b3dd7130.chunk.js.map",
13
- "index.html": "/index.html",
14
- "static/css/2.31681d53.chunk.css.map": "/static/css/2.31681d53.chunk.css.map",
15
- "static/css/main.5aec6972.chunk.css.map": "/static/css/main.5aec6972.chunk.css.map",
16
- "static/js/2.d2a1168e.chunk.js.LICENSE.txt": "/static/js/2.d2a1168e.chunk.js.LICENSE.txt",
17
- "static/media/loading.3cf0104f.svg": "/static/media/loading.3cf0104f.svg"
18
- },
19
- "entrypoints": [
20
- "static/js/runtime-main.6f6a6483.js",
21
- "static/css/2.31681d53.chunk.css",
22
- "static/js/2.d2a1168e.chunk.js",
23
- "static/css/main.5aec6972.chunk.css",
24
- "static/js/main.b635a15a.chunk.js"
25
- ]
26
- }
package/dist/index.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><html lang="zh-TW"><head><meta charset="utf-8"/><link rel="icon" href="https://files.authing.co/authing-console/login_logo.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Guard Examples</title><link href="/static/css/2.31681d53.chunk.css" rel="stylesheet"><link href="/static/css/main.5aec6972.chunk.css" rel="stylesheet"></head><body><div id="root"></div><script>!function(e){function t(t){for(var n,i,a=t[0],c=t[1],l=t[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"b3dd7130"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){a.onerror=a.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this["webpackJsonp@authing/react-ui-components"]=this["webpackJsonp@authing/react-ui-components"]||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var f=c;r()}([])</script><script src="/static/js/2.d2a1168e.chunk.js"></script><script src="/static/js/main.b635a15a.chunk.js"></script></body></html>