@alwaysmeticulous/sdk-bundles-api 2.110.0 → 2.112.0

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.
@@ -1,4 +1,4 @@
1
- import { InjectableRequestHeader, NetworkStubbingMode, ScreenshotAssertionsEnabledOptions, ScreenshotDiffOptions, ScreenshottingEnabledOptions } from "@alwaysmeticulous/api";
1
+ import { Cookie, InjectableRequestHeader, NetworkStubbingMode, ScreenshotAssertionsEnabledOptions, ScreenshotDiffOptions, ScreenshottingEnabledOptions } from "@alwaysmeticulous/api";
2
2
  import { LogLevelNumbers } from "loglevel";
3
3
  import { BeforeUserEventResult } from "../bundle-to-sdk/execute-replay";
4
4
  export interface ReplayAndStoreResultsOptions {
@@ -148,6 +148,10 @@ export interface ReplayExecutionOptions {
148
148
  * If populated, each header will be injected into all requests when fetching resources during a replay.
149
149
  */
150
150
  customRequestHeaders?: InjectableRequestHeader[];
151
+ /**
152
+ * Extra cookies to use during the replay. These will override cookies of the same name from the session under simulation.
153
+ */
154
+ extraCookies?: Cookie[];
151
155
  /**
152
156
  * Hash of the project settings at the time the test run or replay was initiated. Used as part of `ReplayLogicVersion`
153
157
  * to ensure that we don't compare screenshots that were generated from replays with different project settings.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/sdk-bundles-api",
3
- "version": "2.110.0",
3
+ "version": "2.112.0",
4
4
  "description": "Meticulous common types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -46,5 +46,5 @@
46
46
  "bugs": {
47
47
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
48
48
  },
49
- "gitHead": "40503f160d772a272af67e2a615c2cea990b8c9d"
49
+ "gitHead": "7c26121230d2a0331d3e3bbb7de0bd3098f28014"
50
50
  }