Skip to content

Commit

Permalink
chore: release v4.3.0 (#491)
Browse files Browse the repository at this point in the history
* release v4.3.0

* refactor: increase timeout for transferOwnership tests

---------

Co-authored-by: GabiDev <gv@popoo.io>
  • Loading branch information
VGabriel45 and GabiDev45 authored May 14, 2024
1 parent 76be2c0 commit 9941115
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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 .",
Expand Down Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions tests/account/write.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -563,7 +563,7 @@ describe("Account:Write", () => {
}
)
).rejects.toThrowError()
}, 35000)
}, 50000)

test("send an user op with the new owner", async () => {
_smartAccount = await createSmartAccountClient({
Expand All @@ -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({
Expand All @@ -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({
Expand Down Expand Up @@ -642,6 +642,6 @@ describe("Account:Write", () => {
)
const receipt = await response.wait()
expect(receipt.success).toBe("true")
}, 45000)
}, 50000)
})
})

0 comments on commit 9941115

Please sign in to comment.