@alwaysmeticulous/sdk-bundles-api 2.291.2 → 2.292.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.
@@ -297,6 +297,9 @@ export interface GeneratedByTestRun {
297
297
  export interface GeneratedByReplayCommand {
298
298
  type: "replayCommand";
299
299
  }
300
+ export type SessionStartUrlTransform = {
301
+ type: "extract-hash-route";
302
+ };
300
303
  export interface AppUrlConfig {
301
304
  /**
302
305
  * If set, we will ensure that the appUrl pathname is prefixed with this value for the initial navigation.
@@ -325,6 +328,15 @@ export interface AppUrlConfig {
325
328
  * List of query parameters to set to `""` from the app URL before the initial navigation.
326
329
  */
327
330
  queryParamsToEmpty?: string[];
331
+ /**
332
+ * If set, transforms the session start URL before computing the initial navigation URL.
333
+ *
334
+ * `extract-hash-route`: when the session URL has a hash that begins with `#/` (SPA hash routing),
335
+ * promotes the hash content to the real pathname and discards the original pathname.
336
+ * Example: `https://preview.example.com/pr-123/#/dashboard/settings` → pathname `/dashboard/settings`, no hash.
337
+ * Sessions without a `#/` hash are returned unchanged.
338
+ */
339
+ sessionStartUrlTransform?: SessionStartUrlTransform;
328
340
  }
329
341
  export interface NetworkDebuggingOptions {
330
342
  requestRegexes: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/sdk-bundles-api",
3
- "version": "2.291.2",
3
+ "version": "2.292.0",
4
4
  "description": "Meticulous common types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -9,7 +9,7 @@
9
9
  "dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@alwaysmeticulous/api": "2.291.2"
12
+ "@alwaysmeticulous/api": "2.292.0"
13
13
  },
14
14
  "author": {
15
15
  "name": "The Meticulous Team",