From eb892720488367d3307f9da735442bcb0aa6a4df Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 9 May 2025 12:14:41 +0800 Subject: [PATCH] fix: Update client type constant for Android in context management - Renamed ClientTypeSDK to ClientTypeAndroid for clarity and consistency in client type definitions. - Updated SupportedClientTypes map to reflect the change in client type naming. --- neo/context/context.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neo/context/context.go b/neo/context/context.go index c4d6d2f1..927e55bb 100644 --- a/neo/context/context.go +++ b/neo/context/context.go @@ -59,8 +59,8 @@ const ( // ClientTypeWeb is the client type for Web (Default UI) ClientTypeWeb = "web" - // ClientTypeSDK is the client type for SDK - ClientTypeSDK = "android" + // ClientTypeAndroid is the client type for Android + ClientTypeAndroid = "android" // ClientTypeIOS is the client type for IOS ClientTypeIOS = "ios" @@ -82,7 +82,7 @@ const ( var SupportedClientTypes = map[string]bool{ ClientTypeAgent: true, ClientTypeWeb: true, - ClientTypeSDK: true, + ClientTypeAndroid: true, ClientTypeIOS: true, ClientTypeJSSDK: true, ClientTypeMacOS: true,