@alchemy/aa-accounts
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -9,4 +9,3 @@ "use strict"; | ||
const utils_js_1 = require("./utils.js"); | ||
async function createLightAccount({ transport, chain, signer: owner, initCode, version = "v1.1.0", entryPoint = (0, aa_core_1.getVersion060EntryPoint)(chain), accountAddress, factoryAddress = (0, utils_js_1.getDefaultLightAccountFactoryAddress)(chain, version), salt: salt_ = 0n, }) { | ||
let signer = owner; | ||
async function createLightAccount({ transport, chain, signer, initCode, version = "v1.1.0", entryPoint = (0, aa_core_1.getVersion060EntryPoint)(chain), accountAddress, factoryAddress = (0, utils_js_1.getDefaultLightAccountFactoryAddress)(chain, version), salt: salt_ = 0n, }) { | ||
const client = (0, aa_core_1.createBundlerClient)({ | ||
@@ -13,0 +12,0 @@ transport, |
@@ -6,4 +6,3 @@ import { FailedToGetStorageSlotError, createBundlerClient, getAccountAddress, getVersion060EntryPoint, toSmartContractAccount, } from "@alchemy/aa-core"; | ||
import { LightAccountUnsupported1271Factories, LightAccountVersions, getDefaultLightAccountFactoryAddress, getLightAccountVersion, } from "./utils.js"; | ||
export async function createLightAccount({ transport, chain, signer: owner, initCode, version = "v1.1.0", entryPoint = getVersion060EntryPoint(chain), accountAddress, factoryAddress = getDefaultLightAccountFactoryAddress(chain, version), salt: salt_ = 0n, }) { | ||
let signer = owner; | ||
export async function createLightAccount({ transport, chain, signer, initCode, version = "v1.1.0", entryPoint = getVersion060EntryPoint(chain), accountAddress, factoryAddress = getDefaultLightAccountFactoryAddress(chain, version), salt: salt_ = 0n, }) { | ||
const client = createBundlerClient({ | ||
@@ -10,0 +9,0 @@ transport, |
{ | ||
"name": "@alchemy/aa-accounts", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A collection of ERC-4337 compliant smart contract account interfaces", | ||
@@ -75,7 +75,7 @@ "author": "Alchemy", | ||
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme", | ||
"gitHead": "38b895d93e9bd4652908d5682eefd84147a2df73", | ||
"gitHead": "8bd44ce8ef881eb643189538b0aa88af94528184", | ||
"dependencies": { | ||
"@alchemy/aa-core": "^3.0.0", | ||
"@alchemy/aa-core": "^3.0.1", | ||
"viem": "^2.7.8" | ||
} | ||
} |
@@ -66,3 +66,3 @@ import { | ||
chain, | ||
signer: owner, | ||
signer, | ||
initCode, | ||
@@ -75,3 +75,2 @@ version = "v1.1.0", | ||
}: CreateLightAccountParams): Promise<LightAccount> { | ||
let signer = owner; | ||
const client = createBundlerClient({ | ||
@@ -78,0 +77,0 @@ transport, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2710150
47357
Updated@alchemy/aa-core@^3.0.1