@splitsoftware/splitio-commons 1.0.1-rc.3 → 1.0.1-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio-commons",
3
- "version": "1.0.1-rc.3",
3
+ "version": "1.0.1-rc.4",
4
4
  "description": "Split Javascript SDK common components",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
@@ -75,4 +75,4 @@ interface IEventSource {
75
75
  close(): void
76
76
  }
77
77
 
78
- export type IEventSourceConstructor = new (url: string, eventSourceInitDict?: { headers?: object }) => IEventSource
78
+ export type IEventSourceConstructor = new (url: string, eventSourceInitDict?: any) => IEventSource
@@ -43,7 +43,5 @@ interface IEventSource {
43
43
  addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: IEventSource, ev: EventSourceEventMap[K]) => any): void;
44
44
  close(): void;
45
45
  }
46
- export declare type IEventSourceConstructor = new (url: string, eventSourceInitDict?: {
47
- headers?: object;
48
- }) => IEventSource;
46
+ export declare type IEventSourceConstructor = new (url: string, eventSourceInitDict?: any) => IEventSource;
49
47
  export {};