Skip to content

Commit 62e8b04

Browse files
committed
tweak docs
1 parent 3541aa1 commit 62e8b04

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/api-endpoints.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ interface IApiEndpointsParams {
3030
* This class handles two distinct types of endpoints:
3131
* 1. Configuration endpoints (UFC, bandits, precomputed flags) - based on the effective base URL
3232
* which considers baseUrl, subdomain from SDK token, and defaultUrl in that order.
33-
* 2. Event ingestion endpoints - always uses the event domain (e.eppo.cloud) with either the
34-
* subdomain from SDK token or a full hostname from SDK token. This endpoint IGNORES the
35-
* baseUrl and defaultUrl parameters.
33+
* 2. Event ingestion endpoint - either uses the default event domain with subdomain from SDK token
34+
* or a full hostname from SDK token. This endpoint IGNORES the baseUrl and defaultUrl parameters.
3635
*
3736
* For event ingestion endpoints, consider using the static helper method:
38-
* `ApiEndpoints.createEventIngestionUrl(sdkTokenDecoder)`
37+
* `ApiEndpoints.createEventIngestionUrl(sdkKey)`
3938
*/
4039
export default class ApiEndpoints {
4140
private readonly sdkToken: SdkKeyDecoder | null;

0 commit comments

Comments
 (0)