lutianzhou001 / aa-sdk

1 stars 1 forks source link

[Suggestion] Signers are not exported from the sdk #3

Closed matthewyu-okx closed 1 day ago

matthewyu-okx commented 1 week ago

Current Behavior

There are multiple Signers for the SDK and they are frequently used.

The import has to be with the full path of the file:

import { walletClientAASigner } from "account-abstraction-wallet-sdk/dist/packages/plugins/signers/walletClientAASigner";

Suggested Behavior

Export the interfaces at the index.ts of the sdk so that in can have the shortest import path. For example,

import { walletClientAASigner } from "account-abstraction-wallet-sdk";
lutianzhou001 commented 1 day ago

fix and close