@ctx-core/auth0-management 9.2.183 → 9.2.185

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,18 @@
1
1
  # @ctx-core/auth0-management
2
2
 
3
+ ## 9.2.185
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: load auth0-management using createRequire
8
+
9
+ ## 9.2.184
10
+
11
+ ### Patch Changes
12
+
13
+ - @ctx-core/auth0: ^38.2.7 -> ^38.2.8
14
+ - @ctx-core/fetch-undici: ^2.6.55 -> ^2.6.56
15
+
3
16
  ## 9.2.183
4
17
 
5
18
  ### Patch Changes
@@ -1574,10 +1587,10 @@
1574
1587
 
1575
1588
  ### Minor Changes
1576
1589
 
1577
- - auth0**v2_user**fetch_patch: returns Promise<[UpdateUserData|auth0__error_T, Response]>
1578
- - - AUTH0*MANAGEMENT_ID\_\_,AUTH0_MANAGEMENT_ID*,AUTH0_MANAGEMENT_ID\_\_set
1579
- - - AUTH0*MANAGEMENT_SECRET\_\_,AUTH0_MANAGEMENT_SECRET*,AUTH0_MANAGEMENT_SECRET\_\_set
1580
- - - auth0**v2_user**fetch_get\_\_params_T: aliased by get_auth0_v2_user_params_T
1590
+ - auth0\_\_v2_user\_\_fetch_patch: returns Promise<[UpdateUserData|auth0__error_T, Response]>
1591
+ - - AUTH0_MANAGEMENT_ID\__,AUTH0_MANAGEMENT_ID_,AUTH0_MANAGEMENT_ID\_\_set
1592
+ - - AUTH0_MANAGEMENT_SECRET\__,AUTH0_MANAGEMENT_SECRET_,AUTH0_MANAGEMENT_SECRET\_\_set
1593
+ - - auth0\_\_v2_user\_\_fetch_get\_\_params_T: aliased by get_auth0_v2_user_params_T
1581
1594
 
1582
1595
  AUTH0_DOMAIN?:string
1583
1596
 
@@ -2375,7 +2388,7 @@
2375
2388
 
2376
2389
  ### Patch Changes
2377
2390
 
2378
- - fix: auth0**oauth_token**fetch_get=>auth0**oauth_token**fetch_post,auth0**passwordless_start**fetch_get=>auth0**passwordless_start**fetch_post
2391
+ - fix: auth0\_\_oauth_token\_\_fetch_get=>auth0\_\_oauth_token\_\_fetch_post,auth0\_\_passwordless_start\_\_fetch_get=>auth0\_\_passwordless_start\_\_fetch_post
2379
2392
 
2380
2393
  ## 9.1.3
2381
2394
 
@@ -3281,7 +3294,7 @@
3281
3294
 
3282
3295
  ### Patch Changes
3283
3296
 
3284
- - fix: @ctx-core/\* dependencies
3297
+ - fix: @ctx-core/\_ dependencies
3285
3298
  - Updated dependencies
3286
3299
  - @ctx-core/auth0@34.2.5
3287
3300
  - @ctx-core/fetch-undici@1.2.16
@@ -3820,7 +3833,7 @@
3820
3833
 
3821
3834
  ### Patch Changes
3822
3835
 
3823
- - fix: error TS6059: \* is not under 'rootDir': package.json: types: ./dist/index.d.ts
3836
+ - fix: error TS6059: \_ is not under 'rootDir': package.json: types: ./dist/index.d.ts
3824
3837
  - Updated dependencies
3825
3838
  - @ctx-core/auth0@27.0.9
3826
3839
  - @ctx-core/fetch@11.0.101
@@ -3864,7 +3877,7 @@
3864
3877
 
3865
3878
  ### Patch Changes
3866
3879
 
3867
- - \*.d.ts export
3880
+ - \_.d.ts export
3868
3881
  - Updated dependencies
3869
3882
  - @ctx-core/auth0@27.0.5
3870
3883
  - @ctx-core/fetch@11.0.97
@@ -3918,7 +3931,7 @@
3918
3931
 
3919
3932
  ### Major Changes
3920
3933
 
3921
- - \*\_b: ctx is a map: @ctx-core/object: 22.0.0
3934
+ - \_\_b: ctx is a map: @ctx-core/object: 22.0.0
3922
3935
 
3923
3936
  ### Patch Changes
3924
3937
 
@@ -4709,7 +4722,7 @@
4709
4722
 
4710
4723
  ### Patch Changes
4711
4724
 
4712
- - fix: \*\_ctx_I.generated
4725
+ - fix: \_\_ctx_I.generated
4713
4726
  - Updated dependencies [undefined]
4714
4727
  - @ctx-core/auth0@25.0.29
4715
4728
 
@@ -5273,7 +5286,7 @@
5273
5286
 
5274
5287
  ### Patch Changes
5275
5288
 
5276
- - fix: deploying \*.js files
5289
+ - fix: deploying \_.js files
5277
5290
  - Updated dependencies [undefined]
5278
5291
  - @ctx-core/auth0@24.0.15
5279
5292
  - @ctx-core/fetch@10.0.11
@@ -5691,7 +5704,7 @@
5691
5704
 
5692
5705
  ### Patch Changes
5693
5706
 
5694
- - .gitignore: - \*.js
5707
+ - .gitignore: - \_.js
5695
5708
  - Updated dependencies [undefined]
5696
5709
  - @ctx-core/auth0@22.3.1
5697
5710
  - @ctx-core/fetch@8.2.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/auth0-management",
3
- "version": "9.2.183",
3
+ "version": "9.2.185",
4
4
  "description": "ctx-core auth0 management api",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -28,10 +28,10 @@
28
28
  "getAll-client-grants-auth0": "./bin/getAll-client-grants-auth0.mjs"
29
29
  },
30
30
  "dependencies": {
31
- "@ctx-core/auth0": "^38.2.7",
31
+ "@ctx-core/auth0": "^38.2.8",
32
32
  "@ctx-core/env": "^17.2.89",
33
33
  "@ctx-core/error": "^12.3.28",
34
- "@ctx-core/fetch-undici": "^2.6.55",
34
+ "@ctx-core/fetch-undici": "^2.6.56",
35
35
  "@ctx-core/nanostores": "3.4.2",
36
36
  "@ctx-core/object": "^27.4.25",
37
37
  "@ctx-core/uri": "^12.4.40",
@@ -1,7 +1,9 @@
1
1
  import { AUTH0_DOMAIN_ } from '@ctx-core/auth0'
2
- import { ManagementClient } from 'auth0'
2
+ import { createRequire } from 'module'
3
3
  import { AUTH0_MANAGEMENT_ID_ } from '../AUTH0_MANAGEMENT_ID__/index.js'
4
4
  import { AUTH0_MANAGEMENT_SECRET_ } from '../AUTH0_MANAGEMENT_SECRET__/index.js'
5
+ const require = createRequire(import.meta.url)
6
+ const { ManagementClient } = require('auth0')
5
7
  /**
6
8
  * @param {import('./auth0_management_.d.ts').auth0_management__params_T} params
7
9
  * @returns {import('auth0').ManagementClient}