Skip to content

Commit f686bee

Browse files
authored
Merge pull request #108 from jonathunne/release/v1.0.0-beta.11
Release: v1.0.0-beta.11
2 parents 3367380 + 4e24959 commit f686bee

4 files changed

Lines changed: 27 additions & 161 deletions

File tree

package-lock.json

Lines changed: 21 additions & 155 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tetherto/wdk-wallet-evm-erc-4337",
3-
"version": "1.0.0-beta.10",
3+
"version": "1.0.0-beta.11",
44
"description": "A simple package to manage BIP-32 wallets for evm blockchains, which implement the erc-4337 standard and its account abstraction features",
55
"keywords": [
66
"wdk",
@@ -30,11 +30,11 @@
3030
},
3131
"dependencies": {
3232
"@tetherto/wdk-failover-provider": "1.0.0-beta.2",
33-
"@tetherto/wdk-wallet": "1.0.0-beta.12",
34-
"@tetherto/wdk-wallet-evm": "1.0.0-beta.14",
33+
"@tetherto/wdk-wallet": "1.0.0-beta.13",
34+
"@tetherto/wdk-wallet-evm": "1.0.0-beta.15",
3535
"abstractionkit": "0.4.0",
3636
"bare-node-runtime": "^1.4.0",
37-
"ethers": "6.16.0"
37+
"ethers": "6.17.0"
3838
},
3939
"devDependencies": {
4040
"@nomicfoundation/hardhat-ethers": "3.1.0",

src/wallet-account-evm-erc-4337.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ export default class WalletAccountEvmErc4337 extends WalletAccountReadOnlyEvmErc
512512

513513
const signer = {
514514
address: this._ownerAccountAddress,
515-
signHash: async (hash) => this._ownerAccount._account.signingKey.sign(hash).serialized
515+
signHash: async (hash) => this._ownerAccount._signer._account.signingKey.sign(hash).serialized
516516
}
517517
userOp.signature = await smartAccount.signUserOperationWithSigners(
518518
userOp,

tests/integration/module.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ describe('@wdk/wallet-evm-erc-4337', () => {
412412
for (const account of [account0, account1]) {
413413
expect(account.keyPair.privateKey).toBeNull()
414414

415-
await expect(account.sign(MESSAGE)).rejects.toThrow('Uint8Array expected')
415+
await expect(account.sign(MESSAGE)).rejects.toThrow()
416416
await expect(account.sendTransaction(TRANSACTION)).rejects.toThrow()
417417
await expect(account.transfer(TRANSFER)).rejects.toThrow()
418418
}

0 commit comments

Comments
 (0)