Skip to content

Commit 07217e0

Browse files
committed
Remove sdkurl from docs
1 parent bfb9064 commit 07217e0

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

packages/react/README.web-component.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Props are reactive, but keep in mind that reference checks for array and object
5757
| initialToken? | `string` | | Given a valid initial token, SDK will initialize with a `User` based on that token |
5858
| tokenStorage? | `"memory" \| "localStorage"` | `"memory"` | Where SlashID user tokens are stored. Set to `"localStorage"` to enable persistence. |
5959
| environment? | `"production" \| "sandbox"` | `"production"` | The SlashID environment you wish to interact with to |
60-
| sdkUrl? | `string` | `"https://cdn.sandbox.slashid.com/sdk.html"` | The location where your organization's custom SDK is served |
6160
| analyticsEnabled? | `boolean` | `true` | Enable collection of client side analytics events |
6261
| themeProps? | `{ theme?: Theme, className?: string}` | `{ theme: "auto" }` | Set the UI theme (`auto`, `light` or `dark`) and apply a CSS class name to the theme root |
6362
| logo? | `string` | Defaults to SlashID logo | The logo shown in the SlashID components, must be URL. |

packages/react/index.web-component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
factors='[{"method":"webauthn"},{"method":"email_link"},{"method":"otp_via_email"},{"method":"otp_via_sms"},{"method":"password"}]'
1717
theme-props='{ "theme": "dark" }'
1818
oid="%VITE_ORG_ID%"
19-
base-api-url="https://api.slashid.com"
20-
sdk-url="https://cdn.slashid.com/sdk.html"
2119
token-storage="memory"
2220
on-success="sidOnSuccess"
2321
analytics-enabled="true"
2422
slot-success-indeterminate="true"
23+
environment="sandbox"
2524
></slashid-form>
2625

2726
<script type="module" src="/src/entry.web-component.tsx"></script>

0 commit comments

Comments
 (0)