Socket
Socket
Sign inDemoInstall

@alchemy/aa-accounts

Package Overview
Dependencies
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alchemy/aa-accounts - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

3

dist/cjs/src/light-account/account.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc