viem 0.2.7 → 0.2.8

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.
@@ -118,7 +118,7 @@
118
118
 
119
119
 
120
120
 
121
- var _chunkULUVNOX4js = require('../chunk-ULUVNOX4.js');
121
+ var _chunkTFIHG36Gjs = require('../chunk-TFIHG36G.js');
122
122
 
123
123
 
124
124
 
@@ -239,5 +239,5 @@ var _chunkULUVNOX4js = require('../chunk-ULUVNOX4.js');
239
239
 
240
240
 
241
241
 
242
- exports.arrayRegex = _chunkULUVNOX4js.arrayRegex; exports.assertRequest = _chunkULUVNOX4js.assertRequest; exports.assertTransactionEIP1559 = _chunkULUVNOX4js.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkULUVNOX4js.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkULUVNOX4js.assertTransactionLegacy; exports.boolToBytes = _chunkULUVNOX4js.boolToBytes; exports.boolToHex = _chunkULUVNOX4js.boolToHex; exports.buildRequest = _chunkULUVNOX4js.buildRequest; exports.bytesRegex = _chunkULUVNOX4js.bytesRegex; exports.bytesToBigint = _chunkULUVNOX4js.bytesToBigint; exports.bytesToBool = _chunkULUVNOX4js.bytesToBool; exports.bytesToHex = _chunkULUVNOX4js.bytesToHex; exports.bytesToNumber = _chunkULUVNOX4js.bytesToNumber; exports.bytesToString = _chunkULUVNOX4js.bytesToString; exports.concat = _chunkULUVNOX4js.concat; exports.concatBytes = _chunkULUVNOX4js.concatBytes; exports.concatHex = _chunkULUVNOX4js.concatHex; exports.containsNodeError = _chunkULUVNOX4js.containsNodeError; exports.decodeAbiParameters = _chunkULUVNOX4js.decodeAbiParameters; exports.decodeErrorResult = _chunkULUVNOX4js.decodeErrorResult; exports.decodeEventLog = _chunkULUVNOX4js.decodeEventLog; exports.decodeFunctionData = _chunkULUVNOX4js.decodeFunctionData; exports.decodeFunctionResult = _chunkULUVNOX4js.decodeFunctionResult; exports.defineBlock = _chunkULUVNOX4js.defineBlock; exports.defineChain = _chunkULUVNOX4js.defineChain; exports.defineFormatter = _chunkULUVNOX4js.defineFormatter; exports.defineTransaction = _chunkULUVNOX4js.defineTransaction; exports.defineTransactionReceipt = _chunkULUVNOX4js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkULUVNOX4js.defineTransactionRequest; exports.encodeAbiParameters = _chunkULUVNOX4js.encodeAbiParameters; exports.encodeDeployData = _chunkULUVNOX4js.encodeDeployData; exports.encodeErrorResult = _chunkULUVNOX4js.encodeErrorResult; exports.encodeEventTopics = _chunkULUVNOX4js.encodeEventTopics; exports.encodeFunctionData = _chunkULUVNOX4js.encodeFunctionData; exports.encodeFunctionResult = _chunkULUVNOX4js.encodeFunctionResult; exports.encodePacked = _chunkULUVNOX4js.encodePacked; exports.extract = _chunkULUVNOX4js.extract; exports.extractFunctionName = _chunkULUVNOX4js.extractFunctionName; exports.extractFunctionParams = _chunkULUVNOX4js.extractFunctionParams; exports.extractFunctionParts = _chunkULUVNOX4js.extractFunctionParts; exports.extractFunctionType = _chunkULUVNOX4js.extractFunctionType; exports.format = _chunkULUVNOX4js.format; exports.formatAbiItem = _chunkULUVNOX4js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkULUVNOX4js.formatAbiItemWithArgs; exports.formatBlock = _chunkULUVNOX4js.formatBlock; exports.formatEther = _chunkULUVNOX4js.formatEther; exports.formatGwei = _chunkULUVNOX4js.formatGwei; exports.formatTransaction = _chunkULUVNOX4js.formatTransaction; exports.formatTransactionRequest = _chunkULUVNOX4js.formatTransactionRequest; exports.formatUnits = _chunkULUVNOX4js.formatUnits; exports.fromBytes = _chunkULUVNOX4js.fromBytes; exports.fromHex = _chunkULUVNOX4js.fromHex; exports.fromRlp = _chunkULUVNOX4js.fromRlp; exports.getAbiItem = _chunkULUVNOX4js.getAbiItem; exports.getAddress = _chunkULUVNOX4js.getAddress; exports.getCallError = _chunkULUVNOX4js.getCallError; exports.getChainContractAddress = _chunkULUVNOX4js.getChainContractAddress; exports.getContractAddress = _chunkULUVNOX4js.getContractAddress; exports.getContractError = _chunkULUVNOX4js.getContractError; exports.getCreate2Address = _chunkULUVNOX4js.getCreate2Address; exports.getCreateAddress = _chunkULUVNOX4js.getCreateAddress; exports.getEstimateGasError = _chunkULUVNOX4js.getEstimateGasError; exports.getEventSelector = _chunkULUVNOX4js.getEventSelector; exports.getFunctionSelector = _chunkULUVNOX4js.getFunctionSelector; exports.getNodeError = _chunkULUVNOX4js.getNodeError; exports.getSerializedTransactionType = _chunkULUVNOX4js.getSerializedTransactionType; exports.getSocket = _chunkULUVNOX4js.getSocket; exports.getTransactionError = _chunkULUVNOX4js.getTransactionError; exports.getTransactionType = _chunkULUVNOX4js.getTransactionType; exports.hashMessage = _chunkULUVNOX4js.hashMessage; exports.hashTypedData = _chunkULUVNOX4js.hashTypedData; exports.hexToBigInt = _chunkULUVNOX4js.hexToBigInt; exports.hexToBool = _chunkULUVNOX4js.hexToBool; exports.hexToBytes = _chunkULUVNOX4js.hexToBytes; exports.hexToNumber = _chunkULUVNOX4js.hexToNumber; exports.hexToString = _chunkULUVNOX4js.hexToString; exports.integerRegex = _chunkULUVNOX4js.integerRegex; exports.isAddress = _chunkULUVNOX4js.isAddress; exports.isAddressEqual = _chunkULUVNOX4js.isAddressEqual; exports.isBytes = _chunkULUVNOX4js.isBytes; exports.isHash = _chunkULUVNOX4js.isHash; exports.isHex = _chunkULUVNOX4js.isHex; exports.keccak256 = _chunkULUVNOX4js.keccak256; exports.numberToBytes = _chunkULUVNOX4js.numberToBytes; exports.numberToHex = _chunkULUVNOX4js.numberToHex; exports.pad = _chunkULUVNOX4js.pad; exports.padBytes = _chunkULUVNOX4js.padBytes; exports.padHex = _chunkULUVNOX4js.padHex; exports.parseAbi = _chunkULUVNOX4js.parseAbi; exports.parseAbiItem = _chunkULUVNOX4js.parseAbiItem; exports.parseAbiParameter = _chunkULUVNOX4js.parseAbiParameter; exports.parseAbiParameters = _chunkULUVNOX4js.parseAbiParameters; exports.parseAccount = _chunkULUVNOX4js.parseAccount; exports.parseEther = _chunkULUVNOX4js.parseEther; exports.parseGwei = _chunkULUVNOX4js.parseGwei; exports.parseTransaction = _chunkULUVNOX4js.parseTransaction; exports.parseUnits = _chunkULUVNOX4js.parseUnits; exports.prepareRequest = _chunkULUVNOX4js.prepareRequest; exports.publicKeyToAddress = _chunkULUVNOX4js.publicKeyToAddress; exports.recoverAddress = _chunkULUVNOX4js.recoverAddress; exports.recoverMessageAddress = _chunkULUVNOX4js.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkULUVNOX4js.recoverTypedDataAddress; exports.rpc = _chunkULUVNOX4js.rpc; exports.serializeTransaction = _chunkULUVNOX4js.serializeTransaction; exports.size = _chunkULUVNOX4js.size; exports.slice = _chunkULUVNOX4js.slice; exports.sliceBytes = _chunkULUVNOX4js.sliceBytes; exports.sliceHex = _chunkULUVNOX4js.sliceHex; exports.stringToBytes = _chunkULUVNOX4js.stringToBytes; exports.stringToHex = _chunkULUVNOX4js.stringToHex; exports.stringify = _chunkULUVNOX4js.stringify; exports.toBytes = _chunkULUVNOX4js.toBytes; exports.toHex = _chunkULUVNOX4js.toHex; exports.toRlp = _chunkULUVNOX4js.toRlp; exports.transactionType = _chunkULUVNOX4js.transactionType; exports.trim = _chunkULUVNOX4js.trim; exports.validateTypedData = _chunkULUVNOX4js.validateTypedData; exports.verifyMessage = _chunkULUVNOX4js.verifyMessage; exports.verifyTypedData = _chunkULUVNOX4js.verifyTypedData;
242
+ exports.arrayRegex = _chunkTFIHG36Gjs.arrayRegex; exports.assertRequest = _chunkTFIHG36Gjs.assertRequest; exports.assertTransactionEIP1559 = _chunkTFIHG36Gjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkTFIHG36Gjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkTFIHG36Gjs.assertTransactionLegacy; exports.boolToBytes = _chunkTFIHG36Gjs.boolToBytes; exports.boolToHex = _chunkTFIHG36Gjs.boolToHex; exports.buildRequest = _chunkTFIHG36Gjs.buildRequest; exports.bytesRegex = _chunkTFIHG36Gjs.bytesRegex; exports.bytesToBigint = _chunkTFIHG36Gjs.bytesToBigint; exports.bytesToBool = _chunkTFIHG36Gjs.bytesToBool; exports.bytesToHex = _chunkTFIHG36Gjs.bytesToHex; exports.bytesToNumber = _chunkTFIHG36Gjs.bytesToNumber; exports.bytesToString = _chunkTFIHG36Gjs.bytesToString; exports.concat = _chunkTFIHG36Gjs.concat; exports.concatBytes = _chunkTFIHG36Gjs.concatBytes; exports.concatHex = _chunkTFIHG36Gjs.concatHex; exports.containsNodeError = _chunkTFIHG36Gjs.containsNodeError; exports.decodeAbiParameters = _chunkTFIHG36Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkTFIHG36Gjs.decodeErrorResult; exports.decodeEventLog = _chunkTFIHG36Gjs.decodeEventLog; exports.decodeFunctionData = _chunkTFIHG36Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkTFIHG36Gjs.decodeFunctionResult; exports.defineBlock = _chunkTFIHG36Gjs.defineBlock; exports.defineChain = _chunkTFIHG36Gjs.defineChain; exports.defineFormatter = _chunkTFIHG36Gjs.defineFormatter; exports.defineTransaction = _chunkTFIHG36Gjs.defineTransaction; exports.defineTransactionReceipt = _chunkTFIHG36Gjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkTFIHG36Gjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkTFIHG36Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkTFIHG36Gjs.encodeDeployData; exports.encodeErrorResult = _chunkTFIHG36Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkTFIHG36Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkTFIHG36Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkTFIHG36Gjs.encodeFunctionResult; exports.encodePacked = _chunkTFIHG36Gjs.encodePacked; exports.extract = _chunkTFIHG36Gjs.extract; exports.extractFunctionName = _chunkTFIHG36Gjs.extractFunctionName; exports.extractFunctionParams = _chunkTFIHG36Gjs.extractFunctionParams; exports.extractFunctionParts = _chunkTFIHG36Gjs.extractFunctionParts; exports.extractFunctionType = _chunkTFIHG36Gjs.extractFunctionType; exports.format = _chunkTFIHG36Gjs.format; exports.formatAbiItem = _chunkTFIHG36Gjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkTFIHG36Gjs.formatAbiItemWithArgs; exports.formatBlock = _chunkTFIHG36Gjs.formatBlock; exports.formatEther = _chunkTFIHG36Gjs.formatEther; exports.formatGwei = _chunkTFIHG36Gjs.formatGwei; exports.formatTransaction = _chunkTFIHG36Gjs.formatTransaction; exports.formatTransactionRequest = _chunkTFIHG36Gjs.formatTransactionRequest; exports.formatUnits = _chunkTFIHG36Gjs.formatUnits; exports.fromBytes = _chunkTFIHG36Gjs.fromBytes; exports.fromHex = _chunkTFIHG36Gjs.fromHex; exports.fromRlp = _chunkTFIHG36Gjs.fromRlp; exports.getAbiItem = _chunkTFIHG36Gjs.getAbiItem; exports.getAddress = _chunkTFIHG36Gjs.getAddress; exports.getCallError = _chunkTFIHG36Gjs.getCallError; exports.getChainContractAddress = _chunkTFIHG36Gjs.getChainContractAddress; exports.getContractAddress = _chunkTFIHG36Gjs.getContractAddress; exports.getContractError = _chunkTFIHG36Gjs.getContractError; exports.getCreate2Address = _chunkTFIHG36Gjs.getCreate2Address; exports.getCreateAddress = _chunkTFIHG36Gjs.getCreateAddress; exports.getEstimateGasError = _chunkTFIHG36Gjs.getEstimateGasError; exports.getEventSelector = _chunkTFIHG36Gjs.getEventSelector; exports.getFunctionSelector = _chunkTFIHG36Gjs.getFunctionSelector; exports.getNodeError = _chunkTFIHG36Gjs.getNodeError; exports.getSerializedTransactionType = _chunkTFIHG36Gjs.getSerializedTransactionType; exports.getSocket = _chunkTFIHG36Gjs.getSocket; exports.getTransactionError = _chunkTFIHG36Gjs.getTransactionError; exports.getTransactionType = _chunkTFIHG36Gjs.getTransactionType; exports.hashMessage = _chunkTFIHG36Gjs.hashMessage; exports.hashTypedData = _chunkTFIHG36Gjs.hashTypedData; exports.hexToBigInt = _chunkTFIHG36Gjs.hexToBigInt; exports.hexToBool = _chunkTFIHG36Gjs.hexToBool; exports.hexToBytes = _chunkTFIHG36Gjs.hexToBytes; exports.hexToNumber = _chunkTFIHG36Gjs.hexToNumber; exports.hexToString = _chunkTFIHG36Gjs.hexToString; exports.integerRegex = _chunkTFIHG36Gjs.integerRegex; exports.isAddress = _chunkTFIHG36Gjs.isAddress; exports.isAddressEqual = _chunkTFIHG36Gjs.isAddressEqual; exports.isBytes = _chunkTFIHG36Gjs.isBytes; exports.isHash = _chunkTFIHG36Gjs.isHash; exports.isHex = _chunkTFIHG36Gjs.isHex; exports.keccak256 = _chunkTFIHG36Gjs.keccak256; exports.numberToBytes = _chunkTFIHG36Gjs.numberToBytes; exports.numberToHex = _chunkTFIHG36Gjs.numberToHex; exports.pad = _chunkTFIHG36Gjs.pad; exports.padBytes = _chunkTFIHG36Gjs.padBytes; exports.padHex = _chunkTFIHG36Gjs.padHex; exports.parseAbi = _chunkTFIHG36Gjs.parseAbi; exports.parseAbiItem = _chunkTFIHG36Gjs.parseAbiItem; exports.parseAbiParameter = _chunkTFIHG36Gjs.parseAbiParameter; exports.parseAbiParameters = _chunkTFIHG36Gjs.parseAbiParameters; exports.parseAccount = _chunkTFIHG36Gjs.parseAccount; exports.parseEther = _chunkTFIHG36Gjs.parseEther; exports.parseGwei = _chunkTFIHG36Gjs.parseGwei; exports.parseTransaction = _chunkTFIHG36Gjs.parseTransaction; exports.parseUnits = _chunkTFIHG36Gjs.parseUnits; exports.prepareRequest = _chunkTFIHG36Gjs.prepareRequest; exports.publicKeyToAddress = _chunkTFIHG36Gjs.publicKeyToAddress; exports.recoverAddress = _chunkTFIHG36Gjs.recoverAddress; exports.recoverMessageAddress = _chunkTFIHG36Gjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkTFIHG36Gjs.recoverTypedDataAddress; exports.rpc = _chunkTFIHG36Gjs.rpc; exports.serializeTransaction = _chunkTFIHG36Gjs.serializeTransaction; exports.size = _chunkTFIHG36Gjs.size; exports.slice = _chunkTFIHG36Gjs.slice; exports.sliceBytes = _chunkTFIHG36Gjs.sliceBytes; exports.sliceHex = _chunkTFIHG36Gjs.sliceHex; exports.stringToBytes = _chunkTFIHG36Gjs.stringToBytes; exports.stringToHex = _chunkTFIHG36Gjs.stringToHex; exports.stringify = _chunkTFIHG36Gjs.stringify; exports.toBytes = _chunkTFIHG36Gjs.toBytes; exports.toHex = _chunkTFIHG36Gjs.toHex; exports.toRlp = _chunkTFIHG36Gjs.toRlp; exports.transactionType = _chunkTFIHG36Gjs.transactionType; exports.trim = _chunkTFIHG36Gjs.trim; exports.validateTypedData = _chunkTFIHG36Gjs.validateTypedData; exports.verifyMessage = _chunkTFIHG36Gjs.verifyMessage; exports.verifyTypedData = _chunkTFIHG36Gjs.verifyTypedData;
243
243
  //# sourceMappingURL=index.js.map
