Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alwaysmeticulous/api

Package Overview
Dependencies
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwaysmeticulous/api - npm Package Compare versions

Comparing version 2.33.0 to 2.34.0

2

dist/index.d.ts

@@ -6,4 +6,4 @@ export { Organization } from "./organization.types";

export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
export { ErrorTimelineEntry, FailedFindEntryFnEvent, JsReplayReachedMaxDurationEvent, JsReplaySimulateEvent, JsReplayTimelineEntry, PollyTimelineEntry, ReplayTimelineData, ReplayTimelineEntry, SuccessfulFindEntryFnEvent, UrlChangeTimelineEntry, } from "./sdk-bundle-api/bundle-to-sdk/timeline.types";
export { SDKReplayTimelineEntry, SDKReplayTimelineData, } from "./sdk-bundle-api/bundle-to-sdk/timeline.types";
export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
export { Cookie, SessionData, UrlHistoryEvent, WindowData, } from "./sdk-bundle-api/sdk-to-bundle/session-data";

@@ -1,2 +0,1 @@

import { ReplayableEvent } from "../bidirectional/replayable-event";
interface GenericReplayTimelineEntry {

@@ -16,11 +15,2 @@ kind: unknown;

}
export interface ErrorTimelineEntry extends GenericReplayTimelineEntry {
kind: "error";
data: {
message: string;
fileName: string;
lineNumber: number;
stack: string | null;
};
}
/**

@@ -37,64 +27,9 @@ * An error that cut the replay short.

/**
* Timed out waiting for something but continued anyway. This means the replay was still successful, but may be flakey.
* ReplayTimelineEntry types used by Meticulous SDK.
*
* The Meticulous BE code internally uses additional timeline entries, but these
* types are stored seperately.
*/
export interface TimeoutTimelineEntry extends GenericReplayTimelineEntry {
kind: "timeoutError";
data: {
timeoutInMs: number;
message: string | null;
stack: string | null;
};
}
export interface FontsTimeoutTimelineEntry extends TimeoutTimelineEntry {
data: {
waitedFor: "fonts";
} & TimeoutTimelineEntry["data"];
}
export interface NetworkResponsesTimeoutTimelineEntry extends TimeoutTimelineEntry {
data: {
waitedFor: "network-responses";
/**
* The urls we timed out waiting for.
*/
urls?: string[];
} & TimeoutTimelineEntry["data"];
}
export interface UrlChangeTimelineEntry extends GenericReplayTimelineEntry {
kind: "urlChange";
data: {
url: string;
timestamp: number;
};
}
export interface PollyTimelineEntry extends GenericReplayTimelineEntry {
kind: "pollyReplay";
data: SuccessfulFindEntryFnEvent | FailedFindEntryFnEvent;
}
export interface SuccessfulFindEntryFnEvent {
event: "findEntryFn";
result: "success";
pollyRequest: unknown;
matchedRequest: unknown;
}
export interface FailedFindEntryFnEvent {
event: "findEntryFn";
result: "failure";
pollyRequest: unknown;
matchedRequest: null;
}
export interface JsReplayTimelineEntry extends GenericReplayTimelineEntry {
kind: "jsReplay";
data: JsReplayReachedMaxDurationEvent | JsReplaySimulateEvent;
}
export interface JsReplayReachedMaxDurationEvent {
event: "reached maxDurationMs";
maxDurationMs: number;
}
export interface JsReplaySimulateEvent {
event: "simulate";
userEvent: ReplayableEvent;
result: "success" | "failed" | "unknownEvent";
}
export type ReplayTimelineEntry = ErrorTimelineEntry | FatalErrorTimelineEntry | FontsTimeoutTimelineEntry | NetworkResponsesTimeoutTimelineEntry | UrlChangeTimelineEntry | PollyTimelineEntry | JsReplayTimelineEntry;
export type ReplayTimelineData = ReplayTimelineEntry[];
export type SDKReplayTimelineEntry = FatalErrorTimelineEntry | unknown;
export type SDKReplayTimelineData = SDKReplayTimelineEntry[];
export {};
{
"name": "@alwaysmeticulous/api",
"version": "2.33.0",
"version": "2.34.0",
"description": "Meticulous API types",

@@ -37,3 +37,3 @@ "license": "ISC",

},
"gitHead": "59fcb43a3781892cc3d2e9ce8c3340de8e246108"
"gitHead": "239b51bf54a4114e6134d1a4d38bb1f992284af4"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc