rudder-sdk-js 1.2.1 → 1.2.6

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 +8 -1
  2. package/index.js +1866 -9
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -62,7 +62,9 @@ declare module "rudder-sdk-js" {
62
62
  [index: string]:
63
63
  | string
64
64
  | number
65
+ | boolean
65
66
  | apiObject
67
+ | (string | number | boolean | apiObject)[]
66
68
  | integrationOptions
67
69
  | undefined;
68
70
  }
@@ -72,7 +74,12 @@ declare module "rudder-sdk-js" {
72
74
  * Use for parameters like properties, traits etc.
73
75
  */
74
76
  interface apiObject {
75
- [index: string]: string | number | apiObject;
77
+ [index: string]:
78
+ | string
79
+ | number
80
+ | boolean
81
+ | apiObject
82
+ | (string | number | boolean | apiObject)[];
76
83
  }
77
84
 
78
85
  /**