@ctx-core/auth0-management 9.5.2 → 9.6.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @ctx-core/auth0-management
2
2
 
3
+ ## 9.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - return type: + |Auth0Error:
8
+
9
+ auth0__v2_client__GET__fetch
10
+ auth0__v2_client__GET__fetch2
11
+ auth0__v2_client_grants__GET__fetch
12
+ auth0__v2_client_grants__GET__fetch2
13
+ auth0__v2_user__GET__fetch
14
+ auth0__v2_user__GET__fetch2
15
+ auth0__v2_users_by_email__GET__fetch
16
+ auth0__v2_users_by_email__GET__fetch2
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+ - @ctx-core/auth0@38.6.0
22
+
23
+ ## 9.5.4
24
+
25
+ ### Patch Changes
26
+
27
+ - @ctx-core/auth0: ^38.5.0 -> ^38.5.1
28
+
29
+ ## 9.5.3
30
+
31
+ ### Patch Changes
32
+
33
+ - @ctx-core/fetch: ^12.10.19 -> ^12.11.0
34
+ - @ctx-core/auth0: ^38.4.1 -> ^38.5.0
35
+ - Updated dependencies
36
+ - @ctx-core/fetch-undici@2.6.83
37
+
3
38
  ## 9.5.2
4
39
 
5
40
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/auth0-management",
3
- "version": "9.5.2",
3
+ "version": "9.6.0",
4
4
  "description": "ctx-core auth0 management api",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -28,11 +28,11 @@
28
28
  "getAll-client-grants-auth0": "./bin/getAll-client-grants-auth0.mjs"
29
29
  },
30
30
  "dependencies": {
31
- "@ctx-core/auth0": "^38.4.1",
31
+ "@ctx-core/auth0": "^38.6.0",
32
32
  "@ctx-core/env": "^17.2.107",
33
33
  "@ctx-core/error": "^12.3.36",
34
- "@ctx-core/fetch": "^12.10.19",
35
- "@ctx-core/fetch-undici": "^2.6.82",
34
+ "@ctx-core/fetch": "^12.11.0",
35
+ "@ctx-core/fetch-undici": "^2.6.83",
36
36
  "@ctx-core/nanostores": "4.2.6",
37
37
  "@ctx-core/object": "^28.0.1",
38
38
  "@ctx-core/uri": "^12.4.48",
@@ -1,6 +1,7 @@
1
1
  import type { fetch__template_pair_T } from '@ctx-core/fetch'
2
2
  import type { Ctx } from '@ctx-core/object'
3
3
  import type { Client } from 'auth0'
4
+ import type { Auth0Error } from 'auth0-js'
4
5
  export declare const [
5
6
  auth0__v2_client__GET__fetch,
6
7
  auth0__v2_client__GET__fetch2,
@@ -9,7 +10,7 @@ export declare const [
9
10
  ctx:Ctx,
10
11
  params:auth0__v2_client__GET__fetch__params_T
11
12
  ],
12
- Client
13
+ Client|Auth0Error
13
14
  >
14
15
  export {
15
16
  auth0__v2_client__GET__fetch2 as auth0__v2_client__fetch_get,
@@ -1,6 +1,7 @@
1
1
  import type { fetch__template_pair_T } from '@ctx-core/fetch'
2
2
  import type { Ctx } from '@ctx-core/object'
3
3
  import type { CreateClientGrant } from 'auth0'
4
+ import type { Auth0Error } from 'auth0-js'
4
5
  export declare const [
5
6
  auth0__v2_client_grants__GET__fetch,
6
7
  auth0__v2_client_grants__GET__fetch2,
@@ -9,7 +10,7 @@ export declare const [
9
10
  ctx:Ctx,
10
11
  params:auth0__v2_client_grants__GET__fetch__params_T
11
12
  ],
12
- CreateClientGrant
13
+ CreateClientGrant|Auth0Error
13
14
  >
14
15
  export {
15
16
  auth0__v2_client_grants__GET__fetch2 as auth0__v2_client_grants__fetch_get,
@@ -1,6 +1,7 @@
1
1
  import type { fetch__template_pair_T } from '@ctx-core/fetch'
2
2
  import type { Ctx } from '@ctx-core/object'
3
3
  import type { User } from 'auth0'
4
+ import type { Auth0Error } from 'auth0-js'
4
5
  export declare const [
5
6
  auth0__v2_user__GET__fetch,
6
7
  auth0__v2_user__GET__fetch2,
@@ -9,7 +10,7 @@ export declare const [
9
10
  ctx:Ctx,
10
11
  params:auth0__v2_user__GET__fetch__params_T
11
12
  ],
12
- User
13
+ User|Auth0Error
13
14
  >
14
15
  export {
15
16
  auth0__v2_user__GET__fetch2 as auth0__v2_user__fetch_get,
@@ -11,7 +11,7 @@ export const [
11
11
  /**
12
12
  * @param {Ctx}ctx
13
13
  * @param {auth0__v2_user__GET__fetch__params_T}params
14
- * @return {Promise<[User, Response]>}
14
+ * @return {Promise<Response>}
15
15
  */
16
16
  async(ctx, params)=>{
17
17
  const AUTH0_DOMAIN = params.AUTH0_DOMAIN || AUTH0_DOMAIN_(ctx)
@@ -1,5 +1,6 @@
1
1
  import type { fetch__template_pair_T } from '@ctx-core/fetch'
2
2
  import type { Ctx } from '@ctx-core/object'
3
+ import type { Auth0Error } from 'auth0-js'
3
4
  import type { Auth0UserProfile } from 'auth0-js'
4
5
  export declare const [
5
6
  auth0__v2_users_by_email__GET__fetch,
@@ -9,7 +10,7 @@ export declare const [
9
10
  ctx:Ctx,
10
11
  params:auth0__v2_users_by_email__GET__fetch__params_T
11
12
  ],
12
- Auth0UserProfile[]
13
+ Auth0UserProfile[]|Auth0Error
13
14
  >
14
15
  export {
15
16
  auth0__v2_users_by_email__GET__fetch2 as auth0__v2_users_by_email__fetch_get,