From b7ac817014c3630a2bb08f5bfbdeb036ad52c369 Mon Sep 17 00:00:00 2001 From: imspace Date: Sat, 10 Dec 2022 14:42:45 +0800 Subject: [PATCH] feat: support big run --- CHANGELOG.md | 4 ++++ src/constant.ts | 2 +- src/exporters/stat.ink.ts | 8 -------- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e28b129..6ba85e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.3 + +feat: support big run + ## 0.2.2 feat: tracks salmon run grade by group info diff --git a/src/constant.ts b/src/constant.ts index bf8ca9a..4a93920 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -1,7 +1,7 @@ import type { StatInkPostBody, VsHistoryDetail } from "./types.ts"; export const AGENT_NAME = "s3si.ts"; -export const S3SI_VERSION = "0.2.2"; +export const S3SI_VERSION = "0.2.3"; export const NSOAPP_VERSION = "2.4.0"; export const WEB_VIEW_VERSION = "2.0.0-bd36a652"; export const S3SI_LINK = "https://github.com/spacemeowx2/s3si.ts"; diff --git a/src/exporters/stat.ink.ts b/src/exporters/stat.ink.ts index c4440b6..6c7d8ae 100644 --- a/src/exporters/stat.ink.ts +++ b/src/exporters/stat.ink.ts @@ -278,14 +278,6 @@ export class StatInkExporter implements GameExporter { url, }; } else { - if (game.detail.rule !== "REGULAR") { - return { - status: "skip", - reason: - `This salmon run rule is not supported yet: ${game.detail.rule}`, - }; - } - const body = await this.mapCoop(game); const { url } = await this.api.postCoop(body);