viem 0.3.0-main.20230404T211746 → 0.3.0-main.20230404T223908
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.d.ts +3 -3
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/accounts/index.d.ts +4 -4
- package/dist/accounts/index.js +17 -17
- package/dist/accounts/index.mjs +2 -2
- package/dist/{chain-5507c6f0.d.ts → chain-892805a2.d.ts} +1 -1
- package/dist/{chain-fe47467d.d.ts → chain-d06e2a80.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +89 -89
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-44NIEBBF.mjs → chunk-HNJPZOTY.mjs} +5 -5
- package/dist/chunk-HNJPZOTY.mjs.map +1 -0
- package/dist/{chunk-R6ORHU2S.js → chunk-LXW72PZZ.js} +5 -5
- package/dist/chunk-LXW72PZZ.js.map +1 -0
- package/dist/{chunk-NIAIVOIM.mjs → chunk-XIX7YAOP.mjs} +2 -2
- package/dist/{chunk-AHJNM32E.js → chunk-Z2CBCLIP.js} +6 -6
- package/dist/contract.d.ts +8 -8
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createTransport-21a0d2b3.d.ts → createTransport-9692876d.d.ts} +2 -2
- package/dist/{eip1193-2f3a9cd2.d.ts → eip1193-16c1b134.d.ts} +1 -1
- package/dist/{encodeFunctionResult-b4670cf7.d.ts → encodeFunctionResult-5b30ddf1.d.ts} +1 -1
- package/dist/{encodePacked-98f67d09.d.ts → encodePacked-0ac1e458.d.ts} +1 -1
- package/dist/ens.d.ts +5 -5
- package/dist/ens.js +2 -2
- package/dist/ens.mjs +1 -1
- package/dist/ethers.d.ts +2 -2
- package/dist/ethers.js +4 -4
- package/dist/ethers.mjs +2 -2
- package/dist/{formatAbiItem-56dff508.d.ts → formatAbiItem-c722de85.d.ts} +1 -1
- package/dist/{getAbiItem-bfba73d1.d.ts → getAbiItem-6223ab36.d.ts} +1 -1
- package/dist/{getEnsResolver-ce85735b.d.ts → getEnsResolver-af3ad3a8.d.ts} +4 -4
- package/dist/index.d.ts +16 -16
- package/dist/index.js +94 -94
- package/dist/index.mjs +1 -1
- package/dist/{parseGwei-4dcde2b8.d.ts → parseGwei-3bead650.d.ts} +5 -5
- package/dist/public.d.ts +5 -5
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/{publicKeyToAddress-623eb398.d.ts → publicKeyToAddress-2e49b7cb.d.ts} +2 -2
- package/dist/{test-b67569fe.d.ts → test-1cc18fdd.d.ts} +3 -3
- package/dist/test.d.ts +5 -5
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/{typedData-46b4d81f.d.ts → typedData-969116ac.d.ts} +2 -2
- package/dist/utils/index.d.ts +15 -15
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.d.ts +5 -5
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/dist/window.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-44NIEBBF.mjs.map +0 -1
- package/dist/chunk-R6ORHU2S.js.map +0 -1
- /package/dist/{chunk-NIAIVOIM.mjs.map → chunk-XIX7YAOP.mjs.map} +0 -0
- /package/dist/{chunk-AHJNM32E.js.map → chunk-Z2CBCLIP.js.map} +0 -0
package/dist/utils/index.js
CHANGED
@@ -118,7 +118,7 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
-
var
|
121
|
+
var _chunkLXW72PZZjs = require('../chunk-LXW72PZZ.js');
|
122
122
|
|
123
123
|
|
124
124
|
|
@@ -239,5 +239,5 @@ var _chunkR6ORHU2Sjs = require('../chunk-R6ORHU2S.js');
|
|
239
239
|
|
240
240
|
|
241
241
|
|
242
|
-
exports.arrayRegex =
|
242
|
+
exports.arrayRegex = _chunkLXW72PZZjs.arrayRegex; exports.assertRequest = _chunkLXW72PZZjs.assertRequest; exports.assertTransactionEIP1559 = _chunkLXW72PZZjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkLXW72PZZjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkLXW72PZZjs.assertTransactionLegacy; exports.boolToBytes = _chunkLXW72PZZjs.boolToBytes; exports.boolToHex = _chunkLXW72PZZjs.boolToHex; exports.buildRequest = _chunkLXW72PZZjs.buildRequest; exports.bytesRegex = _chunkLXW72PZZjs.bytesRegex; exports.bytesToBigint = _chunkLXW72PZZjs.bytesToBigint; exports.bytesToBool = _chunkLXW72PZZjs.bytesToBool; exports.bytesToHex = _chunkLXW72PZZjs.bytesToHex; exports.bytesToNumber = _chunkLXW72PZZjs.bytesToNumber; exports.bytesToString = _chunkLXW72PZZjs.bytesToString; exports.concat = _chunkLXW72PZZjs.concat; exports.concatBytes = _chunkLXW72PZZjs.concatBytes; exports.concatHex = _chunkLXW72PZZjs.concatHex; exports.containsNodeError = _chunkLXW72PZZjs.containsNodeError; exports.decodeAbiParameters = _chunkLXW72PZZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkLXW72PZZjs.decodeErrorResult; exports.decodeEventLog = _chunkLXW72PZZjs.decodeEventLog; exports.decodeFunctionData = _chunkLXW72PZZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkLXW72PZZjs.decodeFunctionResult; exports.defineBlock = _chunkLXW72PZZjs.defineBlock; exports.defineChain = _chunkLXW72PZZjs.defineChain; exports.defineFormatter = _chunkLXW72PZZjs.defineFormatter; exports.defineTransaction = _chunkLXW72PZZjs.defineTransaction; exports.defineTransactionReceipt = _chunkLXW72PZZjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkLXW72PZZjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkLXW72PZZjs.encodeAbiParameters; exports.encodeDeployData = _chunkLXW72PZZjs.encodeDeployData; exports.encodeErrorResult = _chunkLXW72PZZjs.encodeErrorResult; exports.encodeEventTopics = _chunkLXW72PZZjs.encodeEventTopics; exports.encodeFunctionData = _chunkLXW72PZZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkLXW72PZZjs.encodeFunctionResult; exports.encodePacked = _chunkLXW72PZZjs.encodePacked; exports.extract = _chunkLXW72PZZjs.extract; exports.extractFunctionName = _chunkLXW72PZZjs.extractFunctionName; exports.extractFunctionParams = _chunkLXW72PZZjs.extractFunctionParams; exports.extractFunctionParts = _chunkLXW72PZZjs.extractFunctionParts; exports.extractFunctionType = _chunkLXW72PZZjs.extractFunctionType; exports.format = _chunkLXW72PZZjs.format; exports.formatAbiItem = _chunkLXW72PZZjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkLXW72PZZjs.formatAbiItemWithArgs; exports.formatBlock = _chunkLXW72PZZjs.formatBlock; exports.formatEther = _chunkLXW72PZZjs.formatEther; exports.formatGwei = _chunkLXW72PZZjs.formatGwei; exports.formatTransaction = _chunkLXW72PZZjs.formatTransaction; exports.formatTransactionRequest = _chunkLXW72PZZjs.formatTransactionRequest; exports.formatUnits = _chunkLXW72PZZjs.formatUnits; exports.fromBytes = _chunkLXW72PZZjs.fromBytes; exports.fromHex = _chunkLXW72PZZjs.fromHex; exports.fromRlp = _chunkLXW72PZZjs.fromRlp; exports.getAbiItem = _chunkLXW72PZZjs.getAbiItem; exports.getAddress = _chunkLXW72PZZjs.getAddress; exports.getCallError = _chunkLXW72PZZjs.getCallError; exports.getChainContractAddress = _chunkLXW72PZZjs.getChainContractAddress; exports.getContractAddress = _chunkLXW72PZZjs.getContractAddress; exports.getContractError = _chunkLXW72PZZjs.getContractError; exports.getCreate2Address = _chunkLXW72PZZjs.getCreate2Address; exports.getCreateAddress = _chunkLXW72PZZjs.getCreateAddress; exports.getEstimateGasError = _chunkLXW72PZZjs.getEstimateGasError; exports.getEventSelector = _chunkLXW72PZZjs.getEventSelector; exports.getFunctionSelector = _chunkLXW72PZZjs.getFunctionSelector; exports.getNodeError = _chunkLXW72PZZjs.getNodeError; exports.getSerializedTransactionType = _chunkLXW72PZZjs.getSerializedTransactionType; exports.getSocket = _chunkLXW72PZZjs.getSocket; exports.getTransactionError = _chunkLXW72PZZjs.getTransactionError; exports.getTransactionType = _chunkLXW72PZZjs.getTransactionType; exports.hashMessage = _chunkLXW72PZZjs.hashMessage; exports.hashTypedData = _chunkLXW72PZZjs.hashTypedData; exports.hexToBigInt = _chunkLXW72PZZjs.hexToBigInt; exports.hexToBool = _chunkLXW72PZZjs.hexToBool; exports.hexToBytes = _chunkLXW72PZZjs.hexToBytes; exports.hexToNumber = _chunkLXW72PZZjs.hexToNumber; exports.hexToString = _chunkLXW72PZZjs.hexToString; exports.integerRegex = _chunkLXW72PZZjs.integerRegex; exports.isAddress = _chunkLXW72PZZjs.isAddress; exports.isAddressEqual = _chunkLXW72PZZjs.isAddressEqual; exports.isBytes = _chunkLXW72PZZjs.isBytes; exports.isHash = _chunkLXW72PZZjs.isHash; exports.isHex = _chunkLXW72PZZjs.isHex; exports.keccak256 = _chunkLXW72PZZjs.keccak256; exports.numberToBytes = _chunkLXW72PZZjs.numberToBytes; exports.numberToHex = _chunkLXW72PZZjs.numberToHex; exports.pad = _chunkLXW72PZZjs.pad; exports.padBytes = _chunkLXW72PZZjs.padBytes; exports.padHex = _chunkLXW72PZZjs.padHex; exports.parseAbi = _chunkLXW72PZZjs.parseAbi; exports.parseAbiItem = _chunkLXW72PZZjs.parseAbiItem; exports.parseAbiParameter = _chunkLXW72PZZjs.parseAbiParameter; exports.parseAbiParameters = _chunkLXW72PZZjs.parseAbiParameters; exports.parseAccount = _chunkLXW72PZZjs.parseAccount; exports.parseEther = _chunkLXW72PZZjs.parseEther; exports.parseGwei = _chunkLXW72PZZjs.parseGwei; exports.parseTransaction = _chunkLXW72PZZjs.parseTransaction; exports.parseUnits = _chunkLXW72PZZjs.parseUnits; exports.prepareRequest = _chunkLXW72PZZjs.prepareRequest; exports.publicKeyToAddress = _chunkLXW72PZZjs.publicKeyToAddress; exports.recoverAddress = _chunkLXW72PZZjs.recoverAddress; exports.recoverMessageAddress = _chunkLXW72PZZjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkLXW72PZZjs.recoverTypedDataAddress; exports.rpc = _chunkLXW72PZZjs.rpc; exports.serializeTransaction = _chunkLXW72PZZjs.serializeTransaction; exports.size = _chunkLXW72PZZjs.size; exports.slice = _chunkLXW72PZZjs.slice; exports.sliceBytes = _chunkLXW72PZZjs.sliceBytes; exports.sliceHex = _chunkLXW72PZZjs.sliceHex; exports.stringToBytes = _chunkLXW72PZZjs.stringToBytes; exports.stringToHex = _chunkLXW72PZZjs.stringToHex; exports.stringify = _chunkLXW72PZZjs.stringify; exports.toBytes = _chunkLXW72PZZjs.toBytes; exports.toHex = _chunkLXW72PZZjs.toHex; exports.toRlp = _chunkLXW72PZZjs.toRlp; exports.transactionType = _chunkLXW72PZZjs.transactionType; exports.trim = _chunkLXW72PZZjs.trim; exports.validateTypedData = _chunkLXW72PZZjs.validateTypedData; exports.verifyMessage = _chunkLXW72PZZjs.verifyMessage; exports.verifyTypedData = _chunkLXW72PZZjs.verifyTypedData;
|
243
243
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
package/dist/wallet.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
export { A as AddChainParameters, bX as FormattedTransactionRequest, G as GetAddressesReturnType, _ as GetPermissionsReturnType, al as RequestAddressesReturnType, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, au as SwitchChainParameters, az as WatchAssetParameters, aA as WatchAssetReturnType, bN as addChain, bO as getAddresses, bP as getPermissions, bQ as requestAddresses, bR as requestPermissions, bS as sendTransaction, bT as signMessage, bU as signTypedData, bV as switchChain, bW as watchAsset } from './getEnsResolver-
|
2
|
-
import './createTransport-
|
3
|
-
import './eip1193-
|
1
|
+
export { A as AddChainParameters, bX as FormattedTransactionRequest, G as GetAddressesReturnType, _ as GetPermissionsReturnType, al as RequestAddressesReturnType, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, au as SwitchChainParameters, az as WatchAssetParameters, aA as WatchAssetReturnType, bN as addChain, bO as getAddresses, bP as getPermissions, bQ as requestAddresses, bR as requestPermissions, bS as sendTransaction, bT as signMessage, bU as signTypedData, bV as switchChain, bW as watchAsset } from './getEnsResolver-af3ad3a8.js';
|
2
|
+
import './createTransport-9692876d.js';
|
3
|
+
import './eip1193-16c1b134.js';
|
4
4
|
import 'abitype';
|
5
|
-
import './chain-
|
5
|
+
import './chain-892805a2.js';
|
6
6
|
import '@wagmi/chains';
|
7
|
-
import './typedData-
|
7
|
+
import './typedData-969116ac.js';
|
8
8
|
import '@scure/bip32';
|
package/dist/wallet.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
var
|
12
|
+
var _chunkLXW72PZZjs = require('./chunk-LXW72PZZ.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkR6ORHU2Sjs = require('./chunk-R6ORHU2S.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
24
|
+
exports.addChain = _chunkLXW72PZZjs.addChain; exports.getAddresses = _chunkLXW72PZZjs.getAddresses; exports.getPermissions = _chunkLXW72PZZjs.getPermissions; exports.requestAddresses = _chunkLXW72PZZjs.requestAddresses; exports.requestPermissions = _chunkLXW72PZZjs.requestPermissions; exports.sendTransaction = _chunkLXW72PZZjs.sendTransaction; exports.signMessage = _chunkLXW72PZZjs.signMessage; exports.signTypedData = _chunkLXW72PZZjs.signTypedData; exports.switchChain = _chunkLXW72PZZjs.switchChain; exports.watchAsset = _chunkLXW72PZZjs.watchAsset;
|
25
25
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED
package/dist/window.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { R as Requests, E as Events } from './eip1193-
|
1
|
+
import { R as Requests, E as Events } from './eip1193-16c1b134.js';
|
2
2
|
import 'abitype';
|
3
|
-
import './chain-
|
3
|
+
import './chain-892805a2.js';
|
4
4
|
import '@wagmi/chains';
|
5
5
|
|
6
6
|
type WindowProvider = Requests & Events;
|