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 to 2.0.1

4

package.json
{
"name": "@fullstory/browser",
"version": "2.0.0",
"version": "2.0.1",
"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"
"@fullstory/snippet": "2.0.1"
},

@@ -32,0 +32,0 @@ "devDependencies": {

@@ -154,2 +154,12 @@ import { assert, expect } from 'chai';

// Disconnector can be `void` type
const disconnector = FS('observe', { type: 'start', callback: () => console.log('STARTED') });
// README(scottnorvell): statements where we _don't_ null check the disconnector
// work in the editor but not on CI so I got rid of them 🤷‍♂️
if (disconnector) {
// passes
disconnector.disconnect();
}
// LEGACY:

@@ -173,2 +183,15 @@ // Passes TypeScript check

});
// NOTE: don't run this test, it will hang since fs.js isn't really running. It's only for typescript safety checks.
xit('provides type assistance for the async api', async () => {
init({ orgId: testOrg });
const disconnector = await FS('observeAsync', { type: 'start', callback: () => console.log('STARTED') });
disconnector.disconnect();
const url = await FS('getSessionAsync');
console.log(url.trim());
});
});
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