You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/react.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,8 +66,8 @@ import { useGnosis } from "@thirdweb-dev/react"
66
66
|[useLazyMint(contract, onProgress)](./react.uselazymint.md)| <b><i>(BETA)</i></b> Use this to lazy mint a batch of NFTs on your [DropContract](./react.dropcontract.md)|
67
67
|[useListing(contract, listingId)](./react.uselisting.md)| <b><i>(BETA)</i></b> Use this to get a specific listing from the marketplace. |
68
68
|[useListings(contract, filter)](./react.uselistings.md)| <b><i>(BETA)</i></b> Use this to get a list all listings from your marketplace contract. |
69
-
|[useLogin(config)](./react.uselogin.md)| Hook to securely login to a backend with the connected wallet. The backend authentication URL must be configured on the ThirdwebProvider. |
70
-
|[useLogout()](./react.uselogout.md)| Hook to logout the connected wallet from the backend. The backend logout URL must be configured on the ThirdwebProvider. |
69
+
|[useLogin(config)](./react.uselogin.md)|<b><i>(BETA)</i></b> Hook to securely login to a backend with the connected wallet. The backend authentication URL must be configured on the ThirdwebProvider. |
70
+
|[useLogout()](./react.uselogout.md)|<b><i>(BETA)</i></b> Hook to logout the connected wallet from the backend. The backend logout URL must be configured on the ThirdwebProvider. |
71
71
| [useMagic()](./react.usemagic.md) | <p>Hook for connecting to an email wallet using magic link. This enables users without their own wallets to connect to your application and sign transactions securely using their email.</p>
72
72
```javascript
73
73
import { useMagic } from"@thirdweb-dev/react"
@@ -122,7 +122,7 @@ import { useNetworkMistmatch } from "@thirdweb-dev/react"
122
122
|[useUpdatePlatformFees(contract)](./react.useupdateplatformfees.md)| <b><i>(BETA)</i></b> Use this to update the platform fees settings of your |
123
123
|[useUpdatePrimarySaleRecipient(contract)](./react.useupdateprimarysalerecipient.md)| <b><i>(BETA)</i></b> Use this to update the primary sales recipient of your |
124
124
|[useUpdateRoyaltySettings(contract)](./react.useupdateroyaltysettings.md)| <b><i>(BETA)</i></b> Use this to update the royalty settings of your |
125
-
|[useUser()](./react.useuser.md)| Hook to get the currently logged in user. |
125
+
|[useUser()](./react.useuser.md)|<b><i>(BETA)</i></b> Hook to get the currently logged in user. |
126
126
|[useVote(contractAddress)](./react.usevote.md)| Hook for getting an instance of an <code>Vote</code> contract. This contract enables fully featured voting-based decentralized governance systems. |
127
127
| [useWalletConnect()](./react.usewalletconnect.md) | <p>Hook for connecting to a mobile wallet with Wallet Connect</p>
128
128
```javascript
@@ -140,7 +140,7 @@ import { useWalletConnect } from "@thirdweb-dev/react"
140
140
|[MediaRendererProps](./react.mediarendererprops.md)| The props for the [MediaRenderer](./react.mediarenderer.md) component. |
|[ThirdwebAuthConfig](./react.thirdwebauthconfig.md)|<b><i>(BETA)</i></b> The configuration to use the react SDK with an \[auth\](https://portal.thirdweb.com/auth) server.|
144
144
|[ThirdwebNftMediaProps](./react.thirdwebnftmediaprops.md)| The props for the [ThirdwebNftMedia](./react.thirdwebnftmedia.md) component. |
145
145
|[ThirdwebProviderProps](./react.thirdwebproviderprops.md)| The possible props for the ThirdwebProvider. |
Copy file name to clipboardExpand all lines: docs/react.thirdwebauthconfig.authurl.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@
4
4
5
5
## ThirdwebAuthConfig.authUrl property
6
6
7
-
The backend URL of the authentication endoints. For example, if your endpoints are at /api/auth/login, /api/auth/logout, etc. then this should be set to "/api/auth".
7
+
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
+
>
9
+
10
+
The backend URL of the authentication endoints. For example, if your endpoints are at `/api/auth/login`<!---->, `/api/auth/logout`<!---->, etc. then this should be set to `/api/auth`<!---->.
0 commit comments