@amplitude/analytics-browser
Advanced tools
Comparing version 1.6.3 to 1.6.4
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.6.3"; | ||
export declare const VERSION = "1.6.4"; | ||
//# sourceMappingURL=version.d.ts.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '1.6.3'; | ||
exports.VERSION = '1.6.4'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.6.3"; | ||
export declare const VERSION = "1.6.4"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export var VERSION = '1.6.3'; | ||
export var VERSION = '1.6.4'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,1 +0,1 @@ | ||
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{r.invoked=!0;var n=t.createElement("script");n.type="text/javascript",n.integrity="sha384-14E1NARC/ZeiSAkGuFWKLbA+q7t/JmdHjr++ov3zi72E3EWa/+JhYfGjpKQFT1OT",n.crossOrigin="anonymous",n.async=!0,n.src="https://cdn.amplitude.com/libs/analytics-browser-1.6.3-min.js.gz",n.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var s=t.getElementsByTagName("script")[0];function f(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}}s.parentNode.insertBefore(n,s);for(var o=function(){return this._q=[],this},i=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],a=0;a<i.length;a++)f(o,i[a]);r.Identify=o;for(var u=function(){return this._q=[],this},c=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],p=0;p<c.length;p++)f(u,c[p]);r.Revenue=u;var l=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],d=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];function v(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}}function m(e,t,r){e[t]=function(){if(r)return{promise:new Promise(v(e,t,Array.prototype.slice.call(arguments)))}}}function g(e){for(var t=0;t<l.length;t++)m(e,l[t],!1);for(var r=0;r<d.length;r++)m(e,d[r],!0)}g(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return g(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}(); | ||
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{r.invoked=!0;var n=t.createElement("script");n.type="text/javascript",n.integrity="sha384-uXua/RzNOaymfvbAF3U4i4kAPF5vlEuMQCr+cqpcOseUZ1NGB8VsVjujnfoEJlyb",n.crossOrigin="anonymous",n.async=!0,n.src="https://cdn.amplitude.com/libs/analytics-browser-1.6.4-min.js.gz",n.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var s=t.getElementsByTagName("script")[0];function f(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}}s.parentNode.insertBefore(n,s);for(var o=function(){return this._q=[],this},i=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],u=0;u<i.length;u++)f(o,i[u]);r.Identify=o;for(var a=function(){return this._q=[],this},c=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],l=0;l<c.length;l++)f(a,c[l]);r.Revenue=a;var p=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],d=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];function v(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}}function m(e,t,r){e[t]=function(){if(r)return{promise:new Promise(v(e,t,Array.prototype.slice.call(arguments)))}}}function y(e){for(var t=0;t<p.length;t++)m(e,p[t],!1);for(var r=0;r<d.length;r++)m(e,d[r],!0)}y(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return y(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}(); |
{ | ||
"name": "@amplitude/analytics-browser", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "Official Amplitude SDK for Web", | ||
@@ -46,5 +46,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@amplitude/analytics-client-common": "^0.4.1", | ||
"@amplitude/analytics-core": "^0.10.1", | ||
"@amplitude/analytics-types": "^0.13.0", | ||
"@amplitude/analytics-client-common": "^0.5.0", | ||
"@amplitude/analytics-core": "^0.11.0", | ||
"@amplitude/analytics-types": "^0.14.0", | ||
"@amplitude/ua-parser-js": "^0.7.31", | ||
@@ -69,3 +69,3 @@ "tslib": "^2.3.1" | ||
], | ||
"gitHead": "c3b5d2ddf9439089b1eb1020e0ee87a64fb974d8" | ||
"gitHead": "e4e95ad7ee239eaa9712eec347ad0ebe43bf2993" | ||
} |
@@ -35,3 +35,3 @@ <p align="center"> | ||
<script type="text/javascript"> | ||
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{r.invoked=!0;var n=t.createElement("script");n.type="text/javascript",n.integrity="sha384-14E1NARC/ZeiSAkGuFWKLbA+q7t/JmdHjr++ov3zi72E3EWa/+JhYfGjpKQFT1OT",n.crossOrigin="anonymous",n.async=!0,n.src="https://cdn.amplitude.com/libs/analytics-browser-1.6.3-min.js.gz",n.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var s=t.getElementsByTagName("script")[0];function f(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}}s.parentNode.insertBefore(n,s);for(var o=function(){return this._q=[],this},i=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],a=0;a<i.length;a++)f(o,i[a]);r.Identify=o;for(var u=function(){return this._q=[],this},c=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],p=0;p<c.length;p++)f(u,c[p]);r.Revenue=u;var l=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],d=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];function v(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}}function m(e,t,r){e[t]=function(){if(r)return{promise:new Promise(v(e,t,Array.prototype.slice.call(arguments)))}}}function g(e){for(var t=0;t<l.length;t++)m(e,l[t],!1);for(var r=0;r<d.length;r++)m(e,d[r],!0)}g(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return g(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}(); | ||
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q:[],_iq:[]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{r.invoked=!0;var n=t.createElement("script");n.type="text/javascript",n.integrity="sha384-uXua/RzNOaymfvbAF3U4i4kAPF5vlEuMQCr+cqpcOseUZ1NGB8VsVjujnfoEJlyb",n.crossOrigin="anonymous",n.async=!0,n.src="https://cdn.amplitude.com/libs/analytics-browser-1.6.4-min.js.gz",n.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var s=t.getElementsByTagName("script")[0];function f(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}}s.parentNode.insertBefore(n,s);for(var o=function(){return this._q=[],this},i=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],u=0;u<i.length;u++)f(o,i[u]);r.Identify=o;for(var a=function(){return this._q=[],this},c=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],l=0;l<c.length;l++)f(a,c[l]);r.Revenue=a;var p=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],d=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];function v(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}}function m(e,t,r){e[t]=function(){if(r)return{promise:new Promise(v(e,t,Array.prototype.slice.call(arguments)))}}}function y(e){for(var t=0;t<p.length;t++)m(e,p[t],!1);for(var r=0;r<d.length;r++)m(e,d[r],!0)}y(r),r.createInstance=function(){var e=r._iq.push({_q:[]})-1;return y(r._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}(); | ||
@@ -38,0 +38,0 @@ amplitude.init("YOUR_API_KEY_HERE"); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
450409
2740
5
+ Added@amplitude/analytics-client-common@0.5.4(transitive)
+ Added@amplitude/analytics-core@0.11.4(transitive)
+ Added@amplitude/analytics-types@0.14.00.16.0(transitive)
- Removed@amplitude/analytics-client-common@0.4.1(transitive)
- Removed@amplitude/analytics-core@0.10.1(transitive)
- Removed@amplitude/analytics-types@0.13.0(transitive)