@encatch/web-sdk 1.0.0-beta.3 → 1.0.0-beta.4
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/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -34,11 +34,11 @@ export declare interface EncatchSDK {
|
|
|
34
34
|
init(apiKey: string, config?: EncatchConfig): void;
|
|
35
35
|
/**
|
|
36
36
|
* Identify the current user
|
|
37
|
-
* @param
|
|
37
|
+
* @param userName - User name or unique identifier (e.g. username, email) (required)
|
|
38
38
|
* @param traits - Optional user traits with nested operations ($set, $setOnce, $increment, $decrement, $unset)
|
|
39
39
|
* @param options - Optional settings like locale, country, and secure signature
|
|
40
40
|
*/
|
|
41
|
-
identifyUser(
|
|
41
|
+
identifyUser(userName: string, traits?: UserTraits, options?: IdentifyOptions): void;
|
|
42
42
|
/**
|
|
43
43
|
* Set the user's preferred locale
|
|
44
44
|
* @param locale - Comma-separated ISO 639-1 language codes (e.g., 'fr,en,es')
|
package/package.json
CHANGED