@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.
- package/dist/{auth-records-BpjTmlhM.mjs → auth-records-Bq2XO-Mg.mjs} +5 -3
- package/dist/{auth-records-BpjTmlhM.mjs.map → auth-records-Bq2XO-Mg.mjs.map} +1 -1
- package/dist/{auth-records-dZTcJ-2e.js → auth-records-BsSRou-O.js} +5 -3
- package/dist/{auth-records-dZTcJ-2e.js.map → auth-records-BsSRou-O.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/schemas/auth-records.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
7963
|
-
|
|
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-
|
|
8306
|
+
//# sourceMappingURL=auth-records-BsSRou-O.js.map
|