@ctx-core/auth0-ui 12.1.14 → 12.1.18

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/{dist → lib}/auth0_ui_ctx_key.js +0 -0
  3. package/{dist → lib}/auth0_ui_ctx_key.js.map +0 -0
  4. package/{dist → lib}/auth_script_html_.js +0 -0
  5. package/{dist → lib}/auth_script_html_.js.map +0 -0
  6. package/{dist → lib}/getContext_auth0_ui_ctx.js +0 -0
  7. package/{dist → lib}/getContext_auth0_ui_ctx.js.map +0 -0
  8. package/{dist → lib}/index.js +0 -0
  9. package/{dist → lib}/index.js.map +0 -0
  10. package/{dist → lib}/src/auth0_ui_ctx_key.d.ts +0 -0
  11. package/{dist → lib}/src/auth_script_html_.d.ts +0 -0
  12. package/{dist → lib}/src/getContext_auth0_ui_ctx.d.ts +0 -0
  13. package/{dist → lib}/src/index.d.ts +0 -0
  14. package/{dist → lib}/src/ui/Auth0_c.d.ts +0 -0
  15. package/{dist → lib}/src/ui/index.d.ts +0 -0
  16. package/{dist → lib}/ui/Auth0.svelte +0 -0
  17. package/{dist → lib}/ui/Auth0_Change_Password_Form.svelte +0 -0
  18. package/{dist → lib}/ui/Auth0_Dialog_Close.svelte +0 -0
  19. package/{dist → lib}/ui/Auth0_Forgot_Password_Check_Email_Form.svelte +0 -0
  20. package/{dist → lib}/ui/Auth0_Forgot_Password_Form.svelte +0 -0
  21. package/{dist → lib}/ui/Auth0_Login_Form.svelte +0 -0
  22. package/{dist → lib}/ui/Auth0_Signup_Form.svelte +0 -0
  23. package/{dist → lib}/ui/Auth0_c.js +6 -12
  24. package/lib/ui/Auth0_c.js.map +1 -0
  25. package/{dist → lib}/ui/index.js +0 -0
  26. package/{dist → lib}/ui/index.js.map +0 -0
  27. package/package.json +26 -27
  28. package/src/ui/Auth0_c.ts +1 -2
  29. package/svelte.config.js +1 -1
  30. package/tsconfig.json +3 -3
  31. package/COMMIT_EDITMSG +0 -2
  32. package/dist/ui/Auth0_c.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @ctx-core/auth0-ui
2
2
 
3
+ ## 12.1.18
4
+
5
+ ### Patch Changes
6
+
7
+ - update dependencies
8
+ - Updated dependencies
9
+ - @ctx-core/auth0-management@7.0.12
10
+
11
+ ## 12.1.17
12
+
13
+ ### Patch Changes
14
+
15
+ - .js + .d.ts instead of .ts
16
+ - Updated dependencies
17
+ - @ctx-core/auth0@28.0.8
18
+ - @ctx-core/auth0-management@7.0.11
19
+ - @ctx-core/dialog@18.0.6
20
+ - @ctx-core/dom@11.1.2
21
+ - @ctx-core/error@11.1.18
22
+ - @ctx-core/fetch@11.0.104
23
+ - @ctx-core/function@20.2.21
24
+ - @ctx-core/http@9.0.19
25
+ - @ctx-core/jwt@10.0.47
26
+ - @ctx-core/logger@9.0.41
27
+ - @ctx-core/svelte@10.1.2
28
+
29
+ ## 12.1.16
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies
34
+ - @ctx-core/auth0@28.0.0
35
+ - @ctx-core/dialog@18.0.0
36
+ - @ctx-core/fetch@11.0.102
37
+ - @ctx-core/auth0-management@7.0.10
38
+
39
+ ## 12.1.15
40
+
41
+ ### Patch Changes
42
+
43
+ - update dependencies
44
+
3
45
  ## 12.1.14
4
46
 
5
47
  ### Patch Changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,7 +2,6 @@ import { onDestroy } from 'svelte';
2
2
  import { auth0_body__b, auth0_opened_class$_b, auth0_token_error$_b, auth0_token_json$_b, clear_auth0_token_error_b, close_auth0_b, logout_auth0_token_error_b, open_auth0_forgot_password_check_email_b, open_auth0_login_b, password_realm_body__b, post_auth0_auth_change_password_b, post_auth0_dbconnections_signup_b, post_auth0_oauth_token_b, post_auth0_passwordless_start_b, validate_auth0_change_password, validate_auth0_forgot_password, validate_auth0_signup } from '@ctx-core/auth0';
3
3
  import { has_dom, dom_a_ } from '@ctx-core/dom';
4
4
  import { noop } from '@ctx-core/function';
