viem 0.0.1-alpha.34 → 0.0.1-alpha.36
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/README.md +132 -0
- package/abi/package.json +4 -0
- package/dist/abi.d.ts +5 -0
- package/dist/abi.js +11 -0
- package/dist/abi.js.map +1 -0
- package/dist/abi.mjs +11 -0
- package/dist/abi.mjs.map +1 -0
- package/dist/{chain-4a0d4164.d.ts → chain-a34aa9a2.d.ts} +65 -63
- package/dist/{chain-ce6e149c.d.ts → chain-b1229232.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +46 -46
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-EJEZIHXK.js → chunk-4AEFOF5R.js} +21 -23
- package/dist/chunk-4AEFOF5R.js.map +1 -0
- package/dist/{chunk-VP57P6CD.mjs → chunk-AXATFOBJ.mjs} +1885 -146
- package/dist/chunk-AXATFOBJ.mjs.map +1 -0
- package/dist/{chunk-KQQLLKZV.mjs → chunk-CUT73KXY.mjs} +3 -5
- package/dist/{chunk-KQQLLKZV.mjs.map → chunk-CUT73KXY.mjs.map} +1 -1
- package/dist/{chunk-F76TECTY.js → chunk-KXGQFW2R.js} +1907 -168
- package/dist/chunk-KXGQFW2R.js.map +1 -0
- package/dist/contract.d.ts +7 -8
- package/dist/contract.js +2 -6
- package/dist/contract.mjs +15 -19
- package/dist/{createClient-8a8b4bf4.d.ts → createClient-8024655d.d.ts} +3 -11
- package/dist/{createPublicClient-b5afe6b8.d.ts → createPublicClient-f283b09d.d.ts} +155 -39
- package/dist/{eip1193-8c021438.d.ts → eip1193-a4f254d2.d.ts} +12 -2
- package/dist/{getAbiItem-d7aa40b1.d.ts → encodeFunctionResult-c3d6c7ea.d.ts} +3 -25
- package/dist/ens.d.ts +4 -5
- package/dist/ens.js +3 -4
- package/dist/ens.js.map +1 -1
- package/dist/ens.mjs +2 -3
- package/dist/ens.mjs.map +1 -1
- package/dist/{formatAbiItem-6e00e5e6.d.ts → formatAbiItem-d79cb207.d.ts} +1 -1
- package/dist/getAbiItem-48e793da.d.ts +22 -0
- package/dist/index.d.ts +27 -17
- package/dist/index.js +89 -92
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +85 -88
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-ce3a9dfa.d.ts → parseGwei-5dc2744d.d.ts} +11 -23
- package/dist/public.d.ts +6 -7
- package/dist/public.js +2 -3
- package/dist/public.mjs +1 -2
- package/dist/{test-5d5828c9.d.ts → test-f8bc2fa7.d.ts} +9 -17
- package/dist/test.d.ts +5 -5
- package/dist/test.js +2 -3
- package/dist/test.mjs +1 -2
- package/dist/utils/index.d.ts +27 -18
- package/dist/utils/index.js +2 -4
- package/dist/utils/index.mjs +11 -13
- package/dist/wallet.d.ts +5 -5
- package/dist/wallet.js +2 -3
- package/dist/wallet.mjs +5 -6
- package/dist/window.d.ts +2 -2
- package/package.json +8 -2
- package/dist/chunk-7ALCXZ5K.js +0 -1216
- package/dist/chunk-7ALCXZ5K.js.map +0 -1
- package/dist/chunk-EBLS4P77.js +0 -265
- package/dist/chunk-EBLS4P77.js.map +0 -1
- package/dist/chunk-EJEZIHXK.js.map +0 -1
- package/dist/chunk-F76TECTY.js.map +0 -1
- package/dist/chunk-IUCGWGPX.js +0 -197
- package/dist/chunk-IUCGWGPX.js.map +0 -1
- package/dist/chunk-NMET3ZHG.mjs +0 -265
- package/dist/chunk-NMET3ZHG.mjs.map +0 -1
- package/dist/chunk-TNN5X44H.mjs +0 -197
- package/dist/chunk-TNN5X44H.mjs.map +0 -1
- package/dist/chunk-VHZHROXW.mjs +0 -1216
- package/dist/chunk-VHZHROXW.mjs.map +0 -1
- package/dist/chunk-VP57P6CD.mjs.map +0 -1
- package/dist/wallet-5ab86528.d.ts +0 -115
package/dist/utils/index.js
CHANGED
@@ -89,8 +89,8 @@
|
|
89
89
|
|
90
90
|
|
91
91
|
|
92
|
+
var _chunkKXGQFW2Rjs = require('../chunk-KXGQFW2R.js');
|
92
93
|
|
93
|
-
var _chunkF76TECTYjs = require('../chunk-F76TECTY.js');
|
94
94
|
|
95
95
|
|
96
96
|
|
@@ -181,7 +181,5 @@ var _chunkF76TECTYjs = require('../chunk-F76TECTY.js');
|
|
181
181
|
|
182
182
|
|
183
183
|
|
184
|
-
|
185
|
-
|
186
|
-
exports.assertRequest = _chunkF76TECTYjs.assertRequest; exports.boolToBytes = _chunkF76TECTYjs.boolToBytes; exports.boolToHex = _chunkF76TECTYjs.boolToHex; exports.buildRequest = _chunkF76TECTYjs.buildRequest; exports.bytesToBigint = _chunkF76TECTYjs.bytesToBigint; exports.bytesToBool = _chunkF76TECTYjs.bytesToBool; exports.bytesToHex = _chunkF76TECTYjs.bytesToHex; exports.bytesToNumber = _chunkF76TECTYjs.bytesToNumber; exports.bytesToString = _chunkF76TECTYjs.bytesToString; exports.containsNodeError = _chunkF76TECTYjs.containsNodeError; exports.decodeAbi = _chunkF76TECTYjs.decodeAbi; exports.decodeErrorResult = _chunkF76TECTYjs.decodeErrorResult; exports.decodeEventLog = _chunkF76TECTYjs.decodeEventLog; exports.decodeFunctionData = _chunkF76TECTYjs.decodeFunctionData; exports.decodeFunctionResult = _chunkF76TECTYjs.decodeFunctionResult; exports.defineBlock = _chunkF76TECTYjs.defineBlock; exports.defineChain = _chunkF76TECTYjs.defineChain; exports.defineFormatter = _chunkF76TECTYjs.defineFormatter; exports.defineTransaction = _chunkF76TECTYjs.defineTransaction; exports.defineTransactionReceipt = _chunkF76TECTYjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkF76TECTYjs.defineTransactionRequest; exports.encodeAbi = _chunkF76TECTYjs.encodeAbi; exports.encodeDeployData = _chunkF76TECTYjs.encodeDeployData; exports.encodeErrorResult = _chunkF76TECTYjs.encodeErrorResult; exports.encodeEventTopics = _chunkF76TECTYjs.encodeEventTopics; exports.encodeFunctionData = _chunkF76TECTYjs.encodeFunctionData; exports.encodeFunctionResult = _chunkF76TECTYjs.encodeFunctionResult; exports.etherUnits = _chunkF76TECTYjs.etherUnits; exports.extract = _chunkF76TECTYjs.extract; exports.extractFunctionName = _chunkF76TECTYjs.extractFunctionName; exports.extractFunctionParams = _chunkF76TECTYjs.extractFunctionParams; exports.extractFunctionParts = _chunkF76TECTYjs.extractFunctionParts; exports.extractFunctionType = _chunkF76TECTYjs.extractFunctionType; exports.format = _chunkF76TECTYjs.format; exports.formatAbiItem = _chunkF76TECTYjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkF76TECTYjs.formatAbiItemWithArgs; exports.formatBlock = _chunkF76TECTYjs.formatBlock; exports.formatEther = _chunkF76TECTYjs.formatEther; exports.formatGwei = _chunkF76TECTYjs.formatGwei; exports.formatTransaction = _chunkF76TECTYjs.formatTransaction; exports.formatTransactionRequest = _chunkF76TECTYjs.formatTransactionRequest; exports.formatUnit = _chunkF76TECTYjs.formatUnit; exports.fromBytes = _chunkF76TECTYjs.fromBytes; exports.fromHex = _chunkF76TECTYjs.fromHex; exports.fromRlp = _chunkF76TECTYjs.fromRlp; exports.getAbiItem = _chunkF76TECTYjs.getAbiItem; exports.getAddress = _chunkF76TECTYjs.getAddress; exports.getCallError = _chunkF76TECTYjs.getCallError; exports.getContractAddress = _chunkF76TECTYjs.getContractAddress; exports.getContractError = _chunkF76TECTYjs.getContractError; exports.getCreate2Address = _chunkF76TECTYjs.getCreate2Address; exports.getCreateAddress = _chunkF76TECTYjs.getCreateAddress; exports.getEstimateGasError = _chunkF76TECTYjs.getEstimateGasError; exports.getEventSelector = _chunkF76TECTYjs.getEventSelector; exports.getFunctionSelector = _chunkF76TECTYjs.getFunctionSelector; exports.getNodeError = _chunkF76TECTYjs.getNodeError; exports.getSocket = _chunkF76TECTYjs.getSocket; exports.getTransactionError = _chunkF76TECTYjs.getTransactionError; exports.gweiUnits = _chunkF76TECTYjs.gweiUnits; exports.hexToBigInt = _chunkF76TECTYjs.hexToBigInt; exports.hexToBool = _chunkF76TECTYjs.hexToBool; exports.hexToBytes = _chunkF76TECTYjs.hexToBytes; exports.hexToNumber = _chunkF76TECTYjs.hexToNumber; exports.hexToString = _chunkF76TECTYjs.hexToString; exports.isAddress = _chunkF76TECTYjs.isAddress; exports.isAddressEqual = _chunkF76TECTYjs.isAddressEqual; exports.isBytes = _chunkF76TECTYjs.isBytes; exports.isHex = _chunkF76TECTYjs.isHex; exports.keccak256 = _chunkF76TECTYjs.keccak256; exports.numberToBytes = _chunkF76TECTYjs.numberToBytes; exports.numberToHex = _chunkF76TECTYjs.numberToHex; exports.pad = _chunkF76TECTYjs.pad; exports.padBytes = _chunkF76TECTYjs.padBytes; exports.padHex = _chunkF76TECTYjs.padHex; exports.parseEther = _chunkF76TECTYjs.parseEther; exports.parseGwei = _chunkF76TECTYjs.parseGwei; exports.parseUnit = _chunkF76TECTYjs.parseUnit; exports.rpc = _chunkF76TECTYjs.rpc; exports.size = _chunkF76TECTYjs.size; exports.slice = _chunkF76TECTYjs.slice; exports.sliceBytes = _chunkF76TECTYjs.sliceBytes; exports.sliceHex = _chunkF76TECTYjs.sliceHex; exports.stringToBytes = _chunkF76TECTYjs.stringToBytes; exports.stringToHex = _chunkF76TECTYjs.stringToHex; exports.stringify = _chunkF76TECTYjs.stringify; exports.toBytes = _chunkF76TECTYjs.toBytes; exports.toHex = _chunkF76TECTYjs.toHex; exports.toRlp = _chunkF76TECTYjs.toRlp; exports.transactionType = _chunkF76TECTYjs.transactionType; exports.trim = _chunkF76TECTYjs.trim; exports.weiUnits = _chunkF76TECTYjs.weiUnits;
|
184
|
+
exports.assertRequest = _chunkKXGQFW2Rjs.assertRequest; exports.boolToBytes = _chunkKXGQFW2Rjs.boolToBytes; exports.boolToHex = _chunkKXGQFW2Rjs.boolToHex; exports.buildRequest = _chunkKXGQFW2Rjs.buildRequest; exports.bytesToBigint = _chunkKXGQFW2Rjs.bytesToBigint; exports.bytesToBool = _chunkKXGQFW2Rjs.bytesToBool; exports.bytesToHex = _chunkKXGQFW2Rjs.bytesToHex; exports.bytesToNumber = _chunkKXGQFW2Rjs.bytesToNumber; exports.bytesToString = _chunkKXGQFW2Rjs.bytesToString; exports.containsNodeError = _chunkKXGQFW2Rjs.containsNodeError; exports.decodeAbiParameters = _chunkKXGQFW2Rjs.decodeAbiParameters; exports.decodeErrorResult = _chunkKXGQFW2Rjs.decodeErrorResult; exports.decodeEventLog = _chunkKXGQFW2Rjs.decodeEventLog; exports.decodeFunctionData = _chunkKXGQFW2Rjs.decodeFunctionData; exports.decodeFunctionResult = _chunkKXGQFW2Rjs.decodeFunctionResult; exports.defineBlock = _chunkKXGQFW2Rjs.defineBlock; exports.defineChain = _chunkKXGQFW2Rjs.defineChain; exports.defineFormatter = _chunkKXGQFW2Rjs.defineFormatter; exports.defineTransaction = _chunkKXGQFW2Rjs.defineTransaction; exports.defineTransactionReceipt = _chunkKXGQFW2Rjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkKXGQFW2Rjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkKXGQFW2Rjs.encodeAbiParameters; exports.encodeDeployData = _chunkKXGQFW2Rjs.encodeDeployData; exports.encodeErrorResult = _chunkKXGQFW2Rjs.encodeErrorResult; exports.encodeEventTopics = _chunkKXGQFW2Rjs.encodeEventTopics; exports.encodeFunctionData = _chunkKXGQFW2Rjs.encodeFunctionData; exports.encodeFunctionResult = _chunkKXGQFW2Rjs.encodeFunctionResult; exports.extract = _chunkKXGQFW2Rjs.extract; exports.extractFunctionName = _chunkKXGQFW2Rjs.extractFunctionName; exports.extractFunctionParams = _chunkKXGQFW2Rjs.extractFunctionParams; exports.extractFunctionParts = _chunkKXGQFW2Rjs.extractFunctionParts; exports.extractFunctionType = _chunkKXGQFW2Rjs.extractFunctionType; exports.format = _chunkKXGQFW2Rjs.format; exports.formatAbiItem = _chunkKXGQFW2Rjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkKXGQFW2Rjs.formatAbiItemWithArgs; exports.formatBlock = _chunkKXGQFW2Rjs.formatBlock; exports.formatEther = _chunkKXGQFW2Rjs.formatEther; exports.formatGwei = _chunkKXGQFW2Rjs.formatGwei; exports.formatTransaction = _chunkKXGQFW2Rjs.formatTransaction; exports.formatTransactionRequest = _chunkKXGQFW2Rjs.formatTransactionRequest; exports.formatUnit = _chunkKXGQFW2Rjs.formatUnit; exports.fromBytes = _chunkKXGQFW2Rjs.fromBytes; exports.fromHex = _chunkKXGQFW2Rjs.fromHex; exports.fromRlp = _chunkKXGQFW2Rjs.fromRlp; exports.getAbiItem = _chunkKXGQFW2Rjs.getAbiItem; exports.getAccount = _chunkKXGQFW2Rjs.getAccount; exports.getAddress = _chunkKXGQFW2Rjs.getAddress; exports.getCallError = _chunkKXGQFW2Rjs.getCallError; exports.getContractAddress = _chunkKXGQFW2Rjs.getContractAddress; exports.getContractError = _chunkKXGQFW2Rjs.getContractError; exports.getCreate2Address = _chunkKXGQFW2Rjs.getCreate2Address; exports.getCreateAddress = _chunkKXGQFW2Rjs.getCreateAddress; exports.getEstimateGasError = _chunkKXGQFW2Rjs.getEstimateGasError; exports.getEventSelector = _chunkKXGQFW2Rjs.getEventSelector; exports.getFunctionSelector = _chunkKXGQFW2Rjs.getFunctionSelector; exports.getNodeError = _chunkKXGQFW2Rjs.getNodeError; exports.getSocket = _chunkKXGQFW2Rjs.getSocket; exports.getTransactionError = _chunkKXGQFW2Rjs.getTransactionError; exports.hexToBigInt = _chunkKXGQFW2Rjs.hexToBigInt; exports.hexToBool = _chunkKXGQFW2Rjs.hexToBool; exports.hexToBytes = _chunkKXGQFW2Rjs.hexToBytes; exports.hexToNumber = _chunkKXGQFW2Rjs.hexToNumber; exports.hexToString = _chunkKXGQFW2Rjs.hexToString; exports.isAddress = _chunkKXGQFW2Rjs.isAddress; exports.isAddressEqual = _chunkKXGQFW2Rjs.isAddressEqual; exports.isBytes = _chunkKXGQFW2Rjs.isBytes; exports.isHex = _chunkKXGQFW2Rjs.isHex; exports.keccak256 = _chunkKXGQFW2Rjs.keccak256; exports.numberToBytes = _chunkKXGQFW2Rjs.numberToBytes; exports.numberToHex = _chunkKXGQFW2Rjs.numberToHex; exports.pad = _chunkKXGQFW2Rjs.pad; exports.padBytes = _chunkKXGQFW2Rjs.padBytes; exports.padHex = _chunkKXGQFW2Rjs.padHex; exports.parseEther = _chunkKXGQFW2Rjs.parseEther; exports.parseGwei = _chunkKXGQFW2Rjs.parseGwei; exports.parseUnit = _chunkKXGQFW2Rjs.parseUnit; exports.prepareRequest = _chunkKXGQFW2Rjs.prepareRequest; exports.rpc = _chunkKXGQFW2Rjs.rpc; exports.size = _chunkKXGQFW2Rjs.size; exports.slice = _chunkKXGQFW2Rjs.slice; exports.sliceBytes = _chunkKXGQFW2Rjs.sliceBytes; exports.sliceHex = _chunkKXGQFW2Rjs.sliceHex; exports.stringToBytes = _chunkKXGQFW2Rjs.stringToBytes; exports.stringToHex = _chunkKXGQFW2Rjs.stringToHex; exports.stringify = _chunkKXGQFW2Rjs.stringify; exports.toBytes = _chunkKXGQFW2Rjs.toBytes; exports.toHex = _chunkKXGQFW2Rjs.toHex; exports.toRlp = _chunkKXGQFW2Rjs.toRlp; exports.transactionType = _chunkKXGQFW2Rjs.transactionType; exports.trim = _chunkKXGQFW2Rjs.trim;
|
187
185
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
@@ -9,7 +9,7 @@ import {
|
|
9
9
|
bytesToNumber,
|
10
10
|
bytesToString,
|
11
11
|
containsNodeError,
|
12
|
-
|
12
|
+
decodeAbiParameters,
|
13
13
|
decodeErrorResult,
|
14
14
|
decodeEventLog,
|
15
15
|
decodeFunctionData,
|
@@ -20,13 +20,12 @@ import {
|
|
20
20
|
defineTransaction,
|
21
21
|
defineTransactionReceipt,
|
22
22
|
defineTransactionRequest,
|
23
|
-
|
23
|
+
encodeAbiParameters,
|
24
24
|
encodeDeployData,
|
25
25
|
encodeErrorResult,
|
26
26
|
encodeEventTopics,
|
27
27
|
encodeFunctionData,
|
28
28
|
encodeFunctionResult,
|
29
|
-
etherUnits,
|
30
29
|
extract,
|
31
30
|
extractFunctionName,
|
32
31
|
extractFunctionParams,
|
@@ -45,6 +44,7 @@ import {
|
|
45
44
|
fromHex,
|
46
45
|
fromRlp,
|
47
46
|
getAbiItem,
|
47
|
+
getAccount,
|
48
48
|
getAddress,
|
49
49
|
getCallError,
|
50
50
|
getContractAddress,
|
@@ -57,7 +57,6 @@ import {
|
|
57
57
|
getNodeError,
|
58
58
|
getSocket,
|
59
59
|
getTransactionError,
|
60
|
-
gweiUnits,
|
61
60
|
hexToBigInt,
|
62
61
|
hexToBool,
|
63
62
|
hexToBytes,
|
@@ -76,6 +75,7 @@ import {
|
|
76
75
|
parseEther,
|
77
76
|
parseGwei,
|
78
77
|
parseUnit,
|
78
|
+
prepareRequest,
|
79
79
|
rpc,
|
80
80
|
size,
|
81
81
|
slice,
|
@@ -88,9 +88,8 @@ import {
|
|
88
88
|
toHex,
|
89
89
|
toRlp,
|
90
90
|
transactionType,
|
91
|
-
trim
|
92
|
-
|
93
|
-
} from "../chunk-VP57P6CD.mjs";
|
91
|
+
trim
|
92
|
+
} from "../chunk-AXATFOBJ.mjs";
|
94
93
|
export {
|
95
94
|
assertRequest,
|
96
95
|
boolToBytes,
|
@@ -102,7 +101,7 @@ export {
|
|
102
101
|
bytesToNumber,
|
103
102
|
bytesToString,
|
104
103
|
containsNodeError,
|
105
|
-
|
104
|
+
decodeAbiParameters,
|
106
105
|
decodeErrorResult,
|
107
106
|
decodeEventLog,
|
108
107
|
decodeFunctionData,
|
@@ -113,13 +112,12 @@ export {
|
|
113
112
|
defineTransaction,
|
114
113
|
defineTransactionReceipt,
|
115
114
|
defineTransactionRequest,
|
116
|
-
|
115
|
+
encodeAbiParameters,
|
117
116
|
encodeDeployData,
|
118
117
|
encodeErrorResult,
|
119
118
|
encodeEventTopics,
|
120
119
|
encodeFunctionData,
|
121
120
|
encodeFunctionResult,
|
122
|
-
etherUnits,
|
123
121
|
extract,
|
124
122
|
extractFunctionName,
|
125
123
|
extractFunctionParams,
|
@@ -138,6 +136,7 @@ export {
|
|
138
136
|
fromHex,
|
139
137
|
fromRlp,
|
140
138
|
getAbiItem,
|
139
|
+
getAccount,
|
141
140
|
getAddress,
|
142
141
|
getCallError,
|
143
142
|
getContractAddress,
|
@@ -150,7 +149,6 @@ export {
|
|
150
149
|
getNodeError,
|
151
150
|
getSocket,
|
152
151
|
getTransactionError,
|
153
|
-
gweiUnits,
|
154
152
|
hexToBigInt,
|
155
153
|
hexToBool,
|
156
154
|
hexToBytes,
|
@@ -169,6 +167,7 @@ export {
|
|
169
167
|
parseEther,
|
170
168
|
parseGwei,
|
171
169
|
parseUnit,
|
170
|
+
prepareRequest,
|
172
171
|
rpc,
|
173
172
|
size,
|
174
173
|
slice,
|
@@ -181,7 +180,6 @@ export {
|
|
181
180
|
toHex,
|
182
181
|
toRlp,
|
183
182
|
transactionType,
|
184
|
-
trim
|
185
|
-
weiUnits
|
183
|
+
trim
|
186
184
|
};
|
187
185
|
//# sourceMappingURL=index.mjs.map
|
package/dist/wallet.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
export {
|
2
|
-
import '
|
3
|
-
import './chain-
|
1
|
+
export { bf as AddChainArgs, bg as FormattedTransactionRequest, bi as GetAddressesResponse, bh as GetPermissionsResponse, bj as RequestAddressesResponse, bk as RequestPermissionsResponse, S as SendTransactionArgs, bl as SendTransactionResponse, bm as SignMessageArgs, bn as SignMessageResponse, bo as SwitchChainArgs, bp as WatchAssetArgs, bq as WatchAssetResponse, b6 as addChain, b7 as getAddresses, b8 as getPermissions, b9 as requestAddresses, ba as requestPermissions, bb as sendTransaction, bc as signMessage, bd as switchChain, be as watchAsset } from './createPublicClient-f283b09d.js';
|
2
|
+
import './eip1193-a4f254d2.js';
|
3
|
+
import './chain-a34aa9a2.js';
|
4
4
|
import '@wagmi/chains';
|
5
|
+
import 'abitype';
|
5
6
|
import 'ethers@6/types/providers';
|
6
|
-
import './
|
7
|
-
import './createClient-8a8b4bf4.js';
|
7
|
+
import './createClient-8024655d.js';
|
package/dist/wallet.js
CHANGED
@@ -8,8 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
var
|
12
|
-
require('./chunk-F76TECTY.js');
|
11
|
+
var _chunkKXGQFW2Rjs = require('./chunk-KXGQFW2R.js');
|
13
12
|
|
14
13
|
|
15
14
|
|
@@ -20,5 +19,5 @@ require('./chunk-F76TECTY.js');
|
|
20
19
|
|
21
20
|
|
22
21
|
|
23
|
-
exports.addChain =
|
22
|
+
exports.addChain = _chunkKXGQFW2Rjs.addChain; exports.getAddresses = _chunkKXGQFW2Rjs.getAddresses; exports.getPermissions = _chunkKXGQFW2Rjs.getPermissions; exports.requestAddresses = _chunkKXGQFW2Rjs.requestAddresses; exports.requestPermissions = _chunkKXGQFW2Rjs.requestPermissions; exports.sendTransaction = _chunkKXGQFW2Rjs.sendTransaction; exports.signMessage = _chunkKXGQFW2Rjs.signMessage; exports.switchChain = _chunkKXGQFW2Rjs.switchChain; exports.watchAsset = _chunkKXGQFW2Rjs.watchAsset;
|
24
23
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED
@@ -1,20 +1,19 @@
|
|
1
1
|
import {
|
2
2
|
addChain,
|
3
|
-
|
3
|
+
getAddresses,
|
4
4
|
getPermissions,
|
5
|
-
|
5
|
+
requestAddresses,
|
6
6
|
requestPermissions,
|
7
7
|
sendTransaction,
|
8
8
|
signMessage,
|
9
9
|
switchChain,
|
10
10
|
watchAsset
|
11
|
-
} from "./chunk-
|
12
|
-
import "./chunk-VP57P6CD.mjs";
|
11
|
+
} from "./chunk-AXATFOBJ.mjs";
|
13
12
|
export {
|
14
13
|
addChain,
|
15
|
-
|
14
|
+
getAddresses,
|
16
15
|
getPermissions,
|
17
|
-
|
16
|
+
requestAddresses,
|
18
17
|
requestPermissions,
|
19
18
|
sendTransaction,
|
20
19
|
signMessage,
|
package/dist/window.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { R as Requests, E as Events } from './eip1193-
|
2
|
-
import './chain-
|
1
|
+
import { R as Requests, E as Events } from './eip1193-a4f254d2.js';
|
2
|
+
import './chain-a34aa9a2.js';
|
3
3
|
import '@wagmi/chains';
|
4
4
|
import 'abitype';
|
5
5
|
import 'ethers@6/types/providers';
|
package/package.json
CHANGED
@@ -4,13 +4,14 @@
|
|
4
4
|
"dependencies": {
|
5
5
|
"@noble/hashes": "^1.1.2",
|
6
6
|
"@wagmi/chains": "~0.2.8",
|
7
|
-
"abitype": "~0.
|
7
|
+
"abitype": "~0.5.0",
|
8
8
|
"idna-uts46-hx": "^4.1.2",
|
9
9
|
"isomorphic-ws": "^5.0.0",
|
10
10
|
"ws": "^8.12.0"
|
11
11
|
},
|
12
|
-
"version": "0.0.1-alpha.
|
12
|
+
"version": "0.0.1-alpha.36",
|
13
13
|
"files": [
|
14
|
+
"/abi",
|
14
15
|
"/dist",
|
15
16
|
"/chains",
|
16
17
|
"/contract",
|
@@ -27,6 +28,11 @@
|
|
27
28
|
"module": "./dist/index.mjs",
|
28
29
|
"default": "./dist/index.js"
|
29
30
|
},
|
31
|
+
"./abi": {
|
32
|
+
"types": "./dist/abi.d.ts",
|
33
|
+
"module": "./dist/abi.mjs",
|
34
|
+
"default": "./dist/abi.js"
|
35
|
+
},
|
30
36
|
"./chains": {
|
31
37
|
"types": "./dist/chains.d.ts",
|
32
38
|
"module": "./dist/chains.mjs",
|