@gcoredev/as-jwt 1.0.3-alpha.1 → 1.0.4

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/assembly/index.ts CHANGED
@@ -70,7 +70,7 @@ function jwtVerify(token: string, secret: string): JwtValidation {
70
70
  }
71
71
  const jsonClaimsObj: JSON.Obj = <JSON.Obj>JSON.parse(payloadStr);
72
72
 
73
- // RFC 7519 states that the exp , nbf and iat claim values must be NumericDate values.
73
+ // RFC 7519 states that the exp , nbf and iat claim values must be NumericDate values
74
74
  const expOrNull: JSON.Integer | null = jsonClaimsObj.getInteger("exp");
75
75
  if (expOrNull == null) {
76
76
  return JwtValidation.BadToken;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcoredev/as-jwt",
3
- "version": "1.0.3-alpha.1",
3
+ "version": "1.0.4",
4
4
  "description": "AssemblyScript package that provides simple jws handling for jwt tokens/",
5
5
  "main": "assembly/index.ts",
6
6
  "type": "module",
@@ -55,12 +55,12 @@
55
55
  },
56
56
  "homepage": "https://github.com/G-Core/as-jwt#readme",
57
57
  "devDependencies": {
58
- "@as-pect/assembly": "^8.0.1",
59
- "@as-pect/cli": "^8.0.1",
60
- "@assemblyscript/loader": "^0.28.9",
58
+ "@as-pect/assembly": "^8.1.0",
59
+ "@as-pect/cli": "^8.1.0",
60
+ "@assemblyscript/loader": "^0.28.14",
61
61
  "@semantic-release/changelog": "^6.0.3",
62
- "assemblyscript": "^0.28.9",
63
- "husky": "^9.0.11"
62
+ "assemblyscript": "^0.28.14",
63
+ "husky": "^9.1.7"
64
64
  },
65
65
  "dependencies": {
66
66
  "assemblyscript-json": "^1.1.0"