permissionless 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/_cjs/accounts/biconomy/privateKeyToBiconomySmartAccount.js +2 -2
- package/_cjs/accounts/biconomy/privateKeyToBiconomySmartAccount.js.map +1 -1
- package/_cjs/accounts/biconomy/signerToBiconomySmartAccount.js +16 -16
- package/_cjs/accounts/biconomy/signerToBiconomySmartAccount.js.map +1 -1
- package/_cjs/accounts/index.js +16 -16
- package/_cjs/accounts/index.js.map +1 -1
- package/_cjs/accounts/kernel/signerToEcdsaKernelSmartAccount.js +16 -16
- package/_cjs/accounts/kernel/signerToEcdsaKernelSmartAccount.js.map +1 -1
- package/_cjs/accounts/privateKeyToSafeSmartAccount.js +2 -2
- package/_cjs/accounts/privateKeyToSafeSmartAccount.js.map +1 -1
- package/_cjs/accounts/privateKeyToSimpleSmartAccount.js +2 -2
- package/_cjs/accounts/privateKeyToSimpleSmartAccount.js.map +1 -1
- package/_cjs/accounts/signerToSafeSmartAccount.js +8 -8
- package/_cjs/accounts/signerToSafeSmartAccount.js.map +1 -1
- package/_cjs/accounts/signerToSimpleSmartAccount.js +12 -12
- package/_cjs/accounts/signerToSimpleSmartAccount.js.map +1 -1
- package/_cjs/actions/bundler/estimateUserOperationGas.js +5 -5
- package/_cjs/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_cjs/actions/bundler/getUserOperationReceipt.js +2 -2
- package/_cjs/actions/bundler/getUserOperationReceipt.js.map +1 -1
- package/_cjs/actions/bundler/sendUserOperation.js +4 -4
- package/_cjs/actions/bundler/sendUserOperation.js.map +1 -1
- package/_cjs/actions/bundler/waitForUserOperationReceipt.js +5 -5
- package/_cjs/actions/bundler/waitForUserOperationReceipt.js.map +1 -1
- package/_cjs/actions/index.js +21 -21
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/pimlico/sponsorUserOperation.js +3 -3
- package/_cjs/actions/pimlico/sponsorUserOperation.js.map +1 -1
- package/_cjs/actions/pimlico/validateSponsorshipPolicies.js +2 -2
- package/_cjs/actions/pimlico/validateSponsorshipPolicies.js.map +1 -1
- package/_cjs/actions/pimlico.js +13 -13
- package/_cjs/actions/pimlico.js.map +1 -1
- package/_cjs/actions/public/getAccountNonce.js +2 -2
- package/_cjs/actions/public/getAccountNonce.js.map +1 -1
- package/_cjs/actions/public/getSenderAddress.js +2 -2
- package/_cjs/actions/public/getSenderAddress.js.map +1 -1
- package/_cjs/actions/smartAccount/deployContract.js +9 -9
- package/_cjs/actions/smartAccount/deployContract.js.map +1 -1
- package/_cjs/actions/smartAccount/prepareUserOperationRequest.js +6 -6
- package/_cjs/actions/smartAccount/prepareUserOperationRequest.js.map +1 -1
- package/_cjs/actions/smartAccount/sendTransaction.js +8 -8
- package/_cjs/actions/smartAccount/sendTransaction.js.map +1 -1
- package/_cjs/actions/smartAccount/sendTransactions.js +8 -8
- package/_cjs/actions/smartAccount/sendTransactions.js.map +1 -1
- package/_cjs/actions/smartAccount/sendUserOperation.js +8 -8
- package/_cjs/actions/smartAccount/sendUserOperation.js.map +1 -1
- package/_cjs/actions/smartAccount/signMessage.js +3 -3
- package/_cjs/actions/smartAccount/signMessage.js.map +1 -1
- package/_cjs/actions/smartAccount/signTypedData.js +3 -3
- package/_cjs/actions/smartAccount/signTypedData.js.map +1 -1
- package/_cjs/actions/smartAccount/writeContract.js +3 -3
- package/_cjs/actions/smartAccount/writeContract.js.map +1 -1
- package/_cjs/actions/smartAccount.js +16 -16
- package/_cjs/actions/smartAccount.js.map +1 -1
- package/_cjs/actions/stackup/sponsorUserOperation.js +2 -2
- package/_cjs/actions/stackup/sponsorUserOperation.js.map +1 -1
- package/_cjs/actions/stackup.js +6 -6
- package/_cjs/actions/stackup.js.map +1 -1
- package/_cjs/clients/createBundlerClient.js +2 -2
- package/_cjs/clients/createBundlerClient.js.map +1 -1
- package/_cjs/clients/createSmartAccountClient.js +2 -2
- package/_cjs/clients/createSmartAccountClient.js.map +1 -1
- package/_cjs/clients/decorators/bundler.js +14 -14
- package/_cjs/clients/decorators/bundler.js.map +1 -1
- package/_cjs/clients/decorators/pimlico.js +9 -9
- package/_cjs/clients/decorators/pimlico.js.map +1 -1
- package/_cjs/clients/decorators/smartAccount.js +16 -16
- package/_cjs/clients/decorators/smartAccount.js.map +1 -1
- package/_cjs/clients/decorators/stackup.js +4 -4
- package/_cjs/clients/decorators/stackup.js.map +1 -1
- package/_cjs/clients/pimlico.js +4 -4
- package/_cjs/clients/pimlico.js.map +1 -1
- package/_cjs/clients/stackup.js +3 -3
- package/_cjs/clients/stackup.js.map +1 -1
- package/_cjs/errors/estimateUserOperationGas.js +2 -2
- package/_cjs/errors/estimateUserOperationGas.js.map +1 -1
- package/_cjs/errors/index.js +31 -31
- package/_cjs/errors/index.js.map +1 -1
- package/_cjs/errors/paymaster.js +7 -7
- package/_cjs/errors/paymaster.js.map +1 -1
- package/_cjs/errors/sendUserOperation.js +2 -2
- package/_cjs/errors/sendUserOperation.js.map +1 -1
- package/_cjs/index.js +30 -30
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/errors/getBundlerError.js +3 -3
- package/_cjs/utils/errors/getEstimateUserOperationGasError.js +2 -2
- package/_cjs/utils/errors/getSendUserOperationError.js +2 -2
- package/_cjs/utils/index.js +21 -19
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/providerToSmartAccountSigner.js +22 -0
- package/_cjs/utils/providerToSmartAccountSigner.js.map +1 -0
- package/_cjs/utils/signUserOperationHashWithECDSA.js +4 -4
- package/_cjs/utils/signUserOperationHashWithECDSA.js.map +1 -1
- package/_cjs/utils/{walletClientToCustomSigner.js → walletClientToSmartAccountSigner.js} +4 -4
- package/_cjs/utils/walletClientToSmartAccountSigner.js.map +1 -0
- package/_esm/accounts/biconomy/privateKeyToBiconomySmartAccount.js.map +1 -1
- package/_esm/accounts/biconomy/signerToBiconomySmartAccount.js.map +1 -1
- package/_esm/accounts/index.js.map +1 -1
- package/_esm/accounts/kernel/signerToEcdsaKernelSmartAccount.js.map +1 -1
- package/_esm/accounts/privateKeyToSafeSmartAccount.js.map +1 -1
- package/_esm/accounts/privateKeyToSimpleSmartAccount.js.map +1 -1
- package/_esm/accounts/signerToSafeSmartAccount.js.map +1 -1
- package/_esm/accounts/signerToSimpleSmartAccount.js.map +1 -1
- package/_esm/accounts/types.js.map +1 -1
- package/_esm/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_esm/actions/bundler/getUserOperationReceipt.js.map +1 -1
- package/_esm/actions/bundler/sendUserOperation.js.map +1 -1
- package/_esm/actions/bundler/waitForUserOperationReceipt.js.map +1 -1
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/pimlico/sendCompressedUserOperation.js.map +1 -1
- package/_esm/actions/pimlico/sponsorUserOperation.js.map +1 -1
- package/_esm/actions/pimlico/validateSponsorshipPolicies.js.map +1 -1
- package/_esm/actions/pimlico.js.map +1 -1
- package/_esm/actions/public/getAccountNonce.js.map +1 -1
- package/_esm/actions/public/getSenderAddress.js.map +1 -1
- package/_esm/actions/smartAccount/deployContract.js +1 -1
- package/_esm/actions/smartAccount/deployContract.js.map +1 -1
- package/_esm/actions/smartAccount/prepareUserOperationRequest.js +1 -1
- package/_esm/actions/smartAccount/prepareUserOperationRequest.js.map +1 -1
- package/_esm/actions/smartAccount/sendTransaction.js +1 -1
- package/_esm/actions/smartAccount/sendTransaction.js.map +1 -1
- package/_esm/actions/smartAccount/sendTransactions.js +1 -1
- package/_esm/actions/smartAccount/sendTransactions.js.map +1 -1
- package/_esm/actions/smartAccount/sendUserOperation.js +1 -1
- package/_esm/actions/smartAccount/sendUserOperation.js.map +1 -1
- package/_esm/actions/smartAccount/signMessage.js.map +1 -1
- package/_esm/actions/smartAccount/signTypedData.js.map +1 -1
- package/_esm/actions/smartAccount/writeContract.js.map +1 -1
- package/_esm/actions/smartAccount.js.map +1 -1
- package/_esm/actions/stackup/sponsorUserOperation.js.map +1 -1
- package/_esm/actions/stackup.js.map +1 -1
- package/_esm/clients/createBundlerClient.js.map +1 -1
- package/_esm/clients/createSmartAccountClient.js.map +1 -1
- package/_esm/clients/decorators/bundler.js.map +1 -1
- package/_esm/clients/decorators/pimlico.js.map +1 -1
- package/_esm/clients/decorators/smartAccount.js.map +1 -1
- package/_esm/clients/decorators/stackup.js.map +1 -1
- package/_esm/clients/pimlico.js.map +1 -1
- package/_esm/clients/stackup.js.map +1 -1
- package/_esm/errors/estimateUserOperationGas.js.map +1 -1
- package/_esm/errors/index.js.map +1 -1
- package/_esm/errors/paymaster.js.map +1 -1
- package/_esm/errors/sendUserOperation.js.map +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/utils/errors/getBundlerError.js +3 -3
- package/_esm/utils/errors/getEstimateUserOperationGasError.js +3 -3
- package/_esm/utils/errors/getSendUserOperationError.js +2 -2
- package/_esm/utils/index.js +3 -2
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/providerToSmartAccountSigner.js +18 -0
- package/_esm/utils/providerToSmartAccountSigner.js.map +1 -0
- package/_esm/utils/signUserOperationHashWithECDSA.js +1 -1
- package/_esm/utils/signUserOperationHashWithECDSA.js.map +1 -1
- package/_esm/utils/{walletClientToCustomSigner.js → walletClientToSmartAccountSigner.js} +2 -2
- package/_esm/utils/walletClientToSmartAccountSigner.js.map +1 -0
- package/_types/accounts/biconomy/privateKeyToBiconomySmartAccount.d.ts +1 -1
- package/_types/accounts/biconomy/privateKeyToBiconomySmartAccount.d.ts.map +1 -1
- package/_types/accounts/biconomy/signerToBiconomySmartAccount.d.ts +1 -1
- package/_types/accounts/biconomy/signerToBiconomySmartAccount.d.ts.map +1 -1
- package/_types/accounts/index.d.ts +8 -8
- package/_types/accounts/index.d.ts.map +1 -1
- package/_types/accounts/kernel/signerToEcdsaKernelSmartAccount.d.ts +2 -2
- package/_types/accounts/kernel/signerToEcdsaKernelSmartAccount.d.ts.map +1 -1
- package/_types/accounts/privateKeyToSafeSmartAccount.d.ts +1 -1
- package/_types/accounts/privateKeyToSafeSmartAccount.d.ts.map +1 -1
- package/_types/accounts/privateKeyToSimpleSmartAccount.d.ts +1 -1
- package/_types/accounts/privateKeyToSimpleSmartAccount.d.ts.map +1 -1
- package/_types/accounts/signerToSafeSmartAccount.d.ts +1 -1
- package/_types/accounts/signerToSafeSmartAccount.d.ts.map +1 -1
- package/_types/accounts/signerToSimpleSmartAccount.d.ts +1 -1
- package/_types/accounts/signerToSimpleSmartAccount.d.ts.map +1 -1
- package/_types/accounts/types.d.ts +1 -1
- package/_types/accounts/types.d.ts.map +1 -1
- package/_types/actions/bundler/chainId.d.ts +1 -1
- package/_types/actions/bundler/chainId.d.ts.map +1 -1
- package/_types/actions/bundler/estimateUserOperationGas.d.ts +4 -4
- package/_types/actions/bundler/estimateUserOperationGas.d.ts.map +1 -1
- package/_types/actions/bundler/getUserOperationByHash.d.ts +3 -3
- package/_types/actions/bundler/getUserOperationByHash.d.ts.map +1 -1
- package/_types/actions/bundler/getUserOperationReceipt.d.ts +3 -3
- package/_types/actions/bundler/getUserOperationReceipt.d.ts.map +1 -1
- package/_types/actions/bundler/sendUserOperation.d.ts +3 -3
- package/_types/actions/bundler/sendUserOperation.d.ts.map +1 -1
- package/_types/actions/bundler/supportedEntryPoints.d.ts +1 -1
- package/_types/actions/bundler/supportedEntryPoints.d.ts.map +1 -1
- package/_types/actions/bundler/waitForUserOperationReceipt.d.ts +2 -2
- package/_types/actions/bundler/waitForUserOperationReceipt.d.ts.map +1 -1
- package/_types/actions/index.d.ts +17 -17
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/pimlico/getUserOperationGasPrice.d.ts +2 -2
- package/_types/actions/pimlico/getUserOperationGasPrice.d.ts.map +1 -1
- package/_types/actions/pimlico/getUserOperationStatus.d.ts +2 -2
- package/_types/actions/pimlico/getUserOperationStatus.d.ts.map +1 -1
- package/_types/actions/pimlico/sendCompressedUserOperation.d.ts +2 -2
- package/_types/actions/pimlico/sendCompressedUserOperation.d.ts.map +1 -1
- package/_types/actions/pimlico/sponsorUserOperation.d.ts +3 -3
- package/_types/actions/pimlico/sponsorUserOperation.d.ts.map +1 -1
- package/_types/actions/pimlico/validateSponsorshipPolicies.d.ts +3 -3
- package/_types/actions/pimlico/validateSponsorshipPolicies.d.ts.map +1 -1
- package/_types/actions/pimlico.d.ts +7 -7
- package/_types/actions/pimlico.d.ts.map +1 -1
- package/_types/actions/public/getAccountNonce.d.ts +1 -1
- package/_types/actions/public/getAccountNonce.d.ts.map +1 -1
- package/_types/actions/public/getSenderAddress.d.ts +1 -1
- package/_types/actions/public/getSenderAddress.d.ts.map +1 -1
- package/_types/actions/smartAccount/deployContract.d.ts +3 -3
- package/_types/actions/smartAccount/deployContract.d.ts.map +1 -1
- package/_types/actions/smartAccount/prepareUserOperationRequest.d.ts +3 -3
- package/_types/actions/smartAccount/prepareUserOperationRequest.d.ts.map +1 -1
- package/_types/actions/smartAccount/sendTransaction.d.ts +3 -3
- package/_types/actions/smartAccount/sendTransaction.d.ts.map +1 -1
- package/_types/actions/smartAccount/sendTransactions.d.ts +3 -3
- package/_types/actions/smartAccount/sendTransactions.d.ts.map +1 -1
- package/_types/actions/smartAccount/sendUserOperation.d.ts +3 -3
- package/_types/actions/smartAccount/sendUserOperation.d.ts.map +1 -1
- package/_types/actions/smartAccount/signMessage.d.ts +1 -1
- package/_types/actions/smartAccount/signMessage.d.ts.map +1 -1
- package/_types/actions/smartAccount/signTypedData.d.ts +1 -1
- package/_types/actions/smartAccount/signTypedData.d.ts.map +1 -1
- package/_types/actions/smartAccount/writeContract.d.ts +2 -2
- package/_types/actions/smartAccount/writeContract.d.ts.map +1 -1
- package/_types/actions/smartAccount.d.ts +8 -8
- package/_types/actions/smartAccount.d.ts.map +1 -1
- package/_types/actions/stackup/accounts.d.ts +1 -1
- package/_types/actions/stackup/accounts.d.ts.map +1 -1
- package/_types/actions/stackup/sponsorUserOperation.d.ts +3 -3
- package/_types/actions/stackup/sponsorUserOperation.d.ts.map +1 -1
- package/_types/actions/stackup.d.ts +4 -4
- package/_types/actions/stackup.d.ts.map +1 -1
- package/_types/clients/createBundlerClient.d.ts +2 -2
- package/_types/clients/createBundlerClient.d.ts.map +1 -1
- package/_types/clients/createSmartAccountClient.d.ts +5 -5
- package/_types/clients/createSmartAccountClient.d.ts.map +1 -1
- package/_types/clients/decorators/bundler.d.ts +8 -8
- package/_types/clients/decorators/bundler.d.ts.map +1 -1
- package/_types/clients/decorators/pimlico.d.ts +5 -5
- package/_types/clients/decorators/pimlico.d.ts.map +1 -1
- package/_types/clients/decorators/smartAccount.d.ts +11 -11
- package/_types/clients/decorators/smartAccount.d.ts.map +1 -1
- package/_types/clients/decorators/stackup.d.ts +2 -2
- package/_types/clients/decorators/stackup.d.ts.map +1 -1
- package/_types/clients/pimlico.d.ts +3 -3
- package/_types/clients/pimlico.d.ts.map +1 -1
- package/_types/clients/stackup.d.ts +3 -3
- package/_types/clients/stackup.d.ts.map +1 -1
- package/_types/errors/estimateUserOperationGas.d.ts +1 -1
- package/_types/errors/estimateUserOperationGas.d.ts.map +1 -1
- package/_types/errors/index.d.ts +6 -6
- package/_types/errors/index.d.ts.map +1 -1
- package/_types/errors/sendUserOperation.d.ts +1 -1
- package/_types/errors/sendUserOperation.d.ts.map +1 -1
- package/_types/index.d.ts +28 -28
- package/_types/index.d.ts.map +1 -1
- package/_types/types/bundler.d.ts +1 -1
- package/_types/types/bundler.d.ts.map +1 -1
- package/_types/types/index.d.ts +2 -2
- package/_types/types/index.d.ts.map +1 -1
- package/_types/types/pimlico.d.ts +1 -1
- package/_types/types/pimlico.d.ts.map +1 -1
- package/_types/types/stackup.d.ts +1 -1
- package/_types/types/stackup.d.ts.map +1 -1
- package/_types/types/userOperation.d.ts +1 -1
- package/_types/types/userOperation.d.ts.map +1 -1
- package/_types/utils/getUserOperationHash.d.ts +1 -1
- package/_types/utils/getUserOperationHash.d.ts.map +1 -1
- package/_types/utils/index.d.ts +10 -9
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/providerToSmartAccountSigner.d.ts +3 -0
- package/_types/utils/providerToSmartAccountSigner.d.ts.map +1 -0
- package/_types/utils/signUserOperationHashWithECDSA.d.ts +2 -2
- package/_types/utils/signUserOperationHashWithECDSA.d.ts.map +1 -1
- package/_types/utils/walletClientToSmartAccountSigner.d.ts +4 -0
- package/_types/utils/walletClientToSmartAccountSigner.d.ts.map +1 -0
- package/accounts/biconomy/privateKeyToBiconomySmartAccount.ts +1 -1
- package/accounts/biconomy/signerToBiconomySmartAccount.ts +6 -6
- package/accounts/index.ts +8 -8
- package/accounts/kernel/signerToEcdsaKernelSmartAccount.ts +8 -8
- package/accounts/privateKeyToSafeSmartAccount.ts +1 -1
- package/accounts/privateKeyToSimpleSmartAccount.ts +1 -1
- package/accounts/signerToSafeSmartAccount.ts +3 -3
- package/accounts/signerToSimpleSmartAccount.ts +6 -6
- package/accounts/types.ts +1 -1
- package/actions/bundler/chainId.ts +2 -2
- package/actions/bundler/estimateUserOperationGas.ts +6 -6
- package/actions/bundler/getUserOperationByHash.ts +4 -4
- package/actions/bundler/getUserOperationReceipt.ts +5 -5
- package/actions/bundler/sendUserOperation.ts +6 -6
- package/actions/bundler/supportedEntryPoints.ts +2 -2
- package/actions/bundler/waitForUserOperationReceipt.ts +4 -4
- package/actions/index.ts +17 -17
- package/actions/pimlico/getUserOperationGasPrice.ts +2 -2
- package/actions/pimlico/getUserOperationStatus.ts +3 -3
- package/actions/pimlico/sendCompressedUserOperation.ts +2 -2
- package/actions/pimlico/sponsorUserOperation.ts +4 -4
- package/actions/pimlico/validateSponsorshipPolicies.ts +4 -4
- package/actions/pimlico.ts +7 -7
- package/actions/public/getAccountNonce.ts +2 -2
- package/actions/public/getSenderAddress.ts +2 -2
- package/actions/smartAccount/deployContract.ts +8 -8
- package/actions/smartAccount/prepareUserOperationRequest.ts +6 -9
- package/actions/smartAccount/sendTransaction.ts +7 -10
- package/actions/smartAccount/sendTransactions.ts +7 -10
- package/actions/smartAccount/sendUserOperation.ts +6 -9
- package/actions/smartAccount/signMessage.ts +2 -5
- package/actions/smartAccount/signTypedData.ts +2 -5
- package/actions/smartAccount/writeContract.ts +4 -4
- package/actions/smartAccount.ts +8 -8
- package/actions/stackup/accounts.ts +1 -1
- package/actions/stackup/sponsorUserOperation.ts +4 -4
- package/actions/stackup.ts +4 -4
- package/clients/createBundlerClient.ts +2 -2
- package/clients/createSmartAccountClient.ts +5 -5
- package/clients/decorators/bundler.ts +11 -11
- package/clients/decorators/pimlico.ts +6 -9
- package/clients/decorators/smartAccount.ts +11 -11
- package/clients/decorators/stackup.ts +3 -3
- package/clients/pimlico.ts +3 -3
- package/clients/stackup.ts +3 -3
- package/errors/estimateUserOperationGas.ts +2 -2
- package/errors/index.ts +6 -6
- package/errors/paymaster.ts +1 -1
- package/errors/sendUserOperation.ts +2 -2
- package/index.ts +28 -28
- package/package.json +1 -1
- package/types/bundler.ts +1 -1
- package/types/index.ts +2 -2
- package/types/pimlico.ts +1 -1
- package/types/stackup.ts +1 -1
- package/types/userOperation.ts +1 -1
- package/utils/getUserOperationHash.ts +1 -1
- package/utils/index.ts +11 -9
- package/utils/providerToSmartAccountSigner.ts +24 -0
- package/utils/signUserOperationHashWithECDSA.ts +4 -4
- package/utils/{walletClientToCustomSigner.ts → walletClientToSmartAccountSigner.ts} +2 -2
- package/_cjs/utils/walletClientToCustomSigner.js.map +0 -1
- package/_esm/utils/walletClientToCustomSigner.js.map +0 -1
- package/_types/utils/walletClientToCustomSigner.d.ts +0 -4
- package/_types/utils/walletClientToCustomSigner.d.ts.map +0 -1
|
@@ -2,13 +2,13 @@ import type { Address, Client } from "viem"
|
|
|
2
2
|
import {
|
|
3
3
|
type AccountsParameters,
|
|
4
4
|
accounts
|
|
5
|
-
} from "../../actions/stackup/accounts
|
|
5
|
+
} from "../../actions/stackup/accounts"
|
|
6
6
|
import {
|
|
7
7
|
type SponsorUserOperationParameters,
|
|
8
8
|
type SponsorUserOperationReturnType,
|
|
9
9
|
sponsorUserOperation
|
|
10
|
-
} from "../../actions/stackup/sponsorUserOperation
|
|
11
|
-
import { type StackupPaymasterClient } from "../stackup
|
|
10
|
+
} from "../../actions/stackup/sponsorUserOperation"
|
|
11
|
+
import { type StackupPaymasterClient } from "../stackup"
|
|
12
12
|
|
|
13
13
|
export type StackupPaymasterClientActions = {
|
|
14
14
|
/**
|
package/clients/pimlico.ts
CHANGED
|
@@ -9,14 +9,14 @@ import { createClient } from "viem"
|
|
|
9
9
|
import type {
|
|
10
10
|
PimlicoBundlerRpcSchema,
|
|
11
11
|
PimlicoPaymasterRpcSchema
|
|
12
|
-
} from "../types/pimlico
|
|
13
|
-
import { type BundlerActions, bundlerActions } from "./decorators/bundler
|
|
12
|
+
} from "../types/pimlico"
|
|
13
|
+
import { type BundlerActions, bundlerActions } from "./decorators/bundler"
|
|
14
14
|
import {
|
|
15
15
|
type PimlicoBundlerActions,
|
|
16
16
|
type PimlicoPaymasterClientActions,
|
|
17
17
|
pimlicoBundlerActions,
|
|
18
18
|
pimlicoPaymasterActions
|
|
19
|
-
} from "./decorators/pimlico
|
|
19
|
+
} from "./decorators/pimlico"
|
|
20
20
|
|
|
21
21
|
export type PimlicoBundlerClient = Client<
|
|
22
22
|
Transport,
|
package/clients/stackup.ts
CHANGED
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
type Transport,
|
|
7
7
|
createClient
|
|
8
8
|
} from "viem"
|
|
9
|
-
import type { StackupPaymasterRpcSchema } from "../types/stackup
|
|
10
|
-
import { type BundlerActions, bundlerActions } from "./decorators/bundler
|
|
9
|
+
import type { StackupPaymasterRpcSchema } from "../types/stackup"
|
|
10
|
+
import { type BundlerActions, bundlerActions } from "./decorators/bundler"
|
|
11
11
|
import {
|
|
12
12
|
type StackupPaymasterClientActions,
|
|
13
13
|
stackupPaymasterActions
|
|
14
|
-
} from "./decorators/stackup
|
|
14
|
+
} from "./decorators/stackup"
|
|
15
15
|
|
|
16
16
|
export type StackupPaymasterClient = Client<
|
|
17
17
|
Transport,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseError } from "viem"
|
|
2
|
-
import type { EstimateUserOperationGasParameters } from "../actions/bundler/estimateUserOperationGas
|
|
3
|
-
import { prettyPrint } from "./utils
|
|
2
|
+
import type { EstimateUserOperationGasParameters } from "../actions/bundler/estimateUserOperationGas"
|
|
3
|
+
import { prettyPrint } from "./utils"
|
|
4
4
|
|
|
5
5
|
export type EstimateUserOperationGasErrorType =
|
|
6
6
|
EstimateUserOperationGasError & {
|
package/errors/index.ts
CHANGED
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
type SmartAccountSignatureValidityPeriodErrorType,
|
|
20
20
|
SmartAccountValidationRevertedError,
|
|
21
21
|
type SmartAccountValidationRevertedErrorType
|
|
22
|
-
} from "./account
|
|
22
|
+
} from "./account"
|
|
23
23
|
import {
|
|
24
24
|
EstimateUserOperationGasError,
|
|
25
25
|
type EstimateUserOperationGasErrorType
|
|
26
|
-
} from "./estimateUserOperationGas
|
|
26
|
+
} from "./estimateUserOperationGas"
|
|
27
27
|
import {
|
|
28
28
|
SendUserOperationError,
|
|
29
29
|
type SendUserOperationErrorType
|
|
30
|
-
} from "./sendUserOperation
|
|
30
|
+
} from "./sendUserOperation"
|
|
31
31
|
|
|
32
32
|
import {
|
|
33
33
|
InvalidPaymasterAndDataError,
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
type PaymasterValidationRevertedErrorType,
|
|
45
45
|
PaymasterValidityPeriodError,
|
|
46
46
|
type PaymasterValidityPeriodErrorType
|
|
47
|
-
} from "./paymaster
|
|
47
|
+
} from "./paymaster"
|
|
48
48
|
|
|
49
49
|
import {
|
|
50
50
|
InvalidAggregatorError,
|
|
51
51
|
type InvalidAggregatorErrorType,
|
|
52
52
|
InvalidBeneficiaryAddressError,
|
|
53
53
|
type InvalidBeneficiaryAddressErrorType
|
|
54
|
-
} from "./bundler
|
|
54
|
+
} from "./bundler"
|
|
55
55
|
|
|
56
56
|
import {
|
|
57
57
|
ActualGasCostTooHighError,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
type GasValuesOverflowErrorType,
|
|
63
63
|
VerificationGasLimitTooLowError,
|
|
64
64
|
type VerificationGasLimitTooLowErrorType
|
|
65
|
-
} from "./gas
|
|
65
|
+
} from "./gas"
|
|
66
66
|
|
|
67
67
|
export {
|
|
68
68
|
type InitCodeDidNotDeploySenderErrorType,
|
package/errors/paymaster.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseError, type Hex } from "viem"
|
|
2
|
-
import { getAddressFromInitCodeOrPaymasterAndData } from "../utils/
|
|
2
|
+
import { getAddressFromInitCodeOrPaymasterAndData } from "../utils/"
|
|
3
3
|
|
|
4
4
|
export type PaymasterNotDeployedErrorType = PaymasterNotDeployedError & {
|
|
5
5
|
name: "PaymasterNotDeployedError"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseError } from "viem"
|
|
2
|
-
import { type SendUserOperationParameters } from "../actions/bundler/sendUserOperation
|
|
3
|
-
import { prettyPrint } from "./utils
|
|
2
|
+
import { type SendUserOperationParameters } from "../actions/bundler/sendUserOperation"
|
|
3
|
+
import { prettyPrint } from "./utils"
|
|
4
4
|
|
|
5
5
|
export type SendUserOperationErrorType = SendUserOperationError & {
|
|
6
6
|
name: "SendUserOperationError"
|
package/index.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
EstimateUserOperationGasParameters,
|
|
3
3
|
EstimateUserOperationGasReturnType
|
|
4
|
-
} from "./actions/bundler/estimateUserOperationGas
|
|
5
|
-
import type { GetUserOperationByHashParameters } from "./actions/bundler/getUserOperationByHash
|
|
6
|
-
import type { GetUserOperationByHashReturnType } from "./actions/bundler/getUserOperationByHash
|
|
4
|
+
} from "./actions/bundler/estimateUserOperationGas"
|
|
5
|
+
import type { GetUserOperationByHashParameters } from "./actions/bundler/getUserOperationByHash"
|
|
6
|
+
import type { GetUserOperationByHashReturnType } from "./actions/bundler/getUserOperationByHash"
|
|
7
7
|
import type {
|
|
8
8
|
GetUserOperationReceiptParameters,
|
|
9
9
|
GetUserOperationReceiptReturnType
|
|
10
|
-
} from "./actions/bundler/getUserOperationReceipt
|
|
11
|
-
import type { SendUserOperationParameters } from "./actions/bundler/sendUserOperation
|
|
10
|
+
} from "./actions/bundler/getUserOperationReceipt"
|
|
11
|
+
import type { SendUserOperationParameters } from "./actions/bundler/sendUserOperation"
|
|
12
12
|
|
|
13
|
-
import type { GetSenderAddressParams } from "./actions/public/getSenderAddress
|
|
14
|
-
import { getSenderAddress } from "./actions/public/getSenderAddress
|
|
13
|
+
import type { GetSenderAddressParams } from "./actions/public/getSenderAddress"
|
|
14
|
+
import { getSenderAddress } from "./actions/public/getSenderAddress"
|
|
15
15
|
|
|
16
|
-
import { chainId } from "./actions/bundler/chainId
|
|
17
|
-
import { estimateUserOperationGas } from "./actions/bundler/estimateUserOperationGas
|
|
18
|
-
import { getUserOperationByHash } from "./actions/bundler/getUserOperationByHash
|
|
19
|
-
import { getUserOperationReceipt } from "./actions/bundler/getUserOperationReceipt
|
|
20
|
-
import { sendUserOperation } from "./actions/bundler/sendUserOperation
|
|
21
|
-
import { supportedEntryPoints } from "./actions/bundler/supportedEntryPoints
|
|
22
|
-
import { waitForUserOperationReceipt } from "./actions/bundler/waitForUserOperationReceipt
|
|
16
|
+
import { chainId } from "./actions/bundler/chainId"
|
|
17
|
+
import { estimateUserOperationGas } from "./actions/bundler/estimateUserOperationGas"
|
|
18
|
+
import { getUserOperationByHash } from "./actions/bundler/getUserOperationByHash"
|
|
19
|
+
import { getUserOperationReceipt } from "./actions/bundler/getUserOperationReceipt"
|
|
20
|
+
import { sendUserOperation } from "./actions/bundler/sendUserOperation"
|
|
21
|
+
import { supportedEntryPoints } from "./actions/bundler/supportedEntryPoints"
|
|
22
|
+
import { waitForUserOperationReceipt } from "./actions/bundler/waitForUserOperationReceipt"
|
|
23
23
|
import {
|
|
24
24
|
type WaitForUserOperationReceiptParameters,
|
|
25
25
|
WaitForUserOperationReceiptTimeoutError
|
|
26
|
-
} from "./actions/bundler/waitForUserOperationReceipt
|
|
27
|
-
import type { GetAccountNonceParams } from "./actions/public/getAccountNonce
|
|
28
|
-
import { getAccountNonce } from "./actions/public/getAccountNonce
|
|
26
|
+
} from "./actions/bundler/waitForUserOperationReceipt"
|
|
27
|
+
import type { GetAccountNonceParams } from "./actions/public/getAccountNonce"
|
|
28
|
+
import { getAccountNonce } from "./actions/public/getAccountNonce"
|
|
29
29
|
import {
|
|
30
30
|
type BundlerClient,
|
|
31
31
|
createBundlerClient
|
|
32
|
-
} from "./clients/createBundlerClient
|
|
33
|
-
import { createSmartAccountClient } from "./clients/createSmartAccountClient
|
|
32
|
+
} from "./clients/createBundlerClient"
|
|
33
|
+
import { createSmartAccountClient } from "./clients/createSmartAccountClient"
|
|
34
34
|
import {
|
|
35
35
|
type SmartAccountClient,
|
|
36
36
|
type SmartAccountClientConfig
|
|
37
|
-
} from "./clients/createSmartAccountClient
|
|
38
|
-
import type { BundlerActions } from "./clients/decorators/bundler
|
|
39
|
-
import { bundlerActions } from "./clients/decorators/bundler
|
|
37
|
+
} from "./clients/createSmartAccountClient"
|
|
38
|
+
import type { BundlerActions } from "./clients/decorators/bundler"
|
|
39
|
+
import { bundlerActions } from "./clients/decorators/bundler"
|
|
40
40
|
import {
|
|
41
41
|
type SmartAccountActions,
|
|
42
42
|
smartAccountActions
|
|
43
|
-
} from "./clients/decorators/smartAccount
|
|
43
|
+
} from "./clients/decorators/smartAccount"
|
|
44
44
|
|
|
45
45
|
export type {
|
|
46
46
|
SendUserOperationParameters,
|
|
@@ -76,13 +76,13 @@ export {
|
|
|
76
76
|
createSmartAccountClient,
|
|
77
77
|
smartAccountActions
|
|
78
78
|
}
|
|
79
|
-
import type { UserOperation } from "./types/userOperation
|
|
79
|
+
import type { UserOperation } from "./types/userOperation"
|
|
80
80
|
|
|
81
81
|
export { type UserOperation }
|
|
82
82
|
|
|
83
|
-
import type { GetUserOperationHashParams } from "./utils/getUserOperationHash
|
|
84
|
-
import { getUserOperationHash } from "./utils/getUserOperationHash
|
|
83
|
+
import type { GetUserOperationHashParams } from "./utils/getUserOperationHash"
|
|
84
|
+
import { getUserOperationHash } from "./utils/getUserOperationHash"
|
|
85
85
|
|
|
86
86
|
export { getUserOperationHash, type GetUserOperationHashParams }
|
|
87
|
-
export * from "./utils/
|
|
88
|
-
export * from "./errors/
|
|
87
|
+
export * from "./utils/"
|
|
88
|
+
export * from "./errors/"
|
package/package.json
CHANGED
package/types/bundler.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address, Hash, Hex } from "viem"
|
|
2
2
|
import type { PartialBy } from "viem/types/utils"
|
|
3
|
-
import type { UserOperationWithBigIntAsHex } from "./userOperation
|
|
3
|
+
import type { UserOperationWithBigIntAsHex } from "./userOperation"
|
|
4
4
|
|
|
5
5
|
export type BundlerRpcSchema = [
|
|
6
6
|
{
|
package/types/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Account, Chain, Client, Transport } from "viem"
|
|
2
|
-
import type { SmartAccount } from "../accounts/types
|
|
3
|
-
import type { UserOperation } from "./userOperation
|
|
2
|
+
import type { SmartAccount } from "../accounts/types"
|
|
3
|
+
import type { UserOperation } from "./userOperation"
|
|
4
4
|
export type { UserOperation }
|
|
5
5
|
|
|
6
6
|
type IsUndefined<T> = [undefined] extends [T] ? true : false
|
package/types/pimlico.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address, Hash, Hex } from "viem"
|
|
2
2
|
import type { PartialBy } from "viem/types/utils"
|
|
3
|
-
import type { UserOperationWithBigIntAsHex } from "./userOperation
|
|
3
|
+
import type { UserOperationWithBigIntAsHex } from "./userOperation"
|
|
4
4
|
|
|
5
5
|
type PimlicoUserOperationGasPriceWithBigIntAsHex = {
|
|
6
6
|
slow: {
|
package/types/stackup.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address, Hex } from "viem"
|
|
2
2
|
import type { PartialBy } from "viem/types/utils"
|
|
3
|
-
import type { UserOperationWithBigIntAsHex } from "./userOperation
|
|
3
|
+
import type { UserOperationWithBigIntAsHex } from "./userOperation"
|
|
4
4
|
|
|
5
5
|
interface StackupPaymasterContextType {
|
|
6
6
|
type: "erc20token" | "payg"
|
package/types/userOperation.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address, Hash, Hex } from "viem"
|
|
2
2
|
import { encodeAbiParameters, keccak256 } from "viem"
|
|
3
|
-
import type { UserOperation } from "../types/userOperation
|
|
3
|
+
import type { UserOperation } from "../types/userOperation"
|
|
4
4
|
|
|
5
5
|
function packUserOp({ userOperation }: { userOperation: UserOperation }): Hex {
|
|
6
6
|
const hashedInitCode = keccak256(userOperation.initCode)
|
package/utils/index.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import type { Account, Address } from "viem"
|
|
2
|
-
import { deepHexlify, transactionReceiptStatus } from "./deepHexlify
|
|
3
|
-
import { getAction } from "./getAction
|
|
4
|
-
import { getAddressFromInitCodeOrPaymasterAndData } from "./getAddressFromInitCodeOrPaymasterAndData
|
|
2
|
+
import { deepHexlify, transactionReceiptStatus } from "./deepHexlify"
|
|
3
|
+
import { getAction } from "./getAction"
|
|
4
|
+
import { getAddressFromInitCodeOrPaymasterAndData } from "./getAddressFromInitCodeOrPaymasterAndData"
|
|
5
5
|
import {
|
|
6
6
|
type GetRequiredPrefundReturnType,
|
|
7
7
|
getRequiredPrefund
|
|
8
|
-
} from "./getRequiredPrefund
|
|
8
|
+
} from "./getRequiredPrefund"
|
|
9
9
|
import {
|
|
10
10
|
type GetUserOperationHashParams,
|
|
11
11
|
getUserOperationHash
|
|
12
|
-
} from "./getUserOperationHash
|
|
13
|
-
import { isSmartAccountDeployed } from "./isSmartAccountDeployed
|
|
12
|
+
} from "./getUserOperationHash"
|
|
13
|
+
import { isSmartAccountDeployed } from "./isSmartAccountDeployed"
|
|
14
|
+
import { providerToSmartAccountSigner } from "./providerToSmartAccountSigner"
|
|
14
15
|
import {
|
|
15
16
|
AccountOrClientNotFoundError,
|
|
16
17
|
type SignUserOperationHashWithECDSAParams,
|
|
17
18
|
signUserOperationHashWithECDSA
|
|
18
|
-
} from "./signUserOperationHashWithECDSA
|
|
19
|
-
import {
|
|
19
|
+
} from "./signUserOperationHashWithECDSA"
|
|
20
|
+
import { walletClientToSmartAccountSigner } from "./walletClientToSmartAccountSigner"
|
|
20
21
|
|
|
21
22
|
export function parseAccount(account: Address | Account): Account {
|
|
22
23
|
if (typeof account === "string")
|
|
@@ -30,12 +31,13 @@ export {
|
|
|
30
31
|
getAction,
|
|
31
32
|
getUserOperationHash,
|
|
32
33
|
getRequiredPrefund,
|
|
33
|
-
|
|
34
|
+
walletClientToSmartAccountSigner,
|
|
34
35
|
type GetRequiredPrefundReturnType,
|
|
35
36
|
type GetUserOperationHashParams,
|
|
36
37
|
signUserOperationHashWithECDSA,
|
|
37
38
|
type SignUserOperationHashWithECDSAParams,
|
|
38
39
|
AccountOrClientNotFoundError,
|
|
39
40
|
isSmartAccountDeployed,
|
|
41
|
+
providerToSmartAccountSigner,
|
|
40
42
|
getAddressFromInitCodeOrPaymasterAndData
|
|
41
43
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type EIP1193Provider,
|
|
3
|
+
type Hex,
|
|
4
|
+
createWalletClient,
|
|
5
|
+
custom
|
|
6
|
+
} from "viem"
|
|
7
|
+
import { walletClientToSmartAccountSigner } from "./walletClientToSmartAccountSigner"
|
|
8
|
+
|
|
9
|
+
export const providerToSmartAccountSigner = async (
|
|
10
|
+
provider: EIP1193Provider,
|
|
11
|
+
signerAddress?: Hex
|
|
12
|
+
) => {
|
|
13
|
+
let account: Hex
|
|
14
|
+
if (!signerAddress) {
|
|
15
|
+
;[account] = await provider.request({ method: "eth_requestAccounts" })
|
|
16
|
+
} else {
|
|
17
|
+
account = signerAddress
|
|
18
|
+
}
|
|
19
|
+
const walletClient = createWalletClient({
|
|
20
|
+
account: account as Hex,
|
|
21
|
+
transport: custom(provider)
|
|
22
|
+
})
|
|
23
|
+
return walletClientToSmartAccountSigner(walletClient)
|
|
24
|
+
}
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
type Hex,
|
|
9
9
|
type Transport
|
|
10
10
|
} from "viem"
|
|
11
|
-
import { type GetAccountParameterWithClient } from "../types/
|
|
12
|
-
import type { UserOperation } from "../types/userOperation
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { type GetAccountParameterWithClient } from "../types/"
|
|
12
|
+
import type { UserOperation } from "../types/userOperation"
|
|
13
|
+
import { parseAccount } from "./"
|
|
14
|
+
import { getUserOperationHash } from "./getUserOperationHash"
|
|
15
15
|
|
|
16
16
|
export type SignUserOperationHashWithECDSAParams<
|
|
17
17
|
TTransport extends Transport = Transport,
|
|
@@ -11,9 +11,9 @@ import type {
|
|
|
11
11
|
} from "viem"
|
|
12
12
|
|
|
13
13
|
import { signTypedData } from "viem/actions"
|
|
14
|
-
import type { SmartAccountSigner } from "../accounts/types
|
|
14
|
+
import type { SmartAccountSigner } from "../accounts/types"
|
|
15
15
|
|
|
16
|
-
export function
|
|
16
|
+
export function walletClientToSmartAccountSigner<
|
|
17
17
|
TChain extends Chain | undefined = Chain | undefined
|
|
18
18
|
>(
|
|
19
19
|
walletClient: WalletClient<Transport, TChain, Account>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"walletClientToCustomSigner.js","sourceRoot":"","sources":["../../utils/walletClientToCustomSigner.ts"],"names":[],"mappings":";;;AAYA,0CAA4C;AAG5C,SAAgB,0BAA0B,CAGtC,YAAsD;IAEtD,OAAO;QACH,OAAO,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO;QACrC,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO;QACvC,WAAW,EAAE,KAAK,EAAE,EAChB,OAAO,EACoB,EAAgB,EAAE;YAC7C,OAAO,YAAY,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;QAChD,CAAC;QACD,KAAK,CAAC,aAAa,CAKjB,SAAwD;YACtD,OAAO,IAAA,uBAAa,EAChB,YAAY,EACZ;gBACI,OAAO,EAAE,YAAY,CAAC,OAAO;gBAC7B,GAAG,SAAS;aACf,CACJ,CAAA;QACL,CAAC;KACJ,CAAA;AACL,CAAC;AA9BD,gEA8BC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"walletClientToCustomSigner.js","sourceRoot":"","sources":["../../utils/walletClientToCustomSigner.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAG5C,MAAM,UAAU,0BAA0B,CAGtC,YAAsD;IAEtD,OAAO;QACH,OAAO,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO;QACrC,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO;QACvC,WAAW,EAAE,KAAK,EAAE,EAChB,OAAO,EACoB,EAAgB,EAAE;YAC7C,OAAO,YAAY,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;QAChD,CAAC;QACD,KAAK,CAAC,aAAa,CAKjB,SAAwD;YACtD,OAAO,aAAa,CAChB,YAAY,EACZ;gBACI,OAAO,EAAE,YAAY,CAAC,OAAO;gBAC7B,GAAG,SAAS;aACf,CACJ,CAAA;QACL,CAAC;KACJ,CAAA;AACL,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Account, Address, Chain, Transport, WalletClient } from "viem";
|
|
2
|
-
import type { SmartAccountSigner } from "../accounts/types.js";
|
|
3
|
-
export declare function walletClientToCustomSigner<TChain extends Chain | undefined = Chain | undefined>(walletClient: WalletClient<Transport, TChain, Account>): SmartAccountSigner<"custom", Address>;
|
|
4
|
-
//# sourceMappingURL=walletClientToCustomSigner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"walletClientToCustomSigner.d.ts","sourceRoot":"","sources":["../../utils/walletClientToCustomSigner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,OAAO,EACP,OAAO,EACP,KAAK,EAGL,SAAS,EAGT,YAAY,EACf,MAAM,MAAM,CAAA;AAGb,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,wBAAgB,0BAA0B,CACtC,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EAEpD,YAAY,EAAE,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,GACvD,kBAAkB,CAAC,QAAQ,EAAE,OAAO,CAAC,CA0BvC"}
|