We're thrilled to release SDK v2.0, our biggest update yet. This release focuses on developer experience and runtime performance.
What's New
Simplified Initialization
The new SDK initializes 3x faster and requires less configuration:
// Before (v1.x)
const sdk = await XPSDK.init({
gameId: 'game-123',
network: 'mainnet',
authProvider: 'immutable',
adNetworks: ['admob', 'unity']
});
// After (v2.0)
const sdk = await FunstackSDK.init({
gameId: 'game-123'
}); // That's it!
Automatic Ad Network Detection
The SDK now auto-detects installed ad networks and configures them automatically.
Improved Error Handling
Comprehensive error types with actionable messages make debugging easier.
Migration Guide
Upgrading from v1.x is straightforward. Check our documentation for the full migration guide.
Get Started
npm install @funstack/sdk@latest