viem 2.10.0 → 2.10.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/CHANGELOG.md +6 -0
- package/_cjs/errors/version.js +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/celo/chainConfig.d.ts +20 -20
- package/_types/celo/formatters.d.ts +10 -10
- package/_types/chains/definitions/ancient8.d.ts +8 -8
- package/_types/chains/definitions/ancient8Sepolia.d.ts +8 -8
- package/_types/chains/definitions/base.d.ts +8 -8
- package/_types/chains/definitions/baseGoerli.d.ts +8 -8
- package/_types/chains/definitions/baseSepolia.d.ts +8 -8
- package/_types/chains/definitions/celo.d.ts +20 -20
- package/_types/chains/definitions/celoAlfajores.d.ts +20 -20
- package/_types/chains/definitions/fraxtal.d.ts +8 -8
- package/_types/chains/definitions/fraxtalTestnet.d.ts +8 -8
- package/_types/chains/definitions/liskSepolia.d.ts +8 -8
- package/_types/chains/definitions/optimism.d.ts +8 -8
- package/_types/chains/definitions/optimismGoerli.d.ts +8 -8
- package/_types/chains/definitions/optimismSepolia.d.ts +8 -8
- package/_types/chains/definitions/pgn.d.ts +8 -8
- package/_types/chains/definitions/pgnTestnet.d.ts +8 -8
- package/_types/chains/definitions/playfiAlbireo.d.ts +3 -3
- package/_types/chains/definitions/rss3.d.ts +8 -8
- package/_types/chains/definitions/rss3Sepolia.d.ts +8 -8
- package/_types/chains/definitions/zkSync.d.ts +3 -3
- package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +3 -3
- package/_types/chains/definitions/zkSyncLocalNode.d.ts +3 -3
- package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +3 -3
- package/_types/chains/definitions/zkSyncTestnet.d.ts +3 -3
- package/_types/chains/definitions/zora.d.ts +8 -8
- package/_types/chains/definitions/zoraSepolia.d.ts +8 -8
- package/_types/chains/definitions/zoraTestnet.d.ts +8 -8
- package/_types/errors/version.d.ts +1 -1
- package/_types/op-stack/chainConfig.d.ts +8 -8
- package/_types/op-stack/formatters.d.ts +8 -8
- package/_types/types/eip1193.d.ts +9 -7
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/transaction.d.ts +1 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +4 -4
- package/_types/zksync/chainConfig.d.ts +3 -3
- package/_types/zksync/formatters.d.ts +3 -3
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/eip1193.ts +13 -8
- package/types/transaction.ts +1 -1
@@ -348,7 +348,7 @@ export declare const formatters: {
|
|
348
348
|
maxFeePerGas: bigint;
|
349
349
|
maxPriorityFeePerGas: bigint;
|
350
350
|
accessList: import("../index.js").AccessList;
|
351
|
-
blobVersionedHashes: `0x${string}`[];
|
351
|
+
blobVersionedHashes: readonly `0x${string}`[];
|
352
352
|
chainId: number;
|
353
353
|
type: "eip4844";
|
354
354
|
l1BatchNumber: bigint | null;
|
@@ -374,7 +374,7 @@ export declare const formatters: {
|
|
374
374
|
maxFeePerGas: bigint;
|
375
375
|
maxPriorityFeePerGas: bigint;
|
376
376
|
accessList: import("../index.js").AccessList;
|
377
|
-
blobVersionedHashes: `0x${string}`[];
|
377
|
+
blobVersionedHashes: readonly `0x${string}`[];
|
378
378
|
chainId: number;
|
379
379
|
type: "priority";
|
380
380
|
l1BatchNumber: bigint | null;
|
@@ -400,7 +400,7 @@ export declare const formatters: {
|
|
400
400
|
maxFeePerGas: bigint;
|
401
401
|
maxPriorityFeePerGas: bigint;
|
402
402
|
accessList: import("../index.js").AccessList;
|
403
|
-
blobVersionedHashes: `0x${string}`[];
|
403
|
+
blobVersionedHashes: readonly `0x${string}`[];
|
404
404
|
chainId: number;
|
405
405
|
type: "priority" | "eip712";
|
406
406
|
l1BatchNumber: bigint | null;
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.10.
|
1
|
+
export const version = '2.10.1'
|
package/package.json
CHANGED
package/types/eip1193.ts
CHANGED
@@ -16,7 +16,7 @@ import type {
|
|
16
16
|
RpcTransactionRequest as TransactionRequest,
|
17
17
|
RpcUncle as Uncle,
|
18
18
|
} from './rpc.js'
|
19
|
-
import type { ExactPartial, Prettify } from './utils.js'
|
19
|
+
import type { ExactPartial, OneOf, Prettify } from './utils.js'
|
20
20
|
|
21
21
|
//////////////////////////////////////////////////
|
22
22
|
// Provider
|
@@ -155,15 +155,20 @@ export type WalletSendCallsParameters<
|
|
155
155
|
quantity extends Quantity | bigint = Quantity,
|
156
156
|
> = [
|
157
157
|
{
|
158
|
-
|
158
|
+
calls: OneOf<
|
159
|
+
| {
|
160
|
+
to: Address
|
161
|
+
data?: Hex | undefined
|
162
|
+
value?: quantity | undefined
|
163
|
+
}
|
164
|
+
| {
|
165
|
+
data: Hex
|
166
|
+
}
|
167
|
+
>[]
|
168
|
+
capabilities?: capabilities | undefined
|
159
169
|
chainId: chainId
|
160
170
|
from: Address
|
161
|
-
|
162
|
-
to: Address
|
163
|
-
data: Hex
|
164
|
-
value: quantity
|
165
|
-
}[]
|
166
|
-
capabilities?: capabilities | undefined
|
171
|
+
version: string
|
167
172
|
},
|
168
173
|
]
|
169
174
|
|
package/types/transaction.ts
CHANGED
@@ -157,7 +157,7 @@ export type TransactionEIP4844<
|
|
157
157
|
/** EIP-2930 Access List. */
|
158
158
|
accessList: AccessList
|
159
159
|
/** List of versioned blob hashes associated with the transaction's blobs. */
|
160
|
-
blobVersionedHashes: Hex[]
|
160
|
+
blobVersionedHashes: readonly Hex[]
|
161
161
|
/** Chain ID that this transaction is valid on. */
|
162
162
|
chainId: TIndex
|
163
163
|
type: TType
|