From 74ffd35c28ae3adf6560be87cbaf5aec2c9ebeab Mon Sep 17 00:00:00 2001 From: Kai Peacock Date: Wed, 11 Sep 2024 09:50:13 -0700 Subject: [PATCH] feat: expose inner certificate in Certificate --- docs/CHANGELOG.md | 1 + packages/agent/src/certificate.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 35bd9235..f1be422d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,7 @@ ### Added +- feat: expose inner certificate in `Certificate` for inspection or use in raw calls. `Certificate.cert` is now a public property - feat: allow creation of multiple Actors in `useAuthClient` by passing a record to `actorOptions` with the actor name as the key, and `CreateActorOptions` as the value - feat: sync_call support in HttpAgent and Actor - Skips polling if the sync call succeeds and provides a certificate diff --git a/packages/agent/src/certificate.ts b/packages/agent/src/certificate.ts index 4e7c5eac..8ddac8ca 100644 --- a/packages/agent/src/certificate.ts +++ b/packages/agent/src/certificate.ts @@ -149,7 +149,7 @@ export interface CreateCertificateOptions { } export class Certificate { - private readonly cert: Cert; + public cert: Cert; /** * Create a new instance of a certificate, automatically verifying it. Throws a