@alwaysmeticulous/sdk-bundles-api 2.196.0 → 2.198.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.
|
@@ -247,9 +247,22 @@ export interface AppUrlConfig {
|
|
|
247
247
|
/**
|
|
248
248
|
* If set, we will ensure that the appUrl pathname is prefixed with this value for the initial navigation.
|
|
249
249
|
*
|
|
250
|
-
* __Note:__ When checking if the appUrl is already prefixed, we check against {@link URL.pathname} which
|
|
250
|
+
* __Note:__ When checking if the appUrl is already prefixed, we check against {@link URL.pathname} which
|
|
251
|
+
* will always have a leading "/".
|
|
251
252
|
*/
|
|
252
|
-
pathnamePrefix
|
|
253
|
+
pathnamePrefix?: string;
|
|
254
|
+
/**
|
|
255
|
+
* Normally if an app URL includes a path, query or hash component then we completely ignore
|
|
256
|
+
* the session start URL (and the provided {@link pathnamePrefix}) and just use the app URL.
|
|
257
|
+
*
|
|
258
|
+
* Setting ignoreAppUrlPathAfterPreNavigation to true overrides this behaviour and use the path, query and hash from the
|
|
259
|
+
* session start URL, and the hostname/origin from the app URL. Thereby completely ignoring the path, query
|
|
260
|
+
* and hash from the app URL.
|
|
261
|
+
*
|
|
262
|
+
* Note: The original full app URL (with path, query and hash) is still used for pre-navigation
|
|
263
|
+
* if pre-navigation (navigating to a URL to get cookies before starting the main replay) is enabled.
|
|
264
|
+
*/
|
|
265
|
+
ignoreAppUrlPathAfterPreNavigation?: boolean;
|
|
253
266
|
}
|
|
254
267
|
type StringId<FlavorT> = Flavor<string, FlavorT>;
|
|
255
268
|
type Flavor<T, FlavorT> = T & {
|
|
@@ -60,4 +60,9 @@ export interface MeticulousPublicRecordApi {
|
|
|
60
60
|
recordCustomEvent(type: string, serializedData: string): {
|
|
61
61
|
success: boolean;
|
|
62
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* Provides a link to view the session in the Meticulous UI. This link
|
|
65
|
+
* is of course only accessible by users with access to the Meticulous project.
|
|
66
|
+
*/
|
|
67
|
+
getSessionUrl(): string;
|
|
63
68
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/sdk-bundles-api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.198.0",
|
|
4
4
|
"description": "Meticulous common types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"bugs": {
|
|
39
39
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "6e0e2a9a6ff42da8d74d1cfd99cdefab9bdc59c1"
|
|
42
42
|
}
|