@trackunit/react-core-contexts-api 0.2.133-alpha-4aa8d638390.0 → 0.2.134

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": "@trackunit/react-core-contexts-api",
3
- "version": "0.2.133-alpha-4aa8d638390.0",
3
+ "version": "0.2.134",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -1,6 +1,10 @@
1
- export type UnspecifiedEvent = Record<string, string | number | boolean | null | undefined | (string | number)[]>;
1
+ export type AdditionalProperties = Record<string, string | number | boolean | null | undefined | (string | number)[]>;
2
+ /**
3
+ * @deprecated Specify an event type by extending BaseEvent
4
+ */
5
+ export type UnspecifiedEvent = AdditionalProperties;
2
6
  export interface BaseEvent {
3
- additionalProperties?: UnspecifiedEvent;
7
+ additionalProperties?: AdditionalProperties;
4
8
  }
5
9
  export type Event<T> = {
6
10
  /**
@@ -25,7 +25,7 @@ export interface IEnvironmentContext {
25
25
  publicUrl: string;
26
26
  irisAppSdkServerUrl: string;
27
27
  isDev: boolean;
28
- environment: string;
28
+ environment: "dev" | "stage" | "prod";
29
29
  sentryDsn: string;
30
30
  sessionId: string;
31
31
  uptimeId: string;