feat: update `WEB_VIEW_VERSION` and query hashes

main
spacemeowx2 2023-03-24 23:27:16 +08:00
parent ccd2439420
commit 1c83368257
3 changed files with 35 additions and 31 deletions

View File

@ -1,3 +1,7 @@
## 0.3.2
feat: update `WEB_VIEW_VERSION` and query hashes
## 0.3.1 ## 0.3.1
feat: use ID for uniform(https://stat.ink/api-info/salmon-uniform3) feat: use ID for uniform(https://stat.ink/api-info/salmon-uniform3)

View File

@ -1,9 +1,9 @@
import type { StatInkPostBody, VsHistoryDetail } from "./types.ts"; import type { StatInkPostBody, VsHistoryDetail } from "./types.ts";
export const AGENT_NAME = "s3si.ts"; export const AGENT_NAME = "s3si.ts";
export const S3SI_VERSION = "0.3.1"; export const S3SI_VERSION = "0.3.2";
export const NSOAPP_VERSION = "2.5.0"; export const NSOAPP_VERSION = "2.5.0";
export const WEB_VIEW_VERSION = "3.0.0-6049221b"; export const WEB_VIEW_VERSION = "3.0.0-0742bda0";
export const S3SI_LINK = "https://github.com/spacemeowx2/s3si.ts"; export const S3SI_LINK = "https://github.com/spacemeowx2/s3si.ts";
export const USERAGENT = `${AGENT_NAME}/${S3SI_VERSION} (${S3SI_LINK})`; export const USERAGENT = `${AGENT_NAME}/${S3SI_VERSION} (${S3SI_LINK})`;

View File

@ -2,18 +2,18 @@ import { RankState } from "./state.ts";
export enum Queries { export enum Queries {
HomeQuery = "22e2fa8294168003c21b00c333c35384", HomeQuery = "22e2fa8294168003c21b00c333c35384",
LatestBattleHistoriesQuery = "4f5f26e64bca394b45345a65a2f383bd", LatestBattleHistoriesQuery = "0176a47218d830ee447e10af4a287b3f",
RegularBattleHistoriesQuery = "d5b795d09e67ce153e622a184b7e7dfa", RegularBattleHistoriesQuery = "3baef04b095ad8975ea679d722bc17de",
BankaraBattleHistoriesQuery = "de4754588109b77dbcb90fbe44b612ee", BankaraBattleHistoriesQuery = "0438ea6978ae8bd77c5d1250f4f84803",
XBattleHistoriesQuery = "45c74fefb45a49073207229ca65f0a62", XBattleHistoriesQuery = "6796e3cd5dc3ebd51864dc709d899fc5",
PrivateBattleHistoriesQuery = "1d6ed57dc8b801863126ad4f351dfb9a", PrivateBattleHistoriesQuery = "8e5ae78b194264a6c230e262d069bd28",
VsHistoryDetailQuery = "291295ad311b99a6288fc95a5c4cb2d2", VsHistoryDetailQuery = "291295ad311b99a6288fc95a5c4cb2d2",
CoopHistoryQuery = "6ed02537e4a65bbb5e7f4f23092f6154", CoopHistoryQuery = "91b917becd2fa415890f5b47e15ffb15",
CoopHistoryDetailQuery = "379f0d9b78b531be53044bcac031b34b", CoopHistoryDetailQuery = "379f0d9b78b531be53044bcac031b34b",
myOutfitCommonDataFilteringConditionQuery = myOutfitCommonDataFilteringConditionQuery =
"d02ab22c9dccc440076055c8baa0fa7a", "d02ab22c9dccc440076055c8baa0fa7a",
myOutfitCommonDataEquipmentsQuery = "d29cd0c2b5e6bac90dd5b817914832f8", myOutfitCommonDataEquipmentsQuery = "d29cd0c2b5e6bac90dd5b817914832f8",
HistoryRecordQuery = "32b6771f94083d8f04848109b7300af5", HistoryRecordQuery = "f09da9d24d888797fdfb2f060dbdf4ed",
ConfigureAnalyticsQuery = "f8ae00773cc412a50dd41a6d9a159ddd", ConfigureAnalyticsQuery = "f8ae00773cc412a50dd41a6d9a159ddd",
} }
export type VarsMap = { export type VarsMap = {
@ -682,14 +682,14 @@ export type StatInkCoopPlayer = {
number: string; number: string;
splashtag_title: string | null; splashtag_title: string | null;
uniform?: uniform?:
| string | string
| "orange" | "orange"
| "green" | "green"
| "yellow" | "yellow"
| "pink" | "pink"
| "blue" | "blue"
| "black" | "black"
| "white"; | "white";
special?: string; special?: string;
weapons: (string | null)[]; weapons: (string | null)[];
golden_eggs: number; golden_eggs: number;
@ -754,13 +754,13 @@ export type StatInkPostBody = {
test?: "yes" | "no"; test?: "yes" | "no";
uuid: string; uuid: string;
lobby: lobby:
| "regular" | "regular"
| "bankara_challenge" | "bankara_challenge"
| "bankara_open" | "bankara_open"
| "xmatch" | "xmatch"
| "splatfest_challenge" | "splatfest_challenge"
| "splatfest_open" | "splatfest_open"
| "private"; | "private";
rule: "nawabari" | "area" | "hoko" | "yagura" | "asari" | "tricolor"; rule: "nawabari" | "area" | "hoko" | "yagura" | "asari" | "tricolor";
stage: string; stage: string;
weapon: string; weapon: string;
@ -808,12 +808,12 @@ export type StatInkPostBody = {
x_power_after?: number | null; x_power_after?: number | null;
fest_power?: number; // Splatfest Power (Pro) fest_power?: number; // Splatfest Power (Pro)
fest_dragon?: fest_dragon?:
| "10x" | "10x"
| "decuple" | "decuple"
| "100x" | "100x"
| "dragon" | "dragon"
| "333x" | "333x"
| "double_dragon"; | "double_dragon";
clout_before?: number; // Splatfest Clout, before the battle clout_before?: number; // Splatfest Clout, before the battle
clout_after?: number; // Splatfest Clout, after the battle clout_after?: number; // Splatfest Clout, after the battle
clout_change?: number; // Splatfest Clout, equals to clout_after - clout_before if you know them clout_change?: number; // Splatfest Clout, equals to clout_after - clout_before if you know them