5
- import { subscribe } from '@ctx-core/store';
6
5
  export class Auth0_c {
7
6
  constructor(ctx1){
8
7
  this.ctx = ctx1;
@@ -24,13 +23,12 @@ export class Auth0_c {
24
23
  this.post_auth0_passwordless_start = post_auth0_passwordless_start_b(this.ctx);
25
24
  this.onMount = async (root)=>{
26
25
  if (has_dom) {
27
- const unsubscribe = subscribe(this.auth0_opened_class, ()=>this.schedule_forms_clear(root)
26
+ const unsubscribe = this.auth0_opened_class.subscribe(()=>this.schedule_forms_clear(root)
28
27
  );
29
28
  onDestroy(unsubscribe);
30
29
  }
31
30
  };
32
- this.login = async (data, schedule_forms_clear = ()=>{
33
- })=>{
31
+ this.login = async (data, schedule_forms_clear = ()=>{})=>{
34
32
  const response = await this.post_auth0_oauth_token(this.login_password_realm_body_(data));
35
33
  if (response.ok) {
36
34
  const auth0_token_json = await response.text();
@@ -43,8 +41,7 @@ export class Auth0_c {
43
41
  this.logout_auth0_token_error($auth_token_error);
44
42
  }
45
43
  };
46
- this.signup = async (data, schedule_forms_clear = ()=>{
47
- })=>{
44
+ this.signup = async (data, schedule_forms_clear = ()=>{})=>{
48
45
  const response = await this.post_auth0_dbconnections_signup(this.signup_password_realm_body_(data));
49
46
  const auth0_userinfo = await response.json();
50
47
  const { statusCode } = auth0_userinfo;
@@ -63,8 +60,7 @@ export class Auth0_c {
63
60
  password: data.password
64
61
  }, schedule_forms_clear);
65
62
  };
66
- this.change_password = async (form, schedule_forms_clear = ()=>{
67
- })=>{
63
+ this.change_password = async (form, schedule_forms_clear = ()=>{})=>{
68
64
  const { password } = form;
69
65
  let error;
70
66
  try {
@@ -106,8 +102,7 @@ export class Auth0_c {
106
102
  clear_inputs(dom_a_('input[type=password]', root));
107
103
  }, 100);
108
104
  };
109
- this.onsubmit_signup = async (event, ctx, schedule_forms_clear = ()=>{
110
- })=>{
105
+ this.onsubmit_signup = async (event, ctx, schedule_forms_clear = ()=>{})=>{
111
106
  event.preventDefault();
112
107
  const { email_input , password_input , password_confirmation_input , } = ctx;
113
108
  const email = email_input.value;
@@ -128,8 +123,7 @@ export class Auth0_c {
128
123
  }, schedule_forms_clear);
129
124
  return;
130
125
  };
131
- this.onsubmit_login = async (event, ctx, schedule_forms_clear = ()=>{
132
- })=>{
126
+ this.onsubmit_login = async (event, ctx, schedule_forms_clear = ()=>{})=>{
133
127
  event.preventDefault();
134
128
  const { username_login_input , password_login_input } = ctx;
135
129
  const username = username_login_input.value;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/ui/Auth0_c.ts"],"sourcesContent":["import { onDestroy } from 'svelte'\nimport type {\n\tauth0_body__T, auth0_client_id_body_I, auth0_grant_type_body_I, login_data_I, logout_auth0_token_error_T,\n\topen_auth0_forgot_password_check_email_T, open_auth0_login_T, password_realm_body__T, password_realm_body_T,\n\tpost_auth0_auth_change_password_T, post_auth0_dbconnections_signup_T, post_auth0_oauth_token_body_I,\n\tpost_auth0_oauth_token_T, post_auth0_passwordless_start_body_T, post_auth0_passwordless_start_optional_body_T,\n\tpost_auth0_passwordless_start_T, signup_data_I\n} from '@ctx-core/auth0'\nimport {\n\tauth0_body__b, auth0_opened_class$_b, auth0_token_error$_b, auth0_token_json$_b, clear_auth0_token_error_b,\n\tclose_auth0_b, logout_auth0_token_error_b, open_auth0_forgot_password_check_email_b, open_auth0_login_b,\n\tpassword_realm_body__b, post_auth0_auth_change_password_b, post_auth0_dbconnections_signup_b,\n\tpost_auth0_oauth_token_b, post_auth0_passwordless_start_b, validate_auth0_change_password,\n\tvalidate_auth0_forgot_password, validate_auth0_signup\n} from '@ctx-core/auth0'\nimport { has_dom, dom_a_ } from '@ctx-core/dom'\nimport { noop } from '@ctx-core/function'\nimport type { Ctx } from '@ctx-core/object'\nexport class Auth0_c {\n\tconstructor(protected ctx:Ctx) {}\n\treadonly login_auth0_body_ =\n\t\tauth0_body__b<login_data_password_realm_body_I>(\n\t\t\tthis.ctx, 'login_auth0_body_') as auth0_body__T<login_data_password_realm_body_I>\n\treadonly login_password_realm_body_ = password_realm_body__b<login_data_password_realm_body_I>(\n\t\tthis.ctx,\n\t\t'login_password_realm_body_',\n\t\tthis.login_auth0_body_\n\t)\n\treadonly signup_auth0_body_ =\n\t\tauth0_body__b<signup_data_password_realm_body_I>(\n\t\t\tthis.ctx, 'signup_auth0_body_') as auth0_body__T<signup_data_password_realm_body_I>\n\treadonly signup_password_realm_body_:password_realm_body__T<signup_data_password_realm_body_I> =\n\t\tpassword_realm_body__b<signup_data_password_realm_body_I>(\n\t\t\tthis.ctx, 'signup_password_realm_body_fn', this.signup_auth0_body_\n\t\t)\n\treadonly auth0_opened_class = auth0_opened_class$_b(this.ctx)\n\treadonly auth0_token_json$ = auth0_token_json$_b(this.ctx)\n\treadonly auth0_token_error = auth0_token_error$_b(this.ctx)\n\treadonly clear_auth0_token_error = clear_auth0_token_error_b(this.ctx)\n\treadonly close_auth0 = close_auth0_b(this.ctx)\n\treadonly logout_auth0_token_error:logout_auth0_token_error_T = logout_auth0_token_error_b(this.ctx)\n\treadonly open_auth0_login:open_auth0_login_T = open_auth0_login_b(this.ctx)\n\treadonly open_auth0_forgot_password_check_email:open_auth0_forgot_password_check_email_T = open_auth0_forgot_password_check_email_b(this.ctx)\n\treadonly post_auth0_dbconnections_signup:post_auth0_dbconnections_signup_T = post_auth0_dbconnections_signup_b(this.ctx)\n\treadonly post_auth0_oauth_token:post_auth0_oauth_token_T = post_auth0_oauth_token_b(this.ctx)\n\treadonly post_auth0_auth_change_password:post_auth0_auth_change_password_T = post_auth0_auth_change_password_b(this.ctx)\n\treadonly post_auth0_passwordless_start:post_auth0_passwordless_start_T = post_auth0_passwordless_start_b(this.ctx)\n\treadonly onMount = async (root:HTMLElement)=>{\n\t\tif (has_dom) {\n\t\t\tconst unsubscribe =\n\t\t\t\tthis.auth0_opened_class.subscribe(()=>this.schedule_forms_clear(root))\n\t\t\tonDestroy(unsubscribe)\n\t\t}\n\t}\n\treadonly login = async (data:login_data_I, schedule_forms_clear = ()=>{})=>{\n\t\tconst response = await this.post_auth0_oauth_token(\n\t\t\tthis.login_password_realm_body_(data)\n\t\t)\n\t\tif (response.ok) {\n\t\t\tconst auth0_token_json = await response.text()\n\t\t\tthis.auth0_token_json$.$ = auth0_token_json\n\t\t\tschedule_forms_clear()\n\t\t\tthis.close_auth0()\n\t\t} else {\n\t\t\tconst $auth_token_error = await response.json()\n\t\t\tthis.auth0_token_error.$ = $auth_token_error\n\t\t\tthis.logout_auth0_token_error($auth_token_error)\n\t\t}\n\t}\n\treadonly signup = async (data:signup_data_I, schedule_forms_clear = ()=>{})=>{\n\t\tconst response = await this.post_auth0_dbconnections_signup(this.signup_password_realm_body_(data))\n\t\tconst auth0_userinfo = await response.json()\n\t\tconst { statusCode } = auth0_userinfo\n\t\tif (statusCode) {\n\t\t\tconst {\n\t\t\t\tcode,\n\t\t\t\tdescription\n\t\t\t} = auth0_userinfo\n\t\t\tconst email =\n\t\t\t\tcode === 'user_exists'\n\t\t\t\t? 'This Email is already signed up'\n\t\t\t\t: description\n\t\t\tconst auth0_token_error = { email }\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn\n\t\t}\n\t\tschedule_forms_clear()\n\t\tawait this.login({\n\t\t\tusername: data.email,\n\t\t\tpassword: data.password,\n\t\t}, schedule_forms_clear)\n\t}\n\treadonly change_password = async (form:{ password:string }, schedule_forms_clear = ()=>{})=>{\n\t\tconst { password } = form\n\t\tlet error\n\t\ttry {\n\t\t\tconst response = await this.post_auth0_auth_change_password(password)\n\t\t\tconst response_json = await response.json()\n\t\t\tif (!response.ok) {\n\t\t\t\tif (response.status == 401) {\n\t\t\t\t\tthis.open_auth0_login()\n\t\t\t\t\tconst auth0_token_error = { username: 'Authentication Error - Log in' }\n\t\t\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\terror = response_json.error || 'Error changing Password'\n\t\t\t}\n\t\t} catch (e:any) {\n\t\t\tconsole.warn(e)\n\t\t\terror = e.message\n\t\t}\n\t\tif (error) {\n\t\t\tconst auth0_token_error = { password: error }\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn\n\t\t}\n\t\tschedule_forms_clear()\n\t\tthis.close_auth0()\n\t}\n\treadonly schedule_forms_clear_:(root:HTMLElement)=>void = (root:HTMLElement)=>{\n\t\treturn ()=>this.schedule_forms_clear(root)\n\t}\n\treadonly schedule_forms_clear = (root:HTMLElement)=>{\n\t\tsetTimeout(()=>{\n\t\t\tthis.clear_auth0_token_error()\n\t\t\tclear_inputs(dom_a_('input[type=text]', root))\n\t\t\tclear_inputs(dom_a_('input[type=password]', root))\n\t\t}, 100)\n\t}\n\treadonly onsubmit_signup = async (event:Event, ctx:onsubmit_signup_Ctx, schedule_forms_clear = ()=>{})=>{\n\t\tevent.preventDefault()\n\t\tconst {\n\t\t\temail_input,\n\t\t\tpassword_input,\n\t\t\tpassword_confirmation_input,\n\t\t} = ctx\n\t\tconst email = email_input.value\n\t\tconst password = password_input.value\n\t\tconst password_confirmation = password_confirmation_input.value\n\t\tconst auth0_token_error =\n\t\t\tvalidate_auth0_signup({\n\t\t\t\temail,\n\t\t\t\tpassword,\n\t\t\t\tpassword_confirmation\n\t\t\t})\n\t\tif (auth0_token_error) {\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn false\n\t\t}\n\t\tawait this.signup({\n\t\t\temail,\n\t\t\tpassword\n\t\t}, schedule_forms_clear)\n\t\treturn\n\t}\n\treadonly onsubmit_login = async (event:Event, ctx:onsubmit_login_Ctx, schedule_forms_clear = ()=>{})=>{\n\t\tevent.preventDefault()\n\t\tconst { username_login_input, password_login_input } = ctx\n\t\tconst username = username_login_input.value\n\t\tconst password = password_login_input.value\n\t\tawait this.login({ username, password }, schedule_forms_clear)\n\t}\n\treadonly onsubmit_forgot_password = async (event:Event, ctx:onsubmit_forgot_password_Ctx)=>{\n\t\tevent.preventDefault()\n\t\tconst { email_input } = ctx\n\t\tconst email = email_input.value\n\t\tconst data:post_auth0_passwordless_start_optional_body_T = {\n\t\t\tconnection: 'email',\n\t\t\tsend: 'link',\n\t\t\temail\n\t\t}\n\t\tconst auth0_token_error = validate_auth0_forgot_password(data)\n\t\tif (auth0_token_error) {\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn\n\t\t}\n\t\tawait this.post_auth0_passwordless_start(\n\t\t\tthis.login_auth0_body_(data) as post_auth0_passwordless_start_body_T\n\t\t)\n\t\tthis.open_auth0_forgot_password_check_email()\n\t}\n\treadonly onsubmit_change_password = async (\n\t\tevent:Event, ctx:onsubmit_change_password_Ctx, schedule_forms_clear = noop\n\t)=>{\n\t\tevent.preventDefault()\n\t\tconst {\n\t\t\tpassword_input,\n\t\t\tpassword_confirmation_input,\n\t\t} = ctx\n\t\tconst password = password_input.value\n\t\tconst password_confirmation = password_confirmation_input.value\n\t\tconst auth0_token_error =\n\t\t\tvalidate_auth0_change_password(\n\t\t\t\t{\n\t\t\t\t\tpassword,\n\t\t\t\t\tpassword_confirmation\n\t\t\t\t})\n\t\tif (auth0_token_error) {\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\tthrow auth0_token_error\n\t\t}\n\t\treturn await this.change_password({ password }, schedule_forms_clear)\n\t}\n\treadonly onclose = async (event:MouseEvent)=>{\n\t\tevent.preventDefault()\n\t\tthis.close_auth0()\n\t}\n}\nfunction clear_inputs(inputs:NodeList) {\n\tfor (let i = 0; i < inputs.length; i++) {\n\t\tconst input = inputs[i] as HTMLInputElement\n\t\tinput.value = ''\n\t}\n}\nexport interface signup_data_password_realm_body_I\n\textends signup_data_I,\n\t\tauth0_client_id_body_I,\n\t\tpost_auth0_passwordless_start_body_T,\n\t\tpassword_realm_body_T,\n\t\tauth0_grant_type_body_I,\n\t\tpost_auth0_oauth_token_body_I {}\nexport interface login_data_password_realm_body_I\n\textends login_data_I,\n\t\tauth0_client_id_body_I,\n\t\tpost_auth0_passwordless_start_body_T,\n\t\tpassword_realm_body_T,\n\t\tauth0_grant_type_body_I,\n\t\tpost_auth0_oauth_token_body_I {}\nexport interface onsubmit_change_password_Ctx {\n\tpassword_input:HTMLInputElement\n\tpassword_confirmation_input:HTMLInputElement\n}\nexport interface onsubmit_forgot_password_Ctx {\n\temail_input:HTMLInputElement\n}\nexport interface onsubmit_login_Ctx {\n\tusername_login_input:HTMLInputElement\n\tpassword_login_input:HTMLInputElement\n}\nexport interface onsubmit_signup_Ctx {\n\temail_input:HTMLInputElement\n\tpassword_input:HTMLInputElement\n\tpassword_confirmation_input:HTMLInputElement\n}\n"],"names":["onDestroy","auth0_body__b","auth0_opened_class$_b","auth0_token_error$_b","auth0_token_json$_b","clear_auth0_token_error_b","close_auth0_b","logout_auth0_token_error_b","open_auth0_forgot_password_check_email_b","open_auth0_login_b","password_realm_body__b","post_auth0_auth_change_password_b","post_auth0_dbconnections_signup_b","post_auth0_oauth_token_b","post_auth0_passwordless_start_b","validate_auth0_change_password","validate_auth0_forgot_password","validate_auth0_signup","has_dom","dom_a_","noop","Auth0_c","login_auth0_body_","ctx","login_password_realm_body_","signup_auth0_body_","signup_password_realm_body_","auth0_opened_class","auth0_token_json$","auth0_token_error","clear_auth0_token_error","close_auth0","logout_auth0_token_error","open_auth0_login","open_auth0_forgot_password_check_email","post_auth0_dbconnections_signup","post_auth0_oauth_token","post_auth0_auth_change_password","post_auth0_passwordless_start","onMount","root","unsubscribe","subscribe","schedule_forms_clear","login","data","response","ok","auth0_token_json","text","$","$auth_token_error","json","signup","auth0_userinfo","statusCode","code","description","email","username","password","change_password","form","error","response_json","status","e","console","warn","message","schedule_forms_clear_","setTimeout","clear_inputs","onsubmit_signup","event","preventDefault","email_input","password_input","password_confirmation_input","value","password_confirmation","onsubmit_login","username_login_input","password_login_input","onsubmit_forg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AC,KAAK,CAAC,IAAI,CAACgC,eAAe,CAAC,CAAC;gBAACD,QAAQ;YAAC,CAAC,EAAEjB,oBAAoB;QACrE,CAAC;QAxLK,IA6LN,CAJS6C,OAAO,UAAUd,KAAgB,GAAG,CAAC;YAC7CA,KAAK,CAACC,cAAc;YACpB,IAAI,CAAC5C,WAAW;QACjB,CAAC;IA3L+B,CAAC;;SA6LzByC,YAAY,CAACiB,MAAe,EAAE,CAAC;IACvC,GAAG,CAAE,GAAG,CAACC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGD,MAAM,CAACE,MAAM,EAAED,CAAC,GAAI,CAAC;QACxC,KAAK,CAACE,KAAK,GAAGH,MAAM,CAACC,CAAC;QACtBE,KAAK,CAACb,KAAK,GAAG,CAAE;IACjB,CAAC;AACF,CAAC"}
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/auth0-ui",
3
- "version": "12.1.14",
3
+ "version": "12.1.18",
4
4
  "description": "ctx-core auth0 ui component & express endpoints",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -17,45 +17,44 @@
17
17
  "license": "Apache-2.0",
18
18
  "author": "Brian Takita",
19
19
  "type": "module",
20
- "svelte": "./dist/index.js",
21
- "types": "./dist/index.d.ts",
20
+ "svelte": "./lib/index.js",
21
+ "types": "./lib/index.d.ts",
22
22
  "exports": {
23
23
  ".": {
24
- "import": "./dist/index.js"
24
+ "import": "./lib/index.js"
25
25
  },
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@ctx-core/auth0": "^27.0.9",
30
- "@ctx-core/auth0-management": "^7.0.9",
31
- "@ctx-core/dialog": "^17.0.8",
32
- "@ctx-core/dialog-ui-svelte": "^1.0.9",
33
- "@ctx-core/dom": "^11.0.48",
34
- "@ctx-core/error": "^11.1.17",
35
- "@ctx-core/fetch": "^11.0.101",
36
- "@ctx-core/function": "^20.2.20",
37
- "@ctx-core/http": "^9.0.18",
38
- "@ctx-core/jwt": "^10.0.46",
39
- "@ctx-core/logger": "^9.0.40",
29
+ "@ctx-core/auth0": "^28.0.9",
30
+ "@ctx-core/auth0-management": "^7.0.12",
31
+ "@ctx-core/dialog": "^18.0.6",
32
+ "@ctx-core/dialog-ui-svelte": "^1.0.10",
33
+ "@ctx-core/dom": "^11.1.2",
34
+ "@ctx-core/error": "^11.1.18",
35
+ "@ctx-core/fetch": "^11.0.104",
36
+ "@ctx-core/function": "^20.2.21",
37
+ "@ctx-core/http": "^9.0.19",
38
+ "@ctx-core/jwt": "^10.0.47",
39
+ "@ctx-core/logger": "^9.0.41",
40
40
  "@ctx-core/object": "^22.0.8",
41
- "@ctx-core/store": "^27.0.55",
41
+ "@ctx-core/svelte": "^10.1.2",
42
42
  "@swc/cli": "^0.1.55",
43
- "@swc/core": "^1.2.120",
43
+ "@swc/core": "^1.2.125",
44
44
  "auth0-js": "^9.18.0",
45
45
  "jsonwebtoken": "^8.5.1",
46
46
  "polka": "next"
47
47
  },
48
48
  "devDependencies": {
49
- "@ctx-core/ctx-core-package-tools": "^8.0.95",
50
49
  "@sveltejs/adapter-auto": "next",
51
50
  "@sveltejs/kit": "next",
52
51
  "@types/jsonwebtoken": "^8.5.6",
53
- "@types/trouter": "^3.1.0",
52
+ "@types/trouter": "^3.1.1",
54
53
  "rimraf": "^3.0.2",
55
54
  "svelte": "^3.44.3",
56
- "svelte-check": "^2.2.10",
57
- "svelte-preprocess": "^4.10.0",
58
- "svelte2tsx": "^0.4.11",
55
+ "svelte-check": "^2.2.11",
56
+ "svelte-preprocess": "^4.10.1",
57
+ "svelte2tsx": "^0.4.12",
59
58
  "tslib": "^2.3.1",
60
59
  "typescript": "next"
61
60
  },
@@ -65,11 +64,11 @@
65
64
  },
66
65
  "scripts": {
67
66
  "build": "npm run compile",
68
- "clean": "rimraf dist && npm run clean_tsbuildinfo",
69
- "clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
70
- "compile": "npm run compile_source && npm run compile_declaration",
71
- "compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
72
- "compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
67
+ "clean": "rimraf lib && npm run clean:tsbuildinfo",
68
+ "clean:tsbuildinfo": "rimraf tsconfig.tsbuildinfo && rimraf lib/**/*.d.ts",
69
+ "compile": "npm run compile:source && npm run compile:declaration",
70
+ "compile:source": "swc src --out-dir lib --copy-files --source-maps --config-file .swcrc",
71
+ "compile:declaration": "npm run clean:tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir lib",
73
72
  "exec": "$@"
74
73
  }
75
74
  }
package/src/ui/Auth0_c.ts CHANGED
@@ -16,7 +16,6 @@ import {
16
16
  import { has_dom, dom_a_ } from '@ctx-core/dom'
17
17
  import { noop } from '@ctx-core/function'
18
18
  import type { Ctx } from '@ctx-core/object'
19
- import { subscribe } from '@ctx-core/store'
20
19
  export class Auth0_c {
21
20
  constructor(protected ctx:Ctx) {}
22
21
  readonly login_auth0_body_ =
@@ -49,7 +48,7 @@ export class Auth0_c {
49
48
  readonly onMount = async (root:HTMLElement)=>{
50
49
  if (has_dom) {
51
50
  const unsubscribe =
52
- subscribe(this.auth0_opened_class, ()=>this.schedule_forms_clear(root))
51
+ this.auth0_opened_class.subscribe(()=>this.schedule_forms_clear(root))
53
52
  onDestroy(unsubscribe)
54
53
  }
55
54
  }
package/svelte.config.js CHANGED
@@ -8,7 +8,7 @@ const config = {
8
8
  kit: {
9
9
  adapter: adapter(),
10
10
  package: {
11
- dir: 'dist',
11
+ dir: 'lib',
12
12
  emitTypes: false
13
13
  }
14
14
  }
package/tsconfig.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "allowSyntheticDefaultImports": true,
5
5
  "composite": true,
6
6
  "declaration": true,
7
- "declarationDir": "dist",
7
+ "declarationDir": "lib",
8
8
  "esModuleInterop": true,
9
9
  "importsNotUsedAsValues": "error",
10
10
  "lib": ["dom", "ESNext"],
@@ -17,7 +17,7 @@
17
17
  "noImplicitThis": true,
18
18
  "noUnusedLocals": true,
19
19
  "noUnusedParameters": true,
20
- "outDir": "dist",
20
+ "outDir": "lib",
21
21
  "resolveJsonModule": true,
22
22
  "rootDir": ".",
23
23
  "sourceMap": true,
@@ -31,7 +31,7 @@
31
31
  ]
32
32
  },
33
33
  "exclude": [
34
- "dist",
34
+ "lib",
35
35
  "node_modules"
36
36
  ],
37
37
  "references": []
package/COMMIT_EDITMSG DELETED
@@ -1,2 +0,0 @@
1
-
2
-
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/ui/Auth0_c.ts"],"sourcesContent":["import { onDestroy } from 'svelte'\nimport type {\n\tauth0_body__T, auth0_client_id_body_I, auth0_grant_type_body_I, login_data_I, logout_auth0_token_error_T,\n\topen_auth0_forgot_password_check_email_T, open_auth0_login_T, password_realm_body__T, password_realm_body_T,\n\tpost_auth0_auth_change_password_T, post_auth0_dbconnections_signup_T, post_auth0_oauth_token_body_I,\n\tpost_auth0_oauth_token_T, post_auth0_passwordless_start_body_T, post_auth0_passwordless_start_optional_body_T,\n\tpost_auth0_passwordless_start_T, signup_data_I\n} from '@ctx-core/auth0'\nimport {\n\tauth0_body__b, auth0_opened_class$_b, auth0_token_error$_b, auth0_token_json$_b, clear_auth0_token_error_b,\n\tclose_auth0_b, logout_auth0_token_error_b, open_auth0_forgot_password_check_email_b, open_auth0_login_b,\n\tpassword_realm_body__b, post_auth0_auth_change_password_b, post_auth0_dbconnections_signup_b,\n\tpost_auth0_oauth_token_b, post_auth0_passwordless_start_b, validate_auth0_change_password,\n\tvalidate_auth0_forgot_password, validate_auth0_signup\n} from '@ctx-core/auth0'\nimport { has_dom, dom_a_ } from '@ctx-core/dom'\nimport { noop } from '@ctx-core/function'\nimport type { Ctx } from '@ctx-core/object'\nimport { subscribe } from '@ctx-core/store'\nexport class Auth0_c {\n\tconstructor(protected ctx:Ctx) {}\n\treadonly login_auth0_body_ =\n\t\tauth0_body__b<login_data_password_realm_body_I>(\n\t\t\tthis.ctx, 'login_auth0_body_') as auth0_body__T<login_data_password_realm_body_I>\n\treadonly login_password_realm_body_ = password_realm_body__b<login_data_password_realm_body_I>(\n\t\tthis.ctx,\n\t\t'login_password_realm_body_',\n\t\tthis.login_auth0_body_\n\t)\n\treadonly signup_auth0_body_ =\n\t\tauth0_body__b<signup_data_password_realm_body_I>(\n\t\t\tthis.ctx, 'signup_auth0_body_') as auth0_body__T<signup_data_password_realm_body_I>\n\treadonly signup_password_realm_body_:password_realm_body__T<signup_data_password_realm_body_I> =\n\t\tpassword_realm_body__b<signup_data_password_realm_body_I>(\n\t\t\tthis.ctx, 'signup_password_realm_body_fn', this.signup_auth0_body_\n\t\t)\n\treadonly auth0_opened_class = auth0_opened_class$_b(this.ctx)\n\treadonly auth0_token_json$ = auth0_token_json$_b(this.ctx)\n\treadonly auth0_token_error = auth0_token_error$_b(this.ctx)\n\treadonly clear_auth0_token_error = clear_auth0_token_error_b(this.ctx)\n\treadonly close_auth0 = close_auth0_b(this.ctx)\n\treadonly logout_auth0_token_error:logout_auth0_token_error_T = logout_auth0_token_error_b(this.ctx)\n\treadonly open_auth0_login:open_auth0_login_T = open_auth0_login_b(this.ctx)\n\treadonly open_auth0_forgot_password_check_email:open_auth0_forgot_password_check_email_T = open_auth0_forgot_password_check_email_b(this.ctx)\n\treadonly post_auth0_dbconnections_signup:post_auth0_dbconnections_signup_T = post_auth0_dbconnections_signup_b(this.ctx)\n\treadonly post_auth0_oauth_token:post_auth0_oauth_token_T = post_auth0_oauth_token_b(this.ctx)\n\treadonly post_auth0_auth_change_password:post_auth0_auth_change_password_T = post_auth0_auth_change_password_b(this.ctx)\n\treadonly post_auth0_passwordless_start:post_auth0_passwordless_start_T = post_auth0_passwordless_start_b(this.ctx)\n\treadonly onMount = async (root:HTMLElement)=>{\n\t\tif (has_dom) {\n\t\t\tconst unsubscribe =\n\t\t\t\tsubscribe(this.auth0_opened_class, ()=>this.schedule_forms_clear(root))\n\t\t\tonDestroy(unsubscribe)\n\t\t}\n\t}\n\treadonly login = async (data:login_data_I, schedule_forms_clear = ()=>{})=>{\n\t\tconst response = await this.post_auth0_oauth_token(\n\t\t\tthis.login_password_realm_body_(data)\n\t\t)\n\t\tif (response.ok) {\n\t\t\tconst auth0_token_json = await response.text()\n\t\t\tthis.auth0_token_json$.$ = auth0_token_json\n\t\t\tschedule_forms_clear()\n\t\t\tthis.close_auth0()\n\t\t} else {\n\t\t\tconst $auth_token_error = await response.json()\n\t\t\tthis.auth0_token_error.$ = $auth_token_error\n\t\t\tthis.logout_auth0_token_error($auth_token_error)\n\t\t}\n\t}\n\treadonly signup = async (data:signup_data_I, schedule_forms_clear = ()=>{})=>{\n\t\tconst response = await this.post_auth0_dbconnections_signup(this.signup_password_realm_body_(data))\n\t\tconst auth0_userinfo = await response.json()\n\t\tconst { statusCode } = auth0_userinfo\n\t\tif (statusCode) {\n\t\t\tconst {\n\t\t\t\tcode,\n\t\t\t\tdescription\n\t\t\t} = auth0_userinfo\n\t\t\tconst email =\n\t\t\t\tcode === 'user_exists'\n\t\t\t\t? 'This Email is already signed up'\n\t\t\t\t: description\n\t\t\tconst auth0_token_error = { email }\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn\n\t\t}\n\t\tschedule_forms_clear()\n\t\tawait this.login({\n\t\t\tusername: data.email,\n\t\t\tpassword: data.password,\n\t\t}, schedule_forms_clear)\n\t}\n\treadonly change_password = async (form:{ password:string }, schedule_forms_clear = ()=>{})=>{\n\t\tconst { password } = form\n\t\tlet error\n\t\ttry {\n\t\t\tconst response = await this.post_auth0_auth_change_password(password)\n\t\t\tconst response_json = await response.json()\n\t\t\tif (!response.ok) {\n\t\t\t\tif (response.status == 401) {\n\t\t\t\t\tthis.open_auth0_login()\n\t\t\t\t\tconst auth0_token_error = { username: 'Authentication Error - Log in' }\n\t\t\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\terror = response_json.error || 'Error changing Password'\n\t\t\t}\n\t\t} catch (e:any) {\n\t\t\tconsole.warn(e)\n\t\t\terror = e.message\n\t\t}\n\t\tif (error) {\n\t\t\tconst auth0_token_error = { password: error }\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn\n\t\t}\n\t\tschedule_forms_clear()\n\t\tthis.close_auth0()\n\t}\n\treadonly schedule_forms_clear_:(root:HTMLElement)=>void = (root:HTMLElement)=>{\n\t\treturn ()=>this.schedule_forms_clear(root)\n\t}\n\treadonly schedule_forms_clear = (root:HTMLElement)=>{\n\t\tsetTimeout(()=>{\n\t\t\tthis.clear_auth0_token_error()\n\t\t\tclear_inputs(dom_a_('input[type=text]', root))\n\t\t\tclear_inputs(dom_a_('input[type=password]', root))\n\t\t}, 100)\n\t}\n\treadonly onsubmit_signup = async (event:Event, ctx:onsubmit_signup_Ctx, schedule_forms_clear = ()=>{})=>{\n\t\tevent.preventDefault()\n\t\tconst {\n\t\t\temail_input,\n\t\t\tpassword_input,\n\t\t\tpassword_confirmation_input,\n\t\t} = ctx\n\t\tconst email = email_input.value\n\t\tconst password = password_input.value\n\t\tconst password_confirmation = password_confirmation_input.value\n\t\tconst auth0_token_error =\n\t\t\tvalidate_auth0_signup({\n\t\t\t\temail,\n\t\t\t\tpassword,\n\t\t\t\tpassword_confirmation\n\t\t\t})\n\t\tif (auth0_token_error) {\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn false\n\t\t}\n\t\tawait this.signup({\n\t\t\temail,\n\t\t\tpassword\n\t\t}, schedule_forms_clear)\n\t\treturn\n\t}\n\treadonly onsubmit_login = async (event:Event, ctx:onsubmit_login_Ctx, schedule_forms_clear = ()=>{})=>{\n\t\tevent.preventDefault()\n\t\tconst { username_login_input, password_login_input } = ctx\n\t\tconst username = username_login_input.value\n\t\tconst password = password_login_input.value\n\t\tawait this.login({ username, password }, schedule_forms_clear)\n\t}\n\treadonly onsubmit_forgot_password = async (event:Event, ctx:onsubmit_forgot_password_Ctx)=>{\n\t\tevent.preventDefault()\n\t\tconst { email_input } = ctx\n\t\tconst email = email_input.value\n\t\tconst data:post_auth0_passwordless_start_optional_body_T = {\n\t\t\tconnection: 'email',\n\t\t\tsend: 'link',\n\t\t\temail\n\t\t}\n\t\tconst auth0_token_error = validate_auth0_forgot_password(data)\n\t\tif (auth0_token_error) {\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\treturn\n\t\t}\n\t\tawait this.post_auth0_passwordless_start(\n\t\t\tthis.login_auth0_body_(data) as post_auth0_passwordless_start_body_T\n\t\t)\n\t\tthis.open_auth0_forgot_password_check_email()\n\t}\n\treadonly onsubmit_change_password = async (\n\t\tevent:Event, ctx:onsubmit_change_password_Ctx, schedule_forms_clear = noop\n\t)=>{\n\t\tevent.preventDefault()\n\t\tconst {\n\t\t\tpassword_input,\n\t\t\tpassword_confirmation_input,\n\t\t} = ctx\n\t\tconst password = password_input.value\n\t\tconst password_confirmation = password_confirmation_input.value\n\t\tconst auth0_token_error =\n\t\t\tvalidate_auth0_change_password(\n\t\t\t\t{\n\t\t\t\t\tpassword,\n\t\t\t\t\tpassword_confirmation\n\t\t\t\t})\n\t\tif (auth0_token_error) {\n\t\t\tthis.logout_auth0_token_error(auth0_token_error)\n\t\t\tthrow auth0_token_error\n\t\t}\n\t\treturn await this.change_password({ password }, schedule_forms_clear)\n\t}\n\treadonly onclose = async (event:MouseEvent)=>{\n\t\tevent.preventDefault()\n\t\tthis.close_auth0()\n\t}\n}\nfunction clear_inputs(inputs:NodeList) {\n\tfor (let i = 0; i < inputs.length; i++) {\n\t\tconst input = inputs[i] as HTMLInputElement\n\t\tinput.value = ''\n\t}\n}\nexport interface signup_data_password_realm_body_I\n\textends signup_data_I,\n\t\tauth0_client_id_body_I,\n\t\tpost_auth0_passwordless_start_body_T,\n\t\tpassword_realm_body_T,\n\t\tauth0_grant_type_body_I,\n\t\tpost_auth0_oauth_token_body_I {}\nexport interface login_data_password_realm_body_I\n\textends login_data_I,\n\t\tauth0_client_id_body_I,\n\t\tpost_auth0_passwordless_start_body_T,\n\t\tpassword_realm_body_T,\n\t\tauth0_grant_type_body_I,\n\t\tpost_auth0_oauth_token_body_I {}\nexport interface onsubmit_change_password_Ctx {\n\tpassword_input:HTMLInputElement\n\tpassword_confirmation_input:HTMLInputElement\n}\nexport interface onsubmit_forgot_password_Ctx {\n\temail_input:HTMLInputElement\n}\nexport interface onsubmit_login_Ctx {\n\tusername_login_input:HTMLInputElement\n\tpassword_login_input:HTMLInputElement\n}\nexport interface onsubmit_signup_Ctx {\n\temail_input:HTMLInputElement\n\tpassword_input:HTMLInputElement\n\tpassword_confirmation_input:HTMLInputElement\n}\n"],"names":["onDestroy","auth0_body__b","auth0_opened_class$_b","auth0_token_error$_b","auth0_token_json$_b","clear_auth0_token_error_b","close_auth0_b","logout_auth0_token_error_b","open_auth0_forgot_password_check_email_b","open_auth0_login_b","password_realm_body__b","post_auth0_auth_change_password_b","post_auth0_dbconnections_signup_b","post_auth0_oauth_token_b","post_auth0_passwordless_start_b","validate_auth0_change_password","validate_auth0_forgot_password","validate_auth0_signup","has_dom","dom_a_","noop","subscribe","Auth0_c","login_auth0_body_","ctx","login_password_realm_body_","signup_auth0_body_","signup_password_realm_body_","auth0_opened_class","auth0_token_json$","auth0_token_error","clear_auth0_token_error","close_auth0","logout_auth0_token_error","open_auth0_login","open_auth0_forgot_password_check_email","post_auth0_dbconnections_signup","post_auth0_oauth_token","post_auth0_auth_change_password","post_auth0_passwordless_start","onMount","root","unsubscribe","schedule_forms_clear","login","data","response","ok","auth0_token_json","text","$","$auth_token_error","json","signup","auth0_userinfo","statusCode","code","description","email","username","password","change_password","form","error","response_json","status","e","console","warn","message","schedule_forms_clear_","setTimeout","clear_inputs","onsubmit_signup","event","preventDefault","email_input","password_input","password_confirmation_input","value","password_confirmation","onsubmit_login","username_login_input","password_login_input","onsubmit_forgot_password","connection","send","onsubmit_change_password","oncl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