Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion kits/rokt/dist/Rokt-Kit.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kits/rokt/dist/Rokt-Kit.common.js.map

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions kits/rokt/dist/Rokt-Kit.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
declare interface ErrorReport {
message: string;
code?: string;
severity?: string;
stackTrace?: string;
}

declare interface LogEntry {
message: string;
code?: string;
}

export declare class LoggingService {
private _transport;
private _loggingUrl;
private _errorReportingService;
constructor(config: ReportingConfig, errorReportingService: {
report: (e: ErrorReport) => void;
}, integrationName: string | null | undefined, launcherInstanceGuid?: string, accountId?: string | null, rateLimiter?: RateLimiter);
log(entry: LogEntry | null | undefined): void;
}

declare class RateLimiter {
private _logCount;
incrementAndCheck(severity: string): boolean;
}

export declare function register(config: {
kits?: Record<string, unknown>;
}): void;

declare interface ReportingConfig {
loggingUrl?: string;
errorUrl?: string;
integrationDomain?: string;
isLoggingEnabled: boolean;
}

export { }


Expand Down
Loading
Loading