File tree 5 files changed +30
-4
lines changed
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
+
1
4
### 5.10.0 (March 10, 2020)
2
5
* ` Library ` field for event will include ` amplitude-react-native ` when using SDK in react native.
3
6
* ` 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
18
18
[ ![ npm version] ( https://badge.fury.io/js/amplitude-js.svg )] ( https://badge.fury.io/js/amplitude-js )
19
19
[ ![ Bower version] ( https://badge.fury.io/bo/amplitude-js.svg )] ( https://badge.fury.io/bo/amplitude-js )
20
20
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 )
22
22
23
23
24
24
# JavaScript SDK Reference #
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " amplitude-js" ,
3
3
"author" :
" Amplitude <[email protected] >" ,
4
- "version" : " 5.10 .0" ,
4
+ "version" : " 5.11 .0" ,
5
5
"license" : " MIT" ,
6
6
"description" : " Javascript library for Amplitude Analytics" ,
7
7
"keywords" : [
Original file line number Diff line number Diff line change 2
2
var amplitude = window . amplitude || { '_q' :[ ] , '_iq' :{ } } ;
3
3
var as = document . createElement ( 'script' ) ;
4
4
as . type = 'text/javascript' ;
5
- as . integrity = 'sha384-3bSR/uIgD42pCWBeq1//B3mI/hPuWdk0L1EUnQIWfGyMOjs0VEoFLhHMqObtv2BA ' ;
5
+ as . integrity = 'sha384-XjqOOyFvYU+vG4+WrAuiEGo7iwlPziIAukUSiFSme/Jj5Rdk1G9Fu5iMmjxg4XRk ' ;
6
6
as . crossOrigin = 'anonymous' ;
7
7
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' ;
9
9
as . onload = function ( ) { if ( ! window . amplitude . runQueuedFunctions ) { console . log ( '[Amplitude] Error: could not load SDK' ) ; } } ;
10
10
var s = document . getElementsByTagName ( 'script' ) [ 0 ] ;
11
11
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