@ctx-core/jwt 10.0.39 → 10.0.44
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 +50 -0
- package/dist/JwtToken.d.ts +9 -0
- package/dist/header_authorization_jwt_token_.d.ts +3 -0
- package/dist/index.d.ts +5 -0
- package/dist/jwt_error_ctx_I.d.ts +4 -0
- package/dist/jwt_token_exp_.d.ts +3 -0
- package/dist/validate_current_jwt.d.ts +3 -0
- package/package.json +11 -8
- package/tsconfig.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
# @ctx-core/jwt
|
|
2
2
|
|
|
3
|
+
## 10.0.44
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- package.json: "types": "./src/index.ts": better editing experience
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @ctx-core/atob@10.0.38
|
|
10
|
+
- @ctx-core/error@11.1.15
|
|
11
|
+
- @ctx-core/function@20.2.18
|
|
12
|
+
|
|
13
|
+
## 10.0.43
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- fix: build
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- @ctx-core/atob@10.0.37
|
|
20
|
+
- @ctx-core/error@11.1.14
|
|
21
|
+
- @ctx-core/function@20.2.17
|
|
22
|
+
|
|
23
|
+
## 10.0.42
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- \*.d.ts export
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- @ctx-core/atob@10.0.36
|
|
30
|
+
- @ctx-core/error@11.1.13
|
|
31
|
+
- @ctx-core/function@20.2.16
|
|
32
|
+
|
|
33
|
+
## 10.0.41
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- fix: tsconfig.json: "rootDir": "."
|
|
38
|
+
- Updated dependencies
|
|
39
|
+
- @ctx-core/atob@10.0.35
|
|
40
|
+
- @ctx-core/error@11.1.12
|
|
41
|
+
- @ctx-core/function@20.2.15
|
|
42
|
+
|
|
43
|
+
## 10.0.40
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- fix: package.json: exports
|
|
48
|
+
- Updated dependencies
|
|
49
|
+
- @ctx-core/atob@10.0.34
|
|
50
|
+
- @ctx-core/error@11.1.11
|
|
51
|
+
- @ctx-core/function@20.2.14
|
|
52
|
+
|
|
3
53
|
## 10.0.39
|
|
4
54
|
|
|
5
55
|
### Patch Changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { error_ctx_I } from '@ctx-core/error';
|
|
2
|
+
import type { maybe, nullish } from '@ctx-core/function';
|
|
3
|
+
export interface Token {
|
|
4
|
+
access_token: string;
|
|
5
|
+
token_type: string;
|
|
6
|
+
id_token?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
error?: maybe<error_ctx_I, nullish>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { nullish } from '@ctx-core/function';
|
|
2
|
+
export declare function header_authorization_jwt_token_(authorization: string | nullish): string | undefined;
|
|
3
|
+
export { header_authorization_jwt_token_ as _header_authorization_jwt_token, header_authorization_jwt_token_ as _jwt_token__authorization__header, };
|
package/dist/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/jwt",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.44",
|
|
4
4
|
"description": "ctx-core jwt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/ctx-core/jwt
|
|
15
|
+
"url": "https://github.com/ctx-core/jwt.git"
|
|
16
16
|
},
|
|
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"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ctx-core/atob": "^10.0.
|
|
29
|
-
"@ctx-core/error": "^11.1.
|
|
30
|
-
"@ctx-core/function": "^20.2.
|
|
28
|
+
"@ctx-core/atob": "^10.0.38",
|
|
29
|
+
"@ctx-core/error": "^11.1.15",
|
|
30
|
+
"@ctx-core/function": "^20.2.18",
|
|
31
31
|
"@swc/cli": "^0.1.55",
|
|
32
32
|
"@swc/core": "^1.2.120"
|
|
33
33
|
},
|
|
@@ -42,8 +42,11 @@
|
|
|
42
42
|
"svelte": "./dist/index.js",
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "npm run compile",
|
|
45
|
-
"clean": "rimraf dist",
|
|
46
|
-
"
|
|
45
|
+
"clean": "rimraf dist && npm run clean_tsbuildinfo",
|
|
46
|
+
"clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
|
|
47
|
+
"compile": "npm run compile_source && npm run compile_declaration",
|
|
48
|
+
"compile_source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
|
|
49
|
+
"compile_declaration": "npm run clean_tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
47
50
|
"exec": "$@"
|
|
48
51
|
}
|
|
49
52
|
}
|