Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3.0 #9

Merged
merged 5 commits into from
Sep 21, 2024
Merged

v1.3.0 #9

merged 5 commits into from
Sep 21, 2024

Conversation

dirtycajunrice
Copy link
Collaborator

  • Expose SecretKey->ClientID function from rust and update rust libs
  • Create and send analytics for connect, with opt out in settings
  • Hide OAuthBrowserWidget from editor and Enhance OAuthBrowserUserWidget with events for custom OAuth UI Scenarios
  • Fix White-screen OAuth Scenario in Examples
  • Add Custom OAuth Browser Overlay example with Circular Throbber and Back button
  • Set world override on Level_Thirdweb for GameMode to help new devs
  • Set EditiorCustomVirtualPath on plugin to help data segregation
  • Expose FWalletHandle to external access in C++
  • Add various helper functions

* Update rust libs
* Create and send analytics for connect
* Add opt out settings for analytics
* various helper functions
* Hide slate oauth browser from editor
* Enhance oauth browser widget with events for custom oauth solutions
Request->SetHeader("Content-Type", "application/json");
Request->SetHeader("x-sdk-name", "UnrealEngineSDK");
Request->SetHeader("x-sdk-os", UGameplayStatics::GetPlatformName());
Request->SetHeader("x-sdk-platform", "UnrealEngine");
Copy link
Member

@0xFirekeeper 0xFirekeeper Sep 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just "unreal-engine" here

Source/Thirdweb/Private/ThirdwebInternal.cpp Show resolved Hide resolved
@@ -62,7 +63,8 @@ bool FWalletHandle::CreateInAppEmailWallet(const FString& Email, FWalletHandle&
nullptr
).AssignResult(Error))
{
Wallet = FWalletHandle(FWalletHandle::InApp, Error);
Wallet = FWalletHandle(InApp, Error);
FThirdwebAnalytics::SendConnectEvent(Wallet.ToAddress(), Wallet.GetTypeString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we need wallet address will have to wait for it to be actually connected, and it's not always connected upon creation, unlike privatekeywallet/smartwallet

@@ -83,7 +85,8 @@ bool FWalletHandle::CreateInAppOAuthWallet(const EThirdwebOAuthProvider Provider
TO_RUST_STRING(ThirdwebUtils::ToString(Provider))
).AssignResult(Error))
{
Wallet = FWalletHandle(FWalletHandle::InApp, Error);
Wallet = FWalletHandle(InApp, Error);
FThirdwebAnalytics::SendConnectEvent(Wallet.ToAddress(), Wallet.GetTypeString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely same here

@@ -106,7 +109,8 @@ bool FWalletHandle::CreateSmartWallet(const int64 ChainID, const bool bGasless,
TO_RUST_STRING(AccountOverride)
).AssignResult(Error))
{
SmartWallet = FWalletHandle(FWalletHandle::Smart, Error);
SmartWallet = FWalletHandle(Smart, Error);
FThirdwebAnalytics::SendConnectEvent(SmartWallet.ToAddress(), SmartWallet.GetTypeString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely same here

@0xFirekeeper 0xFirekeeper merged commit be9d6ce into main Sep 21, 2024
@0xFirekeeper 0xFirekeeper deleted the 1.3.0-dev branch September 21, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants