@fullstory/browser
Advanced tools
Comparing version 1.2.2 to 1.2.3
# Changelog | ||
## 1.2.3 | ||
* Incorporate FS.anonymize method now included in the core snippet | ||
* Update minimist version for package dev package dependancies to fix npm audit alert | ||
## 1.2.2 | ||
@@ -4,0 +9,0 @@ |
@@ -61,2 +61,6 @@ var snippet = function snippet(_ref) { | ||
g.anonymize = function () { | ||
g.identify(!!0); | ||
}; | ||
g.shutdown = function () { | ||
@@ -95,3 +99,3 @@ g("rec", !1); | ||
}; | ||
g._v = "1.1.1"; | ||
g._v = "1.2.0"; | ||
})(window, document, window['_fs_namespace'], 'script', 'user'); | ||
@@ -166,7 +170,5 @@ }; | ||
var restart = guard('restart'); | ||
var anonymize = function anonymize() { | ||
return identify(false); | ||
}; | ||
var anonymize = guard('anonymize'); | ||
var init = initOnce(_init, 'FullStory init has already been called once, additional invocations are ignored'); | ||
export { anonymize, consent, event, getCurrentSessionURL, identify, init, log, restart, setUserVars, shutdown }; |
@@ -65,2 +65,6 @@ 'use strict'; | ||
g.anonymize = function () { | ||
g.identify(!!0); | ||
}; | ||
g.shutdown = function () { | ||
@@ -99,3 +103,3 @@ g("rec", !1); | ||
}; | ||
g._v = "1.1.1"; | ||
g._v = "1.2.0"; | ||
})(window, document, window['_fs_namespace'], 'script', 'user'); | ||
@@ -170,5 +174,3 @@ }; | ||
var restart = guard('restart'); | ||
var anonymize = function anonymize() { | ||
return identify(false); | ||
}; | ||
var anonymize = guard('anonymize'); | ||
var init = initOnce(_init, 'FullStory init has already been called once, additional invocations are ignored'); | ||
@@ -175,0 +177,0 @@ |
{ | ||
"name": "@fullstory/browser", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "The official FullStory browser SDK", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/fullstorydev/fullstory-browser-sdk.git", |
@@ -53,3 +53,3 @@ import snippet from './snippet'; | ||
export const restart = guard('restart'); | ||
export const anonymize = () => identify(false); | ||
export const anonymize = guard('anonymize'); | ||
export const init = initOnce(_init, 'FullStory init has already been called once, additional invocations are ignored'); |
@@ -27,2 +27,3 @@ // this code is auto-generated. DO NOT EDIT. | ||
g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)}; | ||
g.anonymize=function(){g.identify(!!0)}; | ||
g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)}; | ||
@@ -35,3 +36,3 @@ g.log = function(a,b){g("log",[a,b])}; | ||
if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)}; | ||
g._v="1.1.1"; | ||
g._v="1.2.0"; | ||
})(window,document,window['_fs_namespace'],'script','user'); | ||
@@ -38,0 +39,0 @@ /* end FullStory snippet */ |
18668
428