Upgrading from v2 to v3
Installation
If you've installed via Package Manager using the git url, please perform the following:
- Remove Sequence-Unity package
- Re-install using
https://github.com/0xsequence/sequence-unity.git?path=/Packages/Sequence-Unity
as the link
Resolving Compile Errors
- Delete
Samples/Sequence WaaS SDK/version/Setup/Editor
- this is now included in the SDK - All namespaces (using statements) that contain
WaaS
have been replaced withSequence.EmbeddedWallet
For example, if you have
using Sequence.WaaS;
using Sequence.WaaS.Authentication;
using SequenceSDK.WaaS;
Replace this with
using Sequence.EmbeddedWallet;
-
WaaSTransactionQueuer
->SequenceWalletTransactionQueuer
-
WaaSWallet
->SequenceWallet
-
In general, any class, method, or event that contains
WaaS
in the name and gives you a compile error has hadWaaS
removed from its name (with the exception of the few previously mentioned classes) Examples:OnWaaSWalletCreated
->OnWalletCreated
WaaSSession
->Session
EthWallet
->EOAWallet
-
For any existing
LoginPanel
instancesa. Attach the
WaaSSessionManager
prefab (as Session Manager Prefab) underSequence > SequenceSDK > EmbeddedWallet > WaaSSessionManager
(if it isn’t already there)b. Attach the
FederatedAuthPopupPanel
prefab underSequence > SequenceFrontend > Prefabs