Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ node_modules
jspm_packages
public
/dist/temp
/src/typings
example/exceptionless.js
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,21 +248,19 @@ If you find a bug or want to contribute a feature, feel free to create a pull re
3. Install [tsd](https://github.com/DefinitelyTyped/tsd) and [gulp](http://gulpjs.com) and the development dependencies using [npm](https://www.npmjs.com).

```sh
npm install -g tsd
npm install -g gulp
npm install
```

4. Build the project by running the following gulp command.

```sh
gulp build
npm run build
```

5. Test the project by running the following gulp command.

```sh
gulp test
npm run test
```

During development, you can use relative paths to require Exceptionless, e.g. `require('./dist/exceptionless.node.js')` when you are running Node.js from the git root directory.
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: 1.4.{build}

install:
- ps: Install-Product node 5
- npm install -g tsd
- npm install -g gulp
- npm install -g bower
- npm install
Expand Down
22 changes: 11 additions & 11 deletions dist/exceptionless.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export declare class EventPluginContext {
event: IEvent;
contextData: ContextData;
constructor(client: ExceptionlessClient, event: IEvent, contextData?: ContextData);
log: ILog;
readonly log: ILog;
}
export declare class EventPluginManager {
static run(context: EventPluginContext, callback: (context?: EventPluginContext) => void): void;
Expand Down Expand Up @@ -222,15 +222,15 @@ export declare class Configuration implements IConfigurationSettings {
private _handlers;
constructor(configSettings?: IConfigurationSettings);
apiKey: string;
isValid: boolean;
readonly isValid: boolean;
serverUrl: string;
heartbeatServerUrl: string;
updateSettingsWhenIdleInterval: number;
dataExclusions: string[];
readonly dataExclusions: string[];
addDataExclusions(...exclusions: string[]): void;
userAgentBotPatterns: string[];
readonly userAgentBotPatterns: string[];
addUserAgentBotPatterns(...userAgentBotPatterns: string[]): void;
plugins: IEventPlugin[];
readonly plugins: IEventPlugin[];
addPlugin(plugin: IEventPlugin): void;
addPlugin(name: string, priority: number, pluginAction: (context: EventPluginContext, next?: () => void) => void): void;
removePlugin(plugin: IEventPlugin): void;
Expand All @@ -239,14 +239,14 @@ export declare class Configuration implements IConfigurationSettings {
setUserIdentity(userInfo: IUserInfo): void;
setUserIdentity(identity: string): void;
setUserIdentity(identity: string, name: string): void;
userAgent: string;
readonly userAgent: string;
useSessions(sendHeartbeats?: boolean, heartbeatInterval?: number): void;
useReferenceIds(): void;
useLocalStorage(): void;
useDebugLogger(): void;
onChanged(handler: (config: Configuration) => void): void;
private changed();
static defaults: IConfigurationSettings;
static readonly defaults: IConfigurationSettings;
}
export declare class EventBuilder {
target: IEvent;
Expand Down Expand Up @@ -281,10 +281,10 @@ export interface IUserDescription {
}
export declare class ContextData {
setException(exception: Error): void;
hasException: boolean;
readonly hasException: boolean;
getException(): Error;
markAsUnhandledError(): void;
isUnhandledError: boolean;
readonly isUnhandledError: boolean;
setSubmissionMethod(method: string): void;
getSubmissionMethod(): string;
}
Expand Down Expand Up @@ -319,7 +319,7 @@ export declare class ExceptionlessClient {
updateUserEmailAndDescription(referenceId: string, email: string, description: string, callback?: (response: SubmissionResponse) => void): void;
getLastReferenceId(): string;
private updateSettingsTimer(initialDelay?);
static default: ExceptionlessClient;
static readonly default: ExceptionlessClient;
}
export interface IManualStackingInfo {
title?: string;
Expand Down Expand Up @@ -511,7 +511,7 @@ export declare class BrowserStorage extends KeyValueStorageBase {
static isAvailable(): boolean;
constructor(namespace: string, prefix?: string, maxItems?: number);
write(key: string, value: string): void;
read(key: string): any;
read(key: string): string;
readAllKeys(): string[];
delete(key: string): void;
getKey(timestamp: any): string;
Expand Down
37 changes: 22 additions & 15 deletions dist/exceptionless.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/exceptionless.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/exceptionless.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/exceptionless.min.js.map

Large diffs are not rendered by default.

55 changes: 31 additions & 24 deletions dist/exceptionless.node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/exceptionless.node.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/integrations/angular.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var angular = require("angular");
angular.module('exceptionless', [])
.constant('$ExceptionlessClient', exceptionless.ExceptionlessClient.default)
.factory('exceptionlessHttpInterceptor', ['$q', '$ExceptionlessClient', function ($q, $ExceptionlessClient) {
Expand Down
7 changes: 4 additions & 3 deletions dist/submitSync.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading