@ctx-core/auth0-management 7.0.10 → 7.0.14
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 +31 -0
- package/bin/add-grant-password-auth0.mjs +1 -1
- package/bin/auth0.mjs +1 -1
- package/bin/getAll-client-grants-auth0.mjs +1 -1
- package/{dist → lib}/auth0_audience__b.d.ts +0 -0
- package/{dist → lib}/auth0_audience__b.js +0 -0
- package/{dist → lib}/auth0_audience__b.js.map +0 -0
- package/{dist → lib}/auth0_management_.d.ts +0 -0
- package/{dist → lib}/auth0_management_.js +1 -2
- package/{dist → lib}/auth0_management_.js.map +1 -1
- package/{dist → lib}/auth0_management_client_credentials_body__b.d.ts +0 -0
- package/{dist → lib}/auth0_management_client_credentials_body__b.js +0 -0
- package/{dist → lib}/auth0_management_client_credentials_body__b.js.map +0 -0
- package/{dist → lib}/auth0_management_token__b.d.ts +0 -0
- package/{dist → lib}/auth0_management_token__b.js +0 -0
- package/{dist → lib}/auth0_management_token__b.js.map +0 -0
- package/{dist → lib}/get_auth0_v2_client_grants_b.d.ts +0 -0
- package/{dist → lib}/get_auth0_v2_client_grants_b.js +0 -0
- package/{dist → lib}/get_auth0_v2_client_grants_b.js.map +0 -0
- package/{dist → lib}/get_auth0_v2_user_b.d.ts +0 -0
- package/{dist → lib}/get_auth0_v2_user_b.js +0 -0
- package/{dist → lib}/get_auth0_v2_user_b.js.map +0 -0
- package/{dist → lib}/get_auth0_v2_users_by_email_b.d.ts +0 -0
- package/{dist → lib}/get_auth0_v2_users_by_email_b.js +0 -0
- package/{dist → lib}/get_auth0_v2_users_by_email_b.js.map +0 -0
- package/{dist → lib}/index.d.ts +0 -0
- package/{dist → lib}/index.js +0 -0
- package/{dist → lib}/index.js.map +0 -0
- package/{dist → lib}/patch_auth0_v2_client_b.d.ts +0 -0
- package/{dist → lib}/patch_auth0_v2_client_b.js +0 -0
- package/{dist → lib}/patch_auth0_v2_client_b.js.map +0 -0
- package/{dist → lib}/patch_auth0_v2_user_b.d.ts +0 -0
- package/{dist → lib}/patch_auth0_v2_user_b.js +0 -0
- package/{dist → lib}/patch_auth0_v2_user_b.js.map +0 -0
- package/package.json +14 -14
- package/tsconfig.json +3 -3
- package/COMMIT_EDITMSG +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @ctx-core/auth0-management
|
|
2
2
|
|
|
3
|
+
## 7.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- update dependencies
|
|
8
|
+
|
|
9
|
+
## 7.0.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- version bump
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- @ctx-core/auth0@28.0.11
|
|
16
|
+
- @ctx-core/fetch@11.0.106
|
|
17
|
+
- @ctx-core/object@22.0.10
|
|
18
|
+
|
|
19
|
+
## 7.0.12
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- update dependencies
|
|
24
|
+
|
|
25
|
+
## 7.0.11
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- .js + .d.ts instead of .ts
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @ctx-core/auth0@28.0.8
|
|
32
|
+
- @ctx-core/fetch@11.0.104
|
|
33
|
+
|
|
3
34
|
## 7.0.10
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
package/bin/auth0.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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"}
|
|
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
|
package/{dist → lib}/index.d.ts
RENAMED
|
File without changes
|
package/{dist → lib}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
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.14",
|
|
4
4
|
"description": "ctx-core auth0 management api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": "Brian Takita",
|
|
19
19
|
"type": "module",
|
|
20
|
-
"types": "./
|
|
20
|
+
"types": "./lib/index.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"import": "./
|
|
23
|
+
"import": "./lib/index.js"
|
|
24
24
|
},
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
@@ -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.12",
|
|
34
|
+
"@ctx-core/fetch": "^11.0.107",
|
|
35
|
+
"@ctx-core/object": "^22.0.10",
|
|
36
36
|
"auth0": "^2.37.0",
|
|
37
37
|
"svelte": "^3.44.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@ctx-core/uri": "^12.0.
|
|
40
|
+
"@ctx-core/uri": "^12.0.36",
|
|
41
41
|
"@swc/cli": "^0.1.55",
|
|
42
|
-
"@swc/core": "^1.2.
|
|
42
|
+
"@swc/core": "^1.2.125",
|
|
43
43
|
"rimraf": "^3.0.2",
|
|
44
44
|
"typescript": "next"
|
|
45
45
|
},
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"access": "public",
|
|
48
48
|
"cache": "~/.npm"
|
|
49
49
|
},
|
|
50
|
-
"svelte": "./
|
|
50
|
+
"svelte": "./lib/index.js",
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "npm run compile",
|
|
53
|
-
"clean": "rimraf
|
|
54
|
-
"
|
|
55
|
-
"compile": "npm run
|
|
56
|
-
"
|
|
57
|
-
"
|
|
53
|
+
"clean": "rimraf lib && npm run clean:tsbuildinfo",
|
|
54
|
+
"clean:tsbuildinfo": "rimraf tsconfig.tsbuildinfo && rimraf lib/**/*.d.ts",
|
|
55
|
+
"compile": "npm run compile:source && npm run compile:declaration",
|
|
56
|
+
"compile:source": "swc src --out-dir lib --copy-files --source-maps --config-file .swcrc",
|
|
57
|
+
"compile:declaration": "npm run clean:tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir lib",
|
|
58
58
|
"exec": "$@"
|
|
59
59
|
}
|
|
60
60
|
}
|
package/tsconfig.json
CHANGED
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"node_modules/@types"
|
|
23
23
|
],
|
|
24
24
|
"rootDir": "src",
|
|
25
|
-
"outDir": "
|
|
26
|
-
"declarationDir": "
|
|
25
|
+
"outDir": "lib",
|
|
26
|
+
"declarationDir": "lib",
|
|
27
27
|
"lib": ["dom", "ESNext"],
|
|
28
28
|
"importsNotUsedAsValues": "error",
|
|
29
29
|
"strict": true
|
|
30
30
|
},
|
|
31
31
|
"exclude": [
|
|
32
32
|
"node_modules",
|
|
33
|
-
"
|
|
33
|
+
"lib"
|
|
34
34
|
],
|
|
35
35
|
"references": []
|
|
36
36
|
}
|
package/COMMIT_EDITMSG
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|