@authing/react-ui-components 3.1.23 → 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 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.
package/lib/index.d.ts CHANGED
@@ -1998,6 +1998,7 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
1998
1998
  agreements: Agreement[];
1999
1999
  loginWay?: LoginMethods;
2000
2000
  submitButText?: string;
2001
+ saveIdentify?: (type: LoginMethods, identity: string) => void;
2001
2002
  }
2002
2003
  export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
2003
2004
  export {};
@@ -2576,12 +2577,14 @@ declare module '@authing/react-ui-components/components/Register/utils' {
2576
2577
 
2577
2578
  }
2578
2579
  declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
2579
- /// <reference types="react" />
2580
+ import React from 'react';
2580
2581
  export enum InputMethodMap {
2581
2582
  email = "email-code",
2582
2583
  phone = "phone-code"
2583
2584
  }
2584
- export const SelfUnlock: () => JSX.Element;
2585
+ export const SelfUnlock: ({ identifyRef, }: {
2586
+ identifyRef?: React.MutableRefObject<string> | undefined;
2587
+ }) => JSX.Element;
2585
2588
 
2586
2589
  }
2587
2590
  declare module '@authing/react-ui-components/components/SelfUnlock/index' {
@@ -3173,6 +3176,10 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
3173
3176
  countryCode: string | undefined;
3174
3177
  phoneNumber: string;
3175
3178
  };
3179
+ export enum SocialConnectionEvent {
3180
+ Message = "message",
3181
+ Auth = "auth"
3182
+ }
3176
3183
  /**
3177
3184
  *
3178
3185
  * @param config
@@ -3307,6 +3314,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3307
3314
  specifyDefaultLoginMethod: LoginMethods;
3308
3315
  lockMethod?: undefined;
3309
3316
  } | undefined;
3317
+ export const getPasswordIdentify: (identity: string) => string;
3310
3318
 
3311
3319
  }
3312
3320
  declare module '@authing/react-ui-components/components/_utils/initAppId' {
@@ -3501,7 +3509,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3501
3509
 
3502
3510
  }
3503
3511
  declare module '@authing/react-ui-components/components/version/version' {
3504
- const _default: "3.1.23";
3512
+ const _default: "3.1.24";
3505
3513
  export default _default;
3506
3514
 
3507
3515
  }