@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.
@@ -7959,8 +7959,10 @@ const ScopedTokenSchema = zod.z.object({
7959
7959
  tokenHash: zod.z.string(),
7960
7960
  tokenPrefix: zod.z.string(),
7961
7961
  scopes: zod.z.array(TokenScopeSchema),
7962
- expiresAt: zod.z.number().optional(),
7963
- lastUsedAt: zod.z.number().optional(),
7962
+ // SQLite/JSON storage round-trips undefined → null. Use `nullish` so the
7963
+ // schema accepts both `null` (read from disk) and `undefined` (in-memory).
7964
+ expiresAt: zod.z.number().nullish(),
7965
+ lastUsedAt: zod.z.number().nullish(),
7964
7966
  createdAt: zod.z.number()
7965
7967
  });
7966
7968
  exports.ACCESSORY_LABEL = ACCESSORY_LABEL;
@@ -8301,4 +8303,4 @@ exports.webrtcSessionCapability = webrtcSessionCapability;
8301
8303
  exports.zoneAnalyticsCapability = zoneAnalyticsCapability;
8302
8304
  exports.zoneRulesCapability = zoneRulesCapability;
8303
8305
  exports.zonesCapability = zonesCapability;
8304
- //# sourceMappingURL=auth-records-dZTcJ-2e.js.map
8306
+ //# sourceMappingURL=auth-records-BsSRou-O.js.map