@wagmi/core 0.2.0-next.9 → 0.2.2

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.
Files changed (101) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +30 -0
  3. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.d.ts +1 -11
  4. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.dev.js +234 -0
  5. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.js +6 -15
  6. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.prod.js +234 -0
  7. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.esm.js +212 -0
  8. package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.d.ts +1 -0
  9. package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.dev.js +62 -0
  10. package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.js +7 -0
  11. package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.prod.js +62 -0
  12. package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.esm.js +58 -0
  13. package/connectors/metaMask/package.json +4 -0
  14. package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.d.ts +1 -11
  15. package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.dev.js +250 -0
  16. package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.js +6 -15
  17. package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.prod.js +250 -0
  18. package/connectors/mock/dist/wagmi-core-connectors-mock.esm.js +241 -0
  19. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.d.ts +1 -11
  20. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.dev.js +183 -0
  21. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.js +6 -15
  22. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.prod.js +183 -0
  23. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.esm.js +161 -0
  24. package/dist/base-159de546.esm.js +513 -0
  25. package/dist/base-5812b724.cjs.dev.js +540 -0
  26. package/dist/base-59f3457e.cjs.prod.js +540 -0
  27. package/dist/classPrivateMethodGet-55c9909f.esm.js +16 -0
  28. package/dist/classPrivateMethodGet-976c8120.cjs.dev.js +19 -0
  29. package/dist/classPrivateMethodGet-d7330ed7.cjs.prod.js +19 -0
  30. package/dist/client-4d8337e7.cjs.prod.js +606 -0
  31. package/dist/client-5d456446.esm.js +595 -0
  32. package/dist/client-f77a08e4.cjs.dev.js +606 -0
  33. package/dist/declarations/src/actions/accounts/connect.d.ts +16 -0
  34. package/dist/declarations/src/actions/accounts/disconnect.d.ts +1 -0
  35. package/dist/declarations/src/actions/accounts/fetchBalance.d.ts +20 -0
  36. package/dist/declarations/src/actions/accounts/fetchSigner.d.ts +3 -0
  37. package/dist/declarations/src/actions/accounts/getAccount.d.ts +7 -0
  38. package/dist/declarations/src/actions/accounts/getNetwork.d.ts +9 -0
  39. package/dist/declarations/src/actions/accounts/index.d.ts +12 -0
  40. package/dist/declarations/src/actions/accounts/signMessage.d.ts +9 -0
  41. package/dist/declarations/src/actions/accounts/signTypedData.d.ts +13 -0
  42. package/dist/declarations/src/actions/accounts/switchNetwork.d.ts +6 -0
  43. package/dist/declarations/src/actions/accounts/watchAccount.d.ts +4 -0
  44. package/dist/declarations/src/actions/accounts/watchNetwork.d.ts +3 -0
  45. package/dist/declarations/src/actions/accounts/watchSigner.d.ts +3 -0
  46. package/dist/declarations/src/actions/contracts/getContract.d.ts +11 -0
  47. package/dist/declarations/src/actions/contracts/index.d.ts +5 -0
  48. package/dist/declarations/src/actions/contracts/readContract.d.ts +14 -0
  49. package/dist/declarations/src/actions/contracts/watchContractEvent.d.ts +14 -0
  50. package/dist/declarations/src/actions/contracts/watchReadContract.d.ts +7 -0
  51. package/dist/declarations/src/actions/contracts/writeContract.d.ts +11 -0
  52. package/dist/declarations/src/actions/ens/fetchEnsAddress.d.ts +8 -0
  53. package/dist/declarations/src/actions/ens/fetchEnsAvatar.d.ts +8 -0
  54. package/dist/declarations/src/actions/ens/fetchEnsName.d.ts +8 -0
  55. package/dist/declarations/src/actions/ens/fetchEnsResolver.d.ts +9 -0
  56. package/dist/declarations/src/actions/ens/index.d.ts +4 -0
  57. package/dist/declarations/src/actions/index.d.ts +7 -0
  58. package/dist/declarations/src/actions/network-status/fetchBlockNumber.d.ts +5 -0
  59. package/dist/declarations/src/actions/network-status/fetchFeeData.d.ts +16 -0
  60. package/dist/declarations/src/actions/network-status/index.d.ts +3 -0
  61. package/dist/declarations/src/actions/network-status/watchBlockNumber.d.ts +6 -0
  62. package/dist/declarations/src/actions/providers/getProvider.d.ts +7 -0
  63. package/dist/declarations/src/actions/providers/getWebSocketProvider.d.ts +7 -0
  64. package/dist/declarations/src/actions/providers/index.d.ts +4 -0
  65. package/dist/declarations/src/actions/providers/watchProvider.d.ts +4 -0
  66. package/dist/declarations/src/actions/providers/watchWebSocketProvider.d.ts +4 -0
  67. package/dist/declarations/src/actions/tokens/fetchToken.d.ts +20 -0
  68. package/dist/declarations/src/actions/tokens/index.d.ts +1 -0
  69. package/dist/declarations/src/actions/transactions/index.d.ts +2 -0
  70. package/dist/declarations/src/actions/transactions/sendTransaction.d.ts +7 -0
  71. package/dist/declarations/src/actions/transactions/waitForTransaction.d.ts +17 -0
  72. package/dist/declarations/src/client.d.ts +81 -0
  73. package/dist/declarations/src/connectors/base.d.ts +55 -0
  74. package/dist/declarations/src/connectors/coinbaseWallet.d.ts +52 -0
  75. package/dist/declarations/src/connectors/index.d.ts +2 -0
  76. package/dist/declarations/src/connectors/injected.d.ts +48 -0
  77. package/dist/declarations/src/connectors/metaMask.d.ts +13 -0
  78. package/dist/declarations/src/connectors/mock/connector.d.ts +37 -0
  79. package/dist/declarations/src/connectors/mock/index.d.ts +2 -0
  80. package/dist/declarations/src/connectors/mock/provider.d.ts +42 -0
  81. package/dist/declarations/src/connectors/walletConnect.d.ts +32 -0
  82. package/dist/declarations/src/constants/abis.d.ts +2 -0
  83. package/dist/declarations/src/constants/blockExplorers.d.ts +9 -0
  84. package/dist/declarations/src/constants/chains.d.ts +21 -0
  85. package/dist/declarations/src/constants/index.d.ts +7 -0
  86. package/dist/declarations/src/constants/rpcs.d.ts +9 -0
  87. package/dist/declarations/src/constants/units.d.ts +1 -0
  88. package/dist/declarations/src/errors.d.ts +28 -0
  89. package/dist/declarations/src/index.d.ts +12 -0
  90. package/dist/declarations/src/storage.d.ts +12 -0
  91. package/dist/declarations/src/types/index.d.ts +101 -0
  92. package/dist/declarations/src/utils/getInjectedName.d.ts +1 -0
  93. package/dist/declarations/src/utils/index.d.ts +3 -0
  94. package/dist/declarations/src/utils/normalizeChainId.d.ts +1 -0
  95. package/dist/declarations/src/utils/warn.d.ts +1 -0
  96. package/dist/wagmi-core.cjs.d.ts +1 -11
  97. package/dist/wagmi-core.cjs.dev.js +653 -0
  98. package/dist/wagmi-core.cjs.js +6 -15
  99. package/dist/wagmi-core.cjs.prod.js +653 -0
  100. package/dist/wagmi-core.esm.js +593 -0
  101. package/package.json +24 -12
