Skip to content

Commit

Permalink
Tested previous optimizations and bumped the version.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed May 22, 2015
1 parent 7c4743a commit ea56b97
Show file tree
Hide file tree
Showing 7 changed files with 394 additions and 441 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exceptionless",
"version": "0.3.0",
"version": "0.3.1",
"description": "JavaScript client for Exceptionless",
"license": "Apache",
"main": "dist/exceptionless.js",
Expand Down
48 changes: 15 additions & 33 deletions dist/exceptionless.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface IEnvironmentInfoCollector {
getEnvironmentInfo(context: EventPluginContext): IEnvironmentInfo;
}
export interface IErrorParser {
parse(context: EventPluginContext, exception: Error): void;
parse(context: EventPluginContext, exception: Error): IError;
}
export interface IModuleCollector {
getModules(context: EventPluginContext): IModule[];
Expand Down Expand Up @@ -102,7 +102,7 @@ export declare class SettingsManager {
static checkVersion(version: number, config: Configuration): void;
static updateSettings(config: Configuration): void;
}
export declare class InMemoryLastReferenceIdManager implements ILastReferenceIdManager {
export declare class DefaultLastReferenceIdManager implements ILastReferenceIdManager {
private _lastReferenceId;
getLast(): string;
clearLast(): void;
Expand Down Expand Up @@ -183,13 +183,9 @@ export declare class Utils {
static stringify(data: any, exclusions?: string[]): string;
}
export declare class Configuration implements IConfigurationSettings {
private _apiKey;
private _enabled;
private _serverUrl;
private _dataExclusions;
private _plugins;
defaultTags: string[];
defaultData: Object;
enabled: boolean;
environmentInfoCollector: IEnvironmentInfoCollector;
errorParser: IErrorParser;
lastReferenceIdManager: ILastReferenceIdManager;
Expand All @@ -202,12 +198,15 @@ export declare class Configuration implements IConfigurationSettings {
storage: IStorage<Object>;
queue: IEventQueue;
constructor(configSettings?: IConfigurationSettings);
private _apiKey;
apiKey: string;
isValid: boolean;
private _serverUrl;
serverUrl: string;
enabled: boolean;
private _dataExclusions;
dataExclusions: string[];
addDataExclusions(...exclusions: string[]): void;
private _plugins;
plugins: IEventPlugin[];
addPlugin(plugin: IEventPlugin): void;
addPlugin(name: string, priority: number, pluginAction: (context: EventPluginContext, next?: () => void) => void): void;
Expand Down Expand Up @@ -346,11 +345,6 @@ export declare class ErrorPlugin implements IEventPlugin {
name: string;
run(context: EventPluginContext, next?: () => void): void;
}
export declare class DuplicateCheckerPlugin implements IEventPlugin {
priority: number;
name: string;
run(context: EventPluginContext, next?: () => void): void;
}
export declare class ModuleInfoPlugin implements IEventPlugin {
priority: number;
name: string;
Expand Down Expand Up @@ -395,11 +389,9 @@ export declare class SettingsResponse {
}
export declare class NodeEnvironmentInfoCollector implements IEnvironmentInfoCollector {
getEnvironmentInfo(context: EventPluginContext): IEnvironmentInfo;
private getIpAddresses();
}
export declare class NodeErrorParser implements IErrorParser {
parse(context: EventPluginContext, exception: Error): void;
private getStackFrames(context, stackFrames);
parse(context: EventPluginContext, exception: Error): IError;
}
export declare class NodeRequestInfoCollector implements IRequestInfoCollector {
getRequestInfo(context: EventPluginContext): IRequestInfo;
Expand All @@ -408,39 +400,29 @@ export interface IClientConfiguration {
settings: Object;
version: number;
}
export declare class SubmissionClientBase implements ISubmissionClient {
export declare class DefaultSubmissionClient implements ISubmissionClient {
configurationVersionHeader: string;
postEvents(events: IEvent[], config: Configuration, callback: (response: SubmissionResponse) => void): void;
postUserDescription(referenceId: string, description: IUserDescription, config: Configuration, callback: (response: SubmissionResponse) => void): void;
getSettings(config: Configuration, callback: (response: SettingsResponse) => void): void;
sendRequest(config: Configuration, method: string, path: string, data: string, callback: (status: number, message: string, data?: string, headers?: Object) => void): void;
}
export declare class NodeSubmissionClient extends SubmissionClientBase {
export declare class NodeSubmissionClient extends DefaultSubmissionClient {
constructor();
sendRequest(config: Configuration, method: string, path: string, data: string, callback: (status: number, message: string, data?: string, headers?: Object) => void): void;
}
export declare class NodeBootstrapper implements IBootstrapper {
register(): void;
private getExitCodeReason(code);
}
export declare class WebErrorParser implements IErrorParser {
parse(context: EventPluginContext, exception: Error): void;
private getStackFrames(context, stackFrames);
private getParameters(parameters);
export declare class DefaultErrorParser implements IErrorParser {
parse(context: EventPluginContext, exception: Error): IError;
}
export declare class WebModuleCollector implements IModuleCollector {
export declare class DefaultModuleCollector implements IModuleCollector {
getModules(context: EventPluginContext): IModule[];
}
export declare class WebRequestInfoCollector implements IRequestInfoCollector {
export declare class DefaultRequestInfoCollector implements IRequestInfoCollector {
getRequestInfo(context: EventPluginContext): IRequestInfo;
}
export declare class DefaultSubmissionClient extends SubmissionClientBase {
private createRequest(config, method, url);
sendRequest(config: Configuration, method: string, path: string, data: string, callback: (status: number, message: string, data?: string, headers?: Object) => void): void;
}
export declare class WindowBootstrapper implements IBootstrapper {
export declare class DefaultBootstrapper implements IBootstrapper {
register(): void;
private getDefaultsSettingsFromScriptTag();
private processUnhandledException(stackTrace, options?);
private processJQueryAjaxError(event, xhr, settings, error);
}
Loading

0 comments on commit ea56b97

Please sign in to comment.