Skip to content

Commit

Permalink
fix(did-provider-ethr): export KMSEthereumSigner for convenience (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis authored Feb 14, 2023
1 parent 6c850ac commit cee8d2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/did-provider-ethr/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
* @packageDocumentation
*/
export { EthrDIDProvider } from './ethr-did-provider.js'
export { KmsEthereumSigner } from './kms-eth-signer.js'
2 changes: 2 additions & 0 deletions packages/did-provider-ethr/src/kms-eth-signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { IKey } from '@veramo/core-types'
/**
* Creates an `@ethersproject/abstract-signer` implementation by wrapping
* a veramo agent with a key-manager that should be capable of `eth_signTransaction`
*
* @internal This is exported for convenience, not meant to be supported as part of the public API
*/
export class KmsEthereumSigner extends Signer implements TypedDataSigner {
private context: IRequiredContext
Expand Down

0 comments on commit cee8d2e

Please sign in to comment.