@fullstory/browser
Advanced tools
Comparing version 2.0.0-beta.4 to 2.0.0
@@ -17,2 +17,3 @@ import { FSApi } from '@fullstory/snippet'; | ||
orgId: string; | ||
appHost?: string; | ||
assetMapId?: string; | ||
@@ -41,2 +42,3 @@ cookieDomain?: string; | ||
interface Window { | ||
_fs_app_host?: string; | ||
_fs_asset_map_id?: string; | ||
@@ -43,0 +45,0 @@ _fs_capture_on_startup?: boolean; |
@@ -53,2 +53,5 @@ import { initFS } from '@fullstory/snippet'; | ||
} | ||
if (options.appHost) { | ||
window._fs_app_host = options.appHost; | ||
} | ||
if (options.assetMapId) { | ||
@@ -90,3 +93,3 @@ window._fs_asset_map_id = options.assetMapId; | ||
properties: { | ||
message_str: message, | ||
message: message, | ||
} | ||
@@ -93,0 +96,0 @@ }); |
@@ -55,2 +55,5 @@ 'use strict'; | ||
} | ||
if (options.appHost) { | ||
window._fs_app_host = options.appHost; | ||
} | ||
if (options.assetMapId) { | ||
@@ -92,3 +95,3 @@ window._fs_asset_map_id = options.assetMapId; | ||
properties: { | ||
message_str: message, | ||
message: message, | ||
} | ||
@@ -95,0 +98,0 @@ }); |
{ | ||
"name": "@fullstory/browser", | ||
"version": "2.0.0-beta.4", | ||
"version": "2.0.0", | ||
"description": "The official FullStory browser SDK", | ||
@@ -29,3 +29,3 @@ "repository": "git://github.com/fullstorydev/fullstory-browser-sdk.git", | ||
"dependencies": { | ||
"@fullstory/snippet": "2.0.0-beta.3" | ||
"@fullstory/snippet": "2.0.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
@@ -83,2 +83,3 @@ # FullStory Browser SDK | ||
* `assetMapId` - Use this to set the current asset map id. See [Asset Uploading for Web](https://help.fullstory.com/hc/en-us/articles/4404129191575-Asset-Uploading-for-Web) for more information. | ||
* `appHost` - Use this to set the app host for displaying session urls. If using a version of [FullStory Relay](https://help.fullstory.com/hc/en-us/articles/360046112593-How-to-send-captured-traffic-to-your-First-Party-Domain-using-FullStory-Relay), you may need to set `appHost` "app.fullstory.com" or "app.eu1.fullstory.com" depending on your region. | ||
@@ -85,0 +86,0 @@ ### Ready Callback |
@@ -18,2 +18,3 @@ import { initFS, FSApi } from '@fullstory/snippet'; | ||
orgId: string; | ||
appHost?: string; | ||
assetMapId?: string; | ||
@@ -41,2 +42,3 @@ cookieDomain?: string; | ||
interface Window { | ||
_fs_app_host?: string; | ||
_fs_asset_map_id?: string; | ||
@@ -88,2 +90,6 @@ _fs_capture_on_startup?: boolean; | ||
if (options.appHost) { | ||
window._fs_app_host = options.appHost; | ||
} | ||
if (options.assetMapId) { | ||
@@ -133,3 +139,3 @@ window._fs_asset_map_id = options.assetMapId; | ||
properties: { | ||
message_str: message, | ||
message, | ||
} | ||
@@ -136,0 +142,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
40097
699
0
231
+ Added@fullstory/snippet@2.0.0(transitive)
- Removed@fullstory/snippet@2.0.0-beta.3(transitive)
Updated@fullstory/snippet@2.0.0