@ctx-core/auth0-management 7.0.11 → 7.0.15
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 +35 -0
- package/lib/auth0_management_.js +1 -2
- package/lib/auth0_management_.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @ctx-core/auth0-management
|
|
2
2
|
|
|
3
|
+
## 7.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @swc/core: ^1.2.125 -> ^1.2.127
|
|
8
|
+
- svelte: ^3.44.3 -> ^3.45.0
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @ctx-core/auth0@28.0.13
|
|
13
|
+
- @ctx-core/fetch@11.0.108
|
|
14
|
+
- @ctx-core/object@22.0.11
|
|
15
|
+
|
|
16
|
+
## 7.0.14
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- update dependencies
|
|
21
|
+
|
|
22
|
+
## 7.0.13
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- version bump
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- @ctx-core/auth0@28.0.11
|
|
29
|
+
- @ctx-core/fetch@11.0.106
|
|
30
|
+
- @ctx-core/object@22.0.10
|
|
31
|
+
|
|
32
|
+
## 7.0.12
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- update dependencies
|
|
37
|
+
|
|
3
38
|
## 7.0.11
|
|
4
39
|
|
|
5
40
|
### Patch Changes
|
package/lib/auth0_management_.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ManagementClient } from 'auth0';
|
|
2
|
-
export function auth0_management_(params = {
|
|
3
|
-
}) {
|
|
2
|
+
export function auth0_management_(params = {}) {
|
|
4
3
|
const domain = params.domain || process.env.AUTH0_DOMAIN || '';
|
|
5
4
|
const clientId = params.clientId || process.env.AUTH0_MANAGEMENT_ID || '';
|
|
6
5
|
const clientSecret = params.clientSecret || process.env.AUTH0_MANAGEMENT_SECRET || '';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/auth0_management_.ts"],"sourcesContent":["import { ManagementClient } from 'auth0'\nexport function auth0_management_(params:auth0_management_params_I = {}) {\n\tconst domain = params.domain || process.env.AUTH0_DOMAIN || ''\n\tconst clientId = params.clientId || process.env.AUTH0_MANAGEMENT_ID || ''\n\tconst clientSecret = params.clientSecret || process.env.AUTH0_MANAGEMENT_SECRET || ''\n\tconst scope = ''\n\treturn new ManagementClient({\n\t\tdomain,\n\t\tclientId,\n\t\tclientSecret,\n\t\tscope,\n\t})\n}\nexport interface auth0_management_params_I {\n\tdomain?:string\n\tclientId?:string\n\tclientSecret?:string\n}\n"],"names":["ManagementClient","auth0_management_","params","domain","process","env","AUTH0_DOMAIN","clientId","AUTH0_MANAGEMENT_ID","clientSecret","AUTH0_MANAGEMENT_SECRET","scope"],"mappings":"AAAA,MAAM,GAAGA,gBAAgB,QAAQ,CAAO;AACxC,MAAM,UAAUC,iBAAiB,CAACC,MAAgC,GAAG,CAAC
|
|
1
|
+
{"version":3,"sources":["../src/auth0_management_.ts"],"sourcesContent":["import { ManagementClient } from 'auth0'\nexport function auth0_management_(params:auth0_management_params_I = {}) {\n\tconst domain = params.domain || process.env.AUTH0_DOMAIN || ''\n\tconst clientId = params.clientId || process.env.AUTH0_MANAGEMENT_ID || ''\n\tconst clientSecret = params.clientSecret || process.env.AUTH0_MANAGEMENT_SECRET || ''\n\tconst scope = ''\n\treturn new ManagementClient({\n\t\tdomain,\n\t\tclientId,\n\t\tclientSecret,\n\t\tscope,\n\t})\n}\nexport interface auth0_management_params_I {\n\tdomain?:string\n\tclientId?:string\n\tclientSecret?:string\n}\n"],"names":["ManagementClient","auth0_management_","params","domain","process","env","AUTH0_DOMAIN","clientId","AUTH0_MANAGEMENT_ID","clientSecret","AUTH0_MANAGEMENT_SECRET","scope"],"mappings":"AAAA,MAAM,GAAGA,gBAAgB,QAAQ,CAAO;AACxC,MAAM,UAAUC,iBAAiB,CAACC,MAAgC,GAAG,CAAC,CAAC,EAAE,CAAC;IACzE,KAAK,CAACC,MAAM,GAAGD,MAAM,CAACC,MAAM,IAAIC,OAAO,CAACC,GAAG,CAACC,YAAY,IAAI,CAAE;IAC9D,KAAK,CAACC,QAAQ,GAAGL,MAAM,CAACK,QAAQ,IAAIH,OAAO,CAACC,GAAG,CAACG,mBAAmB,IAAI,CAAE;IACzE,KAAK,CAACC,YAAY,GAAGP,MAAM,CAACO,YAAY,IAAIL,OAAO,CAACC,GAAG,CAACK,uBAAuB,IAAI,CAAE;IACrF,KAAK,CAACC,KAAK,GAAG,CAAE;IAChB,MAAM,CAAC,GAAG,CAACX,gBAAgB,CAAC,CAAC;QAC5BG,MAAM;QACNI,QAAQ;QACRE,YAAY;QACZE,KAAK;IACN,CAAC;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/auth0-management",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.15",
|
|
4
4
|
"description": "ctx-core auth0 management api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"getAll-client-grants-auth0": "./bin/getAll-client-grants-auth0.mjs"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ctx-core/auth0": "^28.0.
|
|
34
|
-
"@ctx-core/fetch": "^11.0.
|
|
35
|
-
"@ctx-core/object": "^22.0.
|
|
33
|
+
"@ctx-core/auth0": "^28.0.13",
|
|
34
|
+
"@ctx-core/fetch": "^11.0.108",
|
|
35
|
+
"@ctx-core/object": "^22.0.11",
|
|
36
36
|
"auth0": "^2.37.0",
|
|
37
|
-
"svelte": "^3.
|
|
37
|
+
"svelte": "^3.45.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@ctx-core/uri": "^12.0.
|
|
40
|
+
"@ctx-core/uri": "^12.0.37",
|
|
41
41
|
"@swc/cli": "^0.1.55",
|
|
42
|
-
"@swc/core": "^1.2.
|
|
42
|
+
"@swc/core": "^1.2.127",
|
|
43
43
|
"rimraf": "^3.0.2",
|
|
44
44
|
"typescript": "next"
|
|
45
45
|
},
|