@camstack/types 0.1.18 → 0.1.19

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.
@@ -7958,8 +7958,10 @@ const ScopedTokenSchema = z.object({
7958
7958
  tokenHash: z.string(),
7959
7959
  tokenPrefix: z.string(),
7960
7960
  scopes: z.array(TokenScopeSchema),
7961
- expiresAt: z.number().optional(),
7962
- lastUsedAt: z.number().optional(),
7961
+ // SQLite/JSON storage round-trips undefined → null. Use `nullish` so the
7962
+ // schema accepts both `null` (read from disk) and `undefined` (in-memory).
7963
+ expiresAt: z.number().nullish(),
7964
+ lastUsedAt: z.number().nullish(),
7963
7965
  createdAt: z.number()
7964
7966
  });
7965
7967
  export {
@@ -8302,4 +8304,4 @@ export {
8302
8304
  addonsCapability as y,
8303
8305
  zonesCapability as z
8304
8306
  };
8305
- //# sourceMappingURL=auth-records-BpjTmlhM.mjs.map
8307
+ //# sourceMappingURL=auth-records-Bq2XO-Mg.mjs.map