Build IPersistSerializer for caching cert records in a string raw format.
Standard schema for the cert records
const zodCertRecordsSchema = z.object({ _ts: z.number(), certs: z.record(z.string(), z.string()) }) satisfies CertRecordsSchema;const stringSerializer = certCacheStringSerializer(zodCertRecordsSchema); Copy
const zodCertRecordsSchema = z.object({ _ts: z.number(), certs: z.record(z.string(), z.string()) }) satisfies CertRecordsSchema;const stringSerializer = certCacheStringSerializer(zodCertRecordsSchema);
v0.8.0
Build IPersistSerializer for caching cert records in a string raw format.