@alchemy/aa-accounts
Advanced tools
Comparing version 3.12.2 to 3.12.3
@@ -115,3 +115,13 @@ "use strict"; | ||
getDummySignature: () => { | ||
return "0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"; | ||
const signature = "0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"; | ||
switch (version) { | ||
case "v1.0.1": | ||
case "v1.0.2": | ||
case "v1.1.0": | ||
return signature; | ||
case "v2.0.0": | ||
return (0, viem_1.concat)([SignatureType.EOA, signature]); | ||
default: | ||
throw new Error(`Unknown version ${type} of ${version}`); | ||
} | ||
}, | ||
@@ -118,0 +128,0 @@ encodeUpgradeToAndCall, |
@@ -112,3 +112,13 @@ import { FailedToGetStorageSlotError, createBundlerClient, toSmartContractAccount, } from "@alchemy/aa-core"; | ||
getDummySignature: () => { | ||
return "0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"; | ||
const signature = "0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"; | ||
switch (version) { | ||
case "v1.0.1": | ||
case "v1.0.2": | ||
case "v1.1.0": | ||
return signature; | ||
case "v2.0.0": | ||
return concat([SignatureType.EOA, signature]); | ||
default: | ||
throw new Error(`Unknown version ${type} of ${version}`); | ||
} | ||
}, | ||
@@ -115,0 +125,0 @@ encodeUpgradeToAndCall, |
{ | ||
"name": "@alchemy/aa-accounts", | ||
"version": "3.12.2", | ||
"version": "3.12.3", | ||
"description": "A collection of ERC-4337 compliant smart contract account interfaces", | ||
@@ -75,5 +75,5 @@ "author": "Alchemy", | ||
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme", | ||
"gitHead": "0a0d8db2075ffc6c7bceb428df6f1e8c0a481a9a", | ||
"gitHead": "c23cb541ee91e822388a467f827e7f19bcddcd45", | ||
"dependencies": { | ||
"@alchemy/aa-core": "^3.12.2", | ||
"@alchemy/aa-core": "^3.12.3", | ||
"viem": "2.8.6" | ||
@@ -80,0 +80,0 @@ }, |
@@ -262,3 +262,14 @@ import { | ||
getDummySignature: (): Hex => { | ||
return "0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"; | ||
const signature = | ||
"0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"; | ||
switch (version as string) { | ||
case "v1.0.1": | ||
case "v1.0.2": | ||
case "v1.1.0": | ||
return signature; | ||
case "v2.0.0": | ||
return concat([SignatureType.EOA, signature]); | ||
default: | ||
throw new Error(`Unknown version ${type} of ${version}`); | ||
} | ||
}, | ||
@@ -265,0 +276,0 @@ encodeUpgradeToAndCall, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4285130
74156
Updated@alchemy/aa-core@^3.12.3