From 9ad3fc3c500da10c35dd10e9625ea092fa6a8252 Mon Sep 17 00:00:00 2001 From: imspace Date: Sat, 1 Jun 2024 22:49:47 +0800 Subject: [PATCH 1/7] feat: 0.4.18 --- CHANGELOG.md | 4 ++++ gui/src-tauri/tauri.conf.json | 2 +- src/VersionData.ts | 42 +++++++++++++++++++++++++++++++++++ src/constant.ts | 8 +++---- 4 files changed, 51 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf52d64..1cb9440 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.18 + +feat: update `WEB_VIEW_VERSION` and `NSOAPP_VERSION`, update VersionData + ## 0.4.17 feat: update `WEB_VIEW_VERSION` and `NSOAPP_VERSION` diff --git a/gui/src-tauri/tauri.conf.json b/gui/src-tauri/tauri.conf.json index 0815ebd..fb6c840 100644 --- a/gui/src-tauri/tauri.conf.json +++ b/gui/src-tauri/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "s3si-ts", - "version": "0.4.17" + "version": "0.4.18" }, "tauri": { "allowlist": { diff --git a/src/VersionData.ts b/src/VersionData.ts index 2cac5c1..3e844ae 100644 --- a/src/VersionData.ts +++ b/src/VersionData.ts @@ -48,6 +48,48 @@ export const SEASONS: Season[] = [ start: new Date("2024-03-01T00:00:00+00:00"), end: new Date("2024-06-01T00:00:00+00:00"), }, + { + id: "season202406", + name: "Sizzle Season 2024", + start: new Date("2024-06-01T00:00:00+00:00"), + end: new Date("2024-09-01T00:00:00+00:00"), + }, + { + id: "season202409", + name: "Drizzle Season 2024", + start: new Date("2024-09-01T00:00:00+00:00"), + end: new Date("2024-12-01T00:00:00+00:00"), + }, + { + id: "season202412", + name: "Chill Season 2024", + start: new Date("2024-12-01T00:00:00+00:00"), + end: new Date("2025-03-01T00:00:00+00:00"), + }, + { + id: "season202503", + name: "Fresh Season 2025", + start: new Date("2025-03-01T00:00:00+00:00"), + end: new Date("2025-06-01T00:00:00+00:00"), + }, + { + id: "season202506", + name: "Sizzle Season 2025", + start: new Date("2025-06-01T00:00:00+00:00"), + end: new Date("2025-09-01T00:00:00+00:00"), + }, + { + id: "season202509", + name: "Drizzle Season 2025", + start: new Date("2025-09-01T00:00:00+00:00"), + end: new Date("2025-12-01T00:00:00+00:00"), + }, + { + id: "season202512", + name: "Chill Season 2025", + start: new Date("2025-12-01T00:00:00+00:00"), + end: new Date("2026-03-01T00:00:00+00:00"), + }, ]; export const getSeason = (date: Date): Season | undefined => { diff --git a/src/constant.ts b/src/constant.ts index aac057a..8554884 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -1,9 +1,9 @@ import type { StatInkPostBody, VsHistoryDetail } from "./types.ts"; export const AGENT_NAME = "s3si.ts"; -export const S3SI_VERSION = "0.4.17"; +export const S3SI_VERSION = "0.4.18"; export const NSOAPP_VERSION = "2.10.0"; -export const WEB_VIEW_VERSION = "6.0.0-2ba8cb04"; +export const WEB_VIEW_VERSION = "6.0.0-9f87c815"; export enum Queries { HomeQuery = "51fc56bbf006caf37728914aa8bc0e2c86a80cf195b4d4027d6822a3623098a8", @@ -20,11 +20,11 @@ export enum Queries { PrivateBattleHistoriesQuery = "fef94f39b9eeac6b2fac4de43bc0442c16a9f2df95f4d367dd8a79d7c5ed5ce7", VsHistoryDetailQuery = - "f893e1ddcfb8a4fd645fd75ced173f18b2750e5cfba41d2669b9814f6ceaec46", + "20f88b10d0b1d264fcb2163b0866de26bbf6f2b362f397a0258a75b7fa900943", CoopHistoryQuery = "0f8c33970a425683bb1bdecca50a0ca4fb3c3641c0b2a1237aedfde9c0cb2b8f", CoopHistoryDetailQuery = - "42262d241291d7324649e21413b29da88c0314387d8fdf5f6637a2d9d29954ae", + "f2d55873a9281213ae27edc171e2b19131b3021a2ae263757543cdd3bf015cc8", myOutfitCommonDataFilteringConditionQuery = "ac20c44a952131cb0c9d00eda7bc1a84c1a99546f0f1fc170212d5a6bb51a426", myOutfitCommonDataEquipmentsQuery = From 2ee932161253bdcf7d8416998949dbd272b9d5ef Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Mon, 17 Jun 2024 14:55:18 +0800 Subject: [PATCH 2/7] feat: 0.4.19 --- CHANGELOG.md | 4 ++++ gui/src-tauri/tauri.conf.json | 2 +- src/constant.ts | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cb9440..f6fca79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.19 + +feat: update `NSOAPP_VERSION` + ## 0.4.18 feat: update `WEB_VIEW_VERSION` and `NSOAPP_VERSION`, update VersionData diff --git a/gui/src-tauri/tauri.conf.json b/gui/src-tauri/tauri.conf.json index fb6c840..8d2b2fd 100644 --- a/gui/src-tauri/tauri.conf.json +++ b/gui/src-tauri/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "s3si-ts", - "version": "0.4.18" + "version": "0.4.19" }, "tauri": { "allowlist": { diff --git a/src/constant.ts b/src/constant.ts index 8554884..44a7fea 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -1,8 +1,8 @@ import type { StatInkPostBody, VsHistoryDetail } from "./types.ts"; export const AGENT_NAME = "s3si.ts"; -export const S3SI_VERSION = "0.4.18"; -export const NSOAPP_VERSION = "2.10.0"; +export const S3SI_VERSION = "0.4.19"; +export const NSOAPP_VERSION = "2.10.1"; export const WEB_VIEW_VERSION = "6.0.0-9f87c815"; export enum Queries { HomeQuery = From 58dbafaa22e92a950f1711e1c756642d460a2f2e Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Tue, 18 Jun 2024 20:28:37 +0800 Subject: [PATCH 3/7] fix: wrong NSOAPP_VERSION --- src/constant.ts | 2 +- src/iksm.ts | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/constant.ts b/src/constant.ts index 44a7fea..651e510 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -2,7 +2,7 @@ import type { StatInkPostBody, VsHistoryDetail } from "./types.ts"; export const AGENT_NAME = "s3si.ts"; export const S3SI_VERSION = "0.4.19"; -export const NSOAPP_VERSION = "2.10.1"; +export const NSOAPP_VERSION = "2.10.0"; export const WEB_VIEW_VERSION = "6.0.0-9f87c815"; export enum Queries { HomeQuery = diff --git a/src/iksm.ts b/src/iksm.ts index 9fb537d..c85070e 100644 --- a/src/iksm.ts +++ b/src/iksm.ts @@ -212,16 +212,18 @@ export async function getGToken( ); const respJson = await resp.json(); - const idToken2: string = respJson?.result?.webApiServerCredential + const idToken2: string | undefined = respJson?.result + ?.webApiServerCredential ?.accessToken; - const coralUserId: string = respJson?.result?.user?.id?.toString(); + const coralUserId: string | undefined = respJson?.result?.user?.id + ?.toString(); if (!idToken2 || !coralUserId) { throw new APIError({ response: resp, json: respJson, message: - `No idToken2 or coralUserId found. Please try again later. (${idToken2.length}, ${coralUserId.length})`, + `No idToken2 or coralUserId found. Please try again later. (${idToken2?.length}, ${coralUserId?.length})`, }); } From 6a21775c90450f1697c0823a08da6977e02354cb Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Tue, 18 Jun 2024 20:29:10 +0800 Subject: [PATCH 4/7] chore: 0.4.20 --- CHANGELOG.md | 4 ++++ gui/src-tauri/tauri.conf.json | 2 +- src/constant.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6fca79..17ac7dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.20 + +fix: update `NSOAPP_VERSION` + ## 0.4.19 feat: update `NSOAPP_VERSION` diff --git a/gui/src-tauri/tauri.conf.json b/gui/src-tauri/tauri.conf.json index 8d2b2fd..80aec26 100644 --- a/gui/src-tauri/tauri.conf.json +++ b/gui/src-tauri/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "s3si-ts", - "version": "0.4.19" + "version": "0.4.20" }, "tauri": { "allowlist": { diff --git a/src/constant.ts b/src/constant.ts index 651e510..23eb698 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.4.19"; +export const S3SI_VERSION = "0.4.20"; export const NSOAPP_VERSION = "2.10.0"; export const WEB_VIEW_VERSION = "6.0.0-9f87c815"; export enum Queries { From 563cd3d92b66dc48fa07e480969f78a3c150acd2 Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Mon, 8 Jul 2024 13:12:58 +0800 Subject: [PATCH 5/7] ci: fix pnpm/action-setup --- .github/workflows/gui.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gui.yaml b/.github/workflows/gui.yaml index f44d2cd..09c99e1 100644 --- a/.github/workflows/gui.yaml +++ b/.github/workflows/gui.yaml @@ -27,7 +27,7 @@ jobs: with: deno-version: 1.x - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: version: 8.11.0 From 6ca0bb06d4f3b160fbbea84508f2e15f33ef084c Mon Sep 17 00:00:00 2001 From: cypas Date: Thu, 4 Jul 2024 03:43:23 +0800 Subject: [PATCH 6/7] feat:update NSOAPP_VERSION --- src/constant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constant.ts b/src/constant.ts index 23eb698..43d8a5c 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -2,7 +2,7 @@ import type { StatInkPostBody, VsHistoryDetail } from "./types.ts"; export const AGENT_NAME = "s3si.ts"; export const S3SI_VERSION = "0.4.20"; -export const NSOAPP_VERSION = "2.10.0"; +export const NSOAPP_VERSION = "2.10.1"; export const WEB_VIEW_VERSION = "6.0.0-9f87c815"; export enum Queries { HomeQuery = From c2fde4bdfdbb9d1ccea7d705d94932428feac115 Mon Sep 17 00:00:00 2001 From: Jingrong Chen Date: Fri, 18 Jul 2025 02:27:04 -0700 Subject: [PATCH 7/7] fix: update outdated GraphQL query hashes for SplatNet 3 API (#104) --- src/constant.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constant.ts b/src/constant.ts index 43d8a5c..ae07efb 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -20,9 +20,9 @@ export enum Queries { PrivateBattleHistoriesQuery = "fef94f39b9eeac6b2fac4de43bc0442c16a9f2df95f4d367dd8a79d7c5ed5ce7", VsHistoryDetailQuery = - "20f88b10d0b1d264fcb2163b0866de26bbf6f2b362f397a0258a75b7fa900943", + "94faa2ff992222d11ced55e0f349920a82ac50f414ae33c83d1d1c9d8161c5dd", CoopHistoryQuery = - "0f8c33970a425683bb1bdecca50a0ca4fb3c3641c0b2a1237aedfde9c0cb2b8f", + "e11a8cf2c3de7348495dea5cdcaa25e0c153541c4ed63f044b6c174bc5b703df", CoopHistoryDetailQuery = "f2d55873a9281213ae27edc171e2b19131b3021a2ae263757543cdd3bf015cc8", myOutfitCommonDataFilteringConditionQuery = @@ -30,7 +30,7 @@ export enum Queries { myOutfitCommonDataEquipmentsQuery = "45a4c343d973864f7bb9e9efac404182be1d48cf2181619505e9b7cd3b56a6e8", HistoryRecordQuery = - "0a62c0152f27c4218cf6c87523377521c2cff76a4ef0373f2da3300079bf0388", + "a654ecc80161a7ca5c38761c1d9e502d405eae764e2d343618b9c74b1dc0a80f", ConfigureAnalyticsQuery = "2a9302bdd09a13f8b344642d4ed483b9464f20889ac17401e993dfa5c2bb3607", }