Skip to content

Commit e0286e2

Browse files
committed
Fixed the Duplicate Error unit tests
1 parent 6b139a9 commit e0286e2

9 files changed

+205
-213
lines changed

dist/exceptionless.d.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,16 @@ export declare class DefaultSubmissionClient implements ISubmissionClient {
156156
}
157157
export declare class Utils {
158158
static addRange<T>(target: T[], ...values: T[]): T[];
159-
static getHashCode(source: string): string;
160-
static getCookies(cookies: string): Object;
159+
static getHashCode(source: string): number;
160+
static getCookies(cookies: string, exclusions?: string[]): Object;
161161
static guid(): string;
162162
static merge(defaultValues: Object, values: Object): Object;
163163
static parseVersion(source: string): string;
164-
static parseQueryString(query: string): Object;
164+
static parseQueryString(query: string, exclusions?: string[]): Object;
165165
static randomNumber(): number;
166-
static stringify(data: any, exclusions?: string[]): string;
166+
static isMatch(input: string, patterns: string[]): boolean;
167+
static isEmpty(input: Object): boolean;
168+
static stringify(data: any, exclusions?: string[], maxDepth?: number): string;
167169
}
168170
export declare class Configuration implements IConfigurationSettings {
169171
private static _defaultSettings;
@@ -223,7 +225,7 @@ export declare class EventBuilder {
223225
setUserIdentity(identity: string, name: string): EventBuilder;
224226
setValue(value: number): EventBuilder;
225227
addTags(...tags: string[]): EventBuilder;
226-
setProperty(name: string, value: any): EventBuilder;
228+
setProperty(name: string, value: any, maxDepth?: number, excludedPropertyNames?: string[]): EventBuilder;
227229
markAsCritical(critical: boolean): EventBuilder;
228230
addRequestInfo(request: Object): EventBuilder;
229231
submit(callback?: (context: EventPluginContext) => void): void;
@@ -365,9 +367,7 @@ export declare class ConfigurationDefaultsPlugin implements IEventPlugin {
365367
export declare class ErrorPlugin implements IEventPlugin {
366368
priority: number;
367369
name: string;
368-
ignoredProperties: string[];
369370
run(context: EventPluginContext, next?: () => void): void;
370-
private getAdditionalData(exception);
371371
}
372372
export declare class ModuleInfoPlugin implements IEventPlugin {
373373
priority: number;

dist/exceptionless.js

+68-74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)