@aa-sdk/core 4.34.1 → 4.35.1
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/README.md +1 -1
- package/dist/esm/account/smartContractAccount.d.ts +1 -1
- package/dist/esm/account/smartContractAccount.js.map +1 -1
- package/dist/esm/actions/bundler/estimateUserOperationGas.d.ts +3 -2
- package/dist/esm/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/dist/esm/actions/bundler/getSupportedEntryPoints.js.map +1 -1
- package/dist/esm/actions/bundler/getUserOperationByHash.js.map +1 -1
- package/dist/esm/actions/bundler/getUserOperationReceipt.js.map +1 -1
- package/dist/esm/actions/bundler/sendRawUserOperation.d.ts +2 -1
- package/dist/esm/actions/bundler/sendRawUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/buildUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/buildUserOperationFromTx.js.map +1 -1
- package/dist/esm/actions/smartAccount/buildUserOperationFromTxs.js.map +1 -1
- package/dist/esm/actions/smartAccount/checkGasSponsorshipEligibility.js.map +1 -1
- package/dist/esm/actions/smartAccount/dropAndReplaceUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/estimateUserOperationGas.js.map +1 -1
- package/dist/esm/actions/smartAccount/getAddress.js.map +1 -1
- package/dist/esm/actions/smartAccount/internal/initUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/internal/runMiddlewareStack.js.map +1 -1
- package/dist/esm/actions/smartAccount/internal/sendUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/sendTransaction.js.map +1 -1
- package/dist/esm/actions/smartAccount/sendTransactions.js.map +1 -1
- package/dist/esm/actions/smartAccount/sendUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/signMessage.js.map +1 -1
- package/dist/esm/actions/smartAccount/signTypedData.js.map +1 -1
- package/dist/esm/actions/smartAccount/signUserOperation.js.map +1 -1
- package/dist/esm/actions/smartAccount/types.js.map +1 -1
- package/dist/esm/actions/smartAccount/upgradeAccount.js.map +1 -1
- package/dist/esm/actions/smartAccount/waitForUserOperationTransacation.js.map +1 -1
- package/dist/esm/client/addBreadcrumb.js.map +1 -1
- package/dist/esm/client/bundlerClient.js.map +1 -1
- package/dist/esm/client/decorators/bundlerClient.js.map +1 -1
- package/dist/esm/client/decorators/smartAccountClient.js.map +1 -1
- package/dist/esm/client/isSmartAccountClient.js.map +1 -1
- package/dist/esm/client/schema.d.ts +25 -25
- package/dist/esm/client/schema.js.map +1 -1
- package/dist/esm/client/smartAccountClient.js +5 -8
- package/dist/esm/client/smartAccountClient.js.map +1 -1
- package/dist/esm/client/types.js.map +1 -1
- package/dist/esm/ens/utils.js.map +1 -1
- package/dist/esm/entrypoint/0.6.d.ts +2 -2
- package/dist/esm/entrypoint/0.6.js.map +1 -1
- package/dist/esm/entrypoint/0.7.d.ts +1 -1
- package/dist/esm/entrypoint/0.7.js.map +1 -1
- package/dist/esm/entrypoint/index.d.ts +1 -1
- package/dist/esm/entrypoint/index.js.map +1 -1
- package/dist/esm/entrypoint/types.js.map +1 -1
- package/dist/esm/errors/account.js.map +1 -1
- package/dist/esm/errors/client.js.map +1 -1
- package/dist/esm/errors/entrypoint.js.map +1 -1
- package/dist/esm/errors/signer.js.map +1 -1
- package/dist/esm/errors/useroperation.js.map +1 -1
- package/dist/esm/middleware/actions.js.map +1 -1
- package/dist/esm/middleware/defaults/7702gasEstimator.d.ts +2 -2
- package/dist/esm/middleware/defaults/7702gasEstimator.js +2 -2
- package/dist/esm/middleware/defaults/7702gasEstimator.js.map +1 -1
- package/dist/esm/middleware/defaults/7702signer.d.ts +1 -1
- package/dist/esm/middleware/defaults/7702signer.js +1 -1
- package/dist/esm/middleware/defaults/7702signer.js.map +1 -1
- package/dist/esm/middleware/defaults/feeEstimator.js.map +1 -1
- package/dist/esm/middleware/defaults/gasEstimator.js.map +1 -1
- package/dist/esm/middleware/defaults/paymasterAndData.js.map +1 -1
- package/dist/esm/middleware/defaults/userOpSigner.js.map +1 -1
- package/dist/esm/middleware/erc7677middleware.js.map +1 -1
- package/dist/esm/middleware/types.js.map +1 -1
- package/dist/esm/signer/local-account.d.ts +2 -207
- package/dist/esm/signer/local-account.js.map +1 -1
- package/dist/esm/signer/schema.d.ts +1 -1
- package/dist/esm/signer/types.js.map +1 -1
- package/dist/esm/signer/wallet-client.d.ts +2 -207
- package/dist/esm/signer/wallet-client.js.map +1 -1
- package/dist/esm/transport/split.js +1 -1
- package/dist/esm/transport/split.js.map +1 -1
- package/dist/esm/types.js.map +1 -1
- package/dist/esm/utils/bigint.js.map +1 -1
- package/dist/esm/utils/defaults.js.map +1 -1
- package/dist/esm/utils/index.d.ts +2 -2
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/schema.js.map +1 -1
- package/dist/esm/utils/stateOverride.js.map +1 -1
- package/dist/esm/utils/testUtils.js.map +1 -1
- package/dist/esm/utils/traceHeader.js.map +1 -1
- package/dist/esm/utils/types.js.map +1 -1
- package/dist/esm/utils/userop.d.ts +2 -2
- package/dist/esm/utils/userop.js +1 -1
- package/dist/esm/utils/userop.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/account/smartContractAccount.d.ts +1 -1
- package/dist/types/account/smartContractAccount.d.ts.map +1 -1
- package/dist/types/actions/bundler/estimateUserOperationGas.d.ts +3 -2
- package/dist/types/actions/bundler/estimateUserOperationGas.d.ts.map +1 -1
- package/dist/types/actions/bundler/getSupportedEntryPoints.d.ts.map +1 -1
- package/dist/types/actions/bundler/getUserOperationByHash.d.ts.map +1 -1
- package/dist/types/actions/bundler/getUserOperationReceipt.d.ts.map +1 -1
- package/dist/types/actions/bundler/sendRawUserOperation.d.ts +2 -1
- package/dist/types/actions/bundler/sendRawUserOperation.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/buildUserOperation.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/buildUserOperationFromTx.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/buildUserOperationFromTxs.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/checkGasSponsorshipEligibility.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/dropAndReplaceUserOperation.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/estimateUserOperationGas.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/internal/initUserOperation.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/internal/runMiddlewareStack.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/internal/sendUserOperation.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/sendTransaction.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/sendUserOperation.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/signUserOperation.d.ts.map +1 -1
- package/dist/types/actions/smartAccount/types.d.ts.map +1 -1
- package/dist/types/client/decorators/smartAccountClient.d.ts.map +1 -1
- package/dist/types/client/schema.d.ts +25 -25
- package/dist/types/client/schema.d.ts.map +1 -1
- package/dist/types/client/smartAccountClient.d.ts.map +1 -1
- package/dist/types/ens/utils.d.ts.map +1 -1
- package/dist/types/entrypoint/0.6.d.ts +2 -2
- package/dist/types/entrypoint/0.6.d.ts.map +1 -1
- package/dist/types/entrypoint/0.7.d.ts +1 -1
- package/dist/types/entrypoint/0.7.d.ts.map +1 -1
- package/dist/types/entrypoint/index.d.ts +1 -1
- package/dist/types/entrypoint/index.d.ts.map +1 -1
- package/dist/types/entrypoint/types.d.ts.map +1 -1
- package/dist/types/errors/useroperation.d.ts.map +1 -1
- package/dist/types/middleware/actions.d.ts.map +1 -1
- package/dist/types/middleware/defaults/7702gasEstimator.d.ts +2 -2
- package/dist/types/middleware/defaults/7702signer.d.ts +1 -1
- package/dist/types/middleware/types.d.ts.map +1 -1
- package/dist/types/signer/local-account.d.ts +2 -207
- package/dist/types/signer/local-account.d.ts.map +1 -1
- package/dist/types/signer/schema.d.ts +1 -1
- package/dist/types/signer/schema.d.ts.map +1 -1
- package/dist/types/signer/utils.d.ts.map +1 -1
- package/dist/types/signer/wallet-client.d.ts +2 -207
- package/dist/types/signer/wallet-client.d.ts.map +1 -1
- package/dist/types/transport/split.d.ts.map +1 -1
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils/bigint.d.ts.map +1 -1
- package/dist/types/utils/bytes.d.ts.map +1 -1
- package/dist/types/utils/defaults.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +2 -2
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/testUtils.d.ts.map +1 -1
- package/dist/types/utils/traceHeader.d.ts.map +1 -1
- package/dist/types/utils/userop.d.ts +2 -2
- package/dist/types/utils/userop.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -6
- package/src/account/smartContractAccount.ts +27 -25
- package/src/actions/bundler/estimateUserOperationGas.ts +2 -2
- package/src/actions/bundler/getSupportedEntryPoints.ts +2 -2
- package/src/actions/bundler/getUserOperationByHash.ts +2 -2
- package/src/actions/bundler/getUserOperationReceipt.ts +2 -2
- package/src/actions/bundler/sendRawUserOperation.ts +2 -2
- package/src/actions/smartAccount/buildUserOperation.ts +5 -4
- package/src/actions/smartAccount/buildUserOperationFromTx.ts +4 -3
- package/src/actions/smartAccount/buildUserOperationFromTxs.ts +9 -8
- package/src/actions/smartAccount/checkGasSponsorshipEligibility.ts +5 -4
- package/src/actions/smartAccount/dropAndReplaceUserOperation.ts +7 -6
- package/src/actions/smartAccount/estimateUserOperationGas.ts +5 -4
- package/src/actions/smartAccount/getAddress.ts +2 -2
- package/src/actions/smartAccount/internal/initUserOperation.ts +7 -6
- package/src/actions/smartAccount/internal/runMiddlewareStack.ts +13 -12
- package/src/actions/smartAccount/internal/sendUserOperation.ts +3 -2
- package/src/actions/smartAccount/sendTransaction.ts +5 -4
- package/src/actions/smartAccount/sendTransactions.ts +3 -3
- package/src/actions/smartAccount/sendUserOperation.ts +4 -3
- package/src/actions/smartAccount/signMessage.ts +3 -3
- package/src/actions/smartAccount/signTypedData.ts +3 -3
- package/src/actions/smartAccount/signUserOperation.ts +4 -3
- package/src/actions/smartAccount/types.ts +23 -15
- package/src/actions/smartAccount/upgradeAccount.ts +3 -3
- package/src/actions/smartAccount/waitForUserOperationTransacation.ts +5 -5
- package/src/client/addBreadcrumb.ts +1 -1
- package/src/client/bundlerClient.ts +5 -5
- package/src/client/decorators/bundlerClient.ts +7 -7
- package/src/client/decorators/smartAccountClient.ts +20 -18
- package/src/client/isSmartAccountClient.ts +4 -4
- package/src/client/schema.ts +2 -2
- package/src/client/smartAccountClient.ts +98 -104
- package/src/client/types.ts +2 -2
- package/src/ens/utils.ts +1 -1
- package/src/entrypoint/0.6.ts +3 -3
- package/src/entrypoint/0.7.ts +4 -4
- package/src/entrypoint/index.ts +10 -9
- package/src/entrypoint/types.ts +30 -28
- package/src/errors/account.ts +1 -1
- package/src/errors/client.ts +3 -3
- package/src/errors/entrypoint.ts +2 -2
- package/src/errors/signer.ts +1 -1
- package/src/errors/useroperation.ts +6 -3
- package/src/middleware/actions.ts +3 -3
- package/src/middleware/defaults/7702gasEstimator.ts +4 -4
- package/src/middleware/defaults/7702signer.ts +3 -3
- package/src/middleware/defaults/feeEstimator.ts +4 -4
- package/src/middleware/defaults/gasEstimator.ts +6 -6
- package/src/middleware/defaults/paymasterAndData.ts +1 -1
- package/src/middleware/defaults/userOpSigner.ts +2 -2
- package/src/middleware/erc7677middleware.ts +9 -9
- package/src/middleware/types.ts +7 -5
- package/src/signer/local-account.ts +7 -7
- package/src/signer/types.ts +3 -3
- package/src/signer/wallet-client.ts +2 -2
- package/src/transport/split.ts +9 -12
- package/src/types.ts +29 -29
- package/src/utils/bigint.ts +4 -4
- package/src/utils/defaults.ts +1 -1
- package/src/utils/index.ts +12 -9
- package/src/utils/schema.ts +2 -2
- package/src/utils/stateOverride.ts +4 -4
- package/src/utils/testUtils.ts +2 -2
- package/src/utils/traceHeader.ts +14 -11
- package/src/utils/types.ts +1 -1
- package/src/utils/userop.ts +17 -17
- package/src/version.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HDAccount, type HDOptions, type Hex, type LocalAccount, type PrivateKeyAccount, type SignableMessage, type SignedAuthorization, type TypedDataDefinition } from "viem";
|
|
1
|
+
import { type HDAccount, type HDOptions, type Hex, type LocalAccount, type PrivateKeyAccount, type SignableMessage, type SignedAuthorization, type TypedData, type TypedDataDefinition } from "viem";
|
|
2
2
|
import type { AuthorizationRequest, SmartAccountSigner } from "./types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Represents a local account signer and provides methods to sign messages and transactions, as well as static methods to create the signer from mnemonic or private key.
|
|
@@ -58,212 +58,7 @@ export declare class LocalAccountSigner<T extends HDAccount | PrivateKeyAccount
|
|
|
58
58
|
* @param {TypedDataDefinition<TTypedData, TPrimaryType>} params The parameters defining the typed data and primary type
|
|
59
59
|
* @returns {Promise<Hex>} A promise that resolves to the signed data in hexadecimal format
|
|
60
60
|
*/
|
|
61
|
-
readonly signTypedData: <const TTypedData extends Record<string, unknown
|
|
62
|
-
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
63
|
-
[x: `string[${string}]`]: undefined;
|
|
64
|
-
[x: `function[${string}]`]: undefined;
|
|
65
|
-
[x: `uint256[${string}]`]: undefined;
|
|
66
|
-
[x: `uint48[${string}]`]: undefined;
|
|
67
|
-
[x: `bool[${string}]`]: undefined;
|
|
68
|
-
[x: `bytes[${string}]`]: undefined;
|
|
69
|
-
[x: `address[${string}]`]: undefined;
|
|
70
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
71
|
-
[x: `uint32[${string}]`]: undefined;
|
|
72
|
-
[x: `uint112[${string}]`]: undefined;
|
|
73
|
-
[x: `uint192[${string}]`]: undefined;
|
|
74
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
75
|
-
[x: `uint8[${string}]`]: undefined;
|
|
76
|
-
[x: `uint64[${string}]`]: undefined;
|
|
77
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
78
|
-
[x: `bytes2[${string}]`]: undefined;
|
|
79
|
-
[x: `bytes1[${string}]`]: undefined;
|
|
80
|
-
[x: `bytes5[${string}]`]: undefined;
|
|
81
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
82
|
-
[x: `bytes7[${string}]`]: undefined;
|
|
83
|
-
[x: `bytes11[${string}]`]: undefined;
|
|
84
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
85
|
-
[x: `bytes9[${string}]`]: undefined;
|
|
86
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
87
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
88
|
-
[x: `bytes12[${string}]`]: undefined;
|
|
89
|
-
[x: `bytes13[${string}]`]: undefined;
|
|
90
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
91
|
-
[x: `bytes15[${string}]`]: undefined;
|
|
92
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
93
|
-
[x: `bytes17[${string}]`]: undefined;
|
|
94
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
95
|
-
[x: `bytes19[${string}]`]: undefined;
|
|
96
|
-
[x: `bytes20[${string}]`]: undefined;
|
|
97
|
-
[x: `bytes21[${string}]`]: undefined;
|
|
98
|
-
[x: `bytes22[${string}]`]: undefined;
|
|
99
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
100
|
-
[x: `bytes24[${string}]`]: undefined;
|
|
101
|
-
[x: `bytes26[${string}]`]: undefined;
|
|
102
|
-
[x: `bytes27[${string}]`]: undefined;
|
|
103
|
-
[x: `bytes28[${string}]`]: undefined;
|
|
104
|
-
[x: `bytes29[${string}]`]: undefined;
|
|
105
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
106
|
-
[x: `bytes31[${string}]`]: undefined;
|
|
107
|
-
[x: `int[${string}]`]: undefined;
|
|
108
|
-
[x: `int8[${string}]`]: undefined;
|
|
109
|
-
[x: `int16[${string}]`]: undefined;
|
|
110
|
-
[x: `int24[${string}]`]: undefined;
|
|
111
|
-
[x: `int32[${string}]`]: undefined;
|
|
112
|
-
[x: `int40[${string}]`]: undefined;
|
|
113
|
-
[x: `int48[${string}]`]: undefined;
|
|
114
|
-
[x: `int56[${string}]`]: undefined;
|
|
115
|
-
[x: `int64[${string}]`]: undefined;
|
|
116
|
-
[x: `int72[${string}]`]: undefined;
|
|
117
|
-
[x: `int80[${string}]`]: undefined;
|
|
118
|
-
[x: `int88[${string}]`]: undefined;
|
|
119
|
-
[x: `int96[${string}]`]: undefined;
|
|
120
|
-
[x: `int104[${string}]`]: undefined;
|
|
121
|
-
[x: `int112[${string}]`]: undefined;
|
|
122
|
-
[x: `int120[${string}]`]: undefined;
|
|
123
|
-
[x: `int128[${string}]`]: undefined;
|
|
124
|
-
[x: `int136[${string}]`]: undefined;
|
|
125
|
-
[x: `int144[${string}]`]: undefined;
|
|
126
|
-
[x: `int152[${string}]`]: undefined;
|
|
127
|
-
[x: `int160[${string}]`]: undefined;
|
|
128
|
-
[x: `int168[${string}]`]: undefined;
|
|
129
|
-
[x: `int176[${string}]`]: undefined;
|
|
130
|
-
[x: `int184[${string}]`]: undefined;
|
|
131
|
-
[x: `int192[${string}]`]: undefined;
|
|
132
|
-
[x: `int200[${string}]`]: undefined;
|
|
133
|
-
[x: `int208[${string}]`]: undefined;
|
|
134
|
-
[x: `int216[${string}]`]: undefined;
|
|
135
|
-
[x: `int224[${string}]`]: undefined;
|
|
136
|
-
[x: `int232[${string}]`]: undefined;
|
|
137
|
-
[x: `int240[${string}]`]: undefined;
|
|
138
|
-
[x: `int248[${string}]`]: undefined;
|
|
139
|
-
[x: `int256[${string}]`]: undefined;
|
|
140
|
-
[x: `uint[${string}]`]: undefined;
|
|
141
|
-
[x: `uint16[${string}]`]: undefined;
|
|
142
|
-
[x: `uint24[${string}]`]: undefined;
|
|
143
|
-
[x: `uint40[${string}]`]: undefined;
|
|
144
|
-
[x: `uint56[${string}]`]: undefined;
|
|
145
|
-
[x: `uint72[${string}]`]: undefined;
|
|
146
|
-
[x: `uint80[${string}]`]: undefined;
|
|
147
|
-
[x: `uint88[${string}]`]: undefined;
|
|
148
|
-
[x: `uint96[${string}]`]: undefined;
|
|
149
|
-
[x: `uint104[${string}]`]: undefined;
|
|
150
|
-
[x: `uint120[${string}]`]: undefined;
|
|
151
|
-
[x: `uint128[${string}]`]: undefined;
|
|
152
|
-
[x: `uint136[${string}]`]: undefined;
|
|
153
|
-
[x: `uint144[${string}]`]: undefined;
|
|
154
|
-
[x: `uint152[${string}]`]: undefined;
|
|
155
|
-
[x: `uint160[${string}]`]: undefined;
|
|
156
|
-
[x: `uint168[${string}]`]: undefined;
|
|
157
|
-
[x: `uint176[${string}]`]: undefined;
|
|
158
|
-
[x: `uint184[${string}]`]: undefined;
|
|
159
|
-
[x: `uint200[${string}]`]: undefined;
|
|
160
|
-
[x: `uint208[${string}]`]: undefined;
|
|
161
|
-
[x: `uint216[${string}]`]: undefined;
|
|
162
|
-
[x: `uint224[${string}]`]: undefined;
|
|
163
|
-
[x: `uint232[${string}]`]: undefined;
|
|
164
|
-
[x: `uint240[${string}]`]: undefined;
|
|
165
|
-
[x: `uint248[${string}]`]: undefined;
|
|
166
|
-
string?: undefined;
|
|
167
|
-
uint256?: undefined;
|
|
168
|
-
uint48?: undefined;
|
|
169
|
-
bool?: undefined;
|
|
170
|
-
bytes?: undefined;
|
|
171
|
-
address?: undefined;
|
|
172
|
-
bytes32?: undefined;
|
|
173
|
-
uint32?: undefined;
|
|
174
|
-
uint112?: undefined;
|
|
175
|
-
uint192?: undefined;
|
|
176
|
-
bytes4?: undefined;
|
|
177
|
-
uint8?: undefined;
|
|
178
|
-
uint64?: undefined;
|
|
179
|
-
bytes6?: undefined;
|
|
180
|
-
bytes2?: undefined;
|
|
181
|
-
bytes1?: undefined;
|
|
182
|
-
bytes5?: undefined;
|
|
183
|
-
bytes3?: undefined;
|
|
184
|
-
bytes7?: undefined;
|
|
185
|
-
bytes11?: undefined;
|
|
186
|
-
bytes8?: undefined;
|
|
187
|
-
bytes9?: undefined;
|
|
188
|
-
bytes10?: undefined;
|
|
189
|
-
bytes25?: undefined;
|
|
190
|
-
bytes12?: undefined;
|
|
191
|
-
bytes13?: undefined;
|
|
192
|
-
bytes14?: undefined;
|
|
193
|
-
bytes15?: undefined;
|
|
194
|
-
bytes16?: undefined;
|
|
195
|
-
bytes17?: undefined;
|
|
196
|
-
bytes18?: undefined;
|
|
197
|
-
bytes19?: undefined;
|
|
198
|
-
bytes20?: undefined;
|
|
199
|
-
bytes21?: undefined;
|
|
200
|
-
bytes22?: undefined;
|
|
201
|
-
bytes23?: undefined;
|
|
202
|
-
bytes24?: undefined;
|
|
203
|
-
bytes26?: undefined;
|
|
204
|
-
bytes27?: undefined;
|
|
205
|
-
bytes28?: undefined;
|
|
206
|
-
bytes29?: undefined;
|
|
207
|
-
bytes30?: undefined;
|
|
208
|
-
bytes31?: undefined;
|
|
209
|
-
int8?: undefined;
|
|
210
|
-
int16?: undefined;
|
|
211
|
-
int24?: undefined;
|
|
212
|
-
int32?: undefined;
|
|
213
|
-
int40?: undefined;
|
|
214
|
-
int48?: undefined;
|
|
215
|
-
int56?: undefined;
|
|
216
|
-
int64?: undefined;
|
|
217
|
-
int72?: undefined;
|
|
218
|
-
int80?: undefined;
|
|
219
|
-
int88?: undefined;
|
|
220
|
-
int96?: undefined;
|
|
221
|
-
int104?: undefined;
|
|
222
|
-
int112?: undefined;
|
|
223
|
-
int120?: undefined;
|
|
224
|
-
int128?: undefined;
|
|
225
|
-
int136?: undefined;
|
|
226
|
-
int144?: undefined;
|
|
227
|
-
int152?: undefined;
|
|
228
|
-
int160?: undefined;
|
|
229
|
-
int168?: undefined;
|
|
230
|
-
int176?: undefined;
|
|
231
|
-
int184?: undefined;
|
|
232
|
-
int192?: undefined;
|
|
233
|
-
int200?: undefined;
|
|
234
|
-
int208?: undefined;
|
|
235
|
-
int216?: undefined;
|
|
236
|
-
int224?: undefined;
|
|
237
|
-
int232?: undefined;
|
|
238
|
-
int240?: undefined;
|
|
239
|
-
int248?: undefined;
|
|
240
|
-
int256?: undefined;
|
|
241
|
-
uint16?: undefined;
|
|
242
|
-
uint24?: undefined;
|
|
243
|
-
uint40?: undefined;
|
|
244
|
-
uint56?: undefined;
|
|
245
|
-
uint72?: undefined;
|
|
246
|
-
uint80?: undefined;
|
|
247
|
-
uint88?: undefined;
|
|
248
|
-
uint96?: undefined;
|
|
249
|
-
uint104?: undefined;
|
|
250
|
-
uint120?: undefined;
|
|
251
|
-
uint128?: undefined;
|
|
252
|
-
uint136?: undefined;
|
|
253
|
-
uint144?: undefined;
|
|
254
|
-
uint152?: undefined;
|
|
255
|
-
uint160?: undefined;
|
|
256
|
-
uint168?: undefined;
|
|
257
|
-
uint176?: undefined;
|
|
258
|
-
uint184?: undefined;
|
|
259
|
-
uint200?: undefined;
|
|
260
|
-
uint208?: undefined;
|
|
261
|
-
uint216?: undefined;
|
|
262
|
-
uint224?: undefined;
|
|
263
|
-
uint232?: undefined;
|
|
264
|
-
uint240?: undefined;
|
|
265
|
-
uint248?: undefined;
|
|
266
|
-
}, TPrimaryType extends "EIP712Domain" | keyof TTypedData = keyof TTypedData>(params: TypedDataDefinition<TTypedData, TPrimaryType>) => Promise<Hex>;
|
|
61
|
+
readonly signTypedData: <const TTypedData extends TypedData | Record<string, unknown>, TPrimaryType extends keyof TTypedData | "EIP712Domain" = keyof TTypedData>(params: TypedDataDefinition<TTypedData, TPrimaryType>) => Promise<Hex>;
|
|
267
62
|
/**
|
|
268
63
|
* Signs an unsigned authorization using the provided private key account.
|
|
269
64
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-account.d.ts","sourceRoot":"","sources":["../../../src/signer/local-account.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,GAAG,EACR,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":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,QAAa,OAAO,CAAC,KAAK,MAAM,EAAE,CAAC,CAEpD;IAEF;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,uBAAuB,CAC5B,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,SAAS,GACf,kBAAkB,CAAC,SAAS,CAAC;IAKhC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,yBAAyB,CAC9B,GAAG,EAAE,GAAG,GACP,kBAAkB,CAAC,iBAAiB,CAAC;IAKxC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,wBAAwB,IAAI,kBAAkB,CAAC,iBAAiB,CAAC;CAIzE"}
|
|
@@ -14,6 +14,6 @@ import type { SmartAccountSigner } from "./types";
|
|
|
14
14
|
* @param {any} signer the object to check
|
|
15
15
|
* @returns {boolean} A boolean indicating whether the object is a `SmartAccountSigner`
|
|
16
16
|
*/
|
|
17
|
-
export declare const isSigner: (signer: any) => signer is SmartAccountSigner
|
|
17
|
+
export declare const isSigner: (signer: any) => signer is SmartAccountSigner;
|
|
18
18
|
export declare const SignerSchema: z.ZodType<SmartAccountSigner<any>, z.ZodTypeDef, SmartAccountSigner<any>>;
|
|
19
19
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/signer/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/signer/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,GAAI,QAAQ,GAAG,KAAG,MAAM,IAAI,kBAUhD,CAAC;AAEF,eAAO,MAAM,YAAY,2EAAyC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/signer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AAEd,MAAM,MAAM,kBAAkB,GAAG;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,GAAG,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/signer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AAEd,MAAM,MAAM,kBAAkB,GAAG;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,GAAG,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,qBAAqB,GAAI,iDAInC,kBAAkB,KAAG,IAgBvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Hex, type SignableMessage, type TypedDataDefinition, type WalletClient } from "viem";
|
|
1
|
+
import { type Hex, type SignableMessage, type TypedData, type TypedDataDefinition, type WalletClient } from "viem";
|
|
2
2
|
import type { SmartAccountSigner } from "./types";
|
|
3
3
|
/**
|
|
4
4
|
* Represents a wallet client signer for smart accounts, providing methods to get the address, sign messages, and sign typed data.
|
|
@@ -98,211 +98,6 @@ export declare class WalletClientSigner implements SmartAccountSigner<WalletClie
|
|
|
98
98
|
* @param {TypedDataDefinition<TTypedData, TPrimaryType>} typedData The typed data to be signed
|
|
99
99
|
* @returns {Promise<Hex>} A promise that resolves to a hex string representing the signed data
|
|
100
100
|
*/
|
|
101
|
-
signTypedData: <const TTypedData extends Record<string, unknown
|
|
102
|
-
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
103
|
-
[x: `string[${string}]`]: undefined;
|
|
104
|
-
[x: `function[${string}]`]: undefined;
|
|
105
|
-
[x: `uint256[${string}]`]: undefined;
|
|
106
|
-
[x: `uint48[${string}]`]: undefined;
|
|
107
|
-
[x: `bool[${string}]`]: undefined;
|
|
108
|
-
[x: `bytes[${string}]`]: undefined;
|
|
109
|
-
[x: `address[${string}]`]: undefined;
|
|
110
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
111
|
-
[x: `uint32[${string}]`]: undefined;
|
|
112
|
-
[x: `uint112[${string}]`]: undefined;
|
|
113
|
-
[x: `uint192[${string}]`]: undefined;
|
|
114
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
115
|
-
[x: `uint8[${string}]`]: undefined;
|
|
116
|
-
[x: `uint64[${string}]`]: undefined;
|
|
117
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
118
|
-
[x: `bytes2[${string}]`]: undefined;
|
|
119
|
-
[x: `bytes1[${string}]`]: undefined;
|
|
120
|
-
[x: `bytes5[${string}]`]: undefined;
|
|
121
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
122
|
-
[x: `bytes7[${string}]`]: undefined;
|
|
123
|
-
[x: `bytes11[${string}]`]: undefined;
|
|
124
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
125
|
-
[x: `bytes9[${string}]`]: undefined;
|
|
126
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
127
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
128
|
-
[x: `bytes12[${string}]`]: undefined;
|
|
129
|
-
[x: `bytes13[${string}]`]: undefined;
|
|
130
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
131
|
-
[x: `bytes15[${string}]`]: undefined;
|
|
132
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
133
|
-
[x: `bytes17[${string}]`]: undefined;
|
|
134
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
135
|
-
[x: `bytes19[${string}]`]: undefined;
|
|
136
|
-
[x: `bytes20[${string}]`]: undefined;
|
|
137
|
-
[x: `bytes21[${string}]`]: undefined;
|
|
138
|
-
[x: `bytes22[${string}]`]: undefined;
|
|
139
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
140
|
-
[x: `bytes24[${string}]`]: undefined;
|
|
141
|
-
[x: `bytes26[${string}]`]: undefined;
|
|
142
|
-
[x: `bytes27[${string}]`]: undefined;
|
|
143
|
-
[x: `bytes28[${string}]`]: undefined;
|
|
144
|
-
[x: `bytes29[${string}]`]: undefined;
|
|
145
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
146
|
-
[x: `bytes31[${string}]`]: undefined;
|
|
147
|
-
[x: `int[${string}]`]: undefined;
|
|
148
|
-
[x: `int8[${string}]`]: undefined;
|
|
149
|
-
[x: `int16[${string}]`]: undefined;
|
|
150
|
-
[x: `int24[${string}]`]: undefined;
|
|
151
|
-
[x: `int32[${string}]`]: undefined;
|
|
152
|
-
[x: `int40[${string}]`]: undefined;
|
|
153
|
-
[x: `int48[${string}]`]: undefined;
|
|
154
|
-
[x: `int56[${string}]`]: undefined;
|
|
155
|
-
[x: `int64[${string}]`]: undefined;
|
|
156
|
-
[x: `int72[${string}]`]: undefined;
|
|
157
|
-
[x: `int80[${string}]`]: undefined;
|
|
158
|
-
[x: `int88[${string}]`]: undefined;
|
|
159
|
-
[x: `int96[${string}]`]: undefined;
|
|
160
|
-
[x: `int104[${string}]`]: undefined;
|
|
161
|
-
[x: `int112[${string}]`]: undefined;
|
|
162
|
-
[x: `int120[${string}]`]: undefined;
|
|
163
|
-
[x: `int128[${string}]`]: undefined;
|
|
164
|
-
[x: `int136[${string}]`]: undefined;
|
|
165
|
-
[x: `int144[${string}]`]: undefined;
|
|
166
|
-
[x: `int152[${string}]`]: undefined;
|
|
167
|
-
[x: `int160[${string}]`]: undefined;
|
|
168
|
-
[x: `int168[${string}]`]: undefined;
|
|
169
|
-
[x: `int176[${string}]`]: undefined;
|
|
170
|
-
[x: `int184[${string}]`]: undefined;
|
|
171
|
-
[x: `int192[${string}]`]: undefined;
|
|
172
|
-
[x: `int200[${string}]`]: undefined;
|
|
173
|
-
[x: `int208[${string}]`]: undefined;
|
|
174
|
-
[x: `int216[${string}]`]: undefined;
|
|
175
|
-
[x: `int224[${string}]`]: undefined;
|
|
176
|
-
[x: `int232[${string}]`]: undefined;
|
|
177
|
-
[x: `int240[${string}]`]: undefined;
|
|
178
|
-
[x: `int248[${string}]`]: undefined;
|
|
179
|
-
[x: `int256[${string}]`]: undefined;
|
|
180
|
-
[x: `uint[${string}]`]: undefined;
|
|
181
|
-
[x: `uint16[${string}]`]: undefined;
|
|
182
|
-
[x: `uint24[${string}]`]: undefined;
|
|
183
|
-
[x: `uint40[${string}]`]: undefined;
|
|
184
|
-
[x: `uint56[${string}]`]: undefined;
|
|
185
|
-
[x: `uint72[${string}]`]: undefined;
|
|
186
|
-
[x: `uint80[${string}]`]: undefined;
|
|
187
|
-
[x: `uint88[${string}]`]: undefined;
|
|
188
|
-
[x: `uint96[${string}]`]: undefined;
|
|
189
|
-
[x: `uint104[${string}]`]: undefined;
|
|
190
|
-
[x: `uint120[${string}]`]: undefined;
|
|
191
|
-
[x: `uint128[${string}]`]: undefined;
|
|
192
|
-
[x: `uint136[${string}]`]: undefined;
|
|
193
|
-
[x: `uint144[${string}]`]: undefined;
|
|
194
|
-
[x: `uint152[${string}]`]: undefined;
|
|
195
|
-
[x: `uint160[${string}]`]: undefined;
|
|
196
|
-
[x: `uint168[${string}]`]: undefined;
|
|
197
|
-
[x: `uint176[${string}]`]: undefined;
|
|
198
|
-
[x: `uint184[${string}]`]: undefined;
|
|
199
|
-
[x: `uint200[${string}]`]: undefined;
|
|
200
|
-
[x: `uint208[${string}]`]: undefined;
|
|
201
|
-
[x: `uint216[${string}]`]: undefined;
|
|
202
|
-
[x: `uint224[${string}]`]: undefined;
|
|
203
|
-
[x: `uint232[${string}]`]: undefined;
|
|
204
|
-
[x: `uint240[${string}]`]: undefined;
|
|
205
|
-
[x: `uint248[${string}]`]: undefined;
|
|
206
|
-
string?: undefined;
|
|
207
|
-
uint256?: undefined;
|
|
208
|
-
uint48?: undefined;
|
|
209
|
-
bool?: undefined;
|
|
210
|
-
bytes?: undefined;
|
|
211
|
-
address?: undefined;
|
|
212
|
-
bytes32?: undefined;
|
|
213
|
-
uint32?: undefined;
|
|
214
|
-
uint112?: undefined;
|
|
215
|
-
uint192?: undefined;
|
|
216
|
-
bytes4?: undefined;
|
|
217
|
-
uint8?: undefined;
|
|
218
|
-
uint64?: undefined;
|
|
219
|
-
bytes6?: undefined;
|
|
220
|
-
bytes2?: undefined;
|
|
221
|
-
bytes1?: undefined;
|
|
222
|
-
bytes5?: undefined;
|
|
223
|
-
bytes3?: undefined;
|
|
224
|
-
bytes7?: undefined;
|
|
225
|
-
bytes11?: undefined;
|
|
226
|
-
bytes8?: undefined;
|
|
227
|
-
bytes9?: undefined;
|
|
228
|
-
bytes10?: undefined;
|
|
229
|
-
bytes25?: undefined;
|
|
230
|
-
bytes12?: undefined;
|
|
231
|
-
bytes13?: undefined;
|
|
232
|
-
bytes14?: undefined;
|
|
233
|
-
bytes15?: undefined;
|
|
234
|
-
bytes16?: undefined;
|
|
235
|
-
bytes17?: undefined;
|
|
236
|
-
bytes18?: undefined;
|
|
237
|
-
bytes19?: undefined;
|
|
238
|
-
bytes20?: undefined;
|
|
239
|
-
bytes21?: undefined;
|
|
240
|
-
bytes22?: undefined;
|
|
241
|
-
bytes23?: undefined;
|
|
242
|
-
bytes24?: undefined;
|
|
243
|
-
bytes26?: undefined;
|
|
244
|
-
bytes27?: undefined;
|
|
245
|
-
bytes28?: undefined;
|
|
246
|
-
bytes29?: undefined;
|
|
247
|
-
bytes30?: undefined;
|
|
248
|
-
bytes31?: undefined;
|
|
249
|
-
int8?: undefined;
|
|
250
|
-
int16?: undefined;
|
|
251
|
-
int24?: undefined;
|
|
252
|
-
int32?: undefined;
|
|
253
|
-
int40?: undefined;
|
|
254
|
-
int48?: undefined;
|
|
255
|
-
int56?: undefined;
|
|
256
|
-
int64?: undefined;
|
|
257
|
-
int72?: undefined;
|
|
258
|
-
int80?: undefined;
|
|
259
|
-
int88?: undefined;
|
|
260
|
-
int96?: undefined;
|
|
261
|
-
int104?: undefined;
|
|
262
|
-
int112?: undefined;
|
|
263
|
-
int120?: undefined;
|
|
264
|
-
int128?: undefined;
|
|
265
|
-
int136?: undefined;
|
|
266
|
-
int144?: undefined;
|
|
267
|
-
int152?: undefined;
|
|
268
|
-
int160?: undefined;
|
|
269
|
-
int168?: undefined;
|
|
270
|
-
int176?: undefined;
|
|
271
|
-
int184?: undefined;
|
|
272
|
-
int192?: undefined;
|
|
273
|
-
int200?: undefined;
|
|
274
|
-
int208?: undefined;
|
|
275
|
-
int216?: undefined;
|
|
276
|
-
int224?: undefined;
|
|
277
|
-
int232?: undefined;
|
|
278
|
-
int240?: undefined;
|
|
279
|
-
int248?: undefined;
|
|
280
|
-
int256?: undefined;
|
|
281
|
-
uint16?: undefined;
|
|
282
|
-
uint24?: undefined;
|
|
283
|
-
uint40?: undefined;
|
|
284
|
-
uint56?: undefined;
|
|
285
|
-
uint72?: undefined;
|
|
286
|
-
uint80?: undefined;
|
|
287
|
-
uint88?: undefined;
|
|
288
|
-
uint96?: undefined;
|
|
289
|
-
uint104?: undefined;
|
|
290
|
-
uint120?: undefined;
|
|
291
|
-
uint128?: undefined;
|
|
292
|
-
uint136?: undefined;
|
|
293
|
-
uint144?: undefined;
|
|
294
|
-
uint152?: undefined;
|
|
295
|
-
uint160?: undefined;
|
|
296
|
-
uint168?: undefined;
|
|
297
|
-
uint176?: undefined;
|
|
298
|
-
uint184?: undefined;
|
|
299
|
-
uint200?: undefined;
|
|
300
|
-
uint208?: undefined;
|
|
301
|
-
uint216?: undefined;
|
|
302
|
-
uint224?: undefined;
|
|
303
|
-
uint232?: undefined;
|
|
304
|
-
uint240?: undefined;
|
|
305
|
-
uint248?: undefined;
|
|
306
|
-
}, TPrimaryType extends string | keyof TTypedData = string>(typedData: TypedDataDefinition<TTypedData, TPrimaryType>) => Promise<Hex>;
|
|
101
|
+
signTypedData: <const TTypedData extends TypedData | Record<string, unknown>, TPrimaryType extends keyof TTypedData | "EIP712Domain" | string = string>(typedData: TypedDataDefinition<TTypedData, TPrimaryType>) => Promise<Hex>;
|
|
307
102
|
}
|
|
308
103
|
//# sourceMappingURL=wallet-client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-client.d.ts","sourceRoot":"","sources":["../../../src/signer/wallet-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,GAAG,EACR,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"wallet-client.d.ts","sourceRoot":"","sources":["../../../src/signer/wallet-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,GAAG,EACR,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,YAAY,EAClB,MAAM,MAAM,CAAC;AAId,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD;;GAEG;AACH,qBAAa,kBAAmB,YAAW,kBAAkB,CAAC,YAAY,CAAC;IACzE,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,YAAY,CAAC;IAEpB;;;;;;;;;;;;;;;;;;;;OAoBG;gBACS,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM;IAQpD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,EAAE,MAAM,OAAO,CAAC,KAAK,MAAM,EAAE,CAAC,CAGtC;IAEF;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,QAAQ,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,KAAK,MAAM,EAAE,CAAC,CAKtE;IAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,aAAa,GACX,KAAK,CAAC,UAAU,SAAS,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5D,YAAY,SAAS,MAAM,UAAU,GAAG,cAAc,GAAG,MAAM,GAAG,MAAM,EAExE,WAAW,mBAAmB,CAAC,UAAU,EAAE,YAAY,CAAC,KACvD,OAAO,CAAC,GAAG,CAAC,CASb;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../../src/transport/split.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,MAAM,CAAC;AAEpE,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,SAAS,EAAE,SAAS,CAAC;KACtB,EAAE,CAAC;IACJ,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../../src/transport/split.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,MAAM,CAAC;AAEpE,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,SAAS,EAAE,SAAS,CAAC;KACtB,EAAE,CAAC;IACJ,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,KAAK,GAAI,QAAQ,oBAAoB,KAAG,eA0BpD,CAAC"}
|
|
@@ -1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sB;IAErC,MAAM,EAAE,MAAM,CAAC;IAEf,KAAK,EAAE,YAAY,CAAC;IAEpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,QAAQ,EAAE,SAAS,CAAC;IAEpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,oBAAoB,CAAC,EAAE,YAAY,CAAC;IAEpC,kBAAkB,CAAC,EAAE,YAAY,CAAC;IAElC,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,oBAAoB,CAAC,EAAE,YAAY,CAAC;IAEpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,6BAA6B,CAAC,EAAE,YAAY,CAAC;IAE7C,uBAAuB,CAAC,EAAE,YAAY,CAAC;IAEvC,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B,SAAS,EAAE,SAAS,CAAC;CACtB;AAID,MAAM,MAAM,mBAAmB,CAC7B,kBAAkB,SAAS,iBAAiB,GAAG,iBAAiB,IAC9D,CAAC,kBAAkB,SAAS,OAAO,GACnC,sBAAsB,GACtB,kBAAkB,SAAS,OAAO,GAChC,sBAAsB,GACtB,KAAK,CAAC,GACV,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bigint.d.ts","sourceRoot":"","sources":["../../../src/utils/bigint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGzD;;;;;GAKG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"bigint.d.ts","sourceRoot":"","sources":["../../../src/utils/bigint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGzD;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,GAAG,MAAM,MAAM,EAAE,KAAG,MAM7C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,GAAG,MAAM,MAAM,EAAE,KAAG,MAM7C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,GACtB,OAAO,YAAY,EACnB,OAAO,YAAY,GAAG,IAAI,GAAG,SAAS,EACtC,OAAO,YAAY,GAAG,IAAI,GAAG,SAAS,KACrC,MAkBF,CAAC;AAEF,oBAAY,YAAY;IACtB,UAAU,IAAI;IACd,QAAQ,IAAI;CACb;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,GACzB,MAAM,YAAY,EAClB,YAAY,UAAU,CAAC,YAAY,CAAC,EACpC,eAAc,YAAoC,WAiBnD,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,KAAG,MACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bytes.d.ts","sourceRoot":"","sources":["../../../src/utils/bytes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"bytes.d.ts","sourceRoot":"","sources":["../../../src/utils/bytes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,EAAE,OAAM,aAAkB,KAAG,GAMhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/utils/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,4BAA4B,qBAIvC,CAAC;AAEH,eAAO,MAAM,iCAAiC,
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/utils/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,4BAA4B,qBAIvC,CAAC;AAEH,eAAO,MAAM,iCAAiC,GAC5C,OAAO,KAAK,KACX,uBAOF,CAAC"}
|
|
@@ -6,7 +6,7 @@ import type { RecordableKeys } from "./types.js";
|
|
|
6
6
|
* @param {((s: S, o?: O, f?: F) => Promise<S>)[]} fns - functions to pipe
|
|
7
7
|
* @returns {S} result of the pipe
|
|
8
8
|
*/
|
|
9
|
-
export declare const asyncPipe: <S, O, F>(...fns: ((s: S, o?: O
|
|
9
|
+
export declare const asyncPipe: <S, O, F>(...fns: ((s: S, o?: O, f?: F) => Promise<S>)[]) => (s: S, o?: O, f?: F) => Promise<S>;
|
|
10
10
|
export type Deferrable<T> = {
|
|
11
11
|
[K in keyof T]: PromiseOrValue<T[K]>;
|
|
12
12
|
};
|
|
@@ -100,7 +100,7 @@ export declare const conditionalReturn: <T>(condition: Promise<boolean>, value:
|
|
|
100
100
|
* @param {(item: T) => V} fn The function that transforms each item in the array into the record's value
|
|
101
101
|
* @returns {Record<T[K], V>} The resulting record object
|
|
102
102
|
*/
|
|
103
|
-
export declare const toRecord: <T extends { [
|
|
103
|
+
export declare const toRecord: <T extends { [K_1 in RecordableKeys<T>]: string | number | symbol; }, K extends RecordableKeys<T>, V>(array: T[], selector: K, fn: (item: T) => V) => Record<T[K], V>;
|
|
104
104
|
export * from "./bigint.js";
|
|
105
105
|
export * from "./bytes.js";
|
|
106
106
|
export * from "./defaults.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;GAKG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GACnB,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,MACjD,GAAG,CAAC,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC,eAMxB,CAAC;AAGJ,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI;KACzB,CAAC,IAAI,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,GAAG,OAAO,CAAC;AAE1D;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAc5E;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,GAA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EAAY,MAAM,MAAM,CAAC;AACxE,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAEvE,eAAO,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"testUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/testUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,KAAK,EAAY,MAAM,MAAM,CAAC;AACxE,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAEvE,eAAO,MAAM,+BAA+B,GAAU,CAAC,SAAS,aAAa,EAC3E,QAAQ,CAAC,KACR,OAAO,CAAC,oBAAoB,CAAC,OAAO,EAAE,wBAAwB,CAAC,CAgBjE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,kDAS5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traceHeader.d.ts","sourceRoot":"","sources":["../../../src/utils/traceHeader.ts"],"names":[],"mappings":"AASA;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAC/C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAG/C;;;;;GAKG;AACH,qBAAa,WAAW;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5C;;;;;;;OAOG;gBAED,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC;IAQvC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO;IAQd;;;;;;;;;OASG;IACH,MAAM,CAAC,eAAe,CACpB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC9B,WAAW,GAAG,SAAS;
|
|
1
|
+
{"version":3,"file":"traceHeader.d.ts","sourceRoot":"","sources":["../../../src/utils/traceHeader.ts"],"names":[],"mappings":"AASA;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAC/C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAG/C;;;;;GAKG;AACH,qBAAa,WAAW;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5C;;;;;;;OAOG;gBAED,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,WAAW,CAAC,YAAY,CAAC;IAQvC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO;IAQd;;;;;;;;;OASG;IACH,MAAM,CAAC,eAAe,CACpB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC9B,WAAW,GAAG,SAAS;IA2B1B;;;;;;;;;OASG;IACH,aAAa;;;;IASb;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW;CAS1C"}
|
|
@@ -60,7 +60,7 @@ export declare function applyUserOpOverrideOrFeeOption<TValue extends BigNumberi
|
|
|
60
60
|
* @param {UserOperationOverrides<TEntryPointVersion> | undefined} overrides the user operation overrides to check
|
|
61
61
|
* @returns {boolean} whether the paymaster middleware should be bypassed
|
|
62
62
|
*/
|
|
63
|
-
export declare const bypassPaymasterAndData: <TEntryPointVersion extends
|
|
63
|
+
export declare const bypassPaymasterAndData: <TEntryPointVersion extends EntryPointVersion = EntryPointVersion>(overrides: UserOperationOverrides<TEntryPointVersion> | undefined) => boolean;
|
|
64
64
|
/**
|
|
65
65
|
* An alternative to `bypassPaymasterAndData` which only returns true if the data parameter
|
|
66
66
|
* is "0x," this is useful for cases when middleware should be bypassed ONLY IF the UserOp will
|
|
@@ -70,7 +70,7 @@ export declare const bypassPaymasterAndData: <TEntryPointVersion extends keyof i
|
|
|
70
70
|
* @param {UserOperationOverrides<TEntryPointVersion> | undefined} overrides the user operation overrides to check
|
|
71
71
|
* @returns {boolean} whether the paymaster middleware should be bypassed
|
|
72
72
|
*/
|
|
73
|
-
export declare const bypassPaymasterAndDataEmptyHex: <TEntryPointVersion extends
|
|
73
|
+
export declare const bypassPaymasterAndDataEmptyHex: <TEntryPointVersion extends EntryPointVersion = EntryPointVersion>(overrides: UserOperationOverrides<TEntryPointVersion> | undefined) => boolean;
|
|
74
74
|
/**
|
|
75
75
|
* Utility method for parsing the paymaster address and paymasterData from the paymasterAndData hex string
|
|
76
76
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userop.d.ts","sourceRoot":"","sources":["../../../src/utils/userop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,MAAM,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAIlB;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,kBAAkB,SAAS,iB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C,kBAAkB,CAAC,GAAG,SAAS,KAChE,OAEgE,CAAC;AAEpE;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,GACzC,kBAAkB,SAAS,iBAAiB,GAAG,iBAAiB,EAEhE,WAAW,sBAAsB,CAAC,kBAAkB,CAAC,GAAG,SAAS,KAChE,OAGoE,CAAC;AAExE;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,GAChC,kBAAkB,GAAG,KACpB,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,WAAW,GAAG,eAAe,CAGlE,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,GAAI,+BAGpC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,WAAW,GAAG,eAAe,CAAC,KAAG,GACpC,CAAC"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.35.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aa-sdk/core",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.35.1",
|
|
5
5
|
"description": "viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts",
|
|
6
6
|
"author": "Alchemy",
|
|
7
7
|
"type": "module",
|
|
@@ -44,10 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"dotenv": "^16.0.3",
|
|
47
|
-
"
|
|
48
|
-
"typescript": "^5.0.4",
|
|
49
|
-
"typescript-template": "*",
|
|
50
|
-
"vitest": "^2.0.4"
|
|
47
|
+
"typescript-template": "*"
|
|
51
48
|
},
|
|
52
49
|
"dependencies": {
|
|
53
50
|
"abitype": "^0.8.3",
|
|
@@ -65,5 +62,5 @@
|
|
|
65
62
|
"url": "https://github.com/alchemyplatform/aa-sdk/issues"
|
|
66
63
|
},
|
|
67
64
|
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
|
|
68
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "31e2138c2dd08c5b32cc2d67b3f0d7b2a7d21f4f"
|
|
69
66
|
}
|