viem 0.1.3 → 0.1.4
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 +6 -0
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/chains.d.ts +380 -3
- package/dist/chains.js +80 -46
- package/dist/chains.js.map +1 -1
- package/dist/chains.mjs +37 -3
- package/dist/chains.mjs.map +1 -1
- package/dist/{chunk-UJYIRVKR.mjs → chunk-7NY73N4K.mjs} +3 -3
- package/dist/chunk-7NY73N4K.mjs.map +1 -0
- package/dist/{chunk-Z62X7UMW.js → chunk-G7FFDM5F.js} +3 -3
- package/dist/chunk-G7FFDM5F.js.map +1 -0
- package/dist/{chunk-PLPHFY5A.mjs → chunk-IT4VFQ2I.mjs} +2 -2
- package/dist/{chunk-MC6HQXR7.js → chunk-TLVPRARR.js} +21 -21
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/index.js +88 -88
- package/dist/index.mjs +2 -2
- 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-UJYIRVKR.mjs.map +0 -1
- package/dist/chunk-Z62X7UMW.js.map +0 -1
- /package/dist/{chunk-PLPHFY5A.mjs.map → chunk-IT4VFQ2I.mjs.map} +0 -0
- /package/dist/{chunk-MC6HQXR7.js.map → chunk-TLVPRARR.js.map} +0 -0
package/dist/utils/index.js
CHANGED
@@ -97,7 +97,7 @@
|
|
97
97
|
|
98
98
|
|
99
99
|
|
100
|
-
var
|
100
|
+
var _chunkG7FFDM5Fjs = require('../chunk-G7FFDM5F.js');
|
101
101
|
|
102
102
|
|
103
103
|
|
@@ -197,5 +197,5 @@ var _chunkZ62X7UMWjs = require('../chunk-Z62X7UMW.js');
|
|
197
197
|
|
198
198
|
|
199
199
|
|
200
|
-
exports.arrayRegex =
|
200
|
+
exports.arrayRegex = _chunkG7FFDM5Fjs.arrayRegex; exports.assertRequest = _chunkG7FFDM5Fjs.assertRequest; exports.boolToBytes = _chunkG7FFDM5Fjs.boolToBytes; exports.boolToHex = _chunkG7FFDM5Fjs.boolToHex; exports.buildRequest = _chunkG7FFDM5Fjs.buildRequest; exports.bytesRegex = _chunkG7FFDM5Fjs.bytesRegex; exports.bytesToBigint = _chunkG7FFDM5Fjs.bytesToBigint; exports.bytesToBool = _chunkG7FFDM5Fjs.bytesToBool; exports.bytesToHex = _chunkG7FFDM5Fjs.bytesToHex; exports.bytesToNumber = _chunkG7FFDM5Fjs.bytesToNumber; exports.bytesToString = _chunkG7FFDM5Fjs.bytesToString; exports.containsNodeError = _chunkG7FFDM5Fjs.containsNodeError; exports.decodeAbiParameters = _chunkG7FFDM5Fjs.decodeAbiParameters; exports.decodeErrorResult = _chunkG7FFDM5Fjs.decodeErrorResult; exports.decodeEventLog = _chunkG7FFDM5Fjs.decodeEventLog; exports.decodeFunctionData = _chunkG7FFDM5Fjs.decodeFunctionData; exports.decodeFunctionResult = _chunkG7FFDM5Fjs.decodeFunctionResult; exports.defineBlock = _chunkG7FFDM5Fjs.defineBlock; exports.defineChain = _chunkG7FFDM5Fjs.defineChain; exports.defineFormatter = _chunkG7FFDM5Fjs.defineFormatter; exports.defineTransaction = _chunkG7FFDM5Fjs.defineTransaction; exports.defineTransactionReceipt = _chunkG7FFDM5Fjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkG7FFDM5Fjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkG7FFDM5Fjs.encodeAbiParameters; exports.encodeDeployData = _chunkG7FFDM5Fjs.encodeDeployData; exports.encodeErrorResult = _chunkG7FFDM5Fjs.encodeErrorResult; exports.encodeEventTopics = _chunkG7FFDM5Fjs.encodeEventTopics; exports.encodeFunctionData = _chunkG7FFDM5Fjs.encodeFunctionData; exports.encodeFunctionResult = _chunkG7FFDM5Fjs.encodeFunctionResult; exports.encodePacked = _chunkG7FFDM5Fjs.encodePacked; exports.extract = _chunkG7FFDM5Fjs.extract; exports.extractFunctionName = _chunkG7FFDM5Fjs.extractFunctionName; exports.extractFunctionParams = _chunkG7FFDM5Fjs.extractFunctionParams; exports.extractFunctionParts = _chunkG7FFDM5Fjs.extractFunctionParts; exports.extractFunctionType = _chunkG7FFDM5Fjs.extractFunctionType; exports.format = _chunkG7FFDM5Fjs.format; exports.formatAbiItem = _chunkG7FFDM5Fjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkG7FFDM5Fjs.formatAbiItemWithArgs; exports.formatBlock = _chunkG7FFDM5Fjs.formatBlock; exports.formatEther = _chunkG7FFDM5Fjs.formatEther; exports.formatGwei = _chunkG7FFDM5Fjs.formatGwei; exports.formatTransaction = _chunkG7FFDM5Fjs.formatTransaction; exports.formatTransactionRequest = _chunkG7FFDM5Fjs.formatTransactionRequest; exports.formatUnits = _chunkG7FFDM5Fjs.formatUnits; exports.fromBytes = _chunkG7FFDM5Fjs.fromBytes; exports.fromHex = _chunkG7FFDM5Fjs.fromHex; exports.fromRlp = _chunkG7FFDM5Fjs.fromRlp; exports.getAbiItem = _chunkG7FFDM5Fjs.getAbiItem; exports.getAccount = _chunkG7FFDM5Fjs.getAccount; exports.getAddress = _chunkG7FFDM5Fjs.getAddress; exports.getCallError = _chunkG7FFDM5Fjs.getCallError; exports.getContractAddress = _chunkG7FFDM5Fjs.getContractAddress; exports.getContractError = _chunkG7FFDM5Fjs.getContractError; exports.getCreate2Address = _chunkG7FFDM5Fjs.getCreate2Address; exports.getCreateAddress = _chunkG7FFDM5Fjs.getCreateAddress; exports.getEstimateGasError = _chunkG7FFDM5Fjs.getEstimateGasError; exports.getEventSelector = _chunkG7FFDM5Fjs.getEventSelector; exports.getFunctionSelector = _chunkG7FFDM5Fjs.getFunctionSelector; exports.getNodeError = _chunkG7FFDM5Fjs.getNodeError; exports.getSocket = _chunkG7FFDM5Fjs.getSocket; exports.getTransactionError = _chunkG7FFDM5Fjs.getTransactionError; exports.hexToBigInt = _chunkG7FFDM5Fjs.hexToBigInt; exports.hexToBool = _chunkG7FFDM5Fjs.hexToBool; exports.hexToBytes = _chunkG7FFDM5Fjs.hexToBytes; exports.hexToNumber = _chunkG7FFDM5Fjs.hexToNumber; exports.hexToString = _chunkG7FFDM5Fjs.hexToString; exports.integerRegex = _chunkG7FFDM5Fjs.integerRegex; exports.isAddress = _chunkG7FFDM5Fjs.isAddress; exports.isAddressEqual = _chunkG7FFDM5Fjs.isAddressEqual; exports.isBytes = _chunkG7FFDM5Fjs.isBytes; exports.isHex = _chunkG7FFDM5Fjs.isHex; exports.keccak256 = _chunkG7FFDM5Fjs.keccak256; exports.numberToBytes = _chunkG7FFDM5Fjs.numberToBytes; exports.numberToHex = _chunkG7FFDM5Fjs.numberToHex; exports.pad = _chunkG7FFDM5Fjs.pad; exports.padBytes = _chunkG7FFDM5Fjs.padBytes; exports.padHex = _chunkG7FFDM5Fjs.padHex; exports.parseAbi = _chunkG7FFDM5Fjs.parseAbi; exports.parseAbiItem = _chunkG7FFDM5Fjs.parseAbiItem; exports.parseAbiParameter = _chunkG7FFDM5Fjs.parseAbiParameter; exports.parseAbiParameters = _chunkG7FFDM5Fjs.parseAbiParameters; exports.parseEther = _chunkG7FFDM5Fjs.parseEther; exports.parseGwei = _chunkG7FFDM5Fjs.parseGwei; exports.parseUnits = _chunkG7FFDM5Fjs.parseUnits; exports.prepareRequest = _chunkG7FFDM5Fjs.prepareRequest; exports.rpc = _chunkG7FFDM5Fjs.rpc; exports.size = _chunkG7FFDM5Fjs.size; exports.slice = _chunkG7FFDM5Fjs.slice; exports.sliceBytes = _chunkG7FFDM5Fjs.sliceBytes; exports.sliceHex = _chunkG7FFDM5Fjs.sliceHex; exports.stringToBytes = _chunkG7FFDM5Fjs.stringToBytes; exports.stringToHex = _chunkG7FFDM5Fjs.stringToHex; exports.stringify = _chunkG7FFDM5Fjs.stringify; exports.toBytes = _chunkG7FFDM5Fjs.toBytes; exports.toHex = _chunkG7FFDM5Fjs.toHex; exports.toRlp = _chunkG7FFDM5Fjs.toRlp; exports.transactionType = _chunkG7FFDM5Fjs.transactionType; exports.trim = _chunkG7FFDM5Fjs.trim;
|
201
201
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
package/dist/wallet.js
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
var
|
11
|
+
var _chunkG7FFDM5Fjs = require('./chunk-G7FFDM5F.js');
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -19,5 +19,5 @@ var _chunkZ62X7UMWjs = require('./chunk-Z62X7UMW.js');
|
|
19
19
|
|
20
20
|
|
21
21
|
|
22
|
-
exports.addChain =
|
22
|
+
exports.addChain = _chunkG7FFDM5Fjs.addChain; exports.getAddresses = _chunkG7FFDM5Fjs.getAddresses; exports.getPermissions = _chunkG7FFDM5Fjs.getPermissions; exports.requestAddresses = _chunkG7FFDM5Fjs.requestAddresses; exports.requestPermissions = _chunkG7FFDM5Fjs.requestPermissions; exports.sendTransaction = _chunkG7FFDM5Fjs.sendTransaction; exports.signMessage = _chunkG7FFDM5Fjs.signMessage; exports.switchChain = _chunkG7FFDM5Fjs.switchChain; exports.watchAsset = _chunkG7FFDM5Fjs.watchAsset;
|
23
23
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED
package/package.json
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
"description": "TypeScript Interface for Ethereum",
|
4
4
|
"dependencies": {
|
5
5
|
"@noble/hashes": "^1.1.2",
|
6
|
-
"@wagmi/chains": "~0.2.
|
6
|
+
"@wagmi/chains": "~0.2.11",
|
7
7
|
"abitype": "~0.6.7",
|
8
8
|
"idna-uts46-hx": "^4.1.2",
|
9
9
|
"isomorphic-ws": "^5.0.0",
|
10
10
|
"ws": "^8.12.0"
|
11
11
|
},
|
12
|
-
"version": "0.1.
|
12
|
+
"version": "0.1.4",
|
13
13
|
"files": [
|
14
14
|
"/abi",
|
15
15
|
"/dist",
|