Skip to content

Commit e643f99

Browse files
committed
Merge origin/master into feature/additionalInfo
Conflicts: dist/exceptionless.node.js.map
2 parents 614c14e + 171678e commit e643f99

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+793
-738
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The definition of the word exceptionless is: to be without exception. Exceptionl
77
## Show me the code! ##
88

99
```html
10-
<script src="https://cdn.rawgit.com/exceptionless/Exceptionless.JavaScript/v1.0.1/dist/exceptionless.min.js"></script>
10+
<script src="https://cdn.rawgit.com/exceptionless/Exceptionless.JavaScript/v1.1.0/dist/exceptionless.min.js"></script>
1111
<script>
1212
var client = exceptionless.ExceptionlessClient.default;
1313
client.config.apiKey = 'API_KEY_HERE';
@@ -46,7 +46,7 @@ Use one of the following methods to install Exceptionless.js into your browser a
4646
Add the following script to your page:
4747

4848
```html
49-
<script src="https://cdn.rawgit.com/exceptionless/Exceptionless.JavaScript/v1.0.1/dist/exceptionless.min.js"></script>
49+
<script src="https://cdn.rawgit.com/exceptionless/Exceptionless.JavaScript/v1.1.0/dist/exceptionless.min.js"></script>
5050
```
5151

5252
- **Bower:**
@@ -262,4 +262,4 @@ If you find a bug or want to contribute a feature, feel free to create a pull re
262262
gulp test
263263
```
264264

265-
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.
265+
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.

appveyor.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
version: 0.1.{build}
2-
3-
environment:
4-
nodejs_version: "0.10"
1+
version: 1.1.{build}
52

63
install:
7-
- ps: Install-Product node $env:nodejs_version
4+
- ps: Install-Product node 4
85
- npm install -g tsd
96
- npm install -g gulp
107
- npm install -g bower

