Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Long committed Dec 9, 2023
1 parent 6bfbf03 commit 407bdfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/signers/src/lit-protocol/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import {

const SIGNER_TYPE: string = "lit";


/**
* Implementation of `SmartAccountAuthenticator` for lit protocol
* This class requies:
* This class requies:
* `@lit-protocol/lit-node-client`
* `@lit-protocol/pkp-ethers`
*/
Expand Down Expand Up @@ -60,7 +59,6 @@ export class LitSigner<C extends LitAuthMethod | LitSessionSigsMap>
authenticate = async (
props: LITAuthenticateProps<C>
): Promise<LitSessionSigsMap> => {

await this._client.connect().catch((err: any) => {
throw new Error(`Error while connecting Lit Node Client: ${err}`);
});
Expand Down
2 changes: 1 addition & 1 deletion site/packages/aa-signers/lit-protocol/signTypedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ This method must be called after [`authenticate`](/packages/aa-signers/lit/authe
::: code-group

```ts [example.ts]

// [!code focus:99]
import { LitSigner, type LitAuthMethod } from "@alchemy/aa-signers";

Expand Down Expand Up @@ -70,6 +69,7 @@ const signedTypedData = await litSigner.signTypedData({
},
});
```

:::

## Returns
Expand Down

0 comments on commit 407bdfb

Please sign in to comment.