- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
266 lines
8.0 KiB
TypeScript
266 lines
8.0 KiB
TypeScript
// biome-ignore lint/performance/noBarrelFile: entrypoint
|
|
export {
|
|
type CreateWebAuthnCredentialParameters,
|
|
type CreateWebAuthnCredentialReturnType,
|
|
createWebAuthnCredential,
|
|
type P256Credential,
|
|
} from './accounts/createWebAuthnCredential.js'
|
|
export {
|
|
type CoinbaseSmartAccountImplementation,
|
|
type ToCoinbaseSmartAccountParameters,
|
|
type ToCoinbaseSmartAccountReturnType,
|
|
toCoinbaseSmartAccount,
|
|
} from './accounts/implementations/toCoinbaseSmartAccount.js'
|
|
export {
|
|
type Simple7702SmartAccountImplementation,
|
|
type ToSimple7702SmartAccountParameters,
|
|
type ToSimple7702SmartAccountReturnType,
|
|
toSimple7702SmartAccount,
|
|
} from './accounts/implementations/toSimple7702SmartAccount.js'
|
|
export {
|
|
type SoladySmartAccountImplementation,
|
|
type ToSoladySmartAccountParameters,
|
|
type ToSoladySmartAccountReturnType,
|
|
toSoladySmartAccount,
|
|
} from './accounts/implementations/toSoladySmartAccount.js'
|
|
export {
|
|
type ToSmartAccountParameters,
|
|
type ToSmartAccountReturnType,
|
|
toSmartAccount,
|
|
} from './accounts/toSmartAccount.js'
|
|
export {
|
|
type ToWebAuthnAccountErrorType,
|
|
type ToWebAuthnAccountParameters,
|
|
type ToWebAuthnAccountReturnType,
|
|
toWebAuthnAccount,
|
|
} from './accounts/toWebAuthnAccount.js'
|
|
export type {
|
|
SmartAccount,
|
|
SmartAccountImplementation,
|
|
WebAuthnAccount,
|
|
WebAuthnSignReturnType,
|
|
} from './accounts/types.js'
|
|
|
|
export {
|
|
type EstimateUserOperationGasErrorType,
|
|
type EstimateUserOperationGasParameters,
|
|
type EstimateUserOperationGasReturnType,
|
|
estimateUserOperationGas,
|
|
} from './actions/bundler/estimateUserOperationGas.js'
|
|
export {
|
|
type GetSupportedEntryPointsErrorType,
|
|
type GetSupportedEntryPointsReturnType,
|
|
getSupportedEntryPoints,
|
|
} from './actions/bundler/getSupportedEntryPoints.js'
|
|
export {
|
|
type GetUserOperationErrorType,
|
|
type GetUserOperationParameters,
|
|
type GetUserOperationReturnType,
|
|
getUserOperation,
|
|
} from './actions/bundler/getUserOperation.js'
|
|
export {
|
|
type GetUserOperationReceiptErrorType,
|
|
type GetUserOperationReceiptParameters,
|
|
type GetUserOperationReceiptReturnType,
|
|
getUserOperationReceipt,
|
|
} from './actions/bundler/getUserOperationReceipt.js'
|
|
export {
|
|
type PrepareUserOperationErrorType,
|
|
type PrepareUserOperationParameters,
|
|
type PrepareUserOperationParameterType,
|
|
type PrepareUserOperationRequest,
|
|
type PrepareUserOperationReturnType,
|
|
prepareUserOperation,
|
|
} from './actions/bundler/prepareUserOperation.js'
|
|
export {
|
|
type SendUserOperationErrorType,
|
|
type SendUserOperationParameters,
|
|
type SendUserOperationReturnType,
|
|
sendUserOperation,
|
|
} from './actions/bundler/sendUserOperation.js'
|
|
export {
|
|
type WaitForUserOperationReceiptErrorType,
|
|
type WaitForUserOperationReceiptParameters,
|
|
type WaitForUserOperationReceiptReturnType,
|
|
waitForUserOperationReceipt,
|
|
} from './actions/bundler/waitForUserOperationReceipt.js'
|
|
|
|
export {
|
|
type GetPaymasterDataErrorType,
|
|
type GetPaymasterDataParameters,
|
|
type GetPaymasterDataReturnType,
|
|
getPaymasterData,
|
|
} from './actions/paymaster/getPaymasterData.js'
|
|
export {
|
|
type GetPaymasterStubDataErrorType,
|
|
type GetPaymasterStubDataParameters,
|
|
type GetPaymasterStubDataReturnType,
|
|
getPaymasterStubData,
|
|
} from './actions/paymaster/getPaymasterStubData.js'
|
|
export {
|
|
type BundlerClient,
|
|
type BundlerClientConfig,
|
|
type CreateBundlerClientErrorType,
|
|
createBundlerClient,
|
|
} from './clients/createBundlerClient.js'
|
|
export {
|
|
type CreatePaymasterClientErrorType,
|
|
createPaymasterClient,
|
|
type PaymasterClient,
|
|
type PaymasterClientConfig,
|
|
} from './clients/createPaymasterClient.js'
|
|
export {
|
|
type BundlerActions,
|
|
bundlerActions,
|
|
} from './clients/decorators/bundler.js'
|
|
export {
|
|
type PaymasterActions,
|
|
paymasterActions,
|
|
} from './clients/decorators/paymaster.js'
|
|
|
|
export {
|
|
entryPoint06Abi,
|
|
entryPoint07Abi,
|
|
entryPoint08Abi,
|
|
entryPoint09Abi,
|
|
} from './constants/abis.js'
|
|
export {
|
|
entryPoint06Address,
|
|
entryPoint07Address,
|
|
entryPoint08Address,
|
|
entryPoint09Address,
|
|
} from './constants/address.js'
|
|
|
|
export {
|
|
AccountNotDeployedError,
|
|
type AccountNotDeployedErrorType,
|
|
FailedToSendToBeneficiaryError,
|
|
type FailedToSendToBeneficiaryErrorType,
|
|
GasValuesOverflowError,
|
|
type GasValuesOverflowErrorType,
|
|
HandleOpsOutOfGasError,
|
|
type HandleOpsOutOfGasErrorType,
|
|
InitCodeFailedError,
|
|
type InitCodeFailedErrorType,
|
|
InitCodeMustCreateSenderError,
|
|
type InitCodeMustCreateSenderErrorType,
|
|
InitCodeMustReturnSenderError,
|
|
type InitCodeMustReturnSenderErrorType,
|
|
InsufficientPrefundError,
|
|
type InsufficientPrefundErrorType,
|
|
InternalCallOnlyError,
|
|
type InternalCallOnlyErrorType,
|
|
InvalidAggregatorError,
|
|
type InvalidAggregatorErrorType,
|
|
InvalidBeneficiaryError,
|
|
type InvalidBeneficiaryErrorType,
|
|
InvalidPaymasterAndDataError,
|
|
type InvalidPaymasterAndDataErrorType,
|
|
PaymasterDepositTooLowError,
|
|
type PaymasterDepositTooLowErrorType,
|
|
PaymasterFunctionRevertedError,
|
|
type PaymasterFunctionRevertedErrorType,
|
|
PaymasterNotDeployedError,
|
|
type PaymasterNotDeployedErrorType,
|
|
PaymasterPostOpFunctionRevertedError,
|
|
type PaymasterPostOpFunctionRevertedErrorType,
|
|
SenderAlreadyConstructedError,
|
|
type SenderAlreadyConstructedErrorType,
|
|
SmartAccountFunctionRevertedError,
|
|
type SmartAccountFunctionRevertedErrorType,
|
|
UnknownBundlerError,
|
|
type UnknownBundlerErrorType,
|
|
UserOperationExpiredError,
|
|
type UserOperationExpiredErrorType,
|
|
UserOperationPaymasterExpiredError,
|
|
type UserOperationPaymasterExpiredErrorType,
|
|
UserOperationPaymasterSignatureError,
|
|
type UserOperationPaymasterSignatureErrorType,
|
|
UserOperationSignatureError,
|
|
type UserOperationSignatureErrorType,
|
|
VerificationGasLimitExceededError,
|
|
type VerificationGasLimitExceededErrorType,
|
|
VerificationGasLimitTooLowError,
|
|
type VerificationGasLimitTooLowErrorType,
|
|
} from './errors/bundler.js'
|
|
export {
|
|
UserOperationExecutionError,
|
|
type UserOperationExecutionErrorType,
|
|
UserOperationNotFoundError,
|
|
type UserOperationNotFoundErrorType,
|
|
UserOperationReceiptNotFoundError,
|
|
type UserOperationReceiptNotFoundErrorType,
|
|
WaitForUserOperationReceiptTimeoutError,
|
|
type WaitForUserOperationReceiptTimeoutErrorType,
|
|
} from './errors/userOperation.js'
|
|
|
|
export type {
|
|
DeriveSmartAccount,
|
|
GetSmartAccountParameter,
|
|
} from './types/account.js'
|
|
export type {
|
|
DeriveEntryPointVersion,
|
|
EntryPointVersion,
|
|
GetEntryPointVersionParameter,
|
|
} from './types/entryPointVersion.js'
|
|
export type {
|
|
RpcEstimateUserOperationGasReturnType,
|
|
RpcGetUserOperationByHashReturnType,
|
|
RpcUserOperation,
|
|
RpcUserOperationReceipt,
|
|
RpcUserOperationRequest,
|
|
} from './types/rpc.js'
|
|
export type {
|
|
PackedUserOperation,
|
|
UserOperation,
|
|
UserOperationReceipt,
|
|
UserOperationRequest,
|
|
} from './types/userOperation.js'
|
|
|
|
export {
|
|
type GetBundlerErrorParameters,
|
|
type GetBundlerErrorReturnType,
|
|
getBundlerError,
|
|
} from './utils/errors/getBundlerError.js'
|
|
export {
|
|
type GetUserOperationErrorErrorType,
|
|
type GetUserOperationErrorParameters,
|
|
type GetUserOperationErrorReturnType,
|
|
getUserOperationError,
|
|
} from './utils/errors/getUserOperationError.js'
|
|
export {
|
|
type FormatUserOperationErrorType,
|
|
formatUserOperation,
|
|
} from './utils/formatters/userOperation.js'
|
|
export {
|
|
type FormatUserOperationGasErrorType,
|
|
formatUserOperationGas,
|
|
} from './utils/formatters/userOperationGas.js'
|
|
export {
|
|
type FormatUserOperationReceiptErrorType,
|
|
formatUserOperationReceipt,
|
|
} from './utils/formatters/userOperationReceipt.js'
|
|
export {
|
|
type FormatUserOperationRequestErrorType,
|
|
formatUserOperationRequest,
|
|
} from './utils/formatters/userOperationRequest.js'
|
|
export {
|
|
type GetInitCodeOptions,
|
|
getInitCode,
|
|
} from './utils/userOperation/getInitCode.js'
|
|
export {
|
|
type GetUserOperationHashParameters,
|
|
type GetUserOperationHashReturnType,
|
|
getUserOperationHash,
|
|
} from './utils/userOperation/getUserOperationHash.js'
|
|
export {
|
|
type GetUserOperationTypedDataParameters,
|
|
type GetUserOperationTypedDataReturnType,
|
|
getUserOperationTypedData,
|
|
} from './utils/userOperation/getUserOperationTypedData.js'
|
|
export {
|
|
type ToPackedUserOperationOptions,
|
|
toPackedUserOperation,
|
|
} from './utils/userOperation/toPackedUserOperation.js'
|
|
export { toUserOperation } from './utils/userOperation/toUserOperation.js'
|