Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fullstory/browser

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullstory/browser - npm Package Compare versions

Comparing version 2.0.0-beta.0 to 2.0.0-beta.3

12

dist/index.d.ts

@@ -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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc