66
77import type { Chain as Chain_2 } from ' wagmi' ;
88import { ChainId } from ' @thirdweb-dev/sdk' ;
9+ import { CoinbaseWalletConnector } from ' wagmi/connectors/coinbaseWallet' ;
910import { Connector } from ' wagmi' ;
1011import { ConnectorData } from ' wagmi' ;
1112import { ConnectorData as ConnectorData_2 } from ' wagmi-core' ;
@@ -18,6 +19,8 @@ import { EditionDrop } from '@thirdweb-dev/sdk';
1819import { InjectedConnector } from ' wagmi/connectors/injected' ;
1920import { IpfsStorage } from ' @thirdweb-dev/sdk' ;
2021import { IStorage } from ' @thirdweb-dev/sdk' ;
22+ import { LoginWithMagicLinkConfiguration } from ' magic-sdk' ;
23+ import { MagicSDKAdditionalConfiguration } from ' magic-sdk' ;
2124import { Marketplace } from ' @thirdweb-dev/sdk' ;
2225import { NFTCollection } from ' @thirdweb-dev/sdk' ;
2326import { NFTDrop } from ' @thirdweb-dev/sdk' ;
@@ -33,7 +36,6 @@ import { useAccount } from 'wagmi';
3336import { useNetwork } from ' wagmi' ;
3437import { Vote } from ' @thirdweb-dev/sdk' ;
3538import { WalletConnectConnector } from ' wagmi/connectors/walletConnect' ;
36- import { WalletLinkConnector } from ' wagmi/connectors/walletLink' ;
3739
3840export { ChainId }
3941
@@ -67,6 +69,14 @@ export type InjectedConnectorType = "injected" | "metamask" | {
6769
6870export { IpfsStorage }
6971
72+ // Warning: (ae-internal-missing-underscore) The name "MagicConnectorType" should be prefixed with an underscore because the declaration is marked as @internal
73+ //
74+ // @internal (undocumented)
75+ export type MagicConnectorType = " magic" | {
76+ name: " magic" ;
77+ options: Omit <MagicConnectorArguments , " network" >;
78+ };
79+
7080// @public
7181export const MediaRenderer: React_2 .ForwardRefExoticComponent <MediaRendererProps & React_2 .RefAttributes <HTMLMediaElement >>;
7282
@@ -108,10 +118,11 @@ export interface ThirdwebNftMediaProps extends SharedMediaProps {
108118}
109119
110120// @public
111- export const ThirdwebProvider: <TSupportedChain extends SupportedChain = SupportedChain >({ sdkOptions, chainRpc, supportedChains, walletConnectors, dAppMeta, desiredChainId, storageInterface, children, }: React_2 .PropsWithChildren <ThirdwebProviderProps <TSupportedChain >>) => JSX .Element ;
121+ export const ThirdwebProvider: <TSupportedChain extends SupportedChain = SupportedChain >({ sdkOptions, chainRpc, supportedChains, walletConnectors, dAppMeta, desiredChainId, storageInterface, autoConnect, children, }: React_2 .PropsWithChildren <ThirdwebProviderProps <TSupportedChain >>) => JSX .Element ;
112122
113123// @public
114124export interface ThirdwebProviderProps <TSupportedChain extends SupportedChain = SupportedChain > {
125+ autoConnect? : boolean ;
115126 // Warning: (ae-incompatible-release-tags) The symbol "chainRpc" is marked as @public, but its signature references "ChainRpc" which is marked as @internal
116127 chainRpc? : Partial <ChainRpc <TSupportedChain >>;
117128 dAppMeta? : DAppMetaData ;
@@ -172,6 +183,12 @@ export function useEdition(contractAddress?: string): Edition | undefined;
172183// @public
173184export function useEditionDrop(contractAddress ? : string ): EditionDrop | undefined ;
174185
186+ // @public
187+ export function useMagic(): (configuration : LoginWithMagicLinkConfiguration ) => Promise <{
188+ data? : ConnectorData_2 <any > | undefined ;
189+ error? : Error | undefined ;
190+ }>;
191+
175192// @public
176193export function useMarketplace(contractAddress ? : string ): Marketplace | undefined ;
177194
@@ -250,16 +267,20 @@ export type WalletConnectConnectorType = "walletConnect" | {
250267// Warning: (ae-internal-missing-underscore) The name "WalletConnector" should be prefixed with an underscore because the declaration is marked as @internal
251268//
252269// @internal (undocumented)
253- export type WalletConnector = InjectedConnectorType | WalletConnectConnectorType | WalletLinkConnectorType ;
270+ export type WalletConnector = InjectedConnectorType | WalletConnectConnectorType | WalletLinkConnectorType | MagicConnectorType ;
254271
255272// Warning: (ae-internal-missing-underscore) The name "WalletLinkConnectorType" should be prefixed with an underscore because the declaration is marked as @internal
256273//
257274// @internal (undocumented)
258275export type WalletLinkConnectorType = " walletLink" | " coinbase" | {
259276 name: " walletLink" | " coinbase" ;
260- options: WalletLinkConnector [" options" ];
277+ options: CoinbaseWalletConnector [" options" ];
261278};
262279
280+ // Warnings were encountered during analysis:
281+ //
282+ // dist/Provider.d.ts:34:5 - (ae-forgotten-export) The symbol "MagicConnectorArguments" needs to be exported by the entry point index.d.ts
283+
263284// (No @packageDocumentation comment for this package)
264285
265286```
0 commit comments