@@ -0,0 +1,42 @@
1
+ import { default as EventEmitter } from 'eventemitter3';
2
+ import { Signer } from 'ethers/lib/ethers';
3
+ import type { Listener } from '@ethersproject/providers';
4
+ import { providers } from 'ethers';
5
+ export declare type MockProviderOptions = {
6
+ flags?: {
7
+ isAuthorized?: boolean;
8
+ failConnect?: boolean;
9
+ failSwitchChain?: boolean;
10
+ noSwitchChain?: boolean;
11
+ };
12
+ network?: number | string;
13
+ signer: Signer;
14
+ };
15
+ declare type Events = {
16
+ accountsChanged(accounts: string[]): void;
17
+ chainChanged(chainId: number | string): void;
18
+ disconnect(): void;
19
+ };
20
+ declare type Event = keyof Events;
21
+ export declare class MockProvider extends providers.BaseProvider {
22
+ #private;
23
+ events: EventEmitter<Events, any>;
24
+ constructor(options: MockProviderOptions);
25
+ enable(): Promise<string[]>;
26
+ disconnect(): Promise<void>;
27
+ getAccounts(): Promise<string[]>;
28
+ getSigner(): Signer;
29
+ switchChain(chainId: number): Promise<void>;
30
+ watchAsset(_asset: {
31
+ address: string;
32
+ decimals?: number;
33
+ image?: string;
34
+ symbol: string;
35
+ }): Promise<boolean>;
36
+ on(event: Event, listener: Listener): this;
37
+ once(event: Event, listener: Listener): this;
38
+ removeListener(event: Event, listener: Listener): this;
39
+ off(event: Event, listener: Listener): this;
40
+ toJSON(): string;
41
+ }
42
+ export {};
@@ -0,0 +1,32 @@
1
+ import { providers } from 'ethers';
2
+ import type WalletConnectProvider from '@walletconnect/ethereum-provider';
3
+ import type { IWCEthRpcConnectionOptions } from '@walletconnect/types';
4
+ import { Chain } from '../types';
5
+ import { Connector } from './base';
6
+ export declare class WalletConnectConnector extends Connector<WalletConnectProvider, IWCEthRpcConnectionOptions> {
7
+ #private;
8
+ readonly id = "walletConnect";
9
+ readonly name = "WalletConnect";
10
+ readonly ready = true;
11
+ constructor(config: {
12
+ chains?: Chain[];
13
+ options: IWCEthRpcConnectionOptions;
14
+ });
15
+ connect(): Promise<{
16
+ account: string;
17
+ chain: {
18
+ id: number;
19
+ unsupported: boolean;
20
+ };
21
+ provider: providers.Web3Provider;
22
+ }>;
23
+ disconnect(): Promise<void>;
24
+ getAccount(): Promise<string>;
25
+ getChainId(): Promise<number>;
26
+ getProvider(create?: boolean): Promise<WalletConnectProvider>;
27
+ getSigner(): Promise<providers.JsonRpcSigner>;
28
+ isAuthorized(): Promise<boolean>;
29
+ protected onAccountsChanged: (accounts: string[]) => void;
30
+ protected onChainChanged: (chainId: number | string) => void;
31
+ protected onDisconnect: () => void;
32
+ }
@@ -0,0 +1,2 @@
1
+ export declare const erc20ABI: string[];
2
+ export declare const erc721ABI: string[];
@@ -0,0 +1,9 @@
1
+ import { ChainName } from './chains';
2
+ export declare type BlockExplorerName = 'etherscan';
3
+ export declare type BlockExplorer = {
4
+ name: string;
5
+ url: string;
6
+ };
7
+ declare type EtherscanChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby'>;
8
+ export declare const etherscanBlockExplorers: Record<EtherscanChains, BlockExplorer>;
9
+ export {};
@@ -0,0 +1,21 @@
1
+ import { Chain } from '../types';
2
+ export declare type ChainName = 'arbitrum' | 'arbitrumRinkeby' | 'goerli' | 'hardhat' | 'kovan' | 'localhost' | 'mainnet' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'rinkeby' | 'ropsten';
3
+ export declare const chainId: {
4
+ readonly mainnet: 1;
5
+ readonly ropsten: 3;
6
+ readonly rinkeby: 4;
7
+ readonly goerli: 5;
8
+ readonly kovan: 42;
9
+ readonly optimism: 10;
10
+ readonly optimismKovan: 69;
11
+ readonly polygon: 137;
12
+ readonly polygonMumbai: 80001;
13
+ readonly arbitrum: 42161;
14
+ readonly arbitrumRinkeby: 421611;
15
+ readonly localhost: 1337;
16
+ readonly hardhat: 31337;
17
+ };
18
+ export declare const chain: Record<ChainName, Chain>;
19
+ export declare const allChains: Chain[];
20
+ export declare const defaultChains: Chain[];
21
+ export declare const defaultL2Chains: Chain[];
@@ -0,0 +1,7 @@
1
+ export { erc20ABI, erc721ABI } from './abis';
2
+ export { etherscanBlockExplorers } from './blockExplorers';
3
+ export type { BlockExplorer, BlockExplorerName } from './blockExplorers';
4
+ export { chain, chainId, allChains, defaultChains, defaultL2Chains, } from './chains';
5
+ export { alchemyRpcUrls, infuraRpcUrls } from './rpcs';
6
+ export type { RpcProviderName } from './rpcs';
7
+ export { units } from './units';
@@ -0,0 +1,9 @@
1
+ import { ChainName } from './chains';
2
+ export declare const defaultAlchemyId = "_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";
3
+ export declare const defaultInfuraId = "84842078b09946638c03157f83405213";
4
+ export declare type RpcProviderName = 'alchemy' | 'infura';
5
+ declare type AlchemyChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby'>;
6
+ export declare const alchemyRpcUrls: Record<AlchemyChains, string>;
7
+ declare type InfuraChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby'>;
8
+ export declare const infuraRpcUrls: Record<InfuraChains, string>;
9
+ export {};
@@ -0,0 +1 @@
1
+ export declare const units: readonly ["wei", "kwei", "mwei", "gwei", "szabo", "finney", "ether"];
@@ -0,0 +1,28 @@
1
+ export declare class AddChainError extends Error {
2
+ name: string;
3
+ message: string;
4
+ }
5
+ export declare class ChainNotConfiguredError extends Error {
6
+ name: string;
7
+ message: string;
8
+ }
9
+ export declare class ConnectorAlreadyConnectedError extends Error {
10
+ name: string;
11
+ message: string;
12
+ }
13
+ export declare class ConnectorNotFoundError extends Error {
14
+ name: string;
15
+ message: string;
16
+ }
17
+ export declare class SwitchChainError extends Error {
18
+ name: string;
19
+ message: string;
20
+ }
21
+ export declare class SwitchChainNotSupportedError extends Error {
22
+ name: string;
23
+ message: string;
24
+ }
25
+ export declare class UserRejectedRequestError extends Error {
26
+ name: string;
27
+ message: string;
28
+ }
@@ -0,0 +1,12 @@
1
+ export { connect, disconnect, fetchBalance, fetchBlockNumber, fetchEnsAddress, fetchEnsAvatar, fetchEnsName, fetchEnsResolver, fetchFeeData, fetchSigner, fetchToken, getAccount, getContract, getNetwork, getProvider, getWebSocketProvider, readContract, sendTransaction, signMessage, signTypedData, switchNetwork, waitForTransaction, watchAccount, watchBlockNumber, watchContractEvent, watchNetwork, watchProvider, watchReadContract, watchSigner, watchWebSocketProvider, writeContract, } from './actions';
2
+ export type { ConnectArgs, ConnectResult, FetchBalanceArgs, FetchBalanceResult, FetchBlockNumberArgs, FetchBlockNumberResult, FetchEnsAddressArgs, FetchEnsAddressResult, FetchEnsAvatarArgs, FetchEnsAvatarResult, FetchEnsNameArgs, FetchEnsNameResult, FetchEnsResolverArgs, FetchEnsResolverResult, FetchFeeDataArgs, FetchFeeDataResult, FetchSignerResult, FetchTokenArgs, FetchTokenResult, GetAccountResult, GetContractArgs, GetNetworkResult, GetProviderArgs, GetProviderResult, GetWebSocketProviderArgs, GetWebSocketProviderResult, ReadContractArgs, ReadContractConfig, ReadContractResult, SendTransactionArgs, SendTransactionResult, SignMessageArgs, SignMessageResult, SignTypedDataArgs, SignTypedDataResult, SwitchNetworkArgs, SwitchNetworkResult, WaitForTransactionArgs, WaitForTransactionResult, WatchAccountCallback, WatchBlockNumberArgs, WatchBlockNumberCallback, WatchNetworkCallback, WatchReadContractArgs, WatchReadContractConfig, WatchReadContractResult, WatchSignerCallback, WriteContractArgs, WriteContractConfig, WriteContractResult, } from './actions';
3
+ export { createClient, createClient as createWagmiClient, Client, Client as WagmiClient, } from './client';
4
+ export type { ClientConfig, ClientConfig as WagmiClientConfig } from './client';
5
+ export { Connector, InjectedConnector } from './connectors';
6
+ export type { ConnectorData, ConnectorEvents } from './connectors';
7
+ export { alchemyRpcUrls, allChains, chain, chainId, defaultChains, defaultL2Chains, erc20ABI, erc721ABI, etherscanBlockExplorers, infuraRpcUrls, units, } from './constants';
8
+ export { AddChainError, ChainNotConfiguredError, ConnectorAlreadyConnectedError, ConnectorNotFoundError, SwitchChainError, SwitchChainNotSupportedError, UserRejectedRequestError, } from './errors';
9
+ export { createStorage, createStorage as createWagmiStorage, noopStorage, } from './storage';
10
+ export type { WagmiStorage as Storage, WagmiStorage } from './storage';
11
+ export type { Chain, Unit } from './types';
12
+ export { normalizeChainId } from './utils';
@@ -0,0 +1,12 @@
1
+ declare type BaseStorage = Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
2
+ export declare type WagmiStorage = {
3
+ getItem: <T>(key: string, defaultState?: T | null) => T | null;
4
+ setItem: <T>(key: string, value: T | null) => void;
5
+ removeItem: (key: string) => void;
6
+ };
7
+ export declare const noopStorage: BaseStorage;
8
+ export declare function createStorage({ storage, key: prefix, }: {
9
+ storage: BaseStorage;
10
+ key?: string;
11
+ }): WagmiStorage;
12
+ export {};
@@ -0,0 +1,101 @@
1
+ import { BlockExplorer, BlockExplorerName, RpcProviderName, units } from '../constants';
2
+ export declare type Chain = {
3
+ id: number;
4
+ name: AddEthereumChainParameter['chainName'];
5
+ nativeCurrency?: AddEthereumChainParameter['nativeCurrency'];
6
+ rpcUrls: {
7
+ [key in RpcProviderName]?: string;
8
+ } & {
9
+ [key: string]: string;
10
+ default: string;
11
+ };
12
+ blockExplorers?: {
13
+ [key in BlockExplorerName]: BlockExplorer;
14
+ } & {
15
+ [key: string]: BlockExplorer;
16
+ default: BlockExplorer;
17
+ };
18
+ testnet?: boolean;
19
+ };
20
+ export declare type Unit = typeof units[number];
21
+ declare global {
22
+ type AddEthereumChainParameter = {
23
+ chainId: string;
24
+ chainName: string;
25
+ nativeCurrency?: {
26
+ name: string;
27
+ symbol: string;
28
+ decimals: number;
29
+ };
30
+ rpcUrls: string[];
31
+ blockExplorerUrls?: string[];
32
+ iconUrls?: string[];
33
+ };
34
+ type WatchAssetParams = {
35
+ type: 'ERC20';
36
+ options: {
37
+ address: string;
38
+ decimals: number;
39
+ image?: string;
40
+ symbol: string;
41
+ };
42
+ };
43
+ type RequestArguments = {
44
+ method: 'eth_accounts';
45
+ } | {
46
+ method: 'eth_chainId';
47
+ } | {
48
+ method: 'eth_requestAccounts';
49
+ } | {
50
+ method: 'personal_sign';
51
+ params: [string, string];
52
+ } | {
53
+ method: 'wallet_addEthereumChain';
54
+ params: AddEthereumChainParameter[];
55
+ } | {
56
+ method: 'wallet_switchEthereumChain';
57
+ params: [{
58
+ chainId: string;
59
+ }];
60
+ } | {
61
+ method: 'wallet_watchAsset';
62
+ params: WatchAssetParams;
63
+ };
64
+ type InjectedProviderFlags = {
65
+ isBraveWallet?: true;
66
+ isCoinbaseWallet?: true;
67
+ isFrame?: true;
68
+ isMetaMask?: true;
69
+ isTally?: true;
70
+ isTrust?: true;
71
+ };
72
+ type InjectedProviders = InjectedProviderFlags & {
73
+ isMetaMask: true;
74
+ /** Only exists in MetaMask as of 2022/04/03 */
75
+ _events: {
76
+ connect?: () => void;
77
+ };
78
+ /** Only exists in MetaMask as of 2022/04/03 */
79
+ _state?: {
80
+ accounts?: string[];
81
+ initialized?: boolean;
82
+ isConnected?: boolean;
83
+ isPermanentlyDisconnected?: boolean;
84
+ isUnlocked?: boolean;
85
+ };
86
+ };
87
+ interface Ethereum extends InjectedProviders {
88
+ on?: (...args: any[]) => void;
89
+ removeListener?: (...args: any[]) => void;
90
+ request<T = any>(args: RequestArguments): Promise<T>;
91
+ providers?: Ethereum[];
92
+ }
93
+ interface Window {
94
+ ethereum?: Ethereum;
95
+ }
96
+ interface ProviderRpcError extends Error {
97
+ code: 4001 | 4902;
98
+ data?: unknown;
99
+ message: string;
100
+ }
101
+ }
@@ -0,0 +1 @@
1
+ export declare function getInjectedName(ethereum?: Window['ethereum']): string | string[];
@@ -0,0 +1,3 @@
1
+ export { getInjectedName } from './getInjectedName';
2
+ export { normalizeChainId } from './normalizeChainId';
3
+ export { warn } from './warn';
@@ -0,0 +1 @@
1
+ export declare function normalizeChainId(chainId: string | number): number;
@@ -0,0 +1 @@
1
+ export declare function warn(message: string, id?: string): void;
@@ -1,11 +1 @@
1
- // are you seeing an error that a default export doesn't exist but your source file has a default export?
2
- // you should run `yarn` or `yarn preconstruct dev` if preconstruct dev isn't in your postinstall hook
3
-
4
- // curious why you need to?
5
- // this file exists so that you can import from the entrypoint normally
6
- // except that it points to your source file and you don't need to run build constantly
7
- // which means we need to re-export all of the modules from your source file
8
- // and since export * doesn't include default exports, we need to read your source file
9
- // to check for a default export and re-export it if it exists
10
- // it's not ideal, but it works pretty well ¯\_(ツ)_/¯
11
- export * from "../src/index";
1
+ export * from "./declarations/src/index";