@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.
Files changed (37) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/bin/add-grant-password-auth0.mjs +1 -1
  3. package/bin/auth0.mjs +1 -1
  4. package/bin/getAll-client-grants-auth0.mjs +1 -1
  5. package/{dist → lib}/auth0_audience__b.d.ts +0 -0
  6. package/{dist → lib}/auth0_audience__b.js +0 -0
  7. package/{dist → lib}/auth0_audience__b.js.map +0 -0
  8. package/{dist → lib}/auth0_management_.d.ts +0 -0
  9. package/{dist → lib}/auth0_management_.js +1 -2
  10. package/{dist → lib}/auth0_management_.js.map +1 -1
  11. package/{dist → lib}/auth0_management_client_credentials_body__b.d.ts +0 -0
  12. package/{dist → lib}/auth0_management_client_credentials_body__b.js +0 -0
  13. package/{dist → lib}/auth0_management_client_credentials_body__b.js.map +0 -0
  14. package/{dist → lib}/auth0_management_token__b.d.ts +0 -0
  15. package/{dist → lib}/auth0_management_token__b.js +0 -0
  16. package/{dist → lib}/auth0_management_token__b.js.map +0 -0
  17. package/{dist → lib}/get_auth0_v2_client_grants_b.d.ts +0 -0
  18. package/{dist → lib}/get_auth0_v2_client_grants_b.js +0 -0
  19. package/{dist → lib}/get_auth0_v2_client_grants_b.js.map +0 -0
  20. package/{dist → lib}/get_auth0_v2_user_b.d.ts +0 -0
  21. package/{dist → lib}/get_auth0_v2_user_b.js +0 -0
  22. package/{dist → lib}/get_auth0_v2_user_b.js.map +0 -0
  23. package/{dist → lib}/get_auth0_v2_users_by_email_b.d.ts +0 -0
  24. package/{dist → lib}/get_auth0_v2_users_by_email_b.js +0 -0
  25. package/{dist → lib}/get_auth0_v2_users_by_email_b.js.map +0 -0
  26. package/{dist → lib}/index.d.ts +0 -0
  27. package/{dist → lib}/index.js +0 -0
  28. package/{dist → lib}/index.js.map +0 -0
  29. package/{dist → lib}/patch_auth0_v2_client_b.d.ts +0 -0
  30. package/{dist → lib}/patch_auth0_v2_client_b.js +0 -0
  31. package/{dist → lib}/patch_auth0_v2_client_b.js.map +0 -0
  32. package/{dist → lib}/patch_auth0_v2_user_b.d.ts +0 -0
  33. package/{dist → lib}/patch_auth0_v2_user_b.js +0 -0
  34. package/{dist → lib}/patch_auth0_v2_user_b.js.map +0 -0
  35. package/package.json +14 -14
  36. package/tsconfig.json +3 -3
  37. 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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { patch_auth0_v2_client } from '../dist/index.js'
2
+ import { patch_auth0_v2_client } from '../lib/index.js'
3
3
  await main()
4
4
  async function main() {
5
5
  const response = await patch_auth0_v2_client({
package/bin/auth0.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { auth0_management_fn } from '../dist/index.js'
2
+ import { auth0_management_fn } from '../lib/index.js'
3
3
  await main()
4
4
  // auth0.js clientGrants getAll
5
5
  async function main() {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { auth0_management_fn, get_auth0_v2_client_grants, _audience } from '../dist/index.js'
2
+ import { auth0_management_fn, get_auth0_v2_client_grants, _audience } from '../lib/index.js'
3
3
  //main()
4
4
  await main2()
5
5
  async function main() {
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;AAAA,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"}
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
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.10",
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": "./dist/index.d.ts",
20
+ "types": "./lib/index.d.ts",
21
21
  "exports": {
22
22
  ".": {
23
- "import": "./dist/index.js"
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.0",
34
- "@ctx-core/fetch": "^11.0.102",
35
- "@ctx-core/object": "^22.0.8",
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.34",
40
+ "@ctx-core/uri": "^12.0.36",
41
41
  "@swc/cli": "^0.1.55",
42
- "@swc/core": "^1.2.121",
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": "./dist/index.js",
50
+ "svelte": "./lib/index.js",
51
51
  "scripts": {
52
52
  "build": "npm run compile",
53
- "clean": "rimraf dist && npm run clean_tsbuildinfo",
54
- "clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
55
- "compile": "npm run compile_source && npm run compile_declaration",
56
- "compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
57
- "compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
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": "dist",
26
- "declarationDir": "dist",
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
- "dist"
33
+ "lib"
34
34
  ],
35
35
  "references": []
36
36
  }
package/COMMIT_EDITMSG DELETED
@@ -1 +0,0 @@
1
-