From 52a5ddba2dab34e6db8837d33a06a27f061e3ebe Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Thu, 1 Jun 2023 22:16:18 +0100 Subject: [PATCH] Update third-party API use text --- src/app/main/na-auth.ts | 7 ++++--- src/common/constants.ts | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/main/na-auth.ts b/src/app/main/na-auth.ts index 700d5f3..54ee32a 100644 --- a/src/app/main/na-auth.ts +++ b/src/app/main/na-auth.ts @@ -465,12 +465,13 @@ async function checkZncaApiUseAllowed(storage: persist.LocalStorage, window?: Br const ZNCA_API_USE_TEXT = `To access the Nintendo Switch Online app API, nxapi must send some data to third-party APIs. This is required to generate some data to make Nintendo think you\'re using the real Nintendo Switch Online app. -By default, this uses the imink API, but another service can be used by setting an environment variable. The default API may change without notice if you do not force use of a specific service. +By default, this uses nxapi-znca-api.fancy.org.uk or api.imink.app, but another service can be used by setting an environment variable. The default API may change without notice if you do not force use of a specific service. The data sent includes: -- When authenticating to the Nintendo Switch Online app: a Nintendo Account ID token, containing your Nintendo Account ID and country, which is valid for 15 minutes -- When authenticating to game-specific services: a Coral (Nintendo Switch Online app) ID token, containing your Coral user ID, Nintendo Switch Online membership status, and Nintendo Account child restriction status, which is valid for 2 hours`; +- Your Nintendo Account ID +- When authenticating to the Nintendo Switch Online app: a Nintendo Account ID token, containing your Nintendo Account country, which is valid for 15 minutes +- When authenticating to game-specific services: your Coral (Nintendo Switch Online app) user ID and a Coral ID token, containing your Nintendo Switch Online membership status, and Nintendo Account child restriction status, which is valid for 2 hours`; async function askZncaApiUseAllowed(window?: BrowserWindow): Promise { const options: MessageBoxOptions = { diff --git a/src/common/constants.ts b/src/common/constants.ts index 550736b..e656221 100644 --- a/src/common/constants.ts +++ b/src/common/constants.ts @@ -18,5 +18,5 @@ This product is not affiliated with Nintendo, Discord and others. All product na `.trim(); export const CREDITS_NOTICE = ` -This product uses services provided by Nintendo (https://nintendo.co.jp) and Jone Wang (https://imink.app). +This product uses services provided by Nintendo (https://nintendo.co.jp), Samuel Elliott (https://gitlab.fancy.org.uk/samuel/nxapi-znca-api) and Jone Wang (https://imink.app). `.trim();