Skip to content

Commit

Permalink
Make it available in @turnkey/ethers as well
Browse files Browse the repository at this point in the history
  • Loading branch information
keyz-tk committed May 19, 2023
1 parent fcf95e6 commit 19f3d79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ethers/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ethers } from "ethers";
import {
TurnkeyApi,
TurnkeyActivityError,
TurnkeyRequestError,
init as httpInit,
} from "@turnkey/http";
import type { TypedDataSigner } from "@ethersproject/abstract-signer";
Expand Down Expand Up @@ -254,7 +255,7 @@ export class TurnkeySigner extends ethers.Signer implements TypedDataSigner {
_signTypedData = this.signTypedData.bind(this);
}

export { TurnkeyActivityError };
export { TurnkeyActivityError, TurnkeyRequestError };

function assertNonNull<T>(input: T | null | undefined): T {
if (input == null) {
Expand Down

0 comments on commit 19f3d79

Please sign in to comment.