@alwaysmeticulous/sdk-bundles-api 2.277.0 → 2.283.1

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.
@@ -0,0 +1,3 @@
1
+ export interface BackendRecorderHandle {
2
+ stopRecording: () => Promise<void>;
3
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fd2bca20-a220-5f4e-a17f-ccd7d02fceda")}catch(e){}}();
3
+
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=init-backend-recorder.js.map
6
+ //# debugId=fd2bca20-a220-5f4e-a17f-ccd7d02fceda
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init-backend-recorder.js","sources":["../../../src/backend-recorder/bundle-to-sdk/init-backend-recorder.ts"],"sourceRoot":"","names":[],"mappings":"","debugId":"fd2bca20-a220-5f4e-a17f-ccd7d02fceda"}
@@ -0,0 +1,14 @@
1
+ export interface BackendRecorderConfig {
2
+ /** Enable/disable the recorder. Defaults to `true`. */
3
+ enabled?: boolean;
4
+ /** The name of the Meticulous project. */
5
+ meticulousProjectName?: string;
6
+ /** Token used to authenticate span uploads. */
7
+ recordingToken?: string;
8
+ /** Where to export spans. Defaults to `"local"`. */
9
+ exportMode?: "local" | "s3";
10
+ /** Directory for local exports. Only used when `exportMode` is `"local"`. */
11
+ localOutputDir?: string;
12
+ /** How often to flush spans, in milliseconds. */
13
+ flushIntervalMs?: number;
14
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e1e04efa-0626-5977-b3db-6efab04fc331")}catch(e){}}();
3
+
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=init-backend-recorder.js.map
6
+ //# debugId=e1e04efa-0626-5977-b3db-6efab04fc331
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init-backend-recorder.js","sources":["../../../src/backend-recorder/sdk-to-bundle/init-backend-recorder.ts"],"sourceRoot":"","names":[],"mappings":"","debugId":"e1e04efa-0626-5977-b3db-6efab04fc331"}
package/dist/index.d.ts CHANGED
@@ -12,3 +12,5 @@ export { ReplayAndStoreResultsResult, ReplayExecution, BeforeUserEventResult, In
12
12
  export { ScreenshotDiffData } from "./replay-orchestrator/bundle-to-sdk/execute-replay";
13
13
  export { MeticulousPublicApi, MeticulousPressureObserver, MeticulousPressureObserverConstructor, MeticulousPressureRecord, MeticulousPressureSource, MeticulousPressureState, } from "./window-api/public-window-api";
14
14
  export { MeticulousPrivateApi } from "./window-api/private-window-api";
15
+ export { BackendRecorderConfig } from "./backend-recorder/sdk-to-bundle/init-backend-recorder";
16
+ export { BackendRecorderHandle } from "./backend-recorder/bundle-to-sdk/init-backend-recorder";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/sdk-bundles-api",
3
- "version": "2.277.0",
3
+ "version": "2.283.1",
4
4
  "description": "Meticulous common types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -8,18 +8,8 @@
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
- "scripts": {
12
- "clean": "rimraf dist tsconfig.tsbuildinfo",
13
- "build": "tsc --build tsconfig.json",
14
- "dev": "tsc --build tsconfig.json --watch",
15
- "format": "prettier --write src",
16
- "lint": "eslint \"src/**/*.{js,ts,tsx}\" --cache",
17
- "lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
18
- "lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
19
- "depcheck": "depcheck --ignore-patterns=dist"
20
- },
21
11
  "dependencies": {
22
- "@alwaysmeticulous/api": "2.276.2"
12
+ "@alwaysmeticulous/api": "2.283.1"
23
13
  },
24
14
  "author": {
25
15
  "name": "The Meticulous Team",
@@ -38,5 +28,14 @@
38
28
  "bugs": {
39
29
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
40
30
  },
41
- "gitHead": "655c31cccaab8ad5c213bdee56ae25479e589ed9"
42
- }
31
+ "scripts": {
32
+ "clean": "rimraf dist tsconfig.tsbuildinfo",
33
+ "build": "tsc --build tsconfig.json",
34
+ "dev": "tsc --build tsconfig.json --watch",
35
+ "format": "prettier --write src",
36
+ "lint": "eslint \"src/**/*.{js,ts,tsx}\" --cache",
37
+ "lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
38
+ "lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
39
+ "depcheck": "depcheck --ignore-patterns=dist"
40
+ }
41
+ }