@tetherto/wdk-wallet-evm-erc-4337 1.0.0-beta.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tetherto/wdk-wallet-evm-erc-4337",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
4
|
"description": "A simple package to manage BIP-32 wallets for evm blockchains, which implement the erc-4337 standard and its account abstraction features",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wdk",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@tetherto/wdk-wallet": "^1.0.0-beta.1",
|
|
28
28
|
"@tetherto/wdk-wallet-evm": "^1.0.0-beta.3",
|
|
29
29
|
"@wdk-safe-global/relay-kit": "4.1.3",
|
|
30
|
-
"bare-node-runtime": "1.
|
|
30
|
+
"bare-node-runtime": "^1.1.4",
|
|
31
31
|
"ethers": "6.14.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -182,13 +182,13 @@ export default class WalletAccountReadOnlyEvmErc4337 extends WalletAccountReadOn
|
|
|
182
182
|
|
|
183
183
|
const evmReadOnlyAccount = await this._getEvmReadOnlyAccount()
|
|
184
184
|
|
|
185
|
-
const
|
|
185
|
+
const userOp = await safe4337Pack.getUserOperationByHash(hash)
|
|
186
186
|
|
|
187
|
-
if (!transactionHash) {
|
|
187
|
+
if (!userOp || !userOp.transactionHash) {
|
|
188
188
|
return null
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
return await evmReadOnlyAccount.getTransactionReceipt(transactionHash)
|
|
191
|
+
return await evmReadOnlyAccount.getTransactionReceipt(userOp.transactionHash)
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
/**
|