Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alchemy/aa-core

Package Overview
Dependencies
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alchemy/aa-core - npm Package Compare versions

Comparing version 3.17.1 to 3.17.2

2

dist/cjs/version.d.ts

@@ -1,1 +0,1 @@

export declare const VERSION = "3.17.1";
export declare const VERSION = "3.17.2";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = "3.17.1";
exports.VERSION = "3.17.2";
//# sourceMappingURL=version.js.map

@@ -1,1 +0,1 @@

export declare const VERSION = "3.17.1";
export declare const VERSION = "3.17.2";

@@ -1,2 +0,2 @@

export const VERSION = "3.17.1";
export const VERSION = "3.17.2";
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare const VERSION = "3.17.1";
export declare const VERSION = "3.17.2";
//# sourceMappingURL=version.d.ts.map
{
"name": "@alchemy/aa-core",
"license": "MIT",
"version": "3.17.1",
"version": "3.17.2",
"description": "viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts",

@@ -69,3 +69,3 @@ "author": "Alchemy",

"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
"gitHead": "bd9382150824574d17b4830a070e183aaa929ea7"
"gitHead": "04f9d7ef63cef034879ed2c00f8cc432d1bc185d"
}

@@ -83,3 +83,3 @@ import {

// [!region SmartContractAccount]
//#region SmartContractAccount
export type SmartContractAccount<

@@ -110,3 +110,3 @@ Name extends string = string,

};
// [!endregion SmartContractAccount]
//#endregion SmartContractAccount

@@ -121,3 +121,3 @@ export interface AccountEntryPointRegistry<Name extends string = string>

// [!region ToSmartContractAccountParams]
//#region ToSmartContractAccountParams
export type ToSmartContractAccountParams<

@@ -142,3 +142,3 @@ Name extends string = string,

} & Omit<CustomSource, "signTransaction" | "address">;
// [!endregion ToSmartContractAccountParams]
//#endregion ToSmartContractAccountParams

@@ -199,3 +199,3 @@ export const parseFactoryAddressFromAccountInitCode = (

// [!region toSmartContractAccount]
//#region toSmartContractAccount
export async function toSmartContractAccount<

@@ -226,3 +226,3 @@ Name extends string = string,

>): Promise<SmartContractAccount<Name, TEntryPointVersion>>;
// [!endregion toSmartContractAccount]
//#endregion toSmartContractAccount

