Comparing version 2.21.59 to 2.21.60
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getProof = exports.getPermissions = exports.getAddresses = exports.readContract = exports.watchPendingTransactions = exports.watchEvent = exports.watchBlockNumber = exports.watchBlocks = exports.multicall = exports.mine = exports.loadState = exports.increaseTime = exports.impersonateAccount = exports.getTransactionReceipt = exports.getTransaction = exports.getTransactionCount = exports.getTransactionConfirmations = exports.getStorageAt = exports.getLogs = exports.getGasPrice = exports.getFilterLogs = exports.getFilterChanges = exports.getFeeHistory = exports.getEip712Domain = exports.getContractEvents = exports.getCode = exports.getBytecode = exports.getChainId = exports.getBlockTransactionCount = exports.getBlockNumber = exports.getBlock = exports.getBlobBaseFee = exports.getBalance = exports.estimateGas = exports.estimateMaxPriorityFeePerGas = exports.estimateFeesPerGas = exports.estimateContractGas = exports.dumpState = exports.createPendingTransactionFilter = exports.createEventFilter = exports.createContractEventFilter = exports.createBlockFilter = exports.call = exports.getEnsText = exports.getEnsResolver = exports.getEnsName = exports.getEnsAvatar = exports.getEnsAddress = exports.deployContract = exports.addChain = void 0; | ||
exports.writeContract = exports.watchContractEvent = exports.watchAsset = exports.verifyTypedData = exports.verifyMessage = exports.verifyHash = exports.uninstallFilter = exports.switchChain = exports.stopImpersonatingAccount = exports.simulateContract = exports.signTypedData = exports.signMessage = exports.snapshot = exports.setStorageAt = exports.setRpcUrl = exports.setNonce = exports.setNextBlockTimestamp = exports.setNextBlockBaseFeePerGas = exports.setMinGasPrice = exports.setLoggingEnabled = exports.setIntervalMining = exports.setCoinbase = exports.setCode = exports.setBlockTimestampInterval = exports.setBlockGasLimit = exports.setAutomine = exports.setBalance = exports.sendUnsignedTransaction = exports.sendRawTransaction = exports.signTransaction = exports.sendTransaction = exports.defaultPrepareTransactionRequestParameters = exports.prepareTransactionRequest = exports.revert = exports.reset = exports.removeBlockTimestampInterval = exports.inspectTxpool = exports.getTxpoolStatus = exports.getTxpoolContent = exports.getAutomine = exports.dropTransaction = exports.requestPermissions = exports.requestAddresses = exports.waitForTransactionReceipt = void 0; | ||
exports.getPermissions = exports.getAddresses = exports.readContract = exports.watchPendingTransactions = exports.watchEvent = exports.watchBlockNumber = exports.watchBlocks = exports.multicall = exports.mine = exports.loadState = exports.increaseTime = exports.impersonateAccount = exports.getTransactionReceipt = exports.getTransaction = exports.getTransactionCount = exports.getTransactionConfirmations = exports.getStorageAt = exports.getLogs = exports.getGasPrice = exports.getFilterLogs = exports.getFilterChanges = exports.getFeeHistory = exports.getEip712Domain = exports.getContractEvents = exports.getCode = exports.getBytecode = exports.getChainId = exports.getBlockTransactionCount = exports.getBlockNumber = exports.getBlock = exports.getBlobBaseFee = exports.getBalance = exports.estimateGas = exports.estimateMaxPriorityFeePerGas = exports.estimateFeesPerGas = exports.estimateContractGas = exports.dumpState = exports.createPendingTransactionFilter = exports.createEventFilter = exports.createContractEventFilter = exports.createBlockFilter = exports.createAccessList = exports.call = exports.getEnsText = exports.getEnsResolver = exports.getEnsName = exports.getEnsAvatar = exports.getEnsAddress = exports.deployContract = exports.addChain = void 0; | ||
exports.writeContract = exports.watchContractEvent = exports.watchAsset = exports.verifyTypedData = exports.verifyMessage = exports.verifyHash = exports.uninstallFilter = exports.switchChain = exports.stopImpersonatingAccount = exports.simulateContract = exports.signTypedData = exports.signMessage = exports.snapshot = exports.setStorageAt = exports.setRpcUrl = exports.setNonce = exports.setNextBlockTimestamp = exports.setNextBlockBaseFeePerGas = exports.setMinGasPrice = exports.setLoggingEnabled = exports.setIntervalMining = exports.setCoinbase = exports.setCode = exports.setBlockTimestampInterval = exports.setBlockGasLimit = exports.setAutomine = exports.setBalance = exports.sendUnsignedTransaction = exports.sendRawTransaction = exports.signTransaction = exports.sendTransaction = exports.defaultPrepareTransactionRequestParameters = exports.prepareTransactionRequest = exports.revert = exports.reset = exports.removeBlockTimestampInterval = exports.inspectTxpool = exports.getTxpoolStatus = exports.getTxpoolContent = exports.getAutomine = exports.dropTransaction = exports.requestPermissions = exports.requestAddresses = exports.waitForTransactionReceipt = exports.getProof = void 0; | ||
var addChain_js_1 = require("./wallet/addChain.js"); | ||
@@ -21,2 +21,4 @@ Object.defineProperty(exports, "addChain", { enumerable: true, get: function () { return addChain_js_1.addChain; } }); | ||
Object.defineProperty(exports, "call", { enumerable: true, get: function () { return call_js_1.call; } }); | ||
var createAccessList_js_1 = require("./public/createAccessList.js"); | ||
Object.defineProperty(exports, "createAccessList", { enumerable: true, get: function () { return createAccessList_js_1.createAccessList; } }); | ||
var createBlockFilter_js_1 = require("./public/createBlockFilter.js"); | ||
@@ -23,0 +25,0 @@ Object.defineProperty(exports, "createBlockFilter", { enumerable: true, get: function () { return createBlockFilter_js_1.createBlockFilter; } }); |
@@ -10,2 +10,3 @@ "use strict"; | ||
const call_js_1 = require("../../actions/public/call.js"); | ||
const createAccessList_js_1 = require("../../actions/public/createAccessList.js"); | ||
const createBlockFilter_js_1 = require("../../actions/public/createBlockFilter.js"); | ||
@@ -57,2 +58,3 @@ const createContractEventFilter_js_1 = require("../../actions/public/createContractEventFilter.js"); | ||
call: (args) => (0, call_js_1.call)(client, args), | ||
createAccessList: (args) => (0, createAccessList_js_1.createAccessList)(client, args), | ||
createBlockFilter: () => (0, createBlockFilter_js_1.createBlockFilter)(client), | ||
@@ -59,0 +61,0 @@ createContractEventFilter: (args) => (0, createContractEventFilter_js_1.createContractEventFilter)(client, args), |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '2.21.59'; | ||
exports.version = '2.21.60'; | ||
//# sourceMappingURL=version.js.map |
@@ -10,2 +10,3 @@ // biome-ignore lint/performance/noBarrelFile: entrypoint module | ||
export { call, } from './public/call.js'; | ||
export { createAccessList, } from './public/createAccessList.js'; | ||
export { createBlockFilter, } from './public/createBlockFilter.js'; | ||
@@ -12,0 +13,0 @@ export { createContractEventFilter, } from './public/createContractEventFilter.js'; |
@@ -7,2 +7,3 @@ import { getEnsAddress, } from '../../actions/ens/getEnsAddress.js'; | ||
import { call, } from '../../actions/public/call.js'; | ||
import { createAccessList, } from '../../actions/public/createAccessList.js'; | ||
import { createBlockFilter, } from '../../actions/public/createBlockFilter.js'; | ||
@@ -54,2 +55,3 @@ import { createContractEventFilter, } from '../../actions/public/createContractEventFilter.js'; | ||
call: (args) => call(client, args), | ||
createAccessList: (args) => createAccessList(client, args), | ||
createBlockFilter: () => createBlockFilter(client), | ||
@@ -56,0 +58,0 @@ createContractEventFilter: (args) => createContractEventFilter(client, args), |
@@ -1,2 +0,2 @@ | ||
export const version = '2.21.59'; | ||
export const version = '2.21.60'; | ||
//# sourceMappingURL=version.js.map |
@@ -9,2 +9,3 @@ export { type AddChainErrorType, type AddChainParameters, addChain, } from './wallet/addChain.js'; | ||
export { type CallErrorType, type CallParameters, type CallReturnType, call, } from './public/call.js'; | ||
export { type CreateAccessListErrorType, type CreateAccessListParameters, type CreateAccessListReturnType, createAccessList, } from './public/createAccessList.js'; | ||
export { type CreateBlockFilterErrorType, type CreateBlockFilterReturnType, createBlockFilter, } from './public/createBlockFilter.js'; | ||
@@ -11,0 +12,0 @@ export { type CreateContractEventFilterErrorType, type CreateContractEventFilterParameters, type CreateContractEventFilterReturnType, createContractEventFilter, } from './public/createContractEventFilter.js'; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.21.59"; | ||
export declare const version = "2.21.60"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -7,2 +7,3 @@ import type { Address } from 'abitype'; | ||
import type { RpcBlock as Block, RpcBlockIdentifier as BlockIdentifier, RpcBlockNumber as BlockNumber, RpcFeeHistory as FeeHistory, RpcLog as Log, RpcProof as Proof, Quantity, RpcTransaction as Transaction, RpcTransactionReceipt as TransactionReceipt, RpcTransactionRequest as TransactionRequest, RpcUncle as Uncle } from './rpc.js'; | ||
import type { AccessList } from './transaction.js'; | ||
import type { ExactPartial, OneOf, PartialBy, Prettify } from './utils.js'; | ||
@@ -500,2 +501,20 @@ export type EIP1474Methods = [ | ||
/** | ||
* @description Executes a new message call immediately without submitting a transaction to the network | ||
* | ||
* @example | ||
* provider.request({ method: 'eth_call', params: [{ to: '0x...', data: '0x...' }] }) | ||
* // => '0x...' | ||
*/ | ||
{ | ||
Method: 'eth_createAccessList'; | ||
Parameters: [transaction: ExactPartial<TransactionRequest>] | [ | ||
transaction: ExactPartial<TransactionRequest>, | ||
block: BlockNumber | BlockTag | BlockIdentifier | ||
]; | ||
ReturnType: { | ||
accessList: AccessList; | ||
gasUsed: Quantity; | ||
}; | ||
}, | ||
/** | ||
* @description Returns the chain ID associated with the current network | ||
@@ -502,0 +521,0 @@ * @example |
@@ -50,2 +50,8 @@ // biome-ignore lint/performance/noBarrelFile: entrypoint module | ||
export { | ||
type CreateAccessListErrorType, | ||
type CreateAccessListParameters, | ||
type CreateAccessListReturnType, | ||
createAccessList, | ||
} from './public/createAccessList.js' | ||
export { | ||
type CreateBlockFilterErrorType, | ||
@@ -52,0 +58,0 @@ type CreateBlockFilterReturnType, |
@@ -1,1 +0,1 @@ | ||
export const version = '2.21.59' | ||
export const version = '2.21.60' |
{ | ||
"name": "viem", | ||
"description": "TypeScript Interface for Ethereum", | ||
"version": "2.21.59", | ||
"version": "2.21.60", | ||
"main": "./_cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./_esm/index.js", |
@@ -25,2 +25,3 @@ import type { Address } from 'abitype' | ||
} from './rpc.js' | ||
import type { AccessList } from './transaction.js' | ||
import type { ExactPartial, OneOf, PartialBy, Prettify } from './utils.js' | ||
@@ -649,2 +650,22 @@ | ||
/** | ||
* @description Executes a new message call immediately without submitting a transaction to the network | ||
* | ||
* @example | ||
* provider.request({ method: 'eth_call', params: [{ to: '0x...', data: '0x...' }] }) | ||
* // => '0x...' | ||
*/ | ||
{ | ||
Method: 'eth_createAccessList' | ||
Parameters: | ||
| [transaction: ExactPartial<TransactionRequest>] | ||
| [ | ||
transaction: ExactPartial<TransactionRequest>, | ||
block: BlockNumber | BlockTag | BlockIdentifier, | ||
] | ||
ReturnType: { | ||
accessList: AccessList | ||
gasUsed: Quantity | ||
} | ||
}, | ||
/** | ||
* @description Returns the chain ID associated with the current network | ||
@@ -651,0 +672,0 @@ * @example |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14118270
7331
251375
23
9