sizebay-core-sdk 1.2.1-dev.1 → 1.2.1-dev.2

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
@@ -51,11 +51,11 @@ Sends an event to the designated API endpoint, returning a standardized response
51
51
 
52
52
  | Property | Type | Required | Description |
53
53
  |-------------|-------------------------------|----------|-----------------------------------------------------------------------|
54
- | **sid** | `string` | Yes | Unique session identifier. |
54
+ | **sid** | `string` | Yes | Unique user identifier. |
55
55
  | **tenantId**| `number` | Yes | Identifier of the tenant (client) sending the event. |
56
- | **sessionId**| `number` | Yes | Internal session identifier. |
57
- | **permalink**| `string` (optional) | No | Product URL associated with the event. When the event is linked to product (e.g., ADD_TO_CART RECOMMENDATION_DONE), it is required. |
58
56
  | **properties**| `Record<string, JSONValue>` | Yes | Object containing additional properties as key-value pairs. |
57
+ | **sessionId**| `number` | No | Sizebay session identifier. |
58
+ | **permalink**| `string` (optional) | No | Product URL associated with the event. When the event is linked to product (e.g., ADD_TO_CART RECOMMENDATION_DONE), it is required. |
59
59
 
60
60
  **Returns**
61
61
 
@@ -4,7 +4,7 @@ export type JSONValue = string | number | boolean | null | JSONValue[] | {
4
4
  export interface TrackData {
5
5
  sid: string;
6
6
  tenantId: number;
7
- sessionId: number;
7
+ sessionId?: number;
8
8
  permalink?: string;
9
9
  properties: Record<string, JSONValue>;
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sizebay-core-sdk",
3
- "version": "1.2.1-dev.1",
3
+ "version": "1.2.1-dev.2",
4
4
  "description": "A SDK designed for integrating multiple services (such as event tracking, AI services, etc.) into your application.",
5
5
  "main": "dist/sizebay-core-sdk.umd.js",
6
6
  "module": "dist/sizebay-core-sdk.es.js",