@ctx-core/jwt 10.4.14 → 10.4.16

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @ctx-core/jwt
2
2
 
3
+ ## 10.4.16
4
+
5
+ ### Patch Changes
6
+
7
+ - @ctx-core/error: ^12.1.2 -> ^12.2.0
8
+
9
+ ## 10.4.15
10
+
11
+ ### Patch Changes
12
+
13
+ - jwt**expiration**error*: bad_credentials_error*: fix: arguments
14
+ - Updated dependencies
15
+ - @ctx-core/error@12.1.2
16
+
3
17
  ## 10.4.14
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/jwt",
3
- "version": "10.4.14",
3
+ "version": "10.4.16",
4
4
  "description": "ctx-core jwt",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@ctx-core/atob": "^10.1.64",
28
- "@ctx-core/error": "^12.0.0",
28
+ "@ctx-core/error": "^12.2.0",
29
29
  "@ctx-core/function": "^21.12.2"
30
30
  },
31
31
  "devDependencies": {
@@ -8,9 +8,7 @@ export function jwt__expiration__error_(jwt_token) {
8
8
  return (
9
9
  jwt__expiration__is_valid_(jwt_token)
10
10
  ? null
11
- : bad_credentials_error_({
11
+ : bad_credentials_error_('Session Expired', {
12
12
  data: { jwt_token },
13
- error_message: 'Session Expired'
14
- })
15
- )
13
+ }))
16
14
  }
package/COMMIT_EDITMSG DELETED
@@ -1 +0,0 @@
1
-