@fluentcommerce/fc-connect-sdk 0.1.52 → 0.1.53

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.
@@ -133,7 +133,7 @@ export interface FluentEventLogContext {
133
133
  }
134
134
  export interface FluentEventLogAttribute {
135
135
  name: string;
136
- value: string;
136
+ value: unknown;
137
137
  type?: string;
138
138
  [key: string]: unknown;
139
139
  }
@@ -118,6 +118,15 @@ interface FluentEventQueryParams {
118
118
  }
119
119
  ```
120
120
 
121
+ > **Note:** Context parameters use dot-notation (`context.rootEntityType`). In JavaScript/TypeScript, keys with dots **must be quoted**:
122
+ > ```typescript
123
+ > // ✅ Correct - quotes required for dot-notation keys
124
+ > { 'context.rootEntityType': 'ORDER', eventType: 'ORCHESTRATION_AUDIT' }
125
+ >
126
+ > // ❌ Wrong - will cause syntax error
127
+ > { context.rootEntityType: 'ORDER' }
128
+ > ```
129
+
121
130
  ### Output: FluentEventLogResponse (SUCCESS)
122
131
 
123
132
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentcommerce/fc-connect-sdk",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "description": "Fluent Commerce SDK - Deno & Node.js Compatible",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",