@ctx-core/auth0-management 7.0.2 → 7.0.7
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 +55 -0
- package/dist/auth0_audience__b.d.ts +3 -0
- package/dist/auth0_management_.d.ts +7 -0
- package/dist/auth0_management_client_credentials_body__b.d.ts +4 -0
- package/dist/auth0_management_token__b.d.ts +4 -0
- package/dist/get_auth0_v2_client_grants_b.d.ts +7 -0
- package/dist/get_auth0_v2_user_b.d.ts +7 -0
- package/dist/get_auth0_v2_users_by_email_b.d.ts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/patch_auth0_v2_client_b.d.ts +8 -0
- package/dist/patch_auth0_v2_user_b.d.ts +7 -0
- package/package.json +12 -9
- package/tsconfig.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# @ctx-core/auth0-management
|
|
2
2
|
|
|
3
|
+
## 7.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- package.json: "types": "./src/index.ts": better editing experience
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @ctx-core/auth0@27.0.7
|
|
10
|
+
- @ctx-core/fetch@11.0.99
|
|
11
|
+
- @ctx-core/object@22.0.6
|
|
12
|
+
- @ctx-core/store@27.0.53
|
|
13
|
+
|
|
14
|
+
## 7.0.6
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- fix: build
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @ctx-core/auth0@27.0.6
|
|
21
|
+
- @ctx-core/fetch@11.0.98
|
|
22
|
+
- @ctx-core/object@22.0.5
|
|
23
|
+
- @ctx-core/store@27.0.52
|
|
24
|
+
|
|
25
|
+
## 7.0.5
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- \*.d.ts export
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @ctx-core/auth0@27.0.5
|
|
32
|
+
- @ctx-core/fetch@11.0.97
|
|
33
|
+
- @ctx-core/object@22.0.4
|
|
34
|
+
- @ctx-core/store@27.0.51
|
|
35
|
+
|
|
36
|
+
## 7.0.4
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- fix: tsconfig.json: "rootDir": "."
|
|
41
|
+
- Updated dependencies
|
|
42
|
+
- @ctx-core/auth0@27.0.4
|
|
43
|
+
- @ctx-core/fetch@11.0.96
|
|
44
|
+
- @ctx-core/object@22.0.3
|
|
45
|
+
- @ctx-core/store@27.0.50
|
|
46
|
+
|
|
47
|
+
## 7.0.3
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- fix: package.json: exports
|
|
52
|
+
- Updated dependencies
|
|
53
|
+
- @ctx-core/auth0@27.0.3
|
|
54
|
+
- @ctx-core/fetch@11.0.95
|
|
55
|
+
- @ctx-core/object@22.0.2
|
|
56
|
+
- @ctx-core/store@27.0.49
|
|
57
|
+
|
|
3
58
|
## 7.0.2
|
|
4
59
|
|
|
5
60
|
### Patch Changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ManagementClient } from 'auth0';
|
|
2
|
+
export declare function auth0_management_(params?: auth0_management_params_I): ManagementClient<import("auth0").AppMetadata, import("auth0").UserMetadata>;
|
|
3
|
+
export interface auth0_management_params_I {
|
|
4
|
+
domain?: string;
|
|
5
|
+
clientId?: string;
|
|
6
|
+
clientSecret?: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { post_auth0_oauth_token_body_I } from '@ctx-core/auth0';
|
|
2
|
+
import { B } from '@ctx-core/object';
|
|
3
|
+
export declare const auth0_management_client_credentials_body__b: B<auth0_management_client_credentials_body__T>;
|
|
4
|
+
export declare type auth0_management_client_credentials_body__T = () => post_auth0_oauth_token_body_I;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { B } from '@ctx-core/object';
|
|
2
|
+
export declare const get_auth0_v2_client_grants_b: B<get_auth0_v2_client_grants_T>;
|
|
3
|
+
export interface get_auth0_v2_client_grants_params_I {
|
|
4
|
+
query?: string;
|
|
5
|
+
json?: any;
|
|
6
|
+
}
|
|
7
|
+
export declare type get_auth0_v2_client_grants_T = (params: get_auth0_v2_client_grants_params_I) => Promise<Response>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { B } from '@ctx-core/object';
|
|
2
|
+
export declare const get_auth0_v2_user_b: B<get_auth0_v2_user_T>;
|
|
3
|
+
export interface get_auth0_v2_user_params_T {
|
|
4
|
+
AUTH0_DOMAIN: string;
|
|
5
|
+
user_id: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type get_auth0_v2_user_T = (params: get_auth0_v2_user_params_T) => Promise<Response>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Auth0UserProfile } from 'auth0-js';
|
|
2
|
+
import { B } from '@ctx-core/object';
|
|
3
|
+
export declare const get_auth0_v2_users_by_email_b: B<get_auth0_v2_users_by_email_T>;
|
|
4
|
+
export declare type get_auth0_v2_users_by_email_params_I = {
|
|
5
|
+
email: string;
|
|
6
|
+
AUTH0_DOMAIN?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare type get_auth0_v2_users_by_email_T = (params: get_auth0_v2_users_by_email_params_I) => Promise<Response>;
|
|
9
|
+
export declare type get_auth0_v2_users_by_email_response_T = Auth0UserProfile[];
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './auth0_audience__b.js';
|
|
2
|
+
export * from './auth0_management_.js';
|
|
3
|
+
export * from './auth0_management_client_credentials_body__b.js';
|
|
4
|
+
export * from './auth0_management_token__b.js';
|
|
5
|
+
export * from './get_auth0_v2_client_grants_b.js';
|
|
6
|
+
export * from './get_auth0_v2_user_b.js';
|
|
7
|
+
export * from './get_auth0_v2_users_by_email_b.js';
|
|
8
|
+
export * from './patch_auth0_v2_client_b.js';
|
|
9
|
+
export * from './patch_auth0_v2_user_b.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { B } from '@ctx-core/object';
|
|
2
|
+
export declare const patch_auth0_v2_client_b: B<patch_auth0_v2_client_T>;
|
|
3
|
+
export interface patch_auth0_v2_client_params_T {
|
|
4
|
+
client_id?: string;
|
|
5
|
+
body?: string;
|
|
6
|
+
json?: unknown;
|
|
7
|
+
}
|
|
8
|
+
export declare type patch_auth0_v2_client_T = (params: patch_auth0_v2_client_params_T) => Promise<Response>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Auth0UserProfile } from 'auth0-js';
|
|
2
|
+
import { B } from '@ctx-core/object';
|
|
3
|
+
export declare const patch_auth0_v2_user_b: B<patch_auth0_v2_user_T>;
|
|
4
|
+
export interface patch_auth0_v2_user_data_I extends Partial<Auth0UserProfile> {
|
|
5
|
+
password?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type patch_auth0_v2_user_T = (user_id: string, data: patch_auth0_v2_user_data_I) => Promise<Response>;
|
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.7",
|
|
4
4
|
"description": "ctx-core auth0 management api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": "Brian Takita",
|
|
19
19
|
"type": "module",
|
|
20
|
+
"types": "./src/index.ts",
|
|
20
21
|
"exports": {
|
|
21
22
|
".": {
|
|
22
|
-
"types": "./src/index.ts",
|
|
23
23
|
"import": "./dist/index.js"
|
|
24
24
|
},
|
|
25
25
|
"./package.json": "./package.json"
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"getAll-client-grants-auth0": "./bin/getAll-client-grants-auth0.mjs"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ctx-core/auth0": "^27.0.
|
|
34
|
-
"@ctx-core/fetch": "^11.0.
|
|
35
|
-
"@ctx-core/object": "^22.0.
|
|
36
|
-
"@ctx-core/store": "^27.0.
|
|
33
|
+
"@ctx-core/auth0": "^27.0.7",
|
|
34
|
+
"@ctx-core/fetch": "^11.0.99",
|
|
35
|
+
"@ctx-core/object": "^22.0.6",
|
|
36
|
+
"@ctx-core/store": "^27.0.53",
|
|
37
37
|
"auth0": "^2.37.0",
|
|
38
38
|
"svelte": "^3.44.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@ctx-core/uri": "^12.0.
|
|
41
|
+
"@ctx-core/uri": "^12.0.32",
|
|
42
42
|
"@swc/cli": "^0.1.55",
|
|
43
43
|
"@swc/core": "^1.2.120",
|
|
44
44
|
"rimraf": "^3.0.2",
|
|
@@ -51,8 +51,11 @@
|
|
|
51
51
|
"svelte": "./dist/index.js",
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "npm run compile",
|
|
54
|
-
"clean": "rimraf dist",
|
|
55
|
-
"
|
|
54
|
+
"clean": "rimraf dist && npm run clean_tsbuildinfo",
|
|
55
|
+
"clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
|
|
56
|
+
"compile": "npm run compile_source && npm run compile_declaration",
|
|
57
|
+
"compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
|
|
58
|
+
"compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
56
59
|
"exec": "$@"
|
|
57
60
|
}
|
|
58
61
|
}
|