@fullstory/browser
Advanced tools
Comparing version 2.0.0-beta.0 to 2.0.0-beta.3
@@ -17,10 +17,12 @@ import { FSApi } from '@fullstory/snippet'; | ||
orgId: string; | ||
namespace?: string; | ||
assetMapId?: string; | ||
cookieDomain?: string; | ||
debug?: boolean; | ||
devMode?: boolean; | ||
host?: string; | ||
script?: string; | ||
cookieDomain?: string; | ||
namespace?: string; | ||
recordCrossDomainIFrames?: boolean; | ||
recordOnlyThisIFrame?: boolean; | ||
devMode?: boolean; | ||
script?: string; | ||
startCaptureManually?: boolean; | ||
} | ||
@@ -39,2 +41,4 @@ /** | ||
interface Window { | ||
_fs_asset_map_id?: string; | ||
_fs_capture_on_startup?: boolean; | ||
_fs_cookie_domain?: string; | ||
@@ -41,0 +45,0 @@ _fs_debug?: boolean; |
@@ -53,2 +53,8 @@ import { initFS } from '@fullstory/snippet'; | ||
} | ||
if (options.assetMapId) { | ||
window._fs_asset_map_id = options.assetMapId; | ||
} | ||
if (options.startCaptureManually) { | ||
window._fs_capture_on_startup = false; | ||
} | ||
// record the contents of this iFrame when embedded in a parent site | ||
@@ -55,0 +61,0 @@ if (options.recordOnlyThisIFrame) { |
@@ -55,2 +55,8 @@ 'use strict'; | ||
} | ||
if (options.assetMapId) { | ||
window._fs_asset_map_id = options.assetMapId; | ||
} | ||
if (options.startCaptureManually) { | ||
window._fs_capture_on_startup = false; | ||
} | ||
// record the contents of this iFrame when embedded in a parent site | ||
@@ -57,0 +63,0 @@ if (options.recordOnlyThisIFrame) { |
{ | ||
"name": "@fullstory/browser", | ||
"version": "2.0.0-beta.0", | ||
"version": "2.0.0-beta.3", | ||
"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.2" | ||
"@fullstory/snippet": "2.0.0-beta.3" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
@@ -38,2 +38,4 @@ # FullStory Browser SDK | ||
* `devMode` - Set to `true` if you want to deactivate FullStory in your development environment. When set to `true`, FullStory will shutdown recording and all subsequent SDK method calls will be no-ops. At the time `init` is called with `devMode: true`, a single `event` call will be sent to FullStory to indicate that the SDK is in `devMode`; this is to help trouble-shoot the case that the SDK was accidentally set to `devMode: true` in a production environment. Additionally, any calls to SDK methods will `console.warn` that FullStory is in `devMode`. Defaults to `false`. | ||
* `startCaptureManually` - Set to `true` if you want to start capture manually using `FS('start')`. FullStory will load but wait for a call to `FS('start')` to begin capturing. See [Manually Delay Data Capture](https://developer.fullstory.com/browser/v2/auto-capture/capture-data/#manually-delay-data-capture) for more information. Defaults to `false`. | ||
* `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. | ||
@@ -40,0 +42,0 @@ ### Ready Callback |
@@ -18,10 +18,12 @@ import { initFS, FSApi } from '@fullstory/snippet'; | ||
orgId: string; | ||
namespace?: string; | ||
assetMapId?: string; | ||
cookieDomain?: string; | ||
debug?: boolean; | ||
devMode?: boolean; | ||
host?: string; | ||
script?: string; | ||
cookieDomain?: string; | ||
namespace?: string; | ||
recordCrossDomainIFrames?: boolean; | ||
recordOnlyThisIFrame?: boolean; | ||
devMode?: boolean; | ||
script?: string; | ||
startCaptureManually?: boolean; | ||
} | ||
@@ -39,2 +41,4 @@ | ||
interface Window { | ||
_fs_asset_map_id?: string; | ||
_fs_capture_on_startup?: boolean; | ||
_fs_cookie_domain?: string; | ||
@@ -84,2 +88,10 @@ _fs_debug?: boolean; | ||
if (options.assetMapId) { | ||
window._fs_asset_map_id = options.assetMapId; | ||
} | ||
if (options.startCaptureManually) { | ||
window._fs_capture_on_startup = false; | ||
} | ||
// record the contents of this iFrame when embedded in a parent site | ||
@@ -86,0 +98,0 @@ if (options.recordOnlyThisIFrame) { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37092
686
152
0
+ Added@fullstory/snippet@2.0.0-beta.3(transitive)
- Removed@fullstory/snippet@2.0.0-beta.2(transitive)