Skip to content

Commit e2f9a48

Browse files
committed
fix vale issues
1 parent c34dc0b commit e2f9a48

9 files changed

Lines changed: 35 additions & 35 deletions

File tree

embedded-wallets/sdk/flutter/advanced/custom-authentication.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ final Web3AuthResponse response = await Web3AuthFlutter.login(
653653

654654
### Aggregate verifier example
655655

656-
You can use aggregate verifier to combine multiple login methods to get the same address for the users regardless of their login providers. For example, combining a Google and email passwordless login, or Google and GitHub via Auth0 to access the same address for your user.
656+
You can use aggregate verifier to combine multiple sign-in methods to get the same address for the users regardless of their sign-in providers. For example, combining a Google and email passwordless sign-in, or Google and GitHub via Auth0 to access the same address for your user.
657657

658658
```dart
659659
// focus-start

embedded-wallets/sdk/flutter/usage/request.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_label: Send requests
44
description: 'Web3Auth Flutter SDK - request Function | Embedded Wallets'
55
---
66

7-
The `request` method facilitates the use of templated transaction screens for signing transactions. The method will return [SignResponse](#signresponse). It can be used to sign transactions for any EVM chain and screens can be whitelabeled to your branding.
7+
The `request` method facilitates the use of prebuilt transaction screens for signing transactions. The method will return [SignResponse](#signresponse). It can be used to sign transactions for any EVM chain and screens can be customized to match your branding.
88

99
Please check the list of [JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request method currently supports only the signing methods.
1010

embedded-wallets/sdk/ios/README.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ Install the Web3Auth iOS SDK using one of the following methods:
4242
https://github.com/Web3Auth/web3auth-swift-sdk
4343
```
4444

45-
From the **Dependency Rule** dropdown, select E**xact Version** and enter **11.1.0** as the version.
45+
From the **Dependency Rule** dropdown, select **Exact Version** and enter **11.1.0** as the version.
4646

4747
3. When finished, Xcode will automatically begin resolving and downloading your dependencies in the background.
4848

49-
### Cocoapods
49+
### CocoaPods
5050

51-
To install the Embedded Wallets SDK using Cocoapods, follow the steps:
51+
To install the Embedded Wallets SDK using CocoaPods, follow the steps:
5252

5353
1. Open the Podfile, and add the Embedded Wallets pod:
5454

embedded-wallets/sdk/ios/advanced/README.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Control how long users stay authenticated and how sessions persist. The session
8888

8989
**Key Configuration Options:**
9090

91-
- `sessionTime` - Session duration in seconds. Controls how long users remain authenticated before needing to log in again.
91+
- `sessionTime` - Session duration in seconds. Controls how long users remain authenticated before needing to sign in again.
9292
- Minimum: 1 second (`1`).
9393
- Maximum: 30 days (`86400 * 30`).
9494
- Default: 7 days (`86400 * 7`).
@@ -104,11 +104,11 @@ web3Auth = Web3Auth(W3AInitParams(
104104

105105
## Custom authentication methods
106106

107-
Control the login options presented to your users. For detailed configuration options and implementation examples, see the [custom authentication](./custom-authentication.mdx) section.
107+
Control the sign-in options presented to your users. For detailed configuration options and implementation examples, see the [custom authentication](./custom-authentication.mdx) section.
108108

109109
## UI customization
110110

111-
Create a seamless brand experience by customizing the Web3Auth Login Screens to match your application's design. For complete customization options, refer to the [Whitelabeling and UI Customization](./whitelabel.mdx) section.
111+
Create a seamless brand experience by customizing the Web3Auth Sign-in Screens to match your application's design. For complete customization options, refer to the [Whitelabeling and UI Customization](./whitelabel.mdx) section.
112112

113113
## Multi-Factor Authentication
114114

embedded-wallets/sdk/ios/advanced/custom-authentication.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Consequentially, you will see the terms **"Verifier ID"** and **"Aggregate Verif
4040

4141
:::
4242

43-
To use custom authentication (using supported Social providers or Login providers like Auth0, AWS Cognito, Firebase, or your own custom JWT login), you can add the configuration using the `loginConfig` parameter during the initialization.
43+
To use custom authentication (using supported Social providers or Sign-in providers like Auth0, AWS Cognito, Firebase, or your own custom JWT sign-in), you can add the configuration using the `loginConfig` parameter during the initialization.
4444

4545
The `loginConfig` parameter is a key value map. The key should be one of the `Web3AuthProvider` in its string form, and the value should be a `W3ALoginConfig` struct.
4646

@@ -120,15 +120,15 @@ public enum TypeOfLogin: String, Codable {
120120
### Usage
121121

122122
<Tabs
123-
defaultValue="google"
123+
defaultValue="Google"
124124
values={[
125-
{ label: "Google", value: "google" },
126-
{ label: "Facebook", value: "facebook" },
125+
{ label: "Google", value: "Google" },
126+
{ label: "Facebook", value: "Facebook" },
127127
{ label: "JWT", value: "jwt" },
128128
]}
129129
>
130130

131-
<TabItem value="google">
131+
<TabItem value="Google">
132132

133133
```swift
134134
import Web3Auth
@@ -152,7 +152,7 @@ let web3Auth = try await Web3Auth(
152152

153153
</TabItem>
154154

155-
<TabItem value="facebook">
155+
<TabItem value="Facebook">
156156

157157
```swift
158158
import Web3Auth
@@ -203,9 +203,9 @@ let web3Auth = try await Web3Auth(
203203

204204
</Tabs>
205205

206-
## Configure extra login options
206+
## Configure extra sign-in options
207207

208-
Additional to the login config during initialization, you can pass extra options to the `login` function to configure the login flow for cases requiring additional info for enabling login. The `ExtraLoginOptions` accepts the following parameters.
208+
Additional to the sign-in config during initialization, you can pass extra options to the `login` function to configure the sign-in flow for cases requiring additional info for enabling sign-in. The `ExtraLoginOptions` accepts the following parameters.
209209

210210
### Parameters
211211

@@ -279,16 +279,16 @@ public struct ExtraLoginOptions: Codable {
279279
<Tabs defaultValue="auth0"
280280
values={[
281281
{ label: "Auth0", value: "auth0" },
282-
{ label: "Custom JWT", value: "byoj" },
282+
{ label: "Custom JWT", value: "custom-jwt" },
283283
{ label: "Email Passwordless", value: "email-passwordless" },
284284
{ label: "SMS Passwordless", value: "sms-passwordless" },
285285
]}
286286
>
287287

288288
<TabItem value="auth0">
289-
Auth0 has a special login flow, called the SPA flow. This flow requires a `client_id` and `domain`
289+
Auth0 has a special sign-in flow, called the SPA flow. This flow requires a `client_id` and `domain`
290290
to be passed, and Web3Auth will get the JWT `id_token` from Auth0 directly. You can pass these
291-
configurations in the `ExtraLoginOptions` object in the login function.
291+
configurations in the `ExtraLoginOptions` object in the sign-in function.
292292

293293
```swift
294294
import
@@ -327,7 +327,7 @@ let result = try await web3Auth.login(
327327

328328
</TabItem>
329329

330-
<TabItem value="byoj">
330+
<TabItem value="custom-jwt">
331331
If you're using any other provider like Firebase, AWS Cognito or deploying your own Custom JWT
332332
server, you need to put the JWT token into the `id_token` field of the `extraLoginOptions`,
333333
additionally, you need to pass over the `domain` field as well, which is mandatory. If you don't
@@ -366,8 +366,8 @@ let result = await web3Auth.login(
366366
</TabItem>
367367

368368
<TabItem value="email-passwordless">
369-
To use the email passwordless login, you need to put the email into the `login_hint` parameter of
370-
the `ExtraLoginOptions`. By default, the login flow will be `code` flow, if you want to use the
369+
To use the email passwordless sign-in, you need to put the email into the `login_hint` parameter of
370+
the `ExtraLoginOptions`. By default, the sign-in flow will be `code` flow, if you want to use the
371371
`link` flow, you need to put `flow_type` into the `additionalParams` parameter of the
372372
`ExtraLoginOptions`.
373373

@@ -393,7 +393,7 @@ let result = try await web3Auth.login(
393393

394394
<TabItem value="sms-passwordless">
395395

396-
To use the SMS Passwordless login, send the phone number as the `login_hint` parameter of the `ExtraLoginOptions`. Please ensure the phone number takes the format:
396+
To use the SMS Passwordless sign-in, send the phone number as the `login_hint` parameter of the `ExtraLoginOptions`. Please ensure the phone number takes the format:
397397
+\{country_code}-\{phone_number}, that is, (+91-09xx901xx1).
398398

399399
```swift
@@ -419,7 +419,7 @@ let result = try await web3Auth.login(W3ALoginParams(
419419

420420
### Aggregate verifier example
421421

422-
You can use aggregate verifier to combine multiple login methods to get the same address for the users regardless of their login providers. For example, combining a Google and email passwordless login, or Google and GitHub via Auth0 to access the same address for your user.
422+
You can use aggregate verifier to combine multiple sign-in methods to get the same address for the users regardless of their sign-in providers. For example, combining a Google and email passwordless sign-in, or Google and GitHub via Auth0 to access the same address for your user.
423423

424424
```swift
425425
import Web3Auth

embedded-wallets/sdk/ios/usage/launch-wallet-services.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ description: 'Web3Auth iOS SDK - launchWalletServices | Embedded Wallets'
77
import TabItem from '@theme/TabItem'
88
import Tabs from '@theme/Tabs'
99

10-
The `launchWalletServices` method launches a WebView which allows you to use the templated wallet UI services. The method takes `ChainConfig` as the required input. Wallet Services is currently only available for EVM chains.
10+
The `launchWalletServices` method launches a WebView which allows you to use the prebuilt wallet UI services. The method takes `ChainConfig` as the required input. Wallet Services is currently only available for EVM chains.
1111

1212
:::note
1313

14-
Access to Wallet Services is gated. You can use this feature in `sapphire_devnet` for free. The minimum [pricing plan](https://web3auth.io/pricing.html) to use this feature in a production environment is the **Scale Plan**.
14+
Access to Wallet Services is gated. You can use this feature in `sapphire_devnet` at no cost. The minimum [pricing plan](https://web3auth.io/pricing.html) to use this feature in a production environment is the **Scale Plan**.
1515

1616
:::
1717

embedded-wallets/sdk/ios/usage/request.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_label: Send requests
44
description: 'Web3Auth iOS SDK - request | Embedded Wallets'
55
---
66

7-
The `request` method facilitates the use of templated transaction screens for signing transactions. The method will return [SignResponse](#signresponse). It can be used to sign transactions for any EVM chain and screens can be whitelabeled to your branding.
7+
The `request` method facilitates the use of prebuilt transaction screens for signing transactions. The method will return [SignResponse](#signresponse). It can be used to sign transactions for any EVM chain and screens can be customized to match your branding.
88

99
Please check the list of [JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request method currently supports only the signing methods.
1010

embedded-wallets/sdk/js/advanced/README.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ Control how long users stay authenticated and how sessions persist.
5656
**Key Configuration Options:**
5757

5858
- `sessionTime` - Session duration in seconds. Controls how long users remain authenticated before
59-
needing to log in again.
59+
needing to sign in again.
6060
- Minimum: 1 second (`1`).
6161
- Maximum: 30 days (`86400 * 30`).
6262
- Default: 7 days (`86400 * 7`).
6363
- `storageType` - Storage location for authentication state. Options:
64-
- `"local"`: Persists across browser tabs and browser restarts (localStorage)
65-
- `"session"`: Persists only in current tab, cleared when tab closes (sessionStorage)
64+
- `"local"`: Persists across browser tabs and browser restarts (`localStorage`)
65+
- `"session"`: Persists only in current tab, cleared when tab closes (`sessionStorage`)
6666

6767
```tsx
6868
const web3AuthOptions = {
@@ -88,7 +88,7 @@ section.
8888

8989
## Custom authentication methods
9090

91-
Control the login options presented to your users and how they're displayed in the modal. For
91+
Control the sign-in options presented to your users and how they're displayed in the modal. For
9292
detailed configuration options and implementation examples, see the
9393
[custom authentication](./custom-authentication.mdx) section.
9494

embedded-wallets/sdk/js/advanced/custom-authentication.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The basic custom authentication is available directly in the modal. You can conf
3636

3737
:::note
3838

39-
You can only configure implicit login via modal, for JWT-based logins, you need to create your own UI and use the `connectTo` function.
39+
You can only configure implicit sign-in via modal, for JWT-based logins, you need to create your own UI and use the `connectTo` function.
4040

4141
:::
4242

@@ -153,12 +153,12 @@ await web3auth.init()
153153

154154
## Advanced custom authentication
155155

156-
The more advanced custom authentication is available via the `connectTo` function. This allows you to any service you want and tie it to your Web3Auth Integration. **This method allows you to make Web3Auth totally invisible to your end users and have a fully whitelabeled experience all across.**
156+
The more advanced custom authentication is available via the `connectTo` function. This allows you to any service you want and tie it to your Web3Auth Integration. **This method allows you to make Web3Auth totally invisible to your end users and have a fully customized experience all across.**
157157

158158
You can utilise this function to enable multiple types of connections like:
159159

160-
- Implicit Login connections
161-
- JWT login connections
160+
- Implicit Sign-in connections
161+
- JWT sign-in connections
162162
- Grouped auth connections
163163

164164
<details>

0 commit comments

Comments
 (0)