@sailfish-ai/recorder 1.7.33 → 1.7.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/graphql.js +33 -3
- package/dist/index.js +54 -3
- package/dist/sailfish-recorder.cjs.js +1 -1
- package/dist/sailfish-recorder.cjs.js.br +0 -0
- package/dist/sailfish-recorder.cjs.js.gz +0 -0
- package/dist/sailfish-recorder.es.js +1 -1
- package/dist/sailfish-recorder.es.js.br +0 -0
- package/dist/sailfish-recorder.es.js.gz +0 -0
- package/dist/sailfish-recorder.umd.js +1 -1
- package/dist/sailfish-recorder.umd.js.br +0 -0
- package/dist/sailfish-recorder.umd.js.gz +0 -0
- package/dist/types/graphql.d.ts +1 -1
- package/dist/types/index.d.ts +7 -3
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
package/dist/types/graphql.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export declare function sendGraphQLRequest<T>(operationName: string, query: stri
|
|
|
3
3
|
initialBackoff?: number, // Initial backoff in milliseconds
|
|
4
4
|
backoffFactor?: number): Promise<GraphQLResponse<T>>;
|
|
5
5
|
export declare function fetchCaptureSettings(apiKey: string, backendApi: string): Promise<GraphQLResponse<CaptureSettingsResponse>>;
|
|
6
|
-
export declare function startRecordingSession(apiKey: string, recordingId: string, backendApi: string): Promise<GraphQLResponse<StartSessionResponse>>;
|
|
6
|
+
export declare function startRecordingSession(apiKey: string, recordingId: string, backendApi: string, serviceIdentifier: string, serviceVersion?: string, mapUuid?: string, gitSha?: string, library?: string, serviceAdditionalMetadata?: Record<string, any>): Promise<GraphQLResponse<StartSessionResponse>>;
|
|
7
7
|
export declare function sendDomainsToNotPropagateHeaderTo(apiKey: string, domains: string[], backendApi: string): Promise<GraphQLResponse<void>>;
|
|
8
8
|
export declare function createTriageFromRecorder(apiKey: string, backendApi: string, recordingSessionId: string, timestampStart: string, timestampEnd: string, description?: string): Promise<GraphQLResponse<CreateTriageResponse>>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -15,22 +15,26 @@ export declare function consolidateDynamicExclusions(hostPathSet: Set<string>, t
|
|
|
15
15
|
export declare const DEFAULT_CAPTURE_SETTINGS: CaptureSettings;
|
|
16
16
|
export declare const DEFAULT_CONSOLE_RECORDING_SETTINGS: LogRecordOptions;
|
|
17
17
|
export declare function matchUrlWithWildcard(url: string, patterns: string[]): boolean;
|
|
18
|
-
export declare function startRecording({ apiKey, backendApi, domainsToPropagateHeaderTo, domainsToNotPropagateHeaderTo, serviceVersion, serviceIdentifier, }: {
|
|
18
|
+
export declare function startRecording({ apiKey, backendApi, domainsToPropagateHeaderTo, domainsToNotPropagateHeaderTo, serviceVersion, serviceIdentifier, gitSha, serviceAdditionalMetadata, }: {
|
|
19
19
|
apiKey: string;
|
|
20
20
|
backendApi?: string;
|
|
21
21
|
domainsToPropagateHeaderTo?: string[];
|
|
22
22
|
domainsToNotPropagateHeaderTo?: string[];
|
|
23
23
|
serviceVersion?: string;
|
|
24
24
|
serviceIdentifier?: string;
|
|
25
|
+
gitSha?: string;
|
|
26
|
+
serviceAdditionalMetadata?: Record<string, any>;
|
|
25
27
|
}): Promise<void>;
|
|
26
28
|
export declare const initRecorder: (options: {
|
|
27
29
|
apiKey: string;
|
|
28
30
|
backendApi?: string;
|
|
29
|
-
serviceVersion?: string;
|
|
30
|
-
serviceIdentifier?: string;
|
|
31
31
|
domainsToPropagateHeaderTo?: string[];
|
|
32
32
|
domainsToNotPropagateHeaderTo?: string[];
|
|
33
33
|
enableShortcuts?: boolean;
|
|
34
|
+
serviceVersion?: string;
|
|
35
|
+
serviceIdentifier?: string;
|
|
36
|
+
gitSha?: string;
|
|
37
|
+
serviceAdditionalMetadata?: Record<string, any>;
|
|
34
38
|
}) => Promise<void>;
|
|
35
39
|
export * from "./graphql";
|
|
36
40
|
export { openReportIssueModal } from "./inAppReportIssueModal";
|