Skip to content

Commit

Permalink
v3.1.5 (#723)
Browse files Browse the repository at this point in the history
* docs: update release note

* 3.1.5
  • Loading branch information
Robot-Inventor authored May 27, 2024
1 parent 36b5708 commit e51f4b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shadowban-scanner",
"version": "3.1.4",
"version": "3.1.5",
"description": "A browser extension that detects shadowbans on Twitter.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions src/ts/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@ import browser from "webextension-polyfill";

/**
* This function is called when the extension is updated.
* - If the extension is updated from v1 to v2, migrate settings from v1 to v2.
* - If the extension is updated from v2 to v2.1, migrate settings from v2 to v2.1.
* - If the extension is not under development, open the release note page.
* @param details details of the update
* @param isJapanese if the user's language is Japanese
*/
const onUpdated = (details: browser.Runtime.OnInstalledDetailsType, isJapanese: boolean): void => {
// Temporary disable release note page
return;
// Do nothing while development
if (details.previousVersion === browser.runtime.getManifest().version) return;

Expand Down
4 changes: 2 additions & 2 deletions src/ts/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const ALLOWED_TWEMOJI = ["✅", "🚫", "⚠️"];

const ONBOARDING_PATH = "dist/html/initialSetup.html";
const RELEASE_NOTE_URL = {
en: "https://roboin.io/article/2023/12/30/shadowban-scanner-v3-1-release/en/",
ja: "https://roboin.io/article/2023/12/30/shadowban-scanner-v3-1-release/"
en: "https://roboin.io/article/2024/05/27/shadowban-scanner-reaches-over-10000-users/en/",
ja: "https://roboin.io/article/2024/05/27/shadowban-scanner-reaches-over-10000-users/"
} as const;
const INSTRUCTION_URL = {
en: "https://roboin.io/article/2023/09/30/detect-twitter-shadowban/en/#usage",
Expand Down

0 comments on commit e51f4b1

Please sign in to comment.