viem 0.2.0-jxom-local-accounts.20230321T210352 → 0.2.0-jxom-local-accounts.20230321T212822
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/accounts/package.json +4 -0
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/accounts/index.d.ts +33 -0
- package/dist/accounts/index.js +89 -0
- package/dist/accounts/index.js.map +1 -0
- package/dist/accounts/index.mjs +89 -0
- package/dist/accounts/index.mjs.map +1 -0
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-IXGTN6B7.mjs → chunk-6UKHPIXX.mjs} +2 -2
- package/dist/chunk-FNVFGFWN.mjs +31 -0
- package/dist/chunk-FNVFGFWN.mjs.map +1 -0
- package/dist/chunk-FQM5MF6U.js +31 -0
- package/dist/chunk-FQM5MF6U.js.map +1 -0
- package/dist/{chunk-PB263D6W.mjs → chunk-IVRML3IK.mjs} +869 -880
- package/dist/chunk-IVRML3IK.mjs.map +1 -0
- package/dist/{chunk-K66BKQUH.js → chunk-LYQKHD7R.js} +19 -19
- package/dist/{chunk-FHJTO6BQ.js → chunk-NJSAEA2H.js} +821 -832
- package/dist/chunk-NJSAEA2H.js.map +1 -0
- package/dist/contract.d.ts +3 -2
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createPublicClient-62c74ebc.d.ts → createPublicClient-d2c37c92.d.ts} +2 -2
- package/dist/ens.d.ts +3 -2
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.d.ts +2 -1
- package/dist/ethers.js +5 -3
- package/dist/ethers.js.map +1 -1
- package/dist/ethers.mjs +4 -2
- package/dist/ethers.mjs.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +91 -91
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/parseAccount-2d7ea01d.d.ts +6 -0
- package/dist/{parseGwei-7efc43fc.d.ts → parseGwei-377678bc.d.ts} +7 -7
- package/dist/public.d.ts +3 -2
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/{typedData-0514bb3c.d.ts → typedData-ade018d6.d.ts} +19 -2
- package/dist/utils/index.d.ts +7 -5
- package/dist/utils/index.js +4 -2
- package/dist/utils/index.mjs +3 -1
- package/dist/wallet.d.ts +3 -2
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/package.json +7 -1
- package/dist/chunk-FHJTO6BQ.js.map +0 -1
- package/dist/chunk-PB263D6W.mjs.map +0 -1
- /package/dist/{chunk-IXGTN6B7.mjs.map → chunk-6UKHPIXX.mjs.map} +0 -0
- /package/dist/{chunk-K66BKQUH.js.map → chunk-LYQKHD7R.js.map} +0 -0
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkNJSAEA2Hjs = require('./chunk-NJSAEA2H.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkFHJTO6BQjs = require('./chunk-FHJTO6BQ.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkNJSAEA2Hjs.call; exports.createBlockFilter = _chunkNJSAEA2Hjs.createBlockFilter; exports.createEventFilter = _chunkNJSAEA2Hjs.createEventFilter; exports.createPendingTransactionFilter = _chunkNJSAEA2Hjs.createPendingTransactionFilter; exports.estimateGas = _chunkNJSAEA2Hjs.estimateGas; exports.getBalance = _chunkNJSAEA2Hjs.getBalance; exports.getBlock = _chunkNJSAEA2Hjs.getBlock; exports.getBlockNumber = _chunkNJSAEA2Hjs.getBlockNumber; exports.getBlockNumberCache = _chunkNJSAEA2Hjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkNJSAEA2Hjs.getBlockTransactionCount; exports.getBytecode = _chunkNJSAEA2Hjs.getBytecode; exports.getChainId = _chunkNJSAEA2Hjs.getChainId; exports.getFeeHistory = _chunkNJSAEA2Hjs.getFeeHistory; exports.getFilterChanges = _chunkNJSAEA2Hjs.getFilterChanges; exports.getFilterLogs = _chunkNJSAEA2Hjs.getFilterLogs; exports.getGasPrice = _chunkNJSAEA2Hjs.getGasPrice; exports.getLogs = _chunkNJSAEA2Hjs.getLogs; exports.getTransaction = _chunkNJSAEA2Hjs.getTransaction; exports.getTransactionConfirmations = _chunkNJSAEA2Hjs.getTransactionConfirmations; exports.getTransactionCount = _chunkNJSAEA2Hjs.getTransactionCount; exports.getTransactionReceipt = _chunkNJSAEA2Hjs.getTransactionReceipt; exports.uninstallFilter = _chunkNJSAEA2Hjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkNJSAEA2Hjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkNJSAEA2Hjs.watchBlockNumber; exports.watchBlocks = _chunkNJSAEA2Hjs.watchBlocks; exports.watchEvent = _chunkNJSAEA2Hjs.watchEvent; exports.watchPendingTransactions = _chunkNJSAEA2Hjs.watchPendingTransactions;
|
59
59
|
//# sourceMappingURL=public.js.map
|
package/dist/public.mjs
CHANGED
package/dist/test.js
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
30
|
+
var _chunkNJSAEA2Hjs = require('./chunk-NJSAEA2H.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkFHJTO6BQjs = require('./chunk-FHJTO6BQ.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkNJSAEA2Hjs.dropTransaction; exports.getAutomine = _chunkNJSAEA2Hjs.getAutomine; exports.getTxpoolContent = _chunkNJSAEA2Hjs.getTxpoolContent; exports.getTxpoolStatus = _chunkNJSAEA2Hjs.getTxpoolStatus; exports.impersonateAccount = _chunkNJSAEA2Hjs.impersonateAccount; exports.increaseTime = _chunkNJSAEA2Hjs.increaseTime; exports.inspectTxpool = _chunkNJSAEA2Hjs.inspectTxpool; exports.mine = _chunkNJSAEA2Hjs.mine; exports.removeBlockTimestampInterval = _chunkNJSAEA2Hjs.removeBlockTimestampInterval; exports.reset = _chunkNJSAEA2Hjs.reset; exports.revert = _chunkNJSAEA2Hjs.revert; exports.sendUnsignedTransaction = _chunkNJSAEA2Hjs.sendUnsignedTransaction; exports.setAutomine = _chunkNJSAEA2Hjs.setAutomine; exports.setBalance = _chunkNJSAEA2Hjs.setBalance; exports.setBlockGasLimit = _chunkNJSAEA2Hjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkNJSAEA2Hjs.setBlockTimestampInterval; exports.setCode = _chunkNJSAEA2Hjs.setCode; exports.setCoinbase = _chunkNJSAEA2Hjs.setCoinbase; exports.setIntervalMining = _chunkNJSAEA2Hjs.setIntervalMining; exports.setLoggingEnabled = _chunkNJSAEA2Hjs.setLoggingEnabled; exports.setMinGasPrice = _chunkNJSAEA2Hjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkNJSAEA2Hjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkNJSAEA2Hjs.setNextBlockTimestamp; exports.setNonce = _chunkNJSAEA2Hjs.setNonce; exports.setRpcUrl = _chunkNJSAEA2Hjs.setRpcUrl; exports.setStorageAt = _chunkNJSAEA2Hjs.setStorageAt; exports.snapshot = _chunkNJSAEA2Hjs.snapshot; exports.stopImpersonatingAccount = _chunkNJSAEA2Hjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
import { HDKey } from '@scure/bip32';
|
1
2
|
import { Address, TypedData, TypedDataToPrimitiveTypes, TypedDataDomain, Narrow } from 'abitype';
|
2
|
-
import {
|
3
|
+
import { a as Hash, I as TransactionRequest, H as Hex } from './chain-75b0942e.js';
|
3
4
|
|
4
5
|
type Account = JsonRpcAccount | LocalAccount;
|
6
|
+
type AccountSource = Address | CustomSource;
|
5
7
|
type CustomSource = {
|
6
8
|
address: Address;
|
7
9
|
signMessage: ({ message }: {
|
@@ -26,6 +28,21 @@ type LocalAccount<TSource = 'custom'> = CustomSource & {
|
|
26
28
|
source: TSource;
|
27
29
|
type: 'local';
|
28
30
|
};
|
31
|
+
type HDAccount = LocalAccount<'hd'> & {
|
32
|
+
getHdKey(): HDKey;
|
33
|
+
};
|
34
|
+
type HDOptions = {
|
35
|
+
accountIndex?: number;
|
36
|
+
addressIndex?: number;
|
37
|
+
changeIndex?: number;
|
38
|
+
path?: never;
|
39
|
+
} | {
|
40
|
+
accountIndex?: never;
|
41
|
+
addressIndex?: never;
|
42
|
+
changeIndex?: never;
|
43
|
+
path: `m/44'/60'/${string}`;
|
44
|
+
};
|
45
|
+
type PrivateKeyAccount = LocalAccount<'privateKey'>;
|
29
46
|
|
30
47
|
type TypedDataDefinition<TTypedData extends TypedData | {
|
31
48
|
[key: string]: unknown;
|
@@ -73,4 +90,4 @@ type GetTypedDataTypes<TTypedData extends TypedData | {
|
|
73
90
|
types: Narrow<TTypedData>;
|
74
91
|
};
|
75
92
|
|
76
|
-
export { Account as A, JsonRpcAccount as J, LocalAccount as L, TypedDataDefinition as T };
|
93
|
+
export { Account as A, CustomSource as C, HDAccount as H, JsonRpcAccount as J, LocalAccount as L, PrivateKeyAccount as P, TypedDataDefinition as T, AccountSource as a, HDOptions as b };
|
package/dist/utils/index.d.ts
CHANGED
@@ -4,18 +4,20 @@ export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType,
|
|
4
4
|
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from '../encodeFunctionResult-4792a6a3.js';
|
5
5
|
export { e as encodePacked } from '../encodePacked-3fcdd54b.js';
|
6
6
|
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-765ebc53.js';
|
7
|
-
|
8
|
-
|
7
|
+
export { p as parseAccount } from '../parseAccount-2d7ea01d.js';
|
8
|
+
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-377678bc.js';
|
9
|
+
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, q as HashTypedDataParameters, r as HashTypedDataReturnType, H as HttpOptions, s as RecoverAddressParameters, t as RecoverAddressReturnType, u as RecoverMessageAddressParameters, v as RecoverMessageAddressReturnType, w as RecoverTypedDataAddressParameters, x as RecoverTypedDataAddressReturnType, R as RpcResponse, aJ as Socket, y as ToRlpReturnType, V as VerifyMessageParameters, z as VerifyMessageReturnType, A as VerifyTypedDataParameters, D as VerifyTypedDataReturnType, J as boolToBytes, K as boolToHex, L as bytesToBigint, M as bytesToBool, O as bytesToHex, P as bytesToNumber, Q as bytesToString, S as concat, X as concatBytes, Y as concatHex, Z as formatEther, _ as formatGwei, $ as formatUnits, a0 as fromBytes, a1 as fromHex, a2 as fromRlp, a3 as getAddress, a4 as getContractAddress, a5 as getContractError, a6 as getCreate2Address, a7 as getCreateAddress, a8 as getEventSelector, a9 as getFunctionSelector, aK as getSocket, aa as hashMessage, ab as hashTypedData, ac as hexToBigInt, ad as hexToBool, ae as hexToBytes, af as hexToNumber, ag as hexToString, ah as isAddress, ai as isAddressEqual, aj as isBytes, ak as isHex, al as keccak256, am as numberToBytes, an as numberToHex, ao as pad, ap as padBytes, aq as padHex, ar as parseEther, as as parseGwei, at as parseUnits, au as recoverAddress, av as recoverMessageAddress, aM as recoverTypedDataAddress, aL as rpc, aw as size, ax as slice, ay as sliceBytes, az as sliceHex, aA as stringToBytes, aB as stringToHex, aC as stringify, aD as toBytes, aE as toHex, aF as toRlp, aG as trim, aH as validateTypedData, aI as verifyMessage, aN as verifyTypedData } from '../parseGwei-377678bc.js';
|
9
10
|
export { d as defineChain, g as getChainContractAddress } from '../chain-f8db473f.js';
|
10
|
-
import { C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters,
|
11
|
-
export { B as BlockFormatter, F as FormattedBlock,
|
11
|
+
import { C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters, b8 as WalletClientArg, b9 as PublicClientArg, ba as GetAccountParameter } from '../createPublicClient-d2c37c92.js';
|
12
|
+
export { B as BlockFormatter, F as FormattedBlock, f as FormattedTransactionReceipt, g as FormattedTransactionRequest, T as TransactionReceiptFormatter, h as TransactionRequestFormatter, i as defineBlock, j as defineTransactionReceipt, k as defineTransactionRequest, l as formatBlock, m as formatTransactionRequest } from '../createPublicClient-d2c37c92.js';
|
12
13
|
import { a2 as Formatter, C as Chain } from '../chain-75b0942e.js';
|
13
14
|
export { W as ExtractFormatter, X as Formatted, Y as FormattedTransaction, Z as TransactionFormatter, ad as defineFormatter, _ as defineTransaction, ae as format, $ as formatTransaction, a0 as transactionType } from '../chain-75b0942e.js';
|
14
|
-
import { A as Account } from '../typedData-
|
15
|
+
import { A as Account } from '../typedData-ade018d6.js';
|
15
16
|
import { a as Transport } from '../createClient-f87255c1.js';
|
16
17
|
import 'isomorphic-ws';
|
17
18
|
import '../eip1193-ae706fd8.js';
|
18
19
|
import '@wagmi/chains';
|
20
|
+
import '@scure/bip32';
|
19
21
|
|
20
22
|
declare function buildRequest<TRequest extends (args: any) => Promise<any>>(request: TRequest, { retryDelay, retryCount, }?: {
|
21
23
|
retryDelay?: number;
|
package/dist/utils/index.js
CHANGED
@@ -108,8 +108,8 @@
|
|
108
108
|
|
109
109
|
|
110
110
|
|
111
|
-
var _chunkFHJTO6BQjs = require('../chunk-FHJTO6BQ.js');
|
112
111
|
|
112
|
+
var _chunkNJSAEA2Hjs = require('../chunk-NJSAEA2H.js');
|
113
113
|
|
114
114
|
|
115
115
|
|
@@ -219,5 +219,7 @@ var _chunkFHJTO6BQjs = require('../chunk-FHJTO6BQ.js');
|
|
219
219
|
|
220
220
|
|
221
221
|
|
222
|
-
|
222
|
+
|
223
|
+
|
224
|
+
exports.arrayRegex = _chunkNJSAEA2Hjs.arrayRegex; exports.assertRequest = _chunkNJSAEA2Hjs.assertRequest; exports.boolToBytes = _chunkNJSAEA2Hjs.boolToBytes; exports.boolToHex = _chunkNJSAEA2Hjs.boolToHex; exports.buildRequest = _chunkNJSAEA2Hjs.buildRequest; exports.bytesRegex = _chunkNJSAEA2Hjs.bytesRegex; exports.bytesToBigint = _chunkNJSAEA2Hjs.bytesToBigint; exports.bytesToBool = _chunkNJSAEA2Hjs.bytesToBool; exports.bytesToHex = _chunkNJSAEA2Hjs.bytesToHex; exports.bytesToNumber = _chunkNJSAEA2Hjs.bytesToNumber; exports.bytesToString = _chunkNJSAEA2Hjs.bytesToString; exports.concat = _chunkNJSAEA2Hjs.concat; exports.concatBytes = _chunkNJSAEA2Hjs.concatBytes; exports.concatHex = _chunkNJSAEA2Hjs.concatHex; exports.containsNodeError = _chunkNJSAEA2Hjs.containsNodeError; exports.decodeAbiParameters = _chunkNJSAEA2Hjs.decodeAbiParameters; exports.decodeErrorResult = _chunkNJSAEA2Hjs.decodeErrorResult; exports.decodeEventLog = _chunkNJSAEA2Hjs.decodeEventLog; exports.decodeFunctionData = _chunkNJSAEA2Hjs.decodeFunctionData; exports.decodeFunctionResult = _chunkNJSAEA2Hjs.decodeFunctionResult; exports.defineBlock = _chunkNJSAEA2Hjs.defineBlock; exports.defineChain = _chunkNJSAEA2Hjs.defineChain; exports.defineFormatter = _chunkNJSAEA2Hjs.defineFormatter; exports.defineTransaction = _chunkNJSAEA2Hjs.defineTransaction; exports.defineTransactionReceipt = _chunkNJSAEA2Hjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkNJSAEA2Hjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkNJSAEA2Hjs.encodeAbiParameters; exports.encodeDeployData = _chunkNJSAEA2Hjs.encodeDeployData; exports.encodeErrorResult = _chunkNJSAEA2Hjs.encodeErrorResult; exports.encodeEventTopics = _chunkNJSAEA2Hjs.encodeEventTopics; exports.encodeFunctionData = _chunkNJSAEA2Hjs.encodeFunctionData; exports.encodeFunctionResult = _chunkNJSAEA2Hjs.encodeFunctionResult; exports.encodePacked = _chunkNJSAEA2Hjs.encodePacked; exports.extract = _chunkNJSAEA2Hjs.extract; exports.extractFunctionName = _chunkNJSAEA2Hjs.extractFunctionName; exports.extractFunctionParams = _chunkNJSAEA2Hjs.extractFunctionParams; exports.extractFunctionParts = _chunkNJSAEA2Hjs.extractFunctionParts; exports.extractFunctionType = _chunkNJSAEA2Hjs.extractFunctionType; exports.format = _chunkNJSAEA2Hjs.format; exports.formatAbiItem = _chunkNJSAEA2Hjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkNJSAEA2Hjs.formatAbiItemWithArgs; exports.formatBlock = _chunkNJSAEA2Hjs.formatBlock; exports.formatEther = _chunkNJSAEA2Hjs.formatEther; exports.formatGwei = _chunkNJSAEA2Hjs.formatGwei; exports.formatTransaction = _chunkNJSAEA2Hjs.formatTransaction; exports.formatTransactionRequest = _chunkNJSAEA2Hjs.formatTransactionRequest; exports.formatUnits = _chunkNJSAEA2Hjs.formatUnits; exports.fromBytes = _chunkNJSAEA2Hjs.fromBytes; exports.fromHex = _chunkNJSAEA2Hjs.fromHex; exports.fromRlp = _chunkNJSAEA2Hjs.fromRlp; exports.getAbiItem = _chunkNJSAEA2Hjs.getAbiItem; exports.getAddress = _chunkNJSAEA2Hjs.getAddress; exports.getCallError = _chunkNJSAEA2Hjs.getCallError; exports.getChainContractAddress = _chunkNJSAEA2Hjs.getChainContractAddress; exports.getContractAddress = _chunkNJSAEA2Hjs.getContractAddress; exports.getContractError = _chunkNJSAEA2Hjs.getContractError; exports.getCreate2Address = _chunkNJSAEA2Hjs.getCreate2Address; exports.getCreateAddress = _chunkNJSAEA2Hjs.getCreateAddress; exports.getEstimateGasError = _chunkNJSAEA2Hjs.getEstimateGasError; exports.getEventSelector = _chunkNJSAEA2Hjs.getEventSelector; exports.getFunctionSelector = _chunkNJSAEA2Hjs.getFunctionSelector; exports.getNodeError = _chunkNJSAEA2Hjs.getNodeError; exports.getSocket = _chunkNJSAEA2Hjs.getSocket; exports.getTransactionError = _chunkNJSAEA2Hjs.getTransactionError; exports.hashMessage = _chunkNJSAEA2Hjs.hashMessage; exports.hashTypedData = _chunkNJSAEA2Hjs.hashTypedData; exports.hexToBigInt = _chunkNJSAEA2Hjs.hexToBigInt; exports.hexToBool = _chunkNJSAEA2Hjs.hexToBool; exports.hexToBytes = _chunkNJSAEA2Hjs.hexToBytes; exports.hexToNumber = _chunkNJSAEA2Hjs.hexToNumber; exports.hexToString = _chunkNJSAEA2Hjs.hexToString; exports.integerRegex = _chunkNJSAEA2Hjs.integerRegex; exports.isAddress = _chunkNJSAEA2Hjs.isAddress; exports.isAddressEqual = _chunkNJSAEA2Hjs.isAddressEqual; exports.isBytes = _chunkNJSAEA2Hjs.isBytes; exports.isHex = _chunkNJSAEA2Hjs.isHex; exports.keccak256 = _chunkNJSAEA2Hjs.keccak256; exports.numberToBytes = _chunkNJSAEA2Hjs.numberToBytes; exports.numberToHex = _chunkNJSAEA2Hjs.numberToHex; exports.pad = _chunkNJSAEA2Hjs.pad; exports.padBytes = _chunkNJSAEA2Hjs.padBytes; exports.padHex = _chunkNJSAEA2Hjs.padHex; exports.parseAbi = _chunkNJSAEA2Hjs.parseAbi; exports.parseAbiItem = _chunkNJSAEA2Hjs.parseAbiItem; exports.parseAbiParameter = _chunkNJSAEA2Hjs.parseAbiParameter; exports.parseAbiParameters = _chunkNJSAEA2Hjs.parseAbiParameters; exports.parseAccount = _chunkNJSAEA2Hjs.parseAccount; exports.parseEther = _chunkNJSAEA2Hjs.parseEther; exports.parseGwei = _chunkNJSAEA2Hjs.parseGwei; exports.parseUnits = _chunkNJSAEA2Hjs.parseUnits; exports.prepareRequest = _chunkNJSAEA2Hjs.prepareRequest; exports.recoverAddress = _chunkNJSAEA2Hjs.recoverAddress; exports.recoverMessageAddress = _chunkNJSAEA2Hjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkNJSAEA2Hjs.recoverTypedDataAddress; exports.rpc = _chunkNJSAEA2Hjs.rpc; exports.size = _chunkNJSAEA2Hjs.size; exports.slice = _chunkNJSAEA2Hjs.slice; exports.sliceBytes = _chunkNJSAEA2Hjs.sliceBytes; exports.sliceHex = _chunkNJSAEA2Hjs.sliceHex; exports.stringToBytes = _chunkNJSAEA2Hjs.stringToBytes; exports.stringToHex = _chunkNJSAEA2Hjs.stringToHex; exports.stringify = _chunkNJSAEA2Hjs.stringify; exports.toBytes = _chunkNJSAEA2Hjs.toBytes; exports.toHex = _chunkNJSAEA2Hjs.toHex; exports.toRlp = _chunkNJSAEA2Hjs.toRlp; exports.transactionType = _chunkNJSAEA2Hjs.transactionType; exports.trim = _chunkNJSAEA2Hjs.trim; exports.validateTypedData = _chunkNJSAEA2Hjs.validateTypedData; exports.verifyMessage = _chunkNJSAEA2Hjs.verifyMessage; exports.verifyTypedData = _chunkNJSAEA2Hjs.verifyTypedData;
|
223
225
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
@@ -85,6 +85,7 @@ import {
|
|
85
85
|
parseAbiItem,
|
86
86
|
parseAbiParameter,
|
87
87
|
parseAbiParameters,
|
88
|
+
parseAccount,
|
88
89
|
parseEther,
|
89
90
|
parseGwei,
|
90
91
|
parseUnits,
|
@@ -108,7 +109,7 @@ import {
|
|
108
109
|
validateTypedData,
|
109
110
|
verifyMessage,
|
110
111
|
verifyTypedData
|
111
|
-
} from "../chunk-
|
112
|
+
} from "../chunk-IVRML3IK.mjs";
|
112
113
|
export {
|
113
114
|
arrayRegex,
|
114
115
|
assertRequest,
|
@@ -196,6 +197,7 @@ export {
|
|
196
197
|
parseAbiItem,
|
197
198
|
parseAbiParameter,
|
198
199
|
parseAbiParameters,
|
200
|
+
parseAccount,
|
199
201
|
parseEther,
|
200
202
|
parseGwei,
|
201
203
|
parseUnits,
|
package/dist/wallet.d.ts
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
export {
|
1
|
+
export { bl as AddChainParameters, bm as FormattedTransactionRequest, bo as GetAddressesReturnType, bn as GetPermissionsReturnType, bp as RequestAddressesReturnType, bq as RequestPermissionsReturnType, S as SendTransactionParameters, br as SendTransactionReturnType, bs as SignMessageParameters, bt as SignMessageReturnType, bu as SignTypedDataParameters, bv as SignTypedDataReturnType, bw as SwitchChainParameters, bx as WatchAssetParameters, by as WatchAssetReturnType, bb as addChain, bc as getAddresses, bd as getPermissions, be as requestAddresses, bf as requestPermissions, bg as sendTransaction, bh as signMessage, bi as signTypedData, bj as switchChain, bk as watchAsset } from './createPublicClient-d2c37c92.js';
|
2
2
|
import './eip1193-ae706fd8.js';
|
3
3
|
import 'abitype';
|
4
4
|
import './chain-75b0942e.js';
|
5
5
|
import '@wagmi/chains';
|
6
6
|
import './createClient-f87255c1.js';
|
7
|
-
import './typedData-
|
7
|
+
import './typedData-ade018d6.js';
|
8
|
+
import '@scure/bip32';
|
package/dist/wallet.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
var
|
12
|
+
var _chunkNJSAEA2Hjs = require('./chunk-NJSAEA2H.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkFHJTO6BQjs = require('./chunk-FHJTO6BQ.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
24
|
+
exports.addChain = _chunkNJSAEA2Hjs.addChain; exports.getAddresses = _chunkNJSAEA2Hjs.getAddresses; exports.getPermissions = _chunkNJSAEA2Hjs.getPermissions; exports.requestAddresses = _chunkNJSAEA2Hjs.requestAddresses; exports.requestPermissions = _chunkNJSAEA2Hjs.requestPermissions; exports.sendTransaction = _chunkNJSAEA2Hjs.sendTransaction; exports.signMessage = _chunkNJSAEA2Hjs.signMessage; exports.signTypedData = _chunkNJSAEA2Hjs.signTypedData; exports.switchChain = _chunkNJSAEA2Hjs.switchChain; exports.watchAsset = _chunkNJSAEA2Hjs.watchAsset;
|
25
25
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED
package/package.json
CHANGED
@@ -12,9 +12,10 @@
|
|
12
12
|
"isomorphic-ws": "^5.0.0",
|
13
13
|
"ws": "^8.12.0"
|
14
14
|
},
|
15
|
-
"version": "0.2.0-jxom-local-accounts.
|
15
|
+
"version": "0.2.0-jxom-local-accounts.20230321T212822",
|
16
16
|
"files": [
|
17
17
|
"/abi",
|
18
|
+
"/accounts",
|
18
19
|
"/dist",
|
19
20
|
"/chains",
|
20
21
|
"/contract",
|
@@ -37,6 +38,11 @@
|
|
37
38
|
"module": "./dist/abi.mjs",
|
38
39
|
"default": "./dist/abi.js"
|
39
40
|
},
|
41
|
+
"./accounts": {
|
42
|
+
"types": "./dist/accounts/index.d.ts",
|
43
|
+
"module": "./dist/accounts/index.mjs",
|
44
|
+
"default": "./dist/accounts/index.js"
|
45
|
+
},
|
40
46
|
"./chains": {
|
41
47
|
"types": "./dist/chains.d.ts",
|
42
48
|
"module": "./dist/chains.mjs",
|