@@ -229,0 +229,0 @@ export async function toSmartContractAccount({

@@ -18,3 +18,3 @@ import type { Hex, RpcTransactionRequest } from "viem";

// [!region UpgradeAccountParams]
//#region UpgradeAccountParams
export type UpgradeAccountParams<

@@ -32,5 +32,5 @@ TAccount extends SmartContractAccount | undefined,

UserOperationOverridesParameter<TEntryPointVersion>;
// [!endregion UpgradeAccountParams]
//#endregion UpgradeAccountParams
// [!region SendUserOperationParameters]
//#region SendUserOperationParameters
export type SendUserOperationParameters<

@@ -47,5 +47,5 @@ TAccount extends SmartContractAccount | undefined,

UserOperationOverridesParameter<TEntryPointVersion>;
// [!endregion SendUserOperationParameters]
//#endregion SendUserOperationParameters
// [!region BuildUserOperationParameters]
//#region BuildUserOperationParameters
export type BuildUserOperationParameters<

@@ -58,5 +58,5 @@ TAccount extends SmartContractAccount | undefined,

> = SendUserOperationParameters<TAccount, TContext, TEntryPointVersion>;
// [!endregion BuildUserOperationParameters]
//#endregion BuildUserOperationParameters
// [!region SignUserOperationParameters]
//#region SignUserOperationParameters
export type SignUserOperationParameters<

@@ -74,5 +74,5 @@ TAccount extends SmartContractAccount | undefined =

GetContextParameter<TContext>;
// [!endregion SignUserOperationParameters]
//#endregion SignUserOperationParameters
// [!region SendTransactionsParameters]
//#region SendTransactionsParameters
export type SendTransactionsParameters<

@@ -89,5 +89,5 @@ TAccount extends SmartContractAccount | undefined,

UserOperationOverridesParameter<TEntryPointVersion>;
// [!endregion SendTransactionsParameters]
//#endregion SendTransactionsParameters
// [!region BuildTransactionParameters]
//#region BuildTransactionParameters
export type BuildTransactionParameters<

@@ -100,5 +100,5 @@ TAccount extends SmartContractAccount | undefined,

> = SendTransactionsParameters<TAccount, TContext, TEntryPointVersion>;
// [!endregion BuildTransactionParameters]
//#endregion BuildTransactionParameters
// [!region DropAndReplaceUserOperationParameters]
//#region DropAndReplaceUserOperationParameters
export type DropAndReplaceUserOperationParameters<

@@ -115,5 +115,5 @@ TAccount extends SmartContractAccount | undefined,

UserOperationOverridesParameter<TEntryPointVersion>;
// [!endregion DropAndReplaceUserOperationParameters]
//#endregion DropAndReplaceUserOperationParameters
// [!region WaitForUserOperationTxParameters]
//#region WaitForUserOperationTxParameters
export type WaitForUserOperationTxParameters = {

@@ -141,5 +141,5 @@ hash: Hex;

};
// [!endregion WaitForUserOperationTxParameters]
//#endregion WaitForUserOperationTxParameters
// [!region BuildUserOperationFromTransactionsResult]
//#region BuildUserOperationFromTransactionsResult
export type BuildUserOperationFromTransactionsResult<

@@ -151,9 +151,9 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion

} & UserOperationOverridesParameter<TEntryPointVersion, true>;
// [!endregion BuildUserOperationFromTransactionsResult]
//#endregion BuildUserOperationFromTransactionsResult
// [!region UserOperationContext]
//#region UserOperationContext
export type UserOperationContext = Record<string, any>;
// [!endregion UserOperationContext]
//#endregion UserOperationContext
// [!region GetContextParameter]
//#region GetContextParameter
export type GetContextParameter<

@@ -168,2 +168,2 @@ TContext extends UserOperationContext | undefined =

: { context: TContext };
// [!endregion GetContextParameter]
//#endregion GetContextParameter

@@ -23,3 +23,3 @@ import {

// [!region BundlerClient]
//#region BundlerClient
export type BundlerClient<T extends Transport = Transport> = Client<

@@ -42,3 +42,3 @@ T,

};
// [!endregion BundlerClient]
//#endregion BundlerClient

@@ -45,0 +45,0 @@ /**

@@ -52,3 +52,3 @@ import type {

// [!region BundlerActions]
//#region BundlerActions
export type BundlerActions = {

@@ -108,3 +108,3 @@ /**

};
// [!endregion BundlerActions]
//#endregion BundlerActions

@@ -111,0 +111,0 @@ export const bundlerActions: <

@@ -21,3 +21,3 @@ import type { Transport } from "viem";

// [!region ConnectionConfigSchema]
// #region ConnectionConfigSchema
export const ConnectionConfigSchema = z.union([

@@ -45,3 +45,3 @@ z.object({

]);
// [!endregion ConnectionConfigSchema]
// #endregion ConnectionConfigSchema

@@ -48,0 +48,0 @@ export const UserOperationFeeOptionsFieldSchema =

@@ -19,3 +19,3 @@ import type { Address } from "abitype";

// [!region SendUserOperationResult]
//#region SendUserOperationResult
export type SendUserOperationResult<

@@ -27,5 +27,5 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion

};
// [!endregion SendUserOperationResult]
//#endregion SendUserOperationResult
// [!region UpgradeToData]
//#region UpgradeToData
export type UpgradeToData = {

@@ -35,5 +35,5 @@ implAddress: Address;

};
// [!endregion UpgradeToData]
//#endregion UpgradeToData
// [!region ClientMiddlewareConfig]
//#region ClientMiddlewareConfig
export type ClientMiddlewareConfig<

@@ -54,2 +54,2 @@ TContext extends UserOperationContext | undefined =

};
// [!endregion ClientMiddlewareConfig]
//#endregion ClientMiddlewareConfig

@@ -68,3 +68,3 @@ import type {

// [!region EntryPointDef]
//#region EntryPointDef
export type EntryPointDef<

@@ -86,3 +86,3 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion,

};
// [!endregion EntryPointDef]
//#endregion EntryPointDef

@@ -89,0 +89,0 @@ export interface EntryPointDefRegistry<TChain extends Chain = Chain>

@@ -14,3 +14,3 @@ import type {

// [!region ClientMiddlewareFn]
//#region ClientMiddlewareFn
export type ClientMiddlewareFn<

@@ -34,5 +34,5 @@ TContext extends UserOperationContext | undefined =

) => Promise<Deferrable<UserOperationStruct<TEntryPointVersion>>>;
// [!endregion ClientMiddlewareFn]
//#endregion ClientMiddlewareFn
// [!region ClientMiddleware]
//#region ClientMiddleware
export type ClientMiddleware<

@@ -51,2 +51,2 @@ TContext extends UserOperationContext | undefined =

};
// [!endregion ClientMiddleware]
//#endregion ClientMiddleware

@@ -9,3 +9,3 @@ import type { Address } from "abitype";

// [!region SmartAccountAuthenticator]
//#region SmartAccountAuthenticator
/**

@@ -24,5 +24,5 @@ * Extends the @interface SmartAccountSigner interface with authentication.

}
// [!endregion SmartAccountAuthenticator]
//#endregion SmartAccountAuthenticator
// [!region SmartAccountSigner]
//#region SmartAccountSigner
/**

@@ -48,2 +48,2 @@ * A signer that can sign messages and typed data.

}
// [!endregion SmartAccountSigner]
//#endregion SmartAccountSigner

@@ -34,3 +34,3 @@ import {

// [!region UserOperationCallData]
//#region UserOperationCallData
export type UserOperationCallData =

@@ -46,7 +46,7 @@ | {

| Hex;
// [!endregion UserOperationCallData]
//#endregion UserOperationCallData
// [!region BatchUserOperationCallData]
//#region BatchUserOperationCallData
export type BatchUserOperationCallData = Exclude<UserOperationCallData, Hex>[];
// [!endregion BatchUserOperationCallData]
//#endregion BatchUserOperationCallData

@@ -72,3 +72,3 @@ export type UserOperationFeeOptionsField = z.input<

// [!region UserOperationPaymasterOverrides]
//#region UserOperationPaymasterOverrides
export type UserOperationPaymasterOverrides<

@@ -96,5 +96,5 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion

: {};
// [!endregion UserOperationOverridesParameter]
//#endregion UserOperationOverridesParameter
// [!region UserOperationOverrides]
//#region UserOperationOverrides
export type UserOperationOverrides<

@@ -139,5 +139,5 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion

>;
// [!endregion UserOperationOverrides]
//#endregion UserOperationOverrides
// [!region UserOperationRequest_v6]
//#region UserOperationRequest_v6
// represents the request as it needs to be formatted for v0.6 RPC requests

@@ -169,5 +169,5 @@ // Reference: https://github.com/ethereum/ERCs/blob/8dd085d159cb123f545c272c0d871a5339550e79/ERCS/erc-4337.md#definitions

}
// [!endregion UserOperationRequest_v6]
//#endregion UserOperationRequest_v6
// [!region UserOperationRequest_v7]
//#region UserOperationRequest_v7
// represents the request as it needs to be formatted for v0.7 RPC requests

@@ -207,5 +207,5 @@ // Reference: https://eips.ethereum.org/EIPS/eip-4337#definitions

}
// [!endregion UserOperationRequest_v7]
//#endregion UserOperationRequest_v7
// [!region UserOperationRequest]
//#region UserOperationRequest
// Reference: https://eips.ethereum.org/EIPS/eip-4337#definitions

@@ -220,5 +220,5 @@ export type UserOperationRequest<

// [!endregion UserOperationRequest]
//#endregion UserOperationRequest
// [!region UserOperationEstimateGasResponse]
//#region UserOperationEstimateGasResponse
export interface UserOperationEstimateGasResponse<

@@ -242,5 +242,5 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion

}
// [!endregion UserOperationEstimateGasResponse]
//#endregion UserOperationEstimateGasResponse
// [!region UserOperationResponse]
//#region UserOperationResponse
export interface UserOperationResponse<

@@ -260,5 +260,5 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion

}
// [!endregion UserOperationResponse]
//#endregion UserOperationResponse
// [!region UserOperationReceipt]
//#region UserOperationReceipt
export interface UserOperationReceipt {

@@ -288,3 +288,3 @@ /* The request hash of the UserOperation. */

}
// [!endregion UserOperationReceipt]
//#endregion UserOperationReceipt

