File tree Expand file tree Collapse file tree 5 files changed +30
-4
lines changed Expand file tree Collapse file tree 5 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 1+ ### 5.11.0 (April 6, 2020)
2+ * Add a ` sameSiteCookie ` option to set the SameSite cookie. It is set to ` None ` by default
3+
14### 5.10.0 (March 10, 2020)
25* ` Library ` field for event will include ` amplitude-react-native ` when using SDK in react native.
36* ` Device Type ` field now will show the actual device model instead of OS name.
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Please see our [installation guide](https://amplitude.zendesk.com/hc/en-us/artic
1818[ ![ npm version] ( https://badge.fury.io/js/amplitude-js.svg )] ( https://badge.fury.io/js/amplitude-js )
1919[ ![ Bower version] ( https://badge.fury.io/bo/amplitude-js.svg )] ( https://badge.fury.io/bo/amplitude-js )
2020
21- [ 5.10 .0 - Released on March 10 , 2020] ( https://github.com/amplitude/Amplitude-JavaScript/releases/latest )
21+ [ 5.11 .0 - Released on April 6 , 2020] ( https://github.com/amplitude/Amplitude-JavaScript/releases/latest )
2222
2323
2424# JavaScript SDK Reference #
Original file line number Diff line number Diff line change 11{
22 "name" : " amplitude-js" ,
33 "author" : " Amplitude <support@amplitude.com>" ,
4- "version" : " 5.10 .0" ,
4+ "version" : " 5.11 .0" ,
55 "license" : " MIT" ,
66 "description" : " Javascript library for Amplitude Analytics" ,
77 "keywords" : [
Original file line number Diff line number Diff line change 22 var amplitude = window . amplitude || { '_q' :[ ] , '_iq' :{ } } ;
33 var as = document . createElement ( 'script' ) ;
44 as . type = 'text/javascript' ;
5- as . integrity = 'sha384-3bSR/uIgD42pCWBeq1//B3mI/hPuWdk0L1EUnQIWfGyMOjs0VEoFLhHMqObtv2BA ' ;
5+ as . integrity = 'sha384-XjqOOyFvYU+vG4+WrAuiEGo7iwlPziIAukUSiFSme/Jj5Rdk1G9Fu5iMmjxg4XRk ' ;
66 as . crossOrigin = 'anonymous' ;
77 as . async = true ;
8- as . src = 'https://cdn.amplitude.com/libs/amplitude-5.10 .0-min.gz.js' ;
8+ as . src = 'https://cdn.amplitude.com/libs/amplitude-5.11 .0-min.gz.js' ;
99 as . onload = function ( ) { if ( ! window . amplitude . runQueuedFunctions ) { console . log ( '[Amplitude] Error: could not load SDK' ) ; } } ;
1010 var s = document . getElementsByTagName ( 'script' ) [ 0 ] ;
1111 s . parentNode . insertBefore ( as , s ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ // Target latest version of ECMAScript.
4+ "target" : " esnext" ,
5+ // Search under node_modules for non-relative imports.
6+ "moduleResolution" : " node" ,
7+ // Process & infer types from .js files.
8+ "allowJs" : true ,
9+ // Don't emit; allow Babel to transform files.
10+ "noEmit" : true ,
11+ // Enable strictest settings like strictNullChecks & noImplicitAny.
12+ "strict" : true ,
13+ // Disallow features that require cross-file information for emit.
14+ "isolatedModules" : true ,
15+ // Import non-ES modules as default imports.
16+ "esModuleInterop" : true ,
17+ "noUnusedLocals" : true ,
18+ "noUnusedParameters" : true
19+ },
20+ "include" : [
21+ " src"
22+ ]
23+ }
You can’t perform that action at this time.
0 commit comments