From bec6e509245d50c16a9726ef1efdf16d4a859942 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 22 Sep 2020 19:51:09 +0000 Subject: [PATCH] chore(release): 7.2.1 [skip ci] ## [7.2.1](https://github.com/amplitude/amplitude-javascript/compare/v7.2.0...v7.2.1) (2020-09-22) ### Bug Fixes * **initialization:** always return `this` in onInit ([#300](https://github.com/amplitude/amplitude-javascript/issues/300)) ([44d00d7](https://github.com/amplitude/amplitude-javascript/commit/44d00d7a7f18df19e07107615c2ed7a619b0063c)) * move bad postinstall script ([#301](https://github.com/amplitude/amplitude-javascript/issues/301)) ([ca98af3](https://github.com/amplitude/amplitude-javascript/commit/ca98af3cb7ded59fa35195b7fb1c3edf091d0449)) --- package.json | 2 +- src/amplitude-snippet.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 766d9358..301563ff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "amplitude-js", "author": "Amplitude ", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Javascript library for Amplitude Analytics", "keywords": [ diff --git a/src/amplitude-snippet.js b/src/amplitude-snippet.js index b6cb900a..daf4f8a1 100644 --- a/src/amplitude-snippet.js +++ b/src/amplitude-snippet.js @@ -9,11 +9,11 @@ var as = document.createElement('script'); as.type = 'text/javascript'; // Don't edit as.integrity, it is tracked by semantic-release-bot during releases - as.integrity = 'sha384-yPyeARQOyqYBFPjK2yO7AidLXf7HBQws/DMlhCAyyOvw50oA9VJsnyKHUJC8d5wd'; + as.integrity = 'sha384-girahbTbYZ9tT03PWWj0mEVgyxtZoyDF9KVZdL+R53PP5wCY0PiVUKq0jeRlMx9M'; as.crossOrigin = 'anonymous'; as.async = true; // Don't edit as.src, it is tracked by semantic-release-bot during releases - as.src = 'https://cdn.amplitude.com/libs/amplitude-7.2.0-min.gz.js'; + as.src = 'https://cdn.amplitude.com/libs/amplitude-7.2.1-min.gz.js'; as.onload = function() {if(!window.amplitude.runQueuedFunctions) {console.log('[Amplitude] Error: could not load SDK');}}; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(as, s);