From d58a8aa474e6a6d717f3623833e0cf5489d1c46f Mon Sep 17 00:00:00 2001 From: Garvit Khatri Date: Sun, 3 Nov 2024 11:05:47 +0000 Subject: [PATCH] Add changeset and deprecated message --- .changeset/gorgeous-flowers-cheat.md | 5 +++++ .../accounts/biconomy/toBiconomySmartAccount.ts | 10 ++-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 .changeset/gorgeous-flowers-cheat.md diff --git a/.changeset/gorgeous-flowers-cheat.md b/.changeset/gorgeous-flowers-cheat.md new file mode 100644 index 00000000..c695727a --- /dev/null +++ b/.changeset/gorgeous-flowers-cheat.md @@ -0,0 +1,5 @@ +--- +"permissionless": patch +--- + +Added support for Biconomy's Nexus account diff --git a/packages/permissionless/accounts/biconomy/toBiconomySmartAccount.ts b/packages/permissionless/accounts/biconomy/toBiconomySmartAccount.ts index eb52935a..a3596072 100644 --- a/packages/permissionless/accounts/biconomy/toBiconomySmartAccount.ts +++ b/packages/permissionless/accounts/biconomy/toBiconomySmartAccount.ts @@ -176,15 +176,9 @@ const getAccountAddress = async ({ } /** - * Build a Biconomy modular smart account from a private key, that use the ECDSA signer behind the scene - * @param client - * @param privateKey - * @param entryPoint - * @param index - * @param factoryAddress - * @param ecdsaModuleAddress + * @deprecated Biconomy Smart Account is deprecated. Please use toNexusSmartAccount instead. + * @see toNexusSmartAccount */ - export async function toBiconomySmartAccount( parameters: ToBiconomySmartAccountParameters ): Promise {