viem 0.3.0-main.20230404T223908 → 0.3.0-main.20230405T025333
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-Z2CBCLIP.js → chunk-67LQLTKN.js} +6 -6
- package/dist/{chunk-HNJPZOTY.mjs → chunk-IRIMDDIU.mjs} +2 -2
- package/dist/{chunk-HNJPZOTY.mjs.map → chunk-IRIMDDIU.mjs.map} +1 -1
- package/dist/{chunk-XIX7YAOP.mjs → chunk-QEC2PWFG.mjs} +2 -2
- package/dist/{chunk-LXW72PZZ.js → chunk-RRNJVV5N.js} +2 -2
- package/dist/{chunk-LXW72PZZ.js.map → chunk-RRNJVV5N.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-Z2CBCLIP.js.map → chunk-67LQLTKN.js.map} +0 -0
- /package/dist/{chunk-XIX7YAOP.mjs.map → chunk-QEC2PWFG.mjs.map} +0 -0
package/dist/utils/index.js
CHANGED
@@ -118,7 +118,7 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
-
var
|
121
|
+
var _chunkRRNJVV5Njs = require('../chunk-RRNJVV5N.js');
|
122
122
|
|
123
123
|
|
124
124
|
|
@@ -239,5 +239,5 @@ var _chunkLXW72PZZjs = require('../chunk-LXW72PZZ.js');
|
|
239
239
|
|
240
240
|
|
241
241
|
|
242
|
-
exports.arrayRegex =
|
242
|
+
exports.arrayRegex = _chunkRRNJVV5Njs.arrayRegex; exports.assertRequest = _chunkRRNJVV5Njs.assertRequest; exports.assertTransactionEIP1559 = _chunkRRNJVV5Njs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkRRNJVV5Njs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkRRNJVV5Njs.assertTransactionLegacy; exports.boolToBytes = _chunkRRNJVV5Njs.boolToBytes; exports.boolToHex = _chunkRRNJVV5Njs.boolToHex; exports.buildRequest = _chunkRRNJVV5Njs.buildRequest; exports.bytesRegex = _chunkRRNJVV5Njs.bytesRegex; exports.bytesToBigint = _chunkRRNJVV5Njs.bytesToBigint; exports.bytesToBool = _chunkRRNJVV5Njs.bytesToBool; exports.bytesToHex = _chunkRRNJVV5Njs.bytesToHex; exports.bytesToNumber = _chunkRRNJVV5Njs.bytesToNumber; exports.bytesToString = _chunkRRNJVV5Njs.bytesToString; exports.concat = _chunkRRNJVV5Njs.concat; exports.concatBytes = _chunkRRNJVV5Njs.concatBytes; exports.concatHex = _chunkRRNJVV5Njs.concatHex; exports.containsNodeError = _chunkRRNJVV5Njs.containsNodeError; exports.decodeAbiParameters = _chunkRRNJVV5Njs.decodeAbiParameters; exports.decodeErrorResult = _chunkRRNJVV5Njs.decodeErrorResult; exports.decodeEventLog = _chunkRRNJVV5Njs.decodeEventLog; exports.decodeFunctionData = _chunkRRNJVV5Njs.decodeFunctionData; exports.decodeFunctionResult = _chunkRRNJVV5Njs.decodeFunctionResult; exports.defineBlock = _chunkRRNJVV5Njs.defineBlock; exports.defineChain = _chunkRRNJVV5Njs.defineChain; exports.defineFormatter = _chunkRRNJVV5Njs.defineFormatter; exports.defineTransaction = _chunkRRNJVV5Njs.defineTransaction; exports.defineTransactionReceipt = _chunkRRNJVV5Njs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkRRNJVV5Njs.defineTransactionRequest; exports.encodeAbiParameters = _chunkRRNJVV5Njs.encodeAbiParameters; exports.encodeDeployData = _chunkRRNJVV5Njs.encodeDeployData; exports.encodeErrorResult = _chunkRRNJVV5Njs.encodeErrorResult; exports.encodeEventTopics = _chunkRRNJVV5Njs.encodeEventTopics; exports.encodeFunctionData = _chunkRRNJVV5Njs.encodeFunctionData; exports.encodeFunctionResult = _chunkRRNJVV5Njs.encodeFunctionResult; exports.encodePacked = _chunkRRNJVV5Njs.encodePacked; exports.extract = _chunkRRNJVV5Njs.extract; exports.extractFunctionName = _chunkRRNJVV5Njs.extractFunctionName; exports.extractFunctionParams = _chunkRRNJVV5Njs.extractFunctionParams; exports.extractFunctionParts = _chunkRRNJVV5Njs.extractFunctionParts; exports.extractFunctionType = _chunkRRNJVV5Njs.extractFunctionType; exports.format = _chunkRRNJVV5Njs.format; exports.formatAbiItem = _chunkRRNJVV5Njs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkRRNJVV5Njs.formatAbiItemWithArgs; exports.formatBlock = _chunkRRNJVV5Njs.formatBlock; exports.formatEther = _chunkRRNJVV5Njs.formatEther; exports.formatGwei = _chunkRRNJVV5Njs.formatGwei; exports.formatTransaction = _chunkRRNJVV5Njs.formatTransaction; exports.formatTransactionRequest = _chunkRRNJVV5Njs.formatTransactionRequest; exports.formatUnits = _chunkRRNJVV5Njs.formatUnits; exports.fromBytes = _chunkRRNJVV5Njs.fromBytes; exports.fromHex = _chunkRRNJVV5Njs.fromHex; exports.fromRlp = _chunkRRNJVV5Njs.fromRlp; exports.getAbiItem = _chunkRRNJVV5Njs.getAbiItem; exports.getAddress = _chunkRRNJVV5Njs.getAddress; exports.getCallError = _chunkRRNJVV5Njs.getCallError; exports.getChainContractAddress = _chunkRRNJVV5Njs.getChainContractAddress; exports.getContractAddress = _chunkRRNJVV5Njs.getContractAddress; exports.getContractError = _chunkRRNJVV5Njs.getContractError; exports.getCreate2Address = _chunkRRNJVV5Njs.getCreate2Address; exports.getCreateAddress = _chunkRRNJVV5Njs.getCreateAddress; exports.getEstimateGasError = _chunkRRNJVV5Njs.getEstimateGasError; exports.getEventSelector = _chunkRRNJVV5Njs.getEventSelector; exports.getFunctionSelector = _chunkRRNJVV5Njs.getFunctionSelector; exports.getNodeError = _chunkRRNJVV5Njs.getNodeError; exports.getSerializedTransactionType = _chunkRRNJVV5Njs.getSerializedTransactionType; exports.getSocket = _chunkRRNJVV5Njs.getSocket; exports.getTransactionError = _chunkRRNJVV5Njs.getTransactionError; exports.getTransactionType = _chunkRRNJVV5Njs.getTransactionType; exports.hashMessage = _chunkRRNJVV5Njs.hashMessage; exports.hashTypedData = _chunkRRNJVV5Njs.hashTypedData; exports.hexToBigInt = _chunkRRNJVV5Njs.hexToBigInt; exports.hexToBool = _chunkRRNJVV5Njs.hexToBool; exports.hexToBytes = _chunkRRNJVV5Njs.hexToBytes; exports.hexToNumber = _chunkRRNJVV5Njs.hexToNumber; exports.hexToString = _chunkRRNJVV5Njs.hexToString; exports.integerRegex = _chunkRRNJVV5Njs.integerRegex; exports.isAddress = _chunkRRNJVV5Njs.isAddress; exports.isAddressEqual = _chunkRRNJVV5Njs.isAddressEqual; exports.isBytes = _chunkRRNJVV5Njs.isBytes; exports.isHash = _chunkRRNJVV5Njs.isHash; exports.isHex = _chunkRRNJVV5Njs.isHex; exports.keccak256 = _chunkRRNJVV5Njs.keccak256; exports.numberToBytes = _chunkRRNJVV5Njs.numberToBytes; exports.numberToHex = _chunkRRNJVV5Njs.numberToHex; exports.pad = _chunkRRNJVV5Njs.pad; exports.padBytes = _chunkRRNJVV5Njs.padBytes; exports.padHex = _chunkRRNJVV5Njs.padHex; exports.parseAbi = _chunkRRNJVV5Njs.parseAbi; exports.parseAbiItem = _chunkRRNJVV5Njs.parseAbiItem; exports.parseAbiParameter = _chunkRRNJVV5Njs.parseAbiParameter; exports.parseAbiParameters = _chunkRRNJVV5Njs.parseAbiParameters; exports.parseAccount = _chunkRRNJVV5Njs.parseAccount; exports.parseEther = _chunkRRNJVV5Njs.parseEther; exports.parseGwei = _chunkRRNJVV5Njs.parseGwei; exports.parseTransaction = _chunkRRNJVV5Njs.parseTransaction; exports.parseUnits = _chunkRRNJVV5Njs.parseUnits; exports.prepareRequest = _chunkRRNJVV5Njs.prepareRequest; exports.publicKeyToAddress = _chunkRRNJVV5Njs.publicKeyToAddress; exports.recoverAddress = _chunkRRNJVV5Njs.recoverAddress; exports.recoverMessageAddress = _chunkRRNJVV5Njs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkRRNJVV5Njs.recoverTypedDataAddress; exports.rpc = _chunkRRNJVV5Njs.rpc; exports.serializeTransaction = _chunkRRNJVV5Njs.serializeTransaction; exports.size = _chunkRRNJVV5Njs.size; exports.slice = _chunkRRNJVV5Njs.slice; exports.sliceBytes = _chunkRRNJVV5Njs.sliceBytes; exports.sliceHex = _chunkRRNJVV5Njs.sliceHex; exports.stringToBytes = _chunkRRNJVV5Njs.stringToBytes; exports.stringToHex = _chunkRRNJVV5Njs.stringToHex; exports.stringify = _chunkRRNJVV5Njs.stringify; exports.toBytes = _chunkRRNJVV5Njs.toBytes; exports.toHex = _chunkRRNJVV5Njs.toHex; exports.toRlp = _chunkRRNJVV5Njs.toRlp; exports.transactionType = _chunkRRNJVV5Njs.transactionType; exports.trim = _chunkRRNJVV5Njs.trim; exports.validateTypedData = _chunkRRNJVV5Njs.validateTypedData; exports.verifyMessage = _chunkRRNJVV5Njs.verifyMessage; exports.verifyTypedData = _chunkRRNJVV5Njs.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 _chunkRRNJVV5Njs = require('./chunk-RRNJVV5N.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkLXW72PZZjs = require('./chunk-LXW72PZZ.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
24
|
+
exports.addChain = _chunkRRNJVV5Njs.addChain; exports.getAddresses = _chunkRRNJVV5Njs.getAddresses; exports.getPermissions = _chunkRRNJVV5Njs.getPermissions; exports.requestAddresses = _chunkRRNJVV5Njs.requestAddresses; exports.requestPermissions = _chunkRRNJVV5Njs.requestPermissions; exports.sendTransaction = _chunkRRNJVV5Njs.sendTransaction; exports.signMessage = _chunkRRNJVV5Njs.signMessage; exports.signTypedData = _chunkRRNJVV5Njs.signTypedData; exports.switchChain = _chunkRRNJVV5Njs.switchChain; exports.watchAsset = _chunkRRNJVV5Njs.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
|