Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v4.3.0 #491

Merged
merged 2 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
})
})
Loading