@featureflare/sdk-js 0.0.4 → 0.0.5
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,13 +47,13 @@ The SDK automatically determines the API base URL:
|
|
|
47
47
|
|
|
48
48
|
- **`options.apiBaseUrl`**: Highest priority if provided.
|
|
49
49
|
- **Environment variables**: `FEATUREFLARE_API_BASE_URL`, then `SHIPIT_API_BASE_URL`.
|
|
50
|
-
- **Default fallback**: `https://shipit-api-392444455847.us-central1.run.app`.
|
|
50
|
+
- **Default fallback (all runtimes)**: `https://shipit-api-392444455847.us-central1.run.app`.
|
|
51
51
|
|
|
52
52
|
Example override:
|
|
53
53
|
|
|
54
54
|
```typescript
|
|
55
55
|
const featureflare = new FeatureFlareClient({
|
|
56
|
-
apiBaseUrl: 'https://
|
|
56
|
+
apiBaseUrl: 'https://flags.your-company.com',
|
|
57
57
|
sdkKey: 'featureflare_cli_...'
|
|
58
58
|
});
|
|
59
59
|
```
|