viem 0.2.6 → 0.2.7
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-892805a2.d.ts → chain-02c77999.d.ts} +3 -1
- package/dist/{chain-d06e2a80.d.ts → chain-29e97b48.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-IPKAMASI.js → chunk-6MARLCNB.js} +6 -6
- package/dist/{chunk-UOOOQDP7.mjs → chunk-EXO7YYTV.mjs} +2 -2
- package/dist/{chunk-AWZ7ROLD.mjs → chunk-FJBYL4CX.mjs} +2 -2
- package/dist/{chunk-AWZ7ROLD.mjs.map → chunk-FJBYL4CX.mjs.map} +1 -1
- package/dist/{chunk-GEN2W3H2.js → chunk-ULUVNOX4.js} +2 -2
- package/dist/{chunk-GEN2W3H2.js.map → chunk-ULUVNOX4.js.map} +1 -1
- package/dist/contract.d.ts +8 -8
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createTransport-9692876d.d.ts → createTransport-55339615.d.ts} +2 -2
- package/dist/{eip1193-16c1b134.d.ts → eip1193-07d9c47f.d.ts} +1 -1
- package/dist/{encodeFunctionResult-5b30ddf1.d.ts → encodeFunctionResult-f7c8e382.d.ts} +1 -1
- package/dist/{encodePacked-0ac1e458.d.ts → encodePacked-462bce62.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-c722de85.d.ts → formatAbiItem-e5bbcadb.d.ts} +1 -1
- package/dist/{getAbiItem-6223ab36.d.ts → getAbiItem-443d91a0.d.ts} +1 -1
- package/dist/{getEnsResolver-af3ad3a8.d.ts → getEnsResolver-314de6e9.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-3bead650.d.ts → parseGwei-4fb29d96.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-2e49b7cb.d.ts → publicKeyToAddress-52476df3.d.ts} +2 -2
- package/dist/{test-1cc18fdd.d.ts → test-2d6d9a8d.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-969116ac.d.ts → typedData-337e8d8f.d.ts} +1 -1
- 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-IPKAMASI.js.map → chunk-6MARLCNB.js.map} +0 -0
- /package/dist/{chunk-UOOOQDP7.mjs.map → chunk-EXO7YYTV.mjs.map} +0 -0
package/dist/utils/index.js
CHANGED
@@ -118,7 +118,7 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
-
var
|
121
|
+
var _chunkULUVNOX4js = require('../chunk-ULUVNOX4.js');
|
122
122
|
|
123
123
|
|
124
124
|
|
@@ -239,5 +239,5 @@ var _chunkGEN2W3H2js = require('../chunk-GEN2W3H2.js');
|
|
239
239
|
|
240
240
|
|
241
241
|
|
242
|
-
exports.arrayRegex =
|
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;
|
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-314de6e9.js';
|
2
|
+
import './createTransport-55339615.js';
|
3
|
+
import './eip1193-07d9c47f.js';
|
4
4
|
import 'abitype';
|
5
|
-
import './chain-
|
5
|
+
import './chain-02c77999.js';
|
6
6
|
import '@wagmi/chains';
|
7
|
-
import './typedData-
|
7
|
+
import './typedData-337e8d8f.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 _chunkULUVNOX4js = require('./chunk-ULUVNOX4.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkGEN2W3H2js = require('./chunk-GEN2W3H2.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
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;
|
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-07d9c47f.js';
|
2
2
|
import 'abitype';
|
3
|
-
import './chain-
|
3
|
+
import './chain-02c77999.js';
|
4
4
|
import '@wagmi/chains';
|
5
5
|
|
6
6
|
type WindowProvider = Requests & Events;
|
package/package.json
CHANGED
File without changes
|
File without changes
|