From 26d03c51fce96702fd70e72442b1044d85ba49eb Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Fri, 29 Dec 2023 22:44:26 -0500 Subject: [PATCH] com.utilities.rest 2.4.3 (#59) - Fixed auth reverse order loading precedence --- Runtime/AbstractAuthentication.cs | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Runtime/AbstractAuthentication.cs b/Runtime/AbstractAuthentication.cs index deb4752..ea180e8 100644 --- a/Runtime/AbstractAuthentication.cs +++ b/Runtime/AbstractAuthentication.cs @@ -43,8 +43,8 @@ public virtual TAuthentication LoadDefault() public virtual TAuthentication LoadDefaultsReversed() => LoadFromEnvironment() ?? LoadFromDirectory(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)) ?? - LoadFromAsset() ?? - LoadFromDirectory(); + LoadFromDirectory() ?? + LoadFromAsset(); [Obsolete("Use LoadFromAsset (remove angle bracket type specification)")] public TAuthentication LoadFromAsset() => LoadFromAsset(); diff --git a/package.json b/package.json index dddc7a8..99964ad 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Utilities.Rest", "description": "This package contains useful RESTful utilities for the Unity Game Engine.", "keywords": [], - "version": "2.4.2", + "version": "2.4.3", "unity": "2021.3", "documentationUrl": "https://github.com/RageAgainstThePixel/com.utilities.rest#documentation", "changelogUrl": "https://github.com/RageAgainstThePixel/com.utilities.rest/releases",