@ctx-core/auth0-management 9.2.184 → 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,11 @@
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
+
3
9
  ## 9.2.184
4
10
 
5
11
  ### Patch Changes
@@ -1581,10 +1587,10 @@
1581
1587
 
1582
1588
  ### Minor Changes
1583
1589
 
1584
- - auth0**v2_user**fetch_patch: returns Promise<[UpdateUserData|auth0__error_T, Response]>
1585
- - - AUTH0*MANAGEMENT_ID\_\_,AUTH0_MANAGEMENT_ID*,AUTH0_MANAGEMENT_ID\_\_set
1586
- - - AUTH0*MANAGEMENT_SECRET\_\_,AUTH0_MANAGEMENT_SECRET*,AUTH0_MANAGEMENT_SECRET\_\_set
1587
- - - 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
1588
1594
 
1589
1595
  AUTH0_DOMAIN?:string
1590
1596
 
@@ -2382,7 +2388,7 @@
2382
2388
 
2383
2389
  ### Patch Changes
2384
2390
 
2385
- - 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
2386
2392
 
2387
2393
  ## 9.1.3
2388
2394
 
@@ -3288,7 +3294,7 @@
3288
3294
 
3289
3295
  ### Patch Changes
3290
3296
 
3291
- - fix: @ctx-core/\* dependencies
3297
+ - fix: @ctx-core/\_ dependencies
3292
3298
  - Updated dependencies
3293
3299
  - @ctx-core/auth0@34.2.5
3294
3300
  - @ctx-core/fetch-undici@1.2.16
@@ -3827,7 +3833,7 @@
3827
3833
 
3828
3834
  ### Patch Changes
3829
3835
 
3830
- - 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
3831
3837
  - Updated dependencies
3832
3838
  - @ctx-core/auth0@27.0.9
3833
3839
  - @ctx-core/fetch@11.0.101
@@ -3871,7 +3877,7 @@
3871
3877
 
3872
3878
  ### Patch Changes
3873
3879
 
3874
- - \*.d.ts export
3880
+ - \_.d.ts export
3875
3881
  - Updated dependencies
3876
3882
  - @ctx-core/auth0@27.0.5
3877
3883
  - @ctx-core/fetch@11.0.97
@@ -3925,7 +3931,7 @@
3925
3931
 
3926
3932
  ### Major Changes
3927
3933
 
3928
- - \*\_b: ctx is a map: @ctx-core/object: 22.0.0
3934
+ - \_\_b: ctx is a map: @ctx-core/object: 22.0.0
3929
3935
 
3930
3936
  ### Patch Changes
3931
3937
 
@@ -4716,7 +4722,7 @@
4716
4722
 
4717
4723
  ### Patch Changes
4718
4724
 
4719
- - fix: \*\_ctx_I.generated
4725
+ - fix: \_\_ctx_I.generated
4720
4726
  - Updated dependencies [undefined]
4721
4727
  - @ctx-core/auth0@25.0.29
4722
4728
 
@@ -5280,7 +5286,7 @@
5280
5286
 
5281
5287
  ### Patch Changes
5282
5288
 
5283
- - fix: deploying \*.js files
5289
+ - fix: deploying \_.js files
5284
5290
  - Updated dependencies [undefined]
5285
5291
  - @ctx-core/auth0@24.0.15
5286
5292
  - @ctx-core/fetch@10.0.11
@@ -5698,7 +5704,7 @@
5698
5704
 
5699
5705
  ### Patch Changes
5700
5706
 
5701
- - .gitignore: - \*.js
5707
+ - .gitignore: - \_.js
5702
5708
  - Updated dependencies [undefined]
5703
5709
  - @ctx-core/auth0@22.3.1
5704
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.184",
3
+ "version": "9.2.185",
4
4
  "description": "ctx-core auth0 management api",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -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}