@@ -347,3 +347,3 @@ /** @deprecated use viem type TransactionReceipt instead */

// [!region UserOperationStruct_v6]
//#region UserOperationStruct_v6
// https://github.com/eth-infinitism/account-abstraction/blob/releases/v0.6/test/UserOperation.ts

@@ -375,5 +375,5 @@ // this is used for building requests for v0.6 entry point contract

}
// [!endregion UserOperationStruct_v6]
//#endregion UserOperationStruct_v6
// [!region UserOperationStruct_v7]
//#region UserOperationStruct_v7
// based on https://github.com/eth-infinitism/account-abstraction/blob/releases/v0.7/test/UserOperation.ts

@@ -413,5 +413,5 @@ // this is used for building requests for v0.7 entry point contract

}
// [!endregion UserOperationStruct_v7]
//#endregion UserOperationStruct_v7
// [!region UserOperationStruct]
//#region UserOperationStruct
export type UserOperationStruct<

@@ -424,2 +424,2 @@ TEntryPointVersion extends EntryPointVersion = EntryPointVersion

: never;
// [!endregion UserOperationStruct]
//#endregion UserOperationStruct

@@ -17,7 +17,7 @@ import { isHex, type Chain } from "viem";

// [!region BigNumberish]
//#region BigNumberish
export const BigNumberishSchema = z.union([HexSchema, z.number(), z.bigint()]);
// [!endregion BigNumberish]
//#endregion BigNumberish
// [!region BigNumberishRange]
//#region BigNumberishRange
export const BigNumberishRangeSchema = z

@@ -29,5 +29,5 @@ .object({

.strict();
// [!endregion BigNumberishRange]
//#endregion BigNumberishRange
// [!region Multiplier]
//#region Multiplier
export const MultiplierSchema = z

@@ -46,3 +46,3 @@ .object({

.strict();
// [!endregion Multiplier]
//#endregion Multiplier

@@ -49,0 +49,0 @@ export function isBigNumberish(x: any): x is BigNumberish {

// This file is autogenerated by inject-version.ts. Any changes will be
// overwritten on commit!
export const VERSION = "3.17.1";
export const VERSION = "3.17.2";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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