@sdxc/jwt 2026.9.28 → 2026.10.1

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 (2) hide show
  1. package/dist/jwt.js +2 -2
  2. package/package.json +2 -2
package/dist/jwt.js CHANGED
@@ -166,7 +166,7 @@ export class JWT {
166
166
  */
167
167
  get issuedAt() {
168
168
  if (this.parser.has("iat"))
169
- return new Date(this.parser.number("iat"));
169
+ return new Date(this.parser.number("iat") * MS_PER_SECOND);
170
170
  return null;
171
171
  }
172
172
  /** @param value - The issuance time to set, or `null` to drop the claim. */
@@ -208,7 +208,7 @@ export class JWT {
208
208
  */
209
209
  get notBefore() {
210
210
  if (this.parser.has("nbf"))
211
- return new Date(this.parser.number("nbf"));
211
+ return new Date(this.parser.number("nbf") * MS_PER_SECOND);
212
212
  return null;
213
213
  }
214
214
  /** @param value - The start of validity to set, or `null` to drop the claim. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdxc/jwt",
3
- "version": "2026.9.28",
3
+ "version": "2026.10.1",
4
4
  "description": "JWT payload classes and the keys that sign them",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -12,7 +12,7 @@
12
12
  "@sdxc/duration": "2026.9.15",
13
13
  "jose": "^6.2.10"
14
14
  },
15
- "gitHead": "00c01e349b11f65b9f47902c5345a817e8afd2b1",
15
+ "gitHead": "cb188242d2cdac4af10cc8dadb4a2b9cd50759b2",
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },