@souldi/try-on 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,6 @@ Or load directly via CDN:
25
25
  ```html
26
26
  <script>
27
27
  VirtualTryOn.init({
28
- apiBaseUrl: 'https://api.yourdomain.com',
29
28
  tenantApiKey: 'your_publishable_api_key',
30
29
  });
31
30
  </script>
@@ -69,7 +68,6 @@ Call once per page load to configure the widget.
69
68
 
70
69
  | Option | Type | Required | Description |
71
70
  |--------|------|----------|-------------|
72
- | `apiBaseUrl` | `string` | Yes | Your Souldi API endpoint URL |
73
71
  | `tenantApiKey` | `string` | Yes | Your publishable API key (from your Souldi dashboard) |
74
72
  | `theme` | `object` | No | Customize the widget appearance ([see Theming](#theming)) |
75
73
  | `onGenerationStart` | `function` | No | Called when AI generation begins |
@@ -97,7 +95,6 @@ The widget ships with **dark** and **light** themes and supports deep customizat
97
95
 
98
96
  ```javascript
99
97
  VirtualTryOn.init({
100
- apiBaseUrl: 'https://api.yourdomain.com',
101
98
  tenantApiKey: 'your_key',
102
99
  theme: {
103
100
  mode: 'light', // 'dark' (default) or 'light'
@@ -111,7 +108,6 @@ Override individual properties to match your brand:
111
108
 
112
109
  ```javascript
113
110
  VirtualTryOn.init({
114
- apiBaseUrl: 'https://api.yourdomain.com',
115
111
  tenantApiKey: 'your_key',
116
112
  theme: {
117
113
  mode: 'dark',
@@ -162,7 +158,6 @@ All UI is rendered inside a **Shadow DOM**, so your site's CSS will never leak i
162
158
 
163
159
  <script>
164
160
  VirtualTryOn.init({
165
- apiBaseUrl: 'https://api.yourdomain.com',
166
161
  tenantApiKey: 'pk_live_abc123',
167
162
  theme: { mode: 'light', accentColor: '#2563EB' },
168
163
  onGenerationSuccess: (url) => {