@fullstory/browser
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"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()); | ||
}); | ||
}); |
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
40917
715
+ Added@fullstory/snippet@2.0.1(transitive)
- Removed@fullstory/snippet@2.0.0(transitive)
Updated@fullstory/snippet@2.0.1