Skip to content

Commit

Permalink
Add a new pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbaz17 committed Sep 18, 2023
1 parent 08a333f commit d123e66
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
{
"pattern": "^/",
"replacement": "https://web3auth.io/docs/"
},
{
"pattern": "^./",
"replacement": "https://web3auth.io/docs/"
}
]
}
12 changes: 6 additions & 6 deletions src/common/sdk/pnp/web/_plugin-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ declare const BUTTON_POSITION: {
The `walletInitOptions` from Torus Wallet is a required parameter that allows you to customise your Torus Wallet Embed Modal UI within the
application. It takes the objet `TorusParams` as input which contains multiple parameters mentioned in the
[Torus Wallet Documentation](https://docs.tor.us/wallet/sdk/class#init).
[Torus Wallet Documentation](https://docs.tor.us/wallet/api-reference/class#init).
Out of those mentioned parameters, the following 3 parameters are important for whitelabeling the plugin:
Expand All @@ -120,11 +120,11 @@ Out of those mentioned parameters, the following 3 parameters are important for
`TorusParams`
| Parameter | Type | Mandatory | Description | Default |
| ------------------ | ------------------ | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `whiteLabel` | `WhiteLabelParams` | Yes | Params to enable whitelabelling of torus website and widget. Know more about whitelabeling options for Torus Wallet [here](https://docs.tor.us/wallet/sdk/class#whitelabel). | N/A |
| `showTorusButton` | `boolean` | No | Determines whether to show/hide torus widget. | `true` |
| `useWalletConnect` | `boolean` | No | Setting `useWalletConnect` to true allows to display wallet connect qr scanner from torus-embed. | `false` |
| Parameter | Type | Mandatory | Description | Default |
| ------------------ | ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `whiteLabel` | `WhiteLabelParams` | Yes | Params to enable whitelabelling of torus website and widget. Know more about whitelabeling options for Torus Wallet [here](https://docs.tor.us/wallet/api-reference/class#whitelabel). | N/A |
| `showTorusButton` | `boolean` | No | Determines whether to show/hide torus widget. | `true` |
| `useWalletConnect` | `boolean` | No | Setting `useWalletConnect` to true allows to display wallet connect qr scanner from torus-embed. | `false` |
</TabItem>
Expand Down

0 comments on commit d123e66

Please sign in to comment.