This guide covers the migration process from Capsule to Para SDKs. The migration includes package namespace changes,
method signature updates to use object parameters, and introduces new React hooks for state management.
All packages have been migrated from the @usecapsule namespace to @getpara. Update your dependencies by replacing
@usecapsule with @getpara in your package.json:
All packages have been reset to version 1.0.0 under the new namespace. The functionality and package names remain the
same - only the organization prefix has changed from @usecapsule to @getpara.
The Swift SDK package is now available at github.com/getpara/swift-sdk. The main class has been renamed from
CapsuleManager to ParaManager, while maintaining the same method signatures:
Copy
Ask AI
- let manager = CapsuleManager()+ let manager = ParaManager()
Method signatures and functionality remain identical for both mobile SDKs - only the package names and main class
names have changed.
All methods have been updated to use object parameters instead of multiple arguments. This change improves
extensibility, type safety, and reflects our commitment to consistent API design.
// OldcreateWalletPerType(skipDistribute?: boolean, types?: WalletType[])// New. Note: Function name changed, default value added, and types is now requiredcreateWalletPerType({ skipDistribute?: boolean = false, types: WalletType[]})
All methods now use object parameters with optional properties defaulting to reasonable values. This change makes the
SDK more maintainable and easier to extend in the future.