Skip to content

Commit

Permalink
feat: expose inner certificate in Certificate (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock authored Sep 11, 2024
1 parent 19e2f8f commit 33f2e38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/src/certificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33f2e38

Please sign in to comment.