@@ -118,7 +118,7 @@ import {
118
118
  validateTypedData,
119
119
  verifyMessage,
120
120
  verifyTypedData
121
- } from "../chunk-FJBYL4CX.mjs";
121
+ } from "../chunk-DXKVBX5S.mjs";
122
122
  export {
123
123
  arrayRegex,
124
124
  assertRequest,
package/dist/wallet.js CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkULUVNOX4js = require('./chunk-ULUVNOX4.js');
12
+ var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
13
13
 
14
14
 
15
15
 
@@ -21,5 +21,5 @@ var _chunkULUVNOX4js = require('./chunk-ULUVNOX4.js');
21
21
 
22
22
 
23
23
 
24
- exports.addChain = _chunkULUVNOX4js.addChain; exports.getAddresses = _chunkULUVNOX4js.getAddresses; exports.getPermissions = _chunkULUVNOX4js.getPermissions; exports.requestAddresses = _chunkULUVNOX4js.requestAddresses; exports.requestPermissions = _chunkULUVNOX4js.requestPermissions; exports.sendTransaction = _chunkULUVNOX4js.sendTransaction; exports.signMessage = _chunkULUVNOX4js.signMessage; exports.signTypedData = _chunkULUVNOX4js.signTypedData; exports.switchChain = _chunkULUVNOX4js.switchChain; exports.watchAsset = _chunkULUVNOX4js.watchAsset;
24
+ exports.addChain = _chunkTFIHG36Gjs.addChain; exports.getAddresses = _chunkTFIHG36Gjs.getAddresses; exports.getPermissions = _chunkTFIHG36Gjs.getPermissions; exports.requestAddresses = _chunkTFIHG36Gjs.requestAddresses; exports.requestPermissions = _chunkTFIHG36Gjs.requestPermissions; exports.sendTransaction = _chunkTFIHG36Gjs.sendTransaction; exports.signMessage = _chunkTFIHG36Gjs.signMessage; exports.signTypedData = _chunkTFIHG36Gjs.signTypedData; exports.switchChain = _chunkTFIHG36Gjs.switchChain; exports.watchAsset = _chunkTFIHG36Gjs.watchAsset;
25
25
  //# sourceMappingURL=wallet.js.map
package/dist/wallet.mjs CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  signTypedData,
10
10
  switchChain,
11
11
  watchAsset
12
- } from "./chunk-FJBYL4CX.mjs";
12
+ } from "./chunk-DXKVBX5S.mjs";
13
13
  export {
14
14
  addChain,
15
15
  getAddresses,
package/package.json CHANGED
@@ -2,17 +2,17 @@
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
4
  "dependencies": {
5
+ "@adraffy/ens-normalize": "1.9.0",
5
6
  "@noble/curves": "0.9.0",
6
7
  "@noble/hashes": "1.3.0",
7
8
  "@scure/bip32": "1.2.0",
8
9
  "@scure/bip39": "1.2.0",
9
10
  "@wagmi/chains": "0.2.16",
10
11
  "abitype": "0.7.1",
11
- "idna-uts46-hx": "4.1.2",
12
12
  "isomorphic-ws": "5.0.0",
13
13
  "ws": "8.12.0"
14
14
  },
15
- "version": "0.2.7",
15
+ "version": "0.2.8",
16
16
  "files": [
17
17
  "/abi",
18
18
  "/accounts",