viem 0.1.15 → 0.1.17
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/{chain-3a97fb0b.d.ts → chain-1b53ef88.d.ts} +1 -1
- package/dist/{chain-94e42876.d.ts → chain-ec8c485d.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-FBE36F5T.js → chunk-7FL2Z6KZ.js} +19 -19
- package/dist/{chunk-CTM2Y4HV.mjs → chunk-7VL5TXOM.mjs} +78 -11
- package/dist/chunk-7VL5TXOM.mjs.map +1 -0
- package/dist/{chunk-BDYQ746J.js → chunk-D4NT4PPV.js} +91 -24
- package/dist/chunk-D4NT4PPV.js.map +1 -0
- package/dist/{chunk-WUKEVVZO.mjs → chunk-SEQCMEKG.mjs} +2 -2
- package/dist/contract.d.ts +7 -7
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createClient-ddc3fa22.d.ts → createClient-a28317a9.d.ts} +2 -2
- package/dist/{createPublicClient-6792b8e9.d.ts → createPublicClient-0021fc35.d.ts} +12 -6
- package/dist/{eip1193-343f2a94.d.ts → eip1193-4f4e240c.d.ts} +1 -1
- package/dist/{encodeFunctionResult-4d3bafb8.d.ts → encodeFunctionResult-1f324375.d.ts} +1 -1
- package/dist/{encodePacked-a51cd55a.d.ts → encodePacked-d5d5264a.d.ts} +1 -1
- package/dist/ens.d.ts +4 -4
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.d.ts +10 -5
- package/dist/ethers.js +5 -4
- package/dist/ethers.js.map +1 -1
- package/dist/ethers.mjs +3 -2
- package/dist/ethers.mjs.map +1 -1
- package/dist/{formatAbiItem-e5d7437a.d.ts → formatAbiItem-15e8817d.d.ts} +1 -1
- package/dist/{getAbiItem-de2d6ac0.d.ts → getAbiItem-3e809ff9.d.ts} +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +94 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-21da474e.d.ts → parseGwei-eda6728f.d.ts} +21 -10
- package/dist/public.d.ts +4 -4
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/{test-07a99259.d.ts → test-a203fdee.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/utils/index.d.ts +29 -14
- package/dist/utils/index.js +10 -2
- package/dist/utils/index.mjs +11 -3
- package/dist/wallet.d.ts +4 -4
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/dist/window.d.ts +2 -2
- package/package.json +2 -1
- package/dist/chunk-BDYQ746J.js.map +0 -1
- package/dist/chunk-CTM2Y4HV.mjs.map +0 -1
- /package/dist/{chunk-FBE36F5T.js.map → chunk-7FL2Z6KZ.js.map} +0 -0
- /package/dist/{chunk-WUKEVVZO.mjs.map → chunk-SEQCMEKG.mjs.map} +0 -0
package/dist/wallet.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export { bk as AddChainParameters, bl as FormattedTransactionRequest, bn as GetAddressesReturnType, bm as GetPermissionsReturnType, bo as RequestAddressesReturnType, bp as RequestPermissionsReturnType, S as SendTransactionParameters, bq as SendTransactionReturnType, br as SignMessageParameters, bs as SignMessageReturnType, bt as SignTypedDataParameters, bu as SignTypedDataReturnType, bv as SwitchChainParameters, bw as WatchAssetParameters, bx as WatchAssetReturnType, ba as addChain, bb as getAddresses, bc as getPermissions, bd as requestAddresses, be as requestPermissions, bf as sendTransaction, bg as signMessage, bh as signTypedData, bi as switchChain, bj as watchAsset } from './createPublicClient-
|
2
|
-
import './eip1193-
|
1
|
+
export { bk as AddChainParameters, bl as FormattedTransactionRequest, bn as GetAddressesReturnType, bm as GetPermissionsReturnType, bo as RequestAddressesReturnType, bp as RequestPermissionsReturnType, S as SendTransactionParameters, bq as SendTransactionReturnType, br as SignMessageParameters, bs as SignMessageReturnType, bt as SignTypedDataParameters, bu as SignTypedDataReturnType, bv as SwitchChainParameters, bw as WatchAssetParameters, bx as WatchAssetReturnType, ba as addChain, bb as getAddresses, bc as getPermissions, bd as requestAddresses, be as requestPermissions, bf as sendTransaction, bg as signMessage, bh as signTypedData, bi as switchChain, bj as watchAsset } from './createPublicClient-0021fc35.js';
|
2
|
+
import './eip1193-4f4e240c.js';
|
3
3
|
import 'abitype';
|
4
|
-
import './chain-
|
4
|
+
import './chain-1b53ef88.js';
|
5
5
|
import '@wagmi/chains';
|
6
|
-
import './createClient-
|
6
|
+
import './createClient-a28317a9.js';
|
package/dist/wallet.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
var
|
12
|
+
var _chunkD4NT4PPVjs = require('./chunk-D4NT4PPV.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkBDYQ746Jjs = require('./chunk-BDYQ746J.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
24
|
+
exports.addChain = _chunkD4NT4PPVjs.addChain; exports.getAddresses = _chunkD4NT4PPVjs.getAddresses; exports.getPermissions = _chunkD4NT4PPVjs.getPermissions; exports.requestAddresses = _chunkD4NT4PPVjs.requestAddresses; exports.requestPermissions = _chunkD4NT4PPVjs.requestPermissions; exports.sendTransaction = _chunkD4NT4PPVjs.sendTransaction; exports.signMessage = _chunkD4NT4PPVjs.signMessage; exports.signTypedData = _chunkD4NT4PPVjs.signTypedData; exports.switchChain = _chunkD4NT4PPVjs.switchChain; exports.watchAsset = _chunkD4NT4PPVjs.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-4f4e240c.js';
|
2
2
|
import 'abitype';
|
3
|
-
import './chain-
|
3
|
+
import './chain-1b53ef88.js';
|
4
4
|
import '@wagmi/chains';
|
5
5
|
|
6
6
|
type WindowProvider = Requests & Events;
|
package/package.json
CHANGED
@@ -3,13 +3,14 @@
|
|
3
3
|
"description": "TypeScript Interface for Ethereum",
|
4
4
|
"dependencies": {
|
5
5
|
"@noble/hashes": "^1.1.2",
|
6
|
+
"@noble/secp256k1": "^1.7.1",
|
6
7
|
"@wagmi/chains": "~0.2.11",
|
7
8
|
"abitype": "~0.7.1",
|
8
9
|
"idna-uts46-hx": "^4.1.2",
|
9
10
|
"isomorphic-ws": "^5.0.0",
|
10
11
|
"ws": "^8.12.0"
|
11
12
|
},
|
12
|
-
"version": "0.1.
|
13
|
+
"version": "0.1.17",
|
13
14
|
"files": [
|
14
15
|
"/abi",
|
15
16
|
"/dist",
|