Skip to content

Commit

Permalink
Scopes bug (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-parkins authored Mar 2, 2023
1 parent cb24dc3 commit 6aa6cc1
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion projects/oculr-ngx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "oculr-ngx",
"description": "An analytics library that makes collecting data in an Angular app simple.",
"version": "2.0.0",
"version": "2.0.1",
"author": "Progressive Insurance",
"license": "MIT",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface AnalyticEvent {
location?: EventLocation;
interactionType?: InteractionType;
interactionDetail?: InteractionDetail;
scopes?: [];
scopes?: any[];
response?: HttpResponse<unknown> | HttpErrorResponse | TimeoutError;
request?: HttpRequest<unknown>;
duration?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ export interface ApiCompleteEvent {
id?: string;
eventType?: AnalyticEventType;
location?: EventLocation;
scopes?: [];
scopes?: any[];
}
2 changes: 1 addition & 1 deletion projects/oculr-ngx/src/lib/models/api-context.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

export interface ApiContext {
id?: string;
scopes?: [];
scopes?: any[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export interface ApiStartEvent {
id?: string;
eventType?: AnalyticEventType;
location?: EventLocation;
scopes?: [];
scopes?: any[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export interface AppErrorEvent {
id?: string;
eventType?: AnalyticEventType;
location?: EventLocation;
scopes?: [];
scopes?: any[];
}
2 changes: 1 addition & 1 deletion projects/oculr-ngx/src/lib/models/app-event.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export interface AppEvent {
id?: string;
eventType?: AnalyticEventType;
location?: EventLocation;
scopes?: [];
scopes?: any[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
export interface DirectiveEvent {
id?: string;
label?: string;
scopes?: [];
scopes?: any[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export interface PageViewEvent {
activatedRoute?: ActivatedRouteSnapshot;
eventType?: AnalyticEventType;
location?: EventLocation;
scopes?: [];
scopes?: any[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export interface ValidationErrorEvent {
element?: string | number | null;
eventType?: AnalyticEventType;
location?: EventLocation;
scopes?: [];
scopes?: any[];
}

0 comments on commit 6aa6cc1

Please sign in to comment.