Skip to content

Commit

Permalink
[Release] 1.1.59
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Feb 10, 2022
1 parent afdb2ca commit c80ed11
Show file tree
Hide file tree
Showing 7 changed files with 252 additions and 621 deletions.
File renamed without changes.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All change except updating data will be noted here

## [1.1.59] - 2022-02-10

- Removed `hani` category, Sorry @Qwenty228

## [1.1.58] - 2022-02-07

- Update Debug Menu (now show percent for weight)
Expand Down
7 changes: 3 additions & 4 deletions data/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ import { CaptchaType, CaptchaTypeJSON } from "../src/models/CaptchaType";
// * Import all JSON Files Here
import * as loli from "./loli.json";
import * as trap from "./trap.json";
import * as hani from "./hani.json";

const Data: { [category: string]: CaptchaTypeJSON } = { loli, trap, hani };
const Data: { [category: string]: CaptchaTypeJSON } = { loli, trap };

// * loli and trap has 5 while hani has 2
export const weights = [0, 5, 10, 12];
// * loli and trap has equal weight (hani is removed)
export const weights = [0, 1, 2];

export function getQuestions(category: string): CaptchaType | undefined {
const data = Data[category];
Expand Down
441 changes: 0 additions & 441 deletions data/hani.json

This file was deleted.

36 changes: 36 additions & 0 deletions data/trap.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,42 @@
"ja": "鬼滅の刃"
},
"answer": true
},
{
"image": "https://i.pinimg.com/originals/db/34/d0/db34d09121bd72d0cc71472bf4bc49c2.jpg",
"name": {
"en": "Historia Reiss",
"ja": "ヒストリア・レイス"
},
"anime": {
"en": "Attack on Titan",
"ja": "進撃の巨人"
},
"answer": true
},
{
"image": "https://pbs.twimg.com/profile_images/1339234574803431424/2diM75QH_400x400.jpg",
"name": {
"en": "Uri Reiss",
"ja": "ウーリ・レイス"
},
"anime": {
"en": "Attack on Titan",
"ja": "進撃の巨人"
},
"answer": false
},
{
"image": "https://staticg.sportskeeda.com/editor/2022/01/051d3-16424238838160-1920.jpg",
"name": {
"en": "Yelena",
"ja": "イェレナ"
},
"anime": {
"en": "Attack on Titan",
"ja": "進撃の巨人"
},
"answer": true
}
],
"onFail": {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anime-captcha",
"version": "1.1.58",
"version": "1.1.59",
"type": "module",
"scripts": {
"dev": "lm-config && vite --port $PORT",
Expand All @@ -20,20 +20,20 @@
"homepage": "https://github.com/Leomotors/anime-captcha",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.37",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"@vercel/node": "^1.12.1",
"bootstrap": "^5.1.3",
"chalk": "^5.0.0",
"eslint": "^8.8.0",
"leomotors-automation": "^3.0.0",
"node-sass": "^7.0.1",
"svelte": "^3.46.4",
"svelte-check": "^2.4.2",
"svelte-preprocess": "^4.10.2",
"svelte-check": "^2.4.3",
"svelte-preprocess": "^4.10.3",
"sveltestrap": "^5.8.3",
"tslib": "^2.3.1",
"typescript": "^4.5.5",
"vite": "^2.7.13"
"vite": "^2.8.0"
}
}
Loading

1 comment on commit c80ed11

@vercel
Copy link

@vercel vercel bot commented on c80ed11 Feb 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.