bower.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "exceptionless",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "JavaScript client for Exceptionless",
5-
"license": "Apache",
5+
"license": "Apache-2.0",
66
"main": "dist/exceptionless.js",
77
"keywords": [
88
"exceptionless",

dist/exceptionless.d.ts

+44-44
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ export interface IConfigurationSettings {
6969
export declare class SettingsManager {
7070
private static _configPath;
7171
private static _handlers;
72-
private static changed(config);
7372
static onChanged(handler: (config: Configuration) => void): void;
7473
static applySavedServerSettings(config: Configuration): void;
75-
private static getSavedServerSettings(config);
7674
static checkVersion(version: number, config: Configuration): void;
7775
static updateSettings(config: Configuration): void;
76+
private static changed(config);
77+
private static getSavedServerSettings(config);
7878
}
7979
export declare class DefaultLastReferenceIdManager implements ILastReferenceIdManager {
8080
private _lastReferenceId;
@@ -129,13 +129,13 @@ export declare class DefaultEventQueue implements IEventQueue {
129129
constructor(config: Configuration);
130130
enqueue(event: IEvent): void;
131131
process(isAppExiting?: boolean): void;
132-
private processSubmissionResponse(response, events);
132+
suspendProcessing(durationInMinutes?: number, discardFutureQueuedItems?: boolean, clearQueue?: boolean): void;
133+
private areQueuedItemsDiscarded();
133134
private ensureQueueTimer();
135+
private isQueueProcessingSuspended();
134136
private onProcessQueue();
135-
suspendProcessing(durationInMinutes?: number, discardFutureQueuedItems?: boolean, clearQueue?: boolean): void;
137+
private processSubmissionResponse(response, events);
136138
private removeEvents(events);
137-
private isQueueProcessingSuspended();
138-
private areQueuedItemsDiscarded();
139139
}
140140
export declare class InMemoryStorage<T> implements IStorage<T> {
141141
private _items;
@@ -166,6 +166,7 @@ export declare class Utils {
166166
static stringify(data: any, exclusions?: string[]): string;
167167
}
168168
export declare class Configuration implements IConfigurationSettings {
169+
private static _defaultSettings;
169170
defaultTags: string[];
170171
defaultData: Object;
171172
enabled: boolean;
@@ -181,6 +182,7 @@ export declare class Configuration implements IConfigurationSettings {
181182
settings: Object;
182183
storage: IStorage<Object>;
183184
queue: IEventQueue;
185+
private _plugins;
184186
constructor(configSettings?: IConfigurationSettings);
185187
private _apiKey;
186188
apiKey: string;
@@ -190,7 +192,6 @@ export declare class Configuration implements IConfigurationSettings {
190192
private _dataExclusions;
191193
dataExclusions: string[];
192194
addDataExclusions(...exclusions: string[]): void;
193-
private _plugins;
194195
plugins: IEventPlugin[];
195196
addPlugin(plugin: IEventPlugin): void;
196197
addPlugin(name: string, priority: number, pluginAction: (context: EventPluginContext, next?: () => void) => void): void;
@@ -203,14 +204,13 @@ export declare class Configuration implements IConfigurationSettings {
203204
userAgent: string;
204205
useReferenceIds(): void;
205206
useDebugLogger(): void;
206-
private static _defaultSettings;
207207
static defaults: IConfigurationSettings;
208208
}
209209
export declare class EventBuilder {
210-
private _validIdentifierErrorMessage;
211210
target: IEvent;
212211
client: ExceptionlessClient;
213212
pluginContextData: ContextData;
213+
private _validIdentifierErrorMessage;
214214
constructor(event: IEvent, client: ExceptionlessClient, pluginContextData?: ContextData);
215215
setType(type: string): EventBuilder;
216216
setSource(source: string): EventBuilder;
@@ -229,9 +229,6 @@ export declare class EventBuilder {
229229
submit(callback?: (context: EventPluginContext) => void): void;
230230
private isValidIdentifier(value);
231231
}
232-
export interface IError extends IInnerError {
233-
modules?: IModule[];
234-
}
235232
export interface IUserDescription {
236233
email_address?: string;
237234
description?: string;
@@ -259,6 +256,7 @@ export declare class SubmissionResponse {
259256
constructor(statusCode: number, message?: string);
260257
}
261258
export declare class ExceptionlessClient {
259+
private static _instance;
262260
config: Configuration;
263261
constructor();
264262
constructor(settings: IConfigurationSettings);
@@ -285,40 +283,8 @@ export declare class ExceptionlessClient {
285283
submitEvent(event: IEvent, pluginContextData?: ContextData, callback?: (context: EventPluginContext) => void): void;
286284
updateUserEmailAndDescription(referenceId: string, email: string, description: string, callback?: (response: SubmissionResponse) => void): void;
287285
getLastReferenceId(): string;
288-
private static _instance;
289286
static default: ExceptionlessClient;
290287
}
291-
export interface IParameter {
292-
data?: any;
293-
generic_arguments?: string[];
294-
name?: string;
295-
type?: string;
296-
type_namespace?: string;
297-
}
298-
export interface IMethod {
299-
data?: any;
300-
generic_arguments?: string[];
301-
parameters?: IParameter[];
302-
is_signature_target?: boolean;
303-
declaring_namespace?: string;
304-
declaring_type?: string;
305-
name?: string;
306-
module_id?: number;
307-
}
308-
export interface IStackFrame extends IMethod {
309-
file_name?: string;
310-
line_number?: number;
311-
column?: number;
312-
}
313-
export interface IInnerError {
314-
message?: string;
315-
type?: string;
316-
code?: string;
317-
data?: any;
318-
inner?: IInnerError;
319-
stack_trace?: IStackFrame[];
320-
target_method?: IMethod;
321-
}
322288
export interface IModule {
323289
data?: any;
324290
module_id?: number;
@@ -390,6 +356,40 @@ export declare class SubmissionMethodPlugin implements IEventPlugin {
390356
name: string;
391357
run(context: EventPluginContext, next?: () => void): void;
392358
}
359+
export interface IParameter {
360+
data?: any;
361+
generic_arguments?: string[];
362+
name?: string;
363+
type?: string;
364+
type_namespace?: string;
365+
}
366+
export interface IMethod {
367+
data?: any;
368+
generic_arguments?: string[];
369+
parameters?: IParameter[];
370+
is_signature_target?: boolean;
371+
declaring_namespace?: string;
372+
declaring_type?: string;
373+
name?: string;
374+
module_id?: number;
375+
}
376+
export interface IStackFrame extends IMethod {
377+
file_name?: string;
378+
line_number?: number;
379+
column?: number;
380+
}
381+
export interface IInnerError {
382+
message?: string;
383+
type?: string;
384+
code?: string;
385+
data?: any;
386+
inner?: IInnerError;
387+
stack_trace?: IStackFrame[];
388+
target_method?: IMethod;
389+
}
390+
export interface IError extends IInnerError {
391+
modules?: IModule[];
392+
}
393393
export interface IStorageItem<T> {
394394
created: number;
395395
path: string;

0 commit comments

Comments
 (0)