viem 0.3.0-main.20230405T025333 → 0.3.0-main.20230406T040634
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/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/accounts/index.js +17 -17
- package/dist/accounts/index.mjs +2 -2
- package/dist/chains.js +89 -89
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-IRIMDDIU.mjs → chunk-DXKVBX5S.mjs} +3 -4
- package/dist/chunk-DXKVBX5S.mjs.map +1 -0
- package/dist/{chunk-QEC2PWFG.mjs → chunk-KDUIUOGY.mjs} +2 -2
- package/dist/{chunk-RRNJVV5N.js → chunk-TFIHG36G.js} +3 -4
- package/dist/chunk-TFIHG36G.js.map +1 -0
- package/dist/{chunk-67LQLTKN.js → chunk-YQWSPTO6.js} +6 -6
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.d.ts +2 -1
- package/dist/ens.js +5 -5
- package/dist/ens.js.map +1 -1
- package/dist/ens.mjs +3 -3
- package/dist/ens.mjs.map +1 -1
- package/dist/ethers.js +4 -4
- package/dist/ethers.mjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +95 -97
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-IRIMDDIU.mjs.map +0 -1
- package/dist/chunk-RRNJVV5N.js.map +0 -1
- /package/dist/{chunk-QEC2PWFG.mjs.map → chunk-KDUIUOGY.mjs.map} +0 -0
- /package/dist/{chunk-67LQLTKN.js.map → chunk-YQWSPTO6.js.map} +0 -0
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkRRNJVV5Njs = require('./chunk-RRNJVV5N.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkTFIHG36Gjs.call; exports.createBlockFilter = _chunkTFIHG36Gjs.createBlockFilter; exports.createEventFilter = _chunkTFIHG36Gjs.createEventFilter; exports.createPendingTransactionFilter = _chunkTFIHG36Gjs.createPendingTransactionFilter; exports.estimateGas = _chunkTFIHG36Gjs.estimateGas; exports.getBalance = _chunkTFIHG36Gjs.getBalance; exports.getBlock = _chunkTFIHG36Gjs.getBlock; exports.getBlockNumber = _chunkTFIHG36Gjs.getBlockNumber; exports.getBlockNumberCache = _chunkTFIHG36Gjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkTFIHG36Gjs.getBlockTransactionCount; exports.getBytecode = _chunkTFIHG36Gjs.getBytecode; exports.getChainId = _chunkTFIHG36Gjs.getChainId; exports.getFeeHistory = _chunkTFIHG36Gjs.getFeeHistory; exports.getFilterChanges = _chunkTFIHG36Gjs.getFilterChanges; exports.getFilterLogs = _chunkTFIHG36Gjs.getFilterLogs; exports.getGasPrice = _chunkTFIHG36Gjs.getGasPrice; exports.getLogs = _chunkTFIHG36Gjs.getLogs; exports.getTransaction = _chunkTFIHG36Gjs.getTransaction; exports.getTransactionConfirmations = _chunkTFIHG36Gjs.getTransactionConfirmations; exports.getTransactionCount = _chunkTFIHG36Gjs.getTransactionCount; exports.getTransactionReceipt = _chunkTFIHG36Gjs.getTransactionReceipt; exports.uninstallFilter = _chunkTFIHG36Gjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkTFIHG36Gjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkTFIHG36Gjs.watchBlockNumber; exports.watchBlocks = _chunkTFIHG36Gjs.watchBlocks; exports.watchEvent = _chunkTFIHG36Gjs.watchEvent; exports.watchPendingTransactions = _chunkTFIHG36Gjs.watchPendingTransactions;
|
59
59
|
//# sourceMappingURL=public.js.map
|
package/dist/public.mjs
CHANGED
package/dist/test.js
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
30
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkRRNJVV5Njs = require('./chunk-RRNJVV5N.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkTFIHG36Gjs.dropTransaction; exports.getAutomine = _chunkTFIHG36Gjs.getAutomine; exports.getTxpoolContent = _chunkTFIHG36Gjs.getTxpoolContent; exports.getTxpoolStatus = _chunkTFIHG36Gjs.getTxpoolStatus; exports.impersonateAccount = _chunkTFIHG36Gjs.impersonateAccount; exports.increaseTime = _chunkTFIHG36Gjs.increaseTime; exports.inspectTxpool = _chunkTFIHG36Gjs.inspectTxpool; exports.mine = _chunkTFIHG36Gjs.mine; exports.removeBlockTimestampInterval = _chunkTFIHG36Gjs.removeBlockTimestampInterval; exports.reset = _chunkTFIHG36Gjs.reset; exports.revert = _chunkTFIHG36Gjs.revert; exports.sendUnsignedTransaction = _chunkTFIHG36Gjs.sendUnsignedTransaction; exports.setAutomine = _chunkTFIHG36Gjs.setAutomine; exports.setBalance = _chunkTFIHG36Gjs.setBalance; exports.setBlockGasLimit = _chunkTFIHG36Gjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkTFIHG36Gjs.setBlockTimestampInterval; exports.setCode = _chunkTFIHG36Gjs.setCode; exports.setCoinbase = _chunkTFIHG36Gjs.setCoinbase; exports.setIntervalMining = _chunkTFIHG36Gjs.setIntervalMining; exports.setLoggingEnabled = _chunkTFIHG36Gjs.setLoggingEnabled; exports.setMinGasPrice = _chunkTFIHG36Gjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkTFIHG36Gjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkTFIHG36Gjs.setNextBlockTimestamp; exports.setNonce = _chunkTFIHG36Gjs.setNonce; exports.setRpcUrl = _chunkTFIHG36Gjs.setRpcUrl; exports.setStorageAt = _chunkTFIHG36Gjs.setStorageAt; exports.snapshot = _chunkTFIHG36Gjs.snapshot; exports.stopImpersonatingAccount = _chunkTFIHG36Gjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
package/dist/utils/index.js
CHANGED
@@ -118,7 +118,7 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
-
var
|
121
|
+
var _chunkTFIHG36Gjs = require('../chunk-TFIHG36G.js');
|
122
122
|
|
123
123
|
|
124
124
|
|
@@ -239,5 +239,5 @@ var _chunkRRNJVV5Njs = require('../chunk-RRNJVV5N.js');
|
|
239
239
|
|
240
240
|
|
241
241
|
|
242
|
-
exports.arrayRegex =
|
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
|
package/dist/utils/index.mjs
CHANGED
package/dist/wallet.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
var
|
12
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkRRNJVV5Njs = require('./chunk-RRNJVV5N.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
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
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.3.0-main.
|
15
|
+
"version": "0.3.0-main.20230406T040634",
|
16
16
|
"files": [
|
17
17
|
"/abi",
|
18
18
|
"/accounts",
|