@sprig-technologies/sprig-browser 2.18.1 → 2.18.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.
Files changed (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -120,7 +120,7 @@ export class SprigAPI {
120
120
  * @param {Object} metadata event metadata (optional)
121
121
  * @returns
122
122
  */
123
- track(eventName: string, properties: any, metadata?: any): void;
123
+ track(eventName: string, properties?: any, metadata?: any): void;
124
124
  /**
125
125
  * optionally set userId and/or anonymousId, track an event to show survey if eligible
126
126
  * @param {Object} payload