From f86f52404285b3c7084888b6d87c9c8be2e2b9e3 Mon Sep 17 00:00:00 2001 From: GabiDev Date: Tue, 14 May 2024 12:55:05 +0300 Subject: [PATCH 1/2] release v4.3.0 --- CHANGELOG.md | 9 +++++++++ package.json | 11 ++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96cc7c818..22c1ec14a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # @biconomy/account +## 4.3.0 + +### Minor Changes + +- Added transferOwnership and gasOffsets + + - added transferOwnerhsip() method on the Smart Account + - added gasOffsets parameter to increase gas values + ## 4.2.0 ### Minor Changes diff --git a/package.json b/package.json index f8e03da04..f34eec0a4 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "sideEffects": false, "name": "@biconomy/account", "author": "Biconomy", - "version": "4.2.0", + "version": "4.3.0", "description": "SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.", "keywords": [ "erc-7579", @@ -46,7 +46,10 @@ "default": "./_cjs/modules/index.js" } }, - "files": ["dist/*", "README.md"], + "files": [ + "dist/*", + "README.md" + ], "scripts": { "format": "biome format . --write", "lint": "biome check .", @@ -102,7 +105,9 @@ "viem": "^2" }, "commitlint": { - "extends": ["@commitlint/config-conventional"] + "extends": [ + "@commitlint/config-conventional" + ] }, "simple-git-hooks": { "pre-commit": "bun run format && bun run lint:fix", From 0b536903d95d5d1336009c5f59b2d9c8daac43f5 Mon Sep 17 00:00:00 2001 From: GabiDev Date: Tue, 14 May 2024 13:16:16 +0300 Subject: [PATCH 2/2] refactor: increase timeout for transferOwnership tests --- tests/account/write.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/account/write.test.ts b/tests/account/write.test.ts index 72e28d643..8467a5e27 100644 --- a/tests/account/write.test.ts +++ b/tests/account/write.test.ts @@ -535,7 +535,7 @@ describe("Account:Write", () => { ) const receipt = await response.wait() expect(receipt.success).toBe("true") - }, 35000) + }, 50000) test("should revert transfer ownership with signer that is not the owner", async () => { _smartAccount = await createSmartAccountClient({ @@ -563,7 +563,7 @@ describe("Account:Write", () => { } ) ).rejects.toThrowError() - }, 35000) + }, 50000) test("send an user op with the new owner", async () => { _smartAccount = await createSmartAccountClient({ @@ -589,7 +589,7 @@ describe("Account:Write", () => { }) const response = await wait() expect(response.success).toBe("true") - }, 35000) + }, 50000) test("should revert if sending an user op with the old owner", async () => { _smartAccount = await createSmartAccountClient({ @@ -613,7 +613,7 @@ describe("Account:Write", () => { ).rejects.toThrowError( await getAAError("Error coming from Bundler: AA24 signature error") ) - }, 35000) + }, 50000) test("should transfer ownership of smart account back to EOA 1", async () => { _smartAccount = await createSmartAccountClient({ @@ -642,6 +642,6 @@ describe("Account:Write", () => { ) const receipt = await response.wait() expect(receipt.success).toBe("true") - }, 45000) + }, 50000) }) })