@springmicro/auth 0.5.10 → 0.5.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/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { default as default_2 } from 'react';
2
- import { FullAuthConfig } from 'auth-astro/src/config';
3
2
  import { JSX as JSX_2 } from 'react/jsx-runtime';
4
3
 
5
4
  declare function addUser(user: any): Promise<any>;
@@ -17,12 +16,6 @@ declare type Application = {
17
16
  termsOfUse: string;
18
17
  };
19
18
 
20
- declare type AuthConfig = {
21
- casdoorEndpoint: string;
22
- clientId: string;
23
- clientSecret: string;
24
- };
25
-
26
19
  declare function checkUserPassword(values: any): Promise<any>;
27
20
 
28
21
  declare function deleteUser(user: any): Promise<any>;
@@ -31,16 +24,6 @@ declare function getAddressOptions(url: any): Promise<any>;
31
24
 
32
25
  declare function getAffiliationOptions(url: any, code: any): Promise<any>;
33
26
 
34
- /**
35
- * @param param0 {
36
- casdoorEndpoint: http://casdoor.tld;
37
- clientId: hex;
38
- clientSecret: hex;
39
- }
40
- * @returns FullAuthConfig
41
- */
42
- export declare const getAuthConfig: ({ casdoorEndpoint, clientId, clientSecret, }: AuthConfig) => FullAuthConfig;
43
-
44
27
  declare function getCaptcha(owner: any, name: any, isCurrentProvider: any): Promise<any>;
45
28
 
46
29
  declare function getDefaultValues(signupItems: SignupItem[]): any;
package/dist/index.js CHANGED
@@ -1,7 +1,6 @@
1
- import { S as s, c as a, b as e, u as n } from "./index-ecBwof-h.js";
1
+ import { S as r, b as s, u as S } from "./index-DRGK_WT6.js";
2
2
  export {
3
- s as SignUp,
4
- a as SignUpProvider,
5
- e as getAuthConfig,
6
- n as useSignUp
3
+ r as SignUp,
4
+ s as SignUpProvider,
5
+ S as useSignUp
7
6
  };