viem 0.2.0-canary.20230316T042447 → 0.2.0-jxom-async-verify-message.20230321T000803
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/account-07d04222.d.ts +74 -0
- package/dist/{chain-1b53ef88.d.ts → chain-b2e88e30.d.ts} +113 -108
- package/dist/{chain-ec8c485d.d.ts → chain-c4f924cf.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-A5BRAPQQ.js → chunk-22BDIC7J.js} +404 -106
- package/dist/chunk-22BDIC7J.js.map +1 -0
- package/dist/{chunk-GZ67J32T.js → chunk-2NJCP2DN.js} +19 -19
- package/dist/{chunk-GZ67J32T.js.map → chunk-2NJCP2DN.js.map} +1 -1
- package/dist/{chunk-ISLCPEI2.mjs → chunk-FEPL5HFW.mjs} +334 -36
- package/dist/chunk-FEPL5HFW.mjs.map +1 -0
- package/dist/{chunk-PLALZ2GD.mjs → chunk-OZCG5IO7.mjs} +2 -2
- package/dist/chunk-OZCG5IO7.mjs.map +1 -0
- package/dist/contract.d.ts +8 -7
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createClient-a28317a9.d.ts → createClient-d4f1dea1.d.ts} +6 -6
- package/dist/{createPublicClient-75540130.d.ts → createPublicClient-3a714a8d.d.ts} +154 -207
- package/dist/{eip1193-4f4e240c.d.ts → eip1193-cd3e872a.d.ts} +1 -1
- package/dist/{encodeFunctionResult-1f324375.d.ts → encodeFunctionResult-750c9055.d.ts} +1 -1
- package/dist/{encodePacked-d5d5264a.d.ts → encodePacked-de74201f.d.ts} +1 -1
- package/dist/ens.d.ts +5 -4
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.d.ts +3 -5
- package/dist/ethers.js +3 -3
- package/dist/ethers.mjs +1 -1
- package/dist/{formatAbiItem-15e8817d.d.ts → formatAbiItem-fdbdda39.d.ts} +1 -1
- package/dist/{getAbiItem-3e809ff9.d.ts → getAbiItem-9d709e3b.d.ts} +1 -1
- package/dist/index.d.ts +14 -13
- package/dist/index.js +99 -91
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-6fff7cbe.d.ts → parseGwei-b138c041.d.ts} +49 -12
- package/dist/public.d.ts +5 -4
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/{test-2bd23d7e.d.ts → test-c70126a6.d.ts} +33 -32
- package/dist/test.d.ts +10 -10
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.d.ts +28 -18
- package/dist/utils/index.js +10 -2
- package/dist/utils/index.mjs +11 -3
- package/dist/wallet.d.ts +5 -4
- 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-A5BRAPQQ.js.map +0 -1
- package/dist/chunk-ISLCPEI2.mjs.map +0 -1
- package/dist/chunk-PLALZ2GD.mjs.map +0 -1
package/dist/utils/index.js
CHANGED
@@ -105,11 +105,11 @@
|
|
105
105
|
|
106
106
|
|
107
107
|
|
108
|
-
var _chunkA5BRAPQQjs = require('../chunk-A5BRAPQQ.js');
|
109
108
|
|
110
109
|
|
111
110
|
|
112
111
|
|
112
|
+
var _chunk22BDIC7Jjs = require('../chunk-22BDIC7J.js');
|
113
113
|
|
114
114
|
|
115
115
|
|
@@ -213,5 +213,13 @@ var _chunkA5BRAPQQjs = require('../chunk-A5BRAPQQ.js');
|
|
213
213
|
|
214
214
|
|
215
215
|
|
216
|
-
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
exports.arrayRegex = _chunk22BDIC7Jjs.arrayRegex; exports.assertRequest = _chunk22BDIC7Jjs.assertRequest; exports.boolToBytes = _chunk22BDIC7Jjs.boolToBytes; exports.boolToHex = _chunk22BDIC7Jjs.boolToHex; exports.buildRequest = _chunk22BDIC7Jjs.buildRequest; exports.bytesRegex = _chunk22BDIC7Jjs.bytesRegex; exports.bytesToBigint = _chunk22BDIC7Jjs.bytesToBigint; exports.bytesToBool = _chunk22BDIC7Jjs.bytesToBool; exports.bytesToHex = _chunk22BDIC7Jjs.bytesToHex; exports.bytesToNumber = _chunk22BDIC7Jjs.bytesToNumber; exports.bytesToString = _chunk22BDIC7Jjs.bytesToString; exports.concat = _chunk22BDIC7Jjs.concat; exports.concatBytes = _chunk22BDIC7Jjs.concatBytes; exports.concatHex = _chunk22BDIC7Jjs.concatHex; exports.containsNodeError = _chunk22BDIC7Jjs.containsNodeError; exports.decodeAbiParameters = _chunk22BDIC7Jjs.decodeAbiParameters; exports.decodeErrorResult = _chunk22BDIC7Jjs.decodeErrorResult; exports.decodeEventLog = _chunk22BDIC7Jjs.decodeEventLog; exports.decodeFunctionData = _chunk22BDIC7Jjs.decodeFunctionData; exports.decodeFunctionResult = _chunk22BDIC7Jjs.decodeFunctionResult; exports.defineBlock = _chunk22BDIC7Jjs.defineBlock; exports.defineChain = _chunk22BDIC7Jjs.defineChain; exports.defineFormatter = _chunk22BDIC7Jjs.defineFormatter; exports.defineTransaction = _chunk22BDIC7Jjs.defineTransaction; exports.defineTransactionReceipt = _chunk22BDIC7Jjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk22BDIC7Jjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk22BDIC7Jjs.encodeAbiParameters; exports.encodeDeployData = _chunk22BDIC7Jjs.encodeDeployData; exports.encodeErrorResult = _chunk22BDIC7Jjs.encodeErrorResult; exports.encodeEventTopics = _chunk22BDIC7Jjs.encodeEventTopics; exports.encodeFunctionData = _chunk22BDIC7Jjs.encodeFunctionData; exports.encodeFunctionResult = _chunk22BDIC7Jjs.encodeFunctionResult; exports.encodePacked = _chunk22BDIC7Jjs.encodePacked; exports.extract = _chunk22BDIC7Jjs.extract; exports.extractFunctionName = _chunk22BDIC7Jjs.extractFunctionName; exports.extractFunctionParams = _chunk22BDIC7Jjs.extractFunctionParams; exports.extractFunctionParts = _chunk22BDIC7Jjs.extractFunctionParts; exports.extractFunctionType = _chunk22BDIC7Jjs.extractFunctionType; exports.format = _chunk22BDIC7Jjs.format; exports.formatAbiItem = _chunk22BDIC7Jjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunk22BDIC7Jjs.formatAbiItemWithArgs; exports.formatBlock = _chunk22BDIC7Jjs.formatBlock; exports.formatEther = _chunk22BDIC7Jjs.formatEther; exports.formatGwei = _chunk22BDIC7Jjs.formatGwei; exports.formatTransaction = _chunk22BDIC7Jjs.formatTransaction; exports.formatTransactionRequest = _chunk22BDIC7Jjs.formatTransactionRequest; exports.formatUnits = _chunk22BDIC7Jjs.formatUnits; exports.fromBytes = _chunk22BDIC7Jjs.fromBytes; exports.fromHex = _chunk22BDIC7Jjs.fromHex; exports.fromRlp = _chunk22BDIC7Jjs.fromRlp; exports.getAbiItem = _chunk22BDIC7Jjs.getAbiItem; exports.getAccount = _chunk22BDIC7Jjs.getAccount; exports.getAddress = _chunk22BDIC7Jjs.getAddress; exports.getCallError = _chunk22BDIC7Jjs.getCallError; exports.getChainContractAddress = _chunk22BDIC7Jjs.getChainContractAddress; exports.getContractAddress = _chunk22BDIC7Jjs.getContractAddress; exports.getContractError = _chunk22BDIC7Jjs.getContractError; exports.getCreate2Address = _chunk22BDIC7Jjs.getCreate2Address; exports.getCreateAddress = _chunk22BDIC7Jjs.getCreateAddress; exports.getEstimateGasError = _chunk22BDIC7Jjs.getEstimateGasError; exports.getEventSelector = _chunk22BDIC7Jjs.getEventSelector; exports.getFunctionSelector = _chunk22BDIC7Jjs.getFunctionSelector; exports.getNodeError = _chunk22BDIC7Jjs.getNodeError; exports.getSocket = _chunk22BDIC7Jjs.getSocket; exports.getTransactionError = _chunk22BDIC7Jjs.getTransactionError; exports.hashMessage = _chunk22BDIC7Jjs.hashMessage; exports.hashTypedData = _chunk22BDIC7Jjs.hashTypedData; exports.hexToBigInt = _chunk22BDIC7Jjs.hexToBigInt; exports.hexToBool = _chunk22BDIC7Jjs.hexToBool; exports.hexToBytes = _chunk22BDIC7Jjs.hexToBytes; exports.hexToNumber = _chunk22BDIC7Jjs.hexToNumber; exports.hexToString = _chunk22BDIC7Jjs.hexToString; exports.integerRegex = _chunk22BDIC7Jjs.integerRegex; exports.isAddress = _chunk22BDIC7Jjs.isAddress; exports.isAddressEqual = _chunk22BDIC7Jjs.isAddressEqual; exports.isBytes = _chunk22BDIC7Jjs.isBytes; exports.isHex = _chunk22BDIC7Jjs.isHex; exports.keccak256 = _chunk22BDIC7Jjs.keccak256; exports.numberToBytes = _chunk22BDIC7Jjs.numberToBytes; exports.numberToHex = _chunk22BDIC7Jjs.numberToHex; exports.pad = _chunk22BDIC7Jjs.pad; exports.padBytes = _chunk22BDIC7Jjs.padBytes; exports.padHex = _chunk22BDIC7Jjs.padHex; exports.parseAbi = _chunk22BDIC7Jjs.parseAbi; exports.parseAbiItem = _chunk22BDIC7Jjs.parseAbiItem; exports.parseAbiParameter = _chunk22BDIC7Jjs.parseAbiParameter; exports.parseAbiParameters = _chunk22BDIC7Jjs.parseAbiParameters; exports.parseAccount = _chunk22BDIC7Jjs.parseAccount; exports.parseEther = _chunk22BDIC7Jjs.parseEther; exports.parseGwei = _chunk22BDIC7Jjs.parseGwei; exports.parseUnits = _chunk22BDIC7Jjs.parseUnits; exports.prepareRequest = _chunk22BDIC7Jjs.prepareRequest; exports.recoverAddress = _chunk22BDIC7Jjs.recoverAddress; exports.recoverMessageAddress = _chunk22BDIC7Jjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunk22BDIC7Jjs.recoverTypedDataAddress; exports.rpc = _chunk22BDIC7Jjs.rpc; exports.size = _chunk22BDIC7Jjs.size; exports.slice = _chunk22BDIC7Jjs.slice; exports.sliceBytes = _chunk22BDIC7Jjs.sliceBytes; exports.sliceHex = _chunk22BDIC7Jjs.sliceHex; exports.stringToBytes = _chunk22BDIC7Jjs.stringToBytes; exports.stringToHex = _chunk22BDIC7Jjs.stringToHex; exports.stringify = _chunk22BDIC7Jjs.stringify; exports.toBytes = _chunk22BDIC7Jjs.toBytes; exports.toHex = _chunk22BDIC7Jjs.toHex; exports.toRlp = _chunk22BDIC7Jjs.toRlp; exports.transactionType = _chunk22BDIC7Jjs.transactionType; exports.trim = _chunk22BDIC7Jjs.trim; exports.verifyMessage = _chunk22BDIC7Jjs.verifyMessage; exports.verifyTypedData = _chunk22BDIC7Jjs.verifyTypedData;
|
217
225
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
@@ -65,6 +65,7 @@ import {
|
|
65
65
|
getSocket,
|
66
66
|
getTransactionError,
|
67
67
|
hashMessage,
|
68
|
+
hashTypedData,
|
68
69
|
hexToBigInt,
|
69
70
|
hexToBool,
|
70
71
|
hexToBytes,
|
@@ -85,12 +86,14 @@ import {
|
|
85
86
|
parseAbiItem,
|
86
87
|
parseAbiParameter,
|
87
88
|
parseAbiParameters,
|
89
|
+
parseAccount,
|
88
90
|
parseEther,
|
89
91
|
parseGwei,
|
90
92
|
parseUnits,
|
91
93
|
prepareRequest,
|
92
94
|
recoverAddress,
|
93
95
|
recoverMessageAddress,
|
96
|
+
recoverTypedDataAddress,
|
94
97
|
rpc,
|
95
98
|
size,
|
96
99
|
slice,
|
@@ -104,8 +107,9 @@ import {
|
|
104
107
|
toRlp,
|
105
108
|
transactionType,
|
106
109
|
trim,
|
107
|
-
verifyMessage
|
108
|
-
|
110
|
+
verifyMessage,
|
111
|
+
verifyTypedData
|
112
|
+
} from "../chunk-FEPL5HFW.mjs";
|
109
113
|
export {
|
110
114
|
arrayRegex,
|
111
115
|
assertRequest,
|
@@ -173,6 +177,7 @@ export {
|
|
173
177
|
getSocket,
|
174
178
|
getTransactionError,
|
175
179
|
hashMessage,
|
180
|
+
hashTypedData,
|
176
181
|
hexToBigInt,
|
177
182
|
hexToBool,
|
178
183
|
hexToBytes,
|
@@ -193,12 +198,14 @@ export {
|
|
193
198
|
parseAbiItem,
|
194
199
|
parseAbiParameter,
|
195
200
|
parseAbiParameters,
|
201
|
+
parseAccount,
|
196
202
|
parseEther,
|
197
203
|
parseGwei,
|
198
204
|
parseUnits,
|
199
205
|
prepareRequest,
|
200
206
|
recoverAddress,
|
201
207
|
recoverMessageAddress,
|
208
|
+
recoverTypedDataAddress,
|
202
209
|
rpc,
|
203
210
|
size,
|
204
211
|
slice,
|
@@ -212,6 +219,7 @@ export {
|
|
212
219
|
toRlp,
|
213
220
|
transactionType,
|
214
221
|
trim,
|
215
|
-
verifyMessage
|
222
|
+
verifyMessage,
|
223
|
+
verifyTypedData
|
216
224
|
};
|
217
225
|
//# sourceMappingURL=index.mjs.map
|
package/dist/wallet.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
export {
|
2
|
-
import './eip1193-
|
1
|
+
export { bj as AddChainParameters, bk as FormattedTransactionRequest, bm as GetAddressesReturnType, bl as GetPermissionsReturnType, bn as RequestAddressesReturnType, bo as RequestPermissionsReturnType, S as SendTransactionParameters, bp as SendTransactionReturnType, bq as SignMessageParameters, br as SignMessageReturnType, bs as SignTypedDataParameters, bt as SignTypedDataReturnType, bu as SwitchChainParameters, bv as WatchAssetParameters, bw as WatchAssetReturnType, b9 as addChain, ba as getAddresses, bb as getPermissions, bc as requestAddresses, bd as requestPermissions, be as sendTransaction, bf as signMessage, bg as signTypedData, bh as switchChain, bi as watchAsset } from './createPublicClient-3a714a8d.js';
|
2
|
+
import './eip1193-cd3e872a.js';
|
3
3
|
import 'abitype';
|
4
|
-
import './chain-
|
4
|
+
import './chain-b2e88e30.js';
|
5
5
|
import '@wagmi/chains';
|
6
|
-
import './createClient-
|
6
|
+
import './createClient-d4f1dea1.js';
|
7
|
+
import './account-07d04222.js';
|
package/dist/wallet.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
var
|
12
|
+
var _chunk22BDIC7Jjs = require('./chunk-22BDIC7J.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkA5BRAPQQjs = require('./chunk-A5BRAPQQ.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
24
|
+
exports.addChain = _chunk22BDIC7Jjs.addChain; exports.getAddresses = _chunk22BDIC7Jjs.getAddresses; exports.getPermissions = _chunk22BDIC7Jjs.getPermissions; exports.requestAddresses = _chunk22BDIC7Jjs.requestAddresses; exports.requestPermissions = _chunk22BDIC7Jjs.requestPermissions; exports.sendTransaction = _chunk22BDIC7Jjs.sendTransaction; exports.signMessage = _chunk22BDIC7Jjs.signMessage; exports.signTypedData = _chunk22BDIC7Jjs.signTypedData; exports.switchChain = _chunk22BDIC7Jjs.switchChain; exports.watchAsset = _chunk22BDIC7Jjs.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-cd3e872a.js';
|
2
2
|
import 'abitype';
|
3
|
-
import './chain-
|
3
|
+
import './chain-b2e88e30.js';
|
4
4
|
import '@wagmi/chains';
|
5
5
|
|
6
6
|
type WindowProvider = Requests & Events;
|