Build IPersistSerializer for caching cert records in a binary 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 bufferSerializer = certCacheBufferSerializer(zodCertRecordsSchema); Copy
const zodCertRecordsSchema = z.object({ _ts: z.number(), certs: z.record(z.string(), z.string()) }) satisfies CertRecordsSchema;const bufferSerializer = certCacheBufferSerializer(zodCertRecordsSchema);
v0.8.0
Build IPersistSerializer for caching cert records in a binary raw format.