Skip to content

Commit

Permalink
v1.8.3 (#23)
Browse files Browse the repository at this point in the history
* add TaskGraphInterfaces import into all .cpp files
  • Loading branch information
dirtycajunrice authored Dec 9, 2024
1 parent 47759a0 commit 680772d
Show file tree
Hide file tree
Showing 22 changed files with 46 additions and 248 deletions.
222 changes: 0 additions & 222 deletions Scripts/BuildPlugin.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions Scripts/build-plugin.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "AsyncTasks/Wallets/InApp/AsyncTaskThirdwebGetLinkedAccounts.h"

#include "Async/TaskGraphInterfaces.h"

#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebGetLinkedAccounts::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/InApp/AsyncTaskThirdwebInAppSignMessage.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebInAppSignMessage::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/InApp/AsyncTaskThirdwebLink.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

UAsyncTaskThirdwebLink* UAsyncTaskThirdwebLink::Link(UObject* WorldContextObject, const FInAppWalletHandle& Wallet, const FInAppWalletHandle& NewWallet, const FString& Input, const FString& Signature)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@

#include "ThirdwebLog.h"
#include "TimerManager.h"

#include "Async/TaskGraphInterfaces.h"
#include "Blueprint/UserWidget.h"

#include "Browser/ThirdwebOAuthBrowserUserWidget.h"

#include "Engine/World.h"

#include "Kismet/GameplayStatics.h"

#include "Misc/DateTime.h"

void UAsyncTaskThirdwebLoginWithOAuth::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/InApp/AsyncTaskThirdwebSendOTP.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebSendOTP::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/InApp/AsyncTaskThirdwebSignIn.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

UAsyncTaskThirdwebSignIn* UAsyncTaskThirdwebSignIn::SignIn(UObject* WorldContextObject, const FInAppWalletHandle& Wallet, const FString& Input, const FString& Signature)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/InApp/Create/AsyncTaskThirdwebCreateSmartWallet.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"
#include "Wallets/ThirdwebSmartWalletHandle.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/InApp/Create/AsyncTaskThirdwebInAppCreateWalletBase.h"

#include "Async/TaskGraphInterfaces.h"
#include "Wallets/ThirdwebInAppWalletHandle.h"

void UAsyncTaskThirdwebInAppCreateWalletBase::HandleResponse(const FInAppWalletHandle& Wallet)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/Smart/AsyncTaskThirdwebAddAdmin.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebAddAdmin::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/Smart/AsyncTaskThirdwebGetActiveSigners.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"
#include "Containers/ThirdwebSigner.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/Smart/AsyncTaskThirdwebGetAdmins.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebGetAdmins::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include "AsyncTasks/Wallets/Smart/AsyncTaskThirdwebIsActiveSigner.h"

#include "Containers/ThirdwebSigner.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"
#include "Containers/ThirdwebSigner.h"

void UAsyncTaskThirdwebIsActiveSigner::Activate()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/Smart/AsyncTaskThirdwebIsDeployed.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebIsDeployed::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/Smart/AsyncTaskThirdwebRevokeSessionKey.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebRevokeSessionKey::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "AsyncTasks/Wallets/Smart/AsyncTaskThirdwebSmartSignMessage.h"

#include "Async/TaskGraphInterfaces.h"
#include "Components/SlateWrapperTypes.h"

void UAsyncTaskThirdwebSmartSignMessage::Activate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@

#include "ThirdwebLog.h"
#include "ThirdwebRuntimeSettings.h"

#include "Async/Async.h"

#include "Async/TaskGraphInterfaces.h"
#include "GenericPlatform/GenericPlatformHttp.h"

#include "Widgets/Layout/SBox.h"
#include "Widgets/Text/STextBlock.h"
#if WITH_CEF
Expand Down
9 changes: 9 additions & 0 deletions Source/Thirdweb/Private/Internal/ThirdwebHeaders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ void FThirdwebHeaders::Set(const FString& Name, const FString& Value, const bool
}
}

void FThirdwebHeaders::SetMany(TArray<TTuple<FString, FString>> Pairs)
{
for (const auto& Pair : Pairs)
{
Set(Pair.Key, Pair.Value);
}
}


bool FThirdwebHeaders::Remove(const FString& Name)
{
return Headers.Remove(Name) > 0;
Expand Down
Loading

0 comments on commit 680772d

Please sign in to comment.