viem 0.0.0-main.20230913T065924 → 0.0.0-main.20230913T212840
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/_cjs/{abi.js → abi/index.js} +9 -9
- package/_cjs/abi/index.js.map +1 -0
- package/_cjs/chains/{utils.js → utils/index.js} +5 -5
- package/_cjs/chains/utils/index.js.map +1 -0
- package/_cjs/{contract.js → contract/index.js} +25 -25
- package/_cjs/contract/index.js.map +1 -0
- package/_cjs/{ens.js → ens/index.js} +9 -9
- package/_cjs/ens/index.js.map +1 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/{public.js → public/index.js} +29 -29
- package/_cjs/public/index.js.map +1 -0
- package/_cjs/{test.js → test/index.js} +29 -29
- package/_cjs/test/index.js.map +1 -0
- package/_cjs/{wallet.js → wallet/index.js} +11 -11
- package/_cjs/wallet/index.js.map +1 -0
- package/_cjs/{window.js → window/window.js} +1 -1
- package/_cjs/window/window.js.map +1 -0
- package/_esm/abi/index.js +7 -0
- package/_esm/abi/index.js.map +1 -0
- package/_esm/chains/utils/index.js +5 -0
- package/_esm/chains/utils/index.js.map +1 -0
- package/_esm/contract/index.js +26 -0
- package/_esm/contract/index.js.map +1 -0
- package/_esm/ens/index.js +9 -0
- package/_esm/ens/index.js.map +1 -0
- package/_esm/errors/version.js +1 -1
- package/_esm/public/index.js +30 -0
- package/_esm/public/index.js.map +1 -0
- package/_esm/test/index.js +30 -0
- package/_esm/test/index.js.map +1 -0
- package/_esm/wallet/index.js +12 -0
- package/_esm/wallet/index.js.map +1 -0
- package/_esm/window/window.js +2 -0
- package/_esm/window/window.js.map +1 -0
- package/_types/{abi.d.ts → abi/index.d.ts} +5 -5
- package/_types/abi/index.d.ts.map +1 -0
- package/_types/chains/definitions/base.d.ts +14 -14
- package/_types/chains/definitions/baseGoerli.d.ts +14 -14
- package/_types/chains/definitions/celo.d.ts +15 -15
- package/_types/chains/definitions/celoAlfajores.d.ts +15 -15
- package/_types/chains/definitions/celoCannoli.d.ts +15 -15
- package/_types/chains/definitions/optimism.d.ts +14 -14
- package/_types/chains/definitions/optimismGoerli.d.ts +14 -14
- package/_types/chains/definitions/zora.d.ts +14 -14
- package/_types/chains/definitions/zoraTestnet.d.ts +14 -14
- package/_types/chains/{utils.d.ts → utils/index.d.ts} +7 -7
- package/_types/chains/utils/index.d.ts.map +1 -0
- package/_types/{contract.d.ts → contract/index.d.ts} +26 -26
- package/_types/contract/index.d.ts.map +1 -0
- package/_types/ens/index.d.ts +9 -0
- package/_types/ens/index.d.ts.map +1 -0
- package/_types/errors/version.d.ts +1 -1
- package/_types/public/index.d.ts +33 -0
- package/_types/public/index.d.ts.map +1 -0
- package/_types/test/index.d.ts +29 -0
- package/_types/test/index.d.ts.map +1 -0
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/wallet/index.d.ts +11 -0
- package/_types/wallet/index.d.ts.map +1 -0
- package/_types/window/window.d.ts +2 -0
- package/_types/window/window.d.ts.map +1 -0
- package/{abi.ts → abi/index.ts} +15 -13
- package/abi/package.json +6 -0
- package/accounts/package.json +6 -0
- package/actions/package.json +6 -0
- package/chains/package.json +6 -0
- package/chains/{utils.ts → utils/index.ts} +6 -6
- package/chains/utils/package.json +6 -0
- package/clients/package.json +6 -0
- package/{contract.ts → contract/index.ts} +27 -25
- package/contract/package.json +6 -0
- package/{ens.ts → ens/index.ts} +8 -8
- package/ens/package.json +6 -0
- package/errors/version.ts +1 -1
- package/package.json +36 -33
- package/{public.ts → public/index.ts} +30 -28
- package/public/package.json +6 -0
- package/test/index.ts +85 -0
- package/test/package.json +6 -0
- package/utils/package.json +6 -0
- package/{wallet.ts → wallet/index.ts} +15 -10
- package/wallet/package.json +6 -0
- package/window/package.json +6 -0
- package/window/window.ts +1 -0
- package/_cjs/abi.js.map +0 -1
- package/_cjs/chains/utils.js.map +0 -1
- package/_cjs/contract.js.map +0 -1
- package/_cjs/ens.js.map +0 -1
- package/_cjs/public.js.map +0 -1
- package/_cjs/test.js.map +0 -1
- package/_cjs/wallet.js.map +0 -1
- package/_cjs/window.js.map +0 -1
- package/_esm/abi.js +0 -6
- package/_esm/abi.js.map +0 -1
- package/_esm/chains/utils.js +0 -5
- package/_esm/chains/utils.js.map +0 -1
- package/_esm/contract.js +0 -25
- package/_esm/contract.js.map +0 -1
- package/_esm/ens.js +0 -9
- package/_esm/ens.js.map +0 -1
- package/_esm/public.js +0 -29
- package/_esm/public.js.map +0 -1
- package/_esm/test.js +0 -29
- package/_esm/test.js.map +0 -1
- package/_esm/wallet.js +0 -11
- package/_esm/wallet.js.map +0 -1
- package/_esm/window.js +0 -2
- package/_esm/window.js.map +0 -1
- package/_types/abi.d.ts.map +0 -1
- package/_types/chains/utils.d.ts.map +0 -1
- package/_types/contract.d.ts.map +0 -1
- package/_types/ens.d.ts +0 -9
- package/_types/ens.d.ts.map +0 -1
- package/_types/public.d.ts +0 -33
- package/_types/public.d.ts.map +0 -1
- package/_types/test.d.ts +0 -29
- package/_types/test.d.ts.map +0 -1
- package/_types/wallet.d.ts +0 -11
- package/_types/wallet.d.ts.map +0 -1
- package/_types/window.d.ts +0 -2
- package/_types/window.d.ts.map +0 -1
- package/test.ts +0 -83
- package/window.ts +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../contract/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,yBAAyB,GAC1B,MAAM,gDAAgD,CAAA;AACvD,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,mBAAmB,GACpB,MAAM,0CAA0C,CAAA;AACjD,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,WAAW,GACZ,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,SAAS,GACV,MAAM,gCAAgC,CAAA;AACvC,YAAY,EACV,kBAAkB;AAClB,sDAAsD;AACtD,kBAAkB,IAAI,QAAQ,EAC9B,yBAAyB;AACzB,6DAA6D;AAC7D,yBAAyB,IAAI,eAAe,GAC7C,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,gBAAgB,GACjB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,KAAK,4BAA4B,EACjC,kBAAkB,GACnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,KAAK,6BAA6B,EAClC,mBAAmB,GACpB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,iBAAiB,GAClB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,4BAA4B,EACjC,kBAAkB,GACnB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,oBAAoB,GACrB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,6BAA6B,EAClC,mBAAmB,GACpB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,0BAA0B,EAC/B,gBAAgB,GACjB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,2BAA2B,EAChC,iBAAiB,GAClB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,2BAA2B,EAChC,iBAAiB,GAClB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,4BAA4B,EACjC,kBAAkB,GACnB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,KAAK,8BAA8B,EACnC,oBAAoB,GACrB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export { normalize } from '../utils/ens/normalize.js';
|
2
|
+
export { type GetEnsAddressParameters, type GetEnsAddressReturnType, getEnsAddress, } from '../actions/ens/getEnsAddress.js';
|
3
|
+
export { type GetEnsAvatarParameters, type GetEnsAvatarReturnType, getEnsAvatar, } from '../actions/ens/getEnsAvatar.js';
|
4
|
+
export { type GetEnsNameParameters, type GetEnsNameReturnType, getEnsName, } from '../actions/ens/getEnsName.js';
|
5
|
+
export { type GetEnsResolverParameters, type GetEnsResolverReturnType, getEnsResolver, } from '../actions/ens/getEnsResolver.js';
|
6
|
+
export { type GetEnsTextParameters, type GetEnsTextReturnType, getEnsText, } from '../actions/ens/getEnsText.js';
|
7
|
+
export { labelhash } from '../utils/ens/labelhash.js';
|
8
|
+
export { namehash } from '../utils/ens/namehash.js';
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,aAAa,GACd,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,YAAY,GACb,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,UAAU,GACX,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "0.0.0-main.
|
1
|
+
export declare const version = "0.0.0-main.20230913T212840";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -0,0 +1,33 @@
|
|
1
|
+
export { call, type CallParameters, type CallReturnType, } from '../actions/public/call.js';
|
2
|
+
export { createBlockFilter, type CreateBlockFilterReturnType, } from '../actions/public/createBlockFilter.js';
|
3
|
+
export { createEventFilter, type CreateEventFilterParameters, type CreateEventFilterReturnType, } from '../actions/public/createEventFilter.js';
|
4
|
+
export { createPendingTransactionFilter, type CreatePendingTransactionFilterReturnType, } from '../actions/public/createPendingTransactionFilter.js';
|
5
|
+
export { estimateGas, type EstimateGasParameters, type EstimateGasReturnType, } from '../actions/public/estimateGas.js';
|
6
|
+
export { getBalance, type GetBalanceParameters, type GetBalanceReturnType, } from '../actions/public/getBalance.js';
|
7
|
+
export { getBlock, type GetBlockParameters, type GetBlockReturnType, } from '../actions/public/getBlock.js';
|
8
|
+
export { getBlockNumber, getBlockNumberCache, type GetBlockNumberParameters, type GetBlockNumberReturnType, } from '../actions/public/getBlockNumber.js';
|
9
|
+
export { getBlockTransactionCount, type GetBlockTransactionCountParameters, type GetBlockTransactionCountReturnType, } from '../actions/public/getBlockTransactionCount.js';
|
10
|
+
export { getBytecode, type GetBytecodeParameters, type GetBytecodeReturnType, } from '../actions/public/getBytecode.js';
|
11
|
+
export { getChainId } from '../actions/public/getChainId.js';
|
12
|
+
export { getFeeHistory, type GetFeeHistoryParameters, type GetFeeHistoryReturnType, } from '../actions/public/getFeeHistory.js';
|
13
|
+
export { estimateFeesPerGas, type EstimateFeesPerGasParameters, type EstimateFeesPerGasReturnType, } from '../actions/public/estimateFeesPerGas.js';
|
14
|
+
export { getFilterChanges, type GetFilterChangesParameters, type GetFilterChangesReturnType, } from '../actions/public/getFilterChanges.js';
|
15
|
+
export { getFilterLogs, type GetFilterLogsParameters, type GetFilterLogsReturnType, } from '../actions/public/getFilterLogs.js';
|
16
|
+
export { getLogs } from '../actions/public/getLogs.js';
|
17
|
+
export { getGasPrice, type GetGasPriceReturnType, } from '../actions/public/getGasPrice.js';
|
18
|
+
export { estimateMaxPriorityFeePerGas, type EstimateMaxPriorityFeePerGasParameters, type EstimateMaxPriorityFeePerGasReturnType, } from '../actions/public/estimateMaxPriorityFeePerGas.js';
|
19
|
+
export { getTransaction, type GetTransactionParameters, type GetTransactionReturnType, } from '../actions/public/getTransaction.js';
|
20
|
+
export { getTransactionConfirmations, type GetTransactionConfirmationsParameters, type GetTransactionConfirmationsReturnType, } from '../actions/public/getTransactionConfirmations.js';
|
21
|
+
export { getTransactionCount, type GetTransactionCountParameters, type GetTransactionCountReturnType, } from '../actions/public/getTransactionCount.js';
|
22
|
+
export { getTransactionReceipt, type GetTransactionReceiptParameters, type GetTransactionReceiptReturnType, } from '../actions/public/getTransactionReceipt.js';
|
23
|
+
export { uninstallFilter, type UninstallFilterParameters, type UninstallFilterReturnType, } from '../actions/public/uninstallFilter.js';
|
24
|
+
export { waitForTransactionReceipt, type ReplacementReason, type ReplacementReturnType, type WaitForTransactionReceiptParameters, type WaitForTransactionReceiptReturnType, } from '../actions/public/waitForTransactionReceipt.js';
|
25
|
+
export { watchBlockNumber, type OnBlockNumberFn, type OnBlockNumberParameter, type WatchBlockNumberParameters, } from '../actions/public/watchBlockNumber.js';
|
26
|
+
export { watchBlocks, type OnBlock, type OnBlockParameter, type WatchBlocksParameters, } from '../actions/public/watchBlocks.js';
|
27
|
+
export { watchEvent, type WatchEventOnLogsFn,
|
28
|
+
/** @deprecated - use `WatchEventOnLogsFn` instead. */
|
29
|
+
type WatchEventOnLogsFn as OnLogsFn, type WatchEventOnLogsParameter,
|
30
|
+
/** @deprecated - use `WatchEventOnLogsParameter` instead. */
|
31
|
+
type WatchEventOnLogsParameter as OnLogsParameter, } from '../actions/public/watchEvent.js';
|
32
|
+
export { watchPendingTransactions, type OnTransactionsFn, type OnTransactionsParameter, type WatchPendingTransactionsParameters, } from '../actions/public/watchPendingTransactions.js';
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../public/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,IAAI,EACJ,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,iBAAiB,EACjB,KAAK,2BAA2B,GACjC,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,iBAAiB,EACjB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,GACjC,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,8BAA8B,EAC9B,KAAK,wCAAwC,GAC9C,MAAM,qDAAqD,CAAA;AAC5D,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,wBAAwB,EACxB,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,GACxC,MAAM,+CAA+C,CAAA;AACtD,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAC5D,OAAO,EACL,aAAa,EACb,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,kBAAkB,EAClB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,GAClC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,gBAAgB,EAChB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,aAAa,EACb,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AACtD,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,4BAA4B,EAC5B,KAAK,sCAAsC,EAC3C,KAAK,sCAAsC,GAC5C,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EACL,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,2BAA2B,EAC3B,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,GAC3C,MAAM,kDAAkD,CAAA;AACzD,OAAO,EACL,mBAAmB,EACnB,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,GACnC,MAAM,0CAA0C,CAAA;AACjD,OAAO,EACL,qBAAqB,EACrB,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,GACrC,MAAM,4CAA4C,CAAA;AACnD,OAAO,EACL,eAAe,EACf,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,yBAAyB,EACzB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,GACzC,MAAM,gDAAgD,CAAA;AACvD,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,GAChC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,WAAW,EACX,KAAK,OAAO,EACZ,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,UAAU,EACV,KAAK,kBAAkB;AACvB,sDAAsD;AACtD,KAAK,kBAAkB,IAAI,QAAQ,EACnC,KAAK,yBAAyB;AAC9B,6DAA6D;AAC7D,KAAK,yBAAyB,IAAI,eAAe,GAClD,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,wBAAwB,EACxB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,kCAAkC,GACxC,MAAM,+CAA+C,CAAA"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export { dropTransaction, type DropTransactionParameters, } from '../actions/test/dropTransaction.js';
|
2
|
+
export { getAutomine, type GetAutomineReturnType, } from '../actions/test/getAutomine.js';
|
3
|
+
export { getTxpoolContent, type GetTxpoolContentReturnType, } from '../actions/test/getTxpoolContent.js';
|
4
|
+
export { getTxpoolStatus, type GetTxpoolStatusReturnType, } from '../actions/test/getTxpoolStatus.js';
|
5
|
+
export { impersonateAccount, type ImpersonateAccountParameters, } from '../actions/test/impersonateAccount.js';
|
6
|
+
export { increaseTime, type IncreaseTimeParameters, } from '../actions/test/increaseTime.js';
|
7
|
+
export { inspectTxpool, type InspectTxpoolReturnType, } from '../actions/test/inspectTxpool.js';
|
8
|
+
export { mine, type MineParameters } from '../actions/test/mine.js';
|
9
|
+
export { removeBlockTimestampInterval } from '../actions/test/removeBlockTimestampInterval.js';
|
10
|
+
export { reset, type ResetParameters } from '../actions/test/reset.js';
|
11
|
+
export { revert, type RevertParameters } from '../actions/test/revert.js';
|
12
|
+
export { sendUnsignedTransaction, type SendUnsignedTransactionParameters, type SendUnsignedTransactionReturnType, } from '../actions/test/sendUnsignedTransaction.js';
|
13
|
+
export { setAutomine } from '../actions/test/setAutomine.js';
|
14
|
+
export { setBalance, type SetBalanceParameters, } from '../actions/test/setBalance.js';
|
15
|
+
export { setBlockGasLimit, type SetBlockGasLimitParameters, } from '../actions/test/setBlockGasLimit.js';
|
16
|
+
export { setBlockTimestampInterval, type SetBlockTimestampIntervalParameters, } from '../actions/test/setBlockTimestampInterval.js';
|
17
|
+
export { setCode, type SetCodeParameters } from '../actions/test/setCode.js';
|
18
|
+
export { setCoinbase, type SetCoinbaseParameters, } from '../actions/test/setCoinbase.js';
|
19
|
+
export { setIntervalMining, type SetIntervalMiningParameters, } from '../actions/test/setIntervalMining.js';
|
20
|
+
export { setLoggingEnabled } from '../actions/test/setLoggingEnabled.js';
|
21
|
+
export { setMinGasPrice, type SetMinGasPriceParameters, } from '../actions/test/setMinGasPrice.js';
|
22
|
+
export { setNextBlockBaseFeePerGas, type SetNextBlockBaseFeePerGasParameters, } from '../actions/test/setNextBlockBaseFeePerGas.js';
|
23
|
+
export { setNextBlockTimestamp, type SetNextBlockTimestampParameters, } from '../actions/test/setNextBlockTimestamp.js';
|
24
|
+
export { setNonce, type SetNonceParameters } from '../actions/test/setNonce.js';
|
25
|
+
export { setStorageAt, type SetStorageAtParameters, } from '../actions/test/setStorageAt.js';
|
26
|
+
export { snapshot } from '../actions/test/snapshot.js';
|
27
|
+
export { setRpcUrl } from '../actions/test/setRpcUrl.js';
|
28
|
+
export { stopImpersonatingAccount, type StopImpersonatingAccountParameters, } from '../actions/test/stopImpersonatingAccount.js';
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../test/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,yBAAyB,GAC/B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,gBAAgB,EAChB,KAAK,0BAA0B,GAChC,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,eAAe,EACf,KAAK,yBAAyB,GAC/B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,kBAAkB,EAClB,KAAK,4BAA4B,GAClC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,YAAY,EACZ,KAAK,sBAAsB,GAC5B,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,aAAa,EACb,KAAK,uBAAuB,GAC7B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAA;AAC9F,OAAO,EAAE,KAAK,EAAE,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EACL,uBAAuB,EACvB,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,GACvC,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,GAC1B,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,gBAAgB,EAChB,KAAK,0BAA0B,GAChC,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,yBAAyB,EACzB,KAAK,mCAAmC,GACzC,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC5E,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,iBAAiB,EACjB,KAAK,2BAA2B,GACjC,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AACxE,OAAO,EACL,cAAc,EACd,KAAK,wBAAwB,GAC9B,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,yBAAyB,EACzB,KAAK,mCAAmC,GACzC,MAAM,8CAA8C,CAAA;AACrD,OAAO,EACL,qBAAqB,EACrB,KAAK,+BAA+B,GACrC,MAAM,0CAA0C,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAC/E,OAAO,EACL,YAAY,EACZ,KAAK,sBAAsB,GAC5B,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EACL,wBAAwB,EACxB,KAAK,kCAAkC,GACxC,MAAM,6CAA6C,CAAA"}
|
@@ -18,7 +18,7 @@ export declare const transactionType: {
|
|
18
18
|
readonly '0x2': "eip1559";
|
19
19
|
};
|
20
20
|
export declare function formatTransaction(transaction: Partial<RpcTransaction>): Transaction;
|
21
|
-
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "
|
21
|
+
export declare const defineTransaction: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "gas" | "value" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "blockHash" | "blockNumber" | "from" | "hash" | "input" | "nonce" | "r" | "s" | "to" | "transactionIndex" | "v" | "accessList" | "chainId")[] = []>({ exclude, format: overrides, }: {
|
22
22
|
exclude?: TExclude | undefined;
|
23
23
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
24
24
|
}) => {
|
@@ -8,7 +8,7 @@ export declare const rpcTransactionType: {
|
|
8
8
|
readonly eip1559: "0x2";
|
9
9
|
};
|
10
10
|
export declare function formatTransactionRequest(transactionRequest: Partial<TransactionRequest>): RpcTransactionRequest;
|
11
|
-
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "
|
11
|
+
export declare const defineTransactionRequest: <TOverrideParameters, TOverrideReturnType, TExclude extends ("type" | "gas" | "value" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "from" | "nonce" | "to" | "accessList" | "data")[] = []>({ exclude, format: overrides, }: {
|
12
12
|
exclude?: TExclude | undefined;
|
13
13
|
format: (_: TOverrideParameters) => TOverrideReturnType;
|
14
14
|
}) => {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export { addChain, type AddChainParameters, } from '../actions/wallet/addChain.js';
|
2
|
+
export { getAddresses, type GetAddressesReturnType, } from '../actions/wallet/getAddresses.js';
|
3
|
+
export { getPermissions, type GetPermissionsReturnType, } from '../actions/wallet/getPermissions.js';
|
4
|
+
export { requestAddresses, type RequestAddressesReturnType, } from '../actions/wallet/requestAddresses.js';
|
5
|
+
export { requestPermissions, type RequestPermissionsReturnType, } from '../actions/wallet/requestPermissions.js';
|
6
|
+
export { sendTransaction, type SendTransactionParameters, type SendTransactionReturnType, } from '../actions/wallet/sendTransaction.js';
|
7
|
+
export { signMessage, type SignMessageParameters, type SignMessageReturnType, } from '../actions/wallet/signMessage.js';
|
8
|
+
export { signTypedData, type SignTypedDataParameters, type SignTypedDataReturnType, } from '../actions/wallet/signTypedData.js';
|
9
|
+
export { switchChain, type SwitchChainParameters, } from '../actions/wallet/switchChain.js';
|
10
|
+
export { watchAsset, type WatchAssetParameters, type WatchAssetReturnType, } from '../actions/wallet/watchAsset.js';
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../wallet/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,GACxB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,YAAY,EACZ,KAAK,sBAAsB,GAC5B,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,cAAc,EACd,KAAK,wBAAwB,GAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,gBAAgB,EAChB,KAAK,0BAA0B,GAChC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,kBAAkB,EAClB,KAAK,4BAA4B,GAClC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,eAAe,EACf,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,GAC/B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,aAAa,EACb,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,iCAAiC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../../window/window.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA"}
|
package/{abi.ts → abi/index.ts}
RENAMED
@@ -1,15 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
decodeAbiParameters,
|
4
|
-
} from './utils/abi/decodeAbiParameters.js'
|
5
|
-
export {
|
6
|
-
type EncodeAbiParametersReturnType,
|
7
|
-
encodeAbiParameters,
|
8
|
-
} from './utils/abi/encodeAbiParameters.js'
|
9
|
-
export {
|
10
|
-
type GetAbiItemParameters,
|
11
|
-
getAbiItem,
|
12
|
-
} from './utils/abi/getAbiItem.js'
|
1
|
+
// TODO(v2): Remove this entrypoint. Favor importing from root entrypoint (`viem`).
|
2
|
+
|
13
3
|
export {
|
14
4
|
type ParseAbi,
|
15
5
|
type ParseAbiItem,
|
@@ -20,4 +10,16 @@ export {
|
|
20
10
|
parseAbiParameter,
|
21
11
|
parseAbiParameters,
|
22
12
|
} from 'abitype'
|
23
|
-
export {
|
13
|
+
export {
|
14
|
+
type DecodeAbiParametersReturnType,
|
15
|
+
decodeAbiParameters,
|
16
|
+
} from '../utils/abi/decodeAbiParameters.js'
|
17
|
+
export {
|
18
|
+
type EncodeAbiParametersReturnType,
|
19
|
+
encodeAbiParameters,
|
20
|
+
} from '../utils/abi/encodeAbiParameters.js'
|
21
|
+
export {
|
22
|
+
type GetAbiItemParameters,
|
23
|
+
getAbiItem,
|
24
|
+
} from '../utils/abi/getAbiItem.js'
|
25
|
+
export { encodePacked } from '../utils/abi/encodePacked.js'
|
package/abi/package.json
ADDED
@@ -1,9 +1,9 @@
|
|
1
|
-
export { formattersCelo } from '
|
1
|
+
export { formattersCelo } from '../celo/formatters.js'
|
2
2
|
export {
|
3
3
|
serializeTransactionCelo,
|
4
4
|
serializersCelo,
|
5
|
-
} from '
|
6
|
-
export { parseTransactionCelo } from '
|
5
|
+
} from '../celo/serializers.js'
|
6
|
+
export { parseTransactionCelo } from '../celo/parsers.js'
|
7
7
|
export type {
|
8
8
|
CeloBlock,
|
9
9
|
CeloBlockOverrides,
|
@@ -26,9 +26,9 @@ export type {
|
|
26
26
|
TransactionRequestCIP42,
|
27
27
|
TransactionSerializableCIP42,
|
28
28
|
TransactionSerializedCIP42,
|
29
|
-
} from '
|
29
|
+
} from '../celo/types.js'
|
30
30
|
|
31
|
-
export { formattersOptimism } from '
|
31
|
+
export { formattersOptimism } from '../optimism/formatters.js'
|
32
32
|
export type {
|
33
33
|
OptimismBlock,
|
34
34
|
OptimismBlockOverrides,
|
@@ -42,4 +42,4 @@ export type {
|
|
42
42
|
OptimismTransaction,
|
43
43
|
OptimismTransactionReceipt,
|
44
44
|
OptimismTransactionReceiptOverrides,
|
45
|
-
} from '
|
45
|
+
} from '../optimism/types.js'
|
@@ -1,28 +1,30 @@
|
|
1
|
+
// TODO(v2): Remove this entrypoint. Favor importing from root entrypoint (`viem`).
|
2
|
+
|
1
3
|
export {
|
2
4
|
type CreateContractEventFilterParameters,
|
3
5
|
type CreateContractEventFilterReturnType,
|
4
6
|
createContractEventFilter,
|
5
|
-
} from '
|
7
|
+
} from '../actions/public/createContractEventFilter.js'
|
6
8
|
export {
|
7
9
|
type EstimateContractGasParameters,
|
8
10
|
type EstimateContractGasReturnType,
|
9
11
|
estimateContractGas,
|
10
|
-
} from '
|
12
|
+
} from '../actions/public/estimateContractGas.js'
|
11
13
|
export {
|
12
14
|
type GetBytecodeParameters,
|
13
15
|
type GetBytecodeReturnType,
|
14
16
|
getBytecode,
|
15
|
-
} from '
|
17
|
+
} from '../actions/public/getBytecode.js'
|
16
18
|
export {
|
17
19
|
type GetStorageAtParameters,
|
18
20
|
type GetStorageAtReturnType,
|
19
21
|
getStorageAt,
|
20
|
-
} from '
|
22
|
+
} from '../actions/public/getStorageAt.js'
|
21
23
|
export {
|
22
24
|
type MulticallParameters,
|
23
25
|
type MulticallReturnType,
|
24
26
|
multicall,
|
25
|
-
} from '
|
27
|
+
} from '../actions/public/multicall.js'
|
26
28
|
export type {
|
27
29
|
WatchEventOnLogsFn,
|
28
30
|
/** @deprecated - use `WatchEventOnLogsFn` instead. */
|
@@ -30,81 +32,81 @@ export type {
|
|
30
32
|
WatchEventOnLogsParameter,
|
31
33
|
/** @deprecated - use `WatchEventOnLogsParameter` instead. */
|
32
34
|
WatchEventOnLogsParameter as OnLogsParameter,
|
33
|
-
} from '
|
35
|
+
} from '../actions/public/watchEvent.js'
|
34
36
|
export {
|
35
37
|
type ReadContractParameters,
|
36
38
|
type ReadContractReturnType,
|
37
39
|
readContract,
|
38
|
-
} from '
|
40
|
+
} from '../actions/public/readContract.js'
|
39
41
|
export {
|
40
42
|
type SimulateContractParameters,
|
41
43
|
type SimulateContractReturnType,
|
42
44
|
simulateContract,
|
43
|
-
} from '
|
45
|
+
} from '../actions/public/simulateContract.js'
|
44
46
|
export {
|
45
47
|
type WatchContractEventParameters,
|
46
48
|
watchContractEvent,
|
47
|
-
} from '
|
49
|
+
} from '../actions/public/watchContractEvent.js'
|
48
50
|
export {
|
49
51
|
type DeployContractParameters,
|
50
52
|
type DeployContractReturnType,
|
51
53
|
deployContract,
|
52
|
-
} from '
|
54
|
+
} from '../actions/wallet/deployContract.js'
|
53
55
|
export {
|
54
56
|
type WriteContractParameters,
|
55
57
|
type WriteContractReturnType,
|
56
58
|
writeContract,
|
57
|
-
} from '
|
59
|
+
} from '../actions/wallet/writeContract.js'
|
58
60
|
export {
|
59
61
|
type DecodeAbiParametersReturnType,
|
60
62
|
decodeAbiParameters,
|
61
|
-
} from '
|
63
|
+
} from '../utils/abi/decodeAbiParameters.js'
|
62
64
|
export {
|
63
65
|
type DecodeErrorResultParameters,
|
64
66
|
type DecodeErrorResultReturnType,
|
65
67
|
decodeErrorResult,
|
66
|
-
} from '
|
68
|
+
} from '../utils/abi/decodeErrorResult.js'
|
67
69
|
export {
|
68
70
|
type DecodeEventLogParameters,
|
69
71
|
type DecodeEventLogReturnType,
|
70
72
|
decodeEventLog,
|
71
|
-
} from '
|
73
|
+
} from '../utils/abi/decodeEventLog.js'
|
72
74
|
export {
|
73
75
|
type DecodeFunctionDataParameters,
|
74
76
|
decodeFunctionData,
|
75
|
-
} from '
|
77
|
+
} from '../utils/abi/decodeFunctionData.js'
|
76
78
|
export {
|
77
79
|
type DecodeFunctionResultParameters,
|
78
80
|
type DecodeFunctionResultReturnType,
|
79
81
|
decodeFunctionResult,
|
80
|
-
} from '
|
82
|
+
} from '../utils/abi/decodeFunctionResult.js'
|
81
83
|
export {
|
82
84
|
type EncodeAbiParametersReturnType,
|
83
85
|
encodeAbiParameters,
|
84
|
-
} from '
|
86
|
+
} from '../utils/abi/encodeAbiParameters.js'
|
85
87
|
export {
|
86
88
|
type EncodeDeployDataParameters,
|
87
89
|
encodeDeployData,
|
88
|
-
} from '
|
90
|
+
} from '../utils/abi/encodeDeployData.js'
|
89
91
|
export {
|
90
92
|
type EncodeErrorResultParameters,
|
91
93
|
encodeErrorResult,
|
92
|
-
} from '
|
94
|
+
} from '../utils/abi/encodeErrorResult.js'
|
93
95
|
export {
|
94
96
|
type EncodeEventTopicsParameters,
|
95
97
|
encodeEventTopics,
|
96
|
-
} from '
|
98
|
+
} from '../utils/abi/encodeEventTopics.js'
|
97
99
|
export {
|
98
100
|
type EncodeFunctionDataParameters,
|
99
101
|
encodeFunctionData,
|
100
|
-
} from '
|
102
|
+
} from '../utils/abi/encodeFunctionData.js'
|
101
103
|
export {
|
102
104
|
type EncodeFunctionResultParameters,
|
103
105
|
encodeFunctionResult,
|
104
|
-
} from '
|
106
|
+
} from '../utils/abi/encodeFunctionResult.js'
|
105
107
|
export {
|
106
108
|
type GetAbiItemParameters,
|
107
109
|
getAbiItem,
|
108
|
-
} from '
|
109
|
-
export { formatAbiItemWithArgs } from '
|
110
|
-
export { formatAbiItem } from '
|
110
|
+
} from '../utils/abi/getAbiItem.js'
|
111
|
+
export { formatAbiItemWithArgs } from '../utils/abi/formatAbiItemWithArgs.js'
|
112
|
+
export { formatAbiItem } from '../utils/abi/formatAbiItem.js'
|
package/{ens.ts → ens/index.ts}
RENAMED
@@ -1,28 +1,28 @@
|
|
1
|
-
export { normalize } from '
|
1
|
+
export { normalize } from '../utils/ens/normalize.js'
|
2
2
|
export {
|
3
3
|
type GetEnsAddressParameters,
|
4
4
|
type GetEnsAddressReturnType,
|
5
5
|
getEnsAddress,
|
6
|
-
} from '
|
6
|
+
} from '../actions/ens/getEnsAddress.js'
|
7
7
|
export {
|
8
8
|
type GetEnsAvatarParameters,
|
9
9
|
type GetEnsAvatarReturnType,
|
10
10
|
getEnsAvatar,
|
11
|
-
} from '
|
11
|
+
} from '../actions/ens/getEnsAvatar.js'
|
12
12
|
export {
|
13
13
|
type GetEnsNameParameters,
|
14
14
|
type GetEnsNameReturnType,
|
15
15
|
getEnsName,
|
16
|
-
} from '
|
16
|
+
} from '../actions/ens/getEnsName.js'
|
17
17
|
export {
|
18
18
|
type GetEnsResolverParameters,
|
19
19
|
type GetEnsResolverReturnType,
|
20
20
|
getEnsResolver,
|
21
|
-
} from '
|
21
|
+
} from '../actions/ens/getEnsResolver.js'
|
22
22
|
export {
|
23
23
|
type GetEnsTextParameters,
|
24
24
|
type GetEnsTextReturnType,
|
25
25
|
getEnsText,
|
26
|
-
} from '
|
27
|
-
export { labelhash } from '
|
28
|
-
export { namehash } from '
|
26
|
+
} from '../actions/ens/getEnsText.js'
|
27
|
+
export { labelhash } from '../utils/ens/labelhash.js'
|
28
|
+
export { namehash } from '../utils/ens/namehash.js'
|
package/ens/package.json
ADDED
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20230913T212840'
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "viem",
|
3
3
|
"description": "TypeScript Interface for Ethereum",
|
4
|
-
"version": "0.0.0-main.
|
4
|
+
"version": "0.0.0-main.20230913T212840",
|
5
5
|
"type": "module",
|
6
6
|
"main": "./_cjs/index.js",
|
7
7
|
"module": "./_esm/index.js",
|
@@ -23,9 +23,9 @@
|
|
23
23
|
"default": "./_cjs/index.js"
|
24
24
|
},
|
25
25
|
"./abi": {
|
26
|
-
"types": "./_types/abi.d.ts",
|
27
|
-
"import": "./_esm/abi.js",
|
28
|
-
"default": "./_cjs/abi.js"
|
26
|
+
"types": "./_types/abi/index.d.ts",
|
27
|
+
"import": "./_esm/abi/index.js",
|
28
|
+
"default": "./_cjs/abi/index.js"
|
29
29
|
},
|
30
30
|
"./accounts": {
|
31
31
|
"types": "./_types/accounts/index.d.ts",
|
@@ -43,29 +43,29 @@
|
|
43
43
|
"default": "./_cjs/chains/index.js"
|
44
44
|
},
|
45
45
|
"./chains/utils": {
|
46
|
-
"types": "./_types/chains/utils.d.ts",
|
47
|
-
"import": "./_esm/chains/utils.js",
|
48
|
-
"default": "./_cjs/chains/utils.js"
|
46
|
+
"types": "./_types/chains/utils/index.d.ts",
|
47
|
+
"import": "./_esm/chains/utils/index.js",
|
48
|
+
"default": "./_cjs/chains/utils/index.js"
|
49
49
|
},
|
50
50
|
"./contract": {
|
51
|
-
"types": "./_types/contract.d.ts",
|
52
|
-
"import": "./_esm/contract.js",
|
53
|
-
"default": "./_cjs/contract.js"
|
51
|
+
"types": "./_types/contract/index.d.ts",
|
52
|
+
"import": "./_esm/contract/index.js",
|
53
|
+
"default": "./_cjs/contract/index.js"
|
54
54
|
},
|
55
55
|
"./ens": {
|
56
|
-
"types": "./_types/ens.d.ts",
|
57
|
-
"import": "./_esm/ens.js",
|
58
|
-
"default": "./_cjs/ens.js"
|
56
|
+
"types": "./_types/ens/index.d.ts",
|
57
|
+
"import": "./_esm/ens/index.js",
|
58
|
+
"default": "./_cjs/ens/index.js"
|
59
59
|
},
|
60
60
|
"./public": {
|
61
|
-
"types": "./_types/public.d.ts",
|
62
|
-
"import": "./_esm/public.js",
|
63
|
-
"default": "./_cjs/public.js"
|
61
|
+
"types": "./_types/public/index.d.ts",
|
62
|
+
"import": "./_esm/public/index.js",
|
63
|
+
"default": "./_cjs/public/index.js"
|
64
64
|
},
|
65
65
|
"./test": {
|
66
|
-
"types": "./_types/test.d.ts",
|
67
|
-
"import": "./_esm/test.js",
|
68
|
-
"default": "./_cjs/test.js"
|
66
|
+
"types": "./_types/test/index.d.ts",
|
67
|
+
"import": "./_esm/test/index.js",
|
68
|
+
"default": "./_cjs/test/index.js"
|
69
69
|
},
|
70
70
|
"./utils": {
|
71
71
|
"types": "./_types/utils/index.d.ts",
|
@@ -73,21 +73,21 @@
|
|
73
73
|
"default": "./_cjs/utils/index.js"
|
74
74
|
},
|
75
75
|
"./wallet": {
|
76
|
-
"types": "./_types/wallet.d.ts",
|
77
|
-
"import": "./_esm/wallet.js",
|
78
|
-
"default": "./_cjs/wallet.js"
|
76
|
+
"types": "./_types/wallet/index.d.ts",
|
77
|
+
"import": "./_esm/wallet/index.js",
|
78
|
+
"default": "./_cjs/wallet/index.js"
|
79
79
|
},
|
80
80
|
"./window": {
|
81
|
-
"types": "./_types/window.d.ts",
|
82
|
-
"import": "./_esm/window.js",
|
83
|
-
"default": "./_cjs/window.js"
|
81
|
+
"types": "./_types/window/index.d.ts",
|
82
|
+
"import": "./_esm/window/index.js",
|
83
|
+
"default": "./_cjs/window/index.js"
|
84
84
|
},
|
85
85
|
"./package.json": "./package.json"
|
86
86
|
},
|
87
87
|
"typesVersions": {
|
88
88
|
"*": {
|
89
89
|
"abi": [
|
90
|
-
"./_types/abi.d.ts"
|
90
|
+
"./_types/abi/index.d.ts"
|
91
91
|
],
|
92
92
|
"accounts": [
|
93
93
|
"./_types/accounts/index.d.ts"
|
@@ -96,28 +96,31 @@
|
|
96
96
|
"./_types/actions/index.d.ts"
|
97
97
|
],
|
98
98
|
"chains": [
|
99
|
-
"./_types/chains.d.ts"
|
99
|
+
"./_types/chains/index.d.ts"
|
100
|
+
],
|
101
|
+
"chains/utils": [
|
102
|
+
"./_types/chains/utils/index.d.ts"
|
100
103
|
],
|
101
104
|
"contract": [
|
102
|
-
"./_types/contract.d.ts"
|
105
|
+
"./_types/contract/index.d.ts"
|
103
106
|
],
|
104
107
|
"ens": [
|
105
|
-
"./_types/ens.d.ts"
|
108
|
+
"./_types/ens/index.d.ts"
|
106
109
|
],
|
107
110
|
"public": [
|
108
|
-
"./_types/public.d.ts"
|
111
|
+
"./_types/public/index.d.ts"
|
109
112
|
],
|
110
113
|
"test": [
|
111
|
-
"./_types/test.d.ts"
|
114
|
+
"./_types/test/index.d.ts"
|
112
115
|
],
|
113
116
|
"utils": [
|
114
117
|
"./_types/utils/index.d.ts"
|
115
118
|
],
|
116
119
|
"wallet": [
|
117
|
-
"./_types/wallet.d.ts"
|
120
|
+
"./_types/wallet/index.d.ts"
|
118
121
|
],
|
119
122
|
"window": [
|
120
|
-
"./_types/window.d.ts"
|
123
|
+
"./_types/window/index.d.ts"
|
121
124
|
]
|
122
125
|
}
|
123
126
|
},
|