viem 0.3.0-jxom-get-value.20230405T015215 → 0.3.0-jxom-eip1193-provider-type.20230406T014812

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.
Files changed (60) hide show
  1. package/dist/abi.d.ts +3 -3
  2. package/dist/abi.js +2 -2
  3. package/dist/abi.mjs +1 -1
  4. package/dist/accounts/index.d.ts +4 -4
  5. package/dist/accounts/index.js +17 -17
  6. package/dist/accounts/index.mjs +2 -2
  7. package/dist/{chain-02c77999.d.ts → chain-36627a05.d.ts} +1 -1
  8. package/dist/{chain-29e97b48.d.ts → chain-e936efd9.d.ts} +1 -1
  9. package/dist/chains.d.ts +3 -3
  10. package/dist/chains.js +89 -89
  11. package/dist/chains.mjs +1 -1
  12. package/dist/{chunk-IRIMDDIU.mjs → chunk-DXKVBX5S.mjs} +3 -4
  13. package/dist/chunk-DXKVBX5S.mjs.map +1 -0
  14. package/dist/{chunk-QEC2PWFG.mjs → chunk-KDUIUOGY.mjs} +2 -2
  15. package/dist/{chunk-RRNJVV5N.js → chunk-TFIHG36G.js} +3 -4
  16. package/dist/chunk-TFIHG36G.js.map +1 -0
  17. package/dist/{chunk-67LQLTKN.js → chunk-YQWSPTO6.js} +6 -6
  18. package/dist/contract.d.ts +8 -8
  19. package/dist/contract.js +2 -2
  20. package/dist/contract.mjs +1 -1
  21. package/dist/{createTransport-55339615.d.ts → createTransport-e1c1c3a4.d.ts} +2 -2
  22. package/dist/{eip1193-07d9c47f.d.ts → eip1193-acb194ab.d.ts} +3 -2
  23. package/dist/{encodeFunctionResult-f7c8e382.d.ts → encodeFunctionResult-0b6034e4.d.ts} +1 -1
  24. package/dist/{encodePacked-462bce62.d.ts → encodePacked-ae4027fb.d.ts} +1 -1
  25. package/dist/ens.d.ts +7 -6
  26. package/dist/ens.js +5 -5
  27. package/dist/ens.js.map +1 -1
  28. package/dist/ens.mjs +3 -3
  29. package/dist/ens.mjs.map +1 -1
  30. package/dist/ethers.d.ts +2 -2
  31. package/dist/ethers.js +4 -4
  32. package/dist/ethers.mjs +2 -2
  33. package/dist/{formatAbiItem-e5bbcadb.d.ts → formatAbiItem-42bac0c4.d.ts} +1 -1
  34. package/dist/{getAbiItem-443d91a0.d.ts → getAbiItem-8d2932b0.d.ts} +1 -1
  35. package/dist/{getEnsResolver-314de6e9.d.ts → getEnsResolver-a7f82464.d.ts} +4 -4
  36. package/dist/index.d.ts +16 -16
  37. package/dist/index.js +94 -94
  38. package/dist/index.mjs +1 -1
  39. package/dist/{parseGwei-4fb29d96.d.ts → parseGwei-e7f5b1de.d.ts} +5 -5
  40. package/dist/public.d.ts +5 -5
  41. package/dist/public.js +2 -2
  42. package/dist/public.mjs +1 -1
  43. package/dist/{publicKeyToAddress-52476df3.d.ts → publicKeyToAddress-68cd5723.d.ts} +2 -2
  44. package/dist/{test-2d6d9a8d.d.ts → test-ecf55578.d.ts} +3 -3
  45. package/dist/test.d.ts +5 -5
  46. package/dist/test.js +2 -2
  47. package/dist/test.mjs +1 -1
  48. package/dist/{typedData-337e8d8f.d.ts → typedData-419ff9b3.d.ts} +1 -1
  49. package/dist/utils/index.d.ts +15 -15
  50. package/dist/utils/index.js +2 -2
  51. package/dist/utils/index.mjs +1 -1
  52. package/dist/wallet.d.ts +5 -5
  53. package/dist/wallet.js +2 -2
  54. package/dist/wallet.mjs +1 -1
  55. package/dist/window.d.ts +3 -4
  56. package/package.json +2 -2
  57. package/dist/chunk-IRIMDDIU.mjs.map +0 -1
  58. package/dist/chunk-RRNJVV5N.js.map +0 -1
  59. /package/dist/{chunk-QEC2PWFG.mjs.map → chunk-KDUIUOGY.mjs.map} +0 -0
  60. /package/dist/{chunk-67LQLTKN.js.map → chunk-YQWSPTO6.js.map} +0 -0
@@ -118,7 +118,7 @@
118
118
 
119
119
 
120
120
 
121
- var _chunkRRNJVV5Njs = require('../chunk-RRNJVV5N.js');
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 = _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;
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
@@ -118,7 +118,7 @@ import {
118
118
  validateTypedData,
119
119
  verifyMessage,
120
120
  verifyTypedData
121
- } from "../chunk-IRIMDDIU.mjs";
121
+ } from "../chunk-DXKVBX5S.mjs";
122
122
  export {
123
123
  arrayRegex,
124
124
  assertRequest,
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-314de6e9.js';
2
- import './createTransport-55339615.js';
3
- import './eip1193-07d9c47f.js';
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-a7f82464.js';
2
+ import './createTransport-e1c1c3a4.js';
3
+ import './eip1193-acb194ab.js';
4
4
  import 'abitype';
5
- import './chain-02c77999.js';
5
+ import './chain-36627a05.js';
6
6
  import '@wagmi/chains';
7
- import './typedData-337e8d8f.js';
7
+ import './typedData-419ff9b3.js';
8
8
  import '@scure/bip32';
package/dist/wallet.js CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkRRNJVV5Njs = require('./chunk-RRNJVV5N.js');
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 = _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;
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
@@ -9,7 +9,7 @@ import {
9
9
  signTypedData,
10
10
  switchChain,
11
11
  watchAsset
12
- } from "./chunk-IRIMDDIU.mjs";
12
+ } from "./chunk-DXKVBX5S.mjs";
13
13
  export {
14
14
  addChain,
15
15
  getAddresses,
package/dist/window.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- import { R as Requests, E as Events } from './eip1193-07d9c47f.js';
1
+ import { E as EIP1193Provider } from './eip1193-acb194ab.js';
2
2
  import 'abitype';
3
- import './chain-02c77999.js';
3
+ import './chain-36627a05.js';
4
4
  import '@wagmi/chains';
5
5
 
6
- type WindowProvider = Requests & Events;
7
6
  declare global {
8
7
  interface Window {
9
- ethereum?: WindowProvider;
8
+ ethereum?: EIP1193Provider;
10
9
  }
11
10
  }
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-jxom-get-value.20230405T015215",
15
+ "version": "0.3.0-jxom-eip1193-provider-type.20230406T014812",
16
16
  "files": [
17
17
  "/abi",
18
18
  "/accounts",