@nexuspay/sdk
Version:
🚀 Ultra-simple cross-chain wallet SDK - Initialize with just projectName + apiKey. Bulletproof gasless transactions across EVM/SVM chains with ANY social identifier support
45 lines (44 loc) • 1.24 kB
JavaScript
/**
* NexusSDK Types - Ultimate Flexible Cross-Chain Wallet Infrastructure
* Support for ANY social identifier and comprehensive token/bridging functionality
*/
// Common social type examples (not restrictive)
export const COMMON_SOCIAL_TYPES = {
// Traditional
EMAIL: 'email',
PHONE: 'phone',
USERNAME: 'username',
// Social Platforms
TWITTER: 'twitter',
DISCORD: 'discord',
TELEGRAM: 'telegram',
GITHUB: 'github',
INSTAGRAM: 'instagram',
TIKTOK: 'tiktok',
LINKEDIN: 'linkedin',
// Gaming & Web3
GAME_ID: 'gameId',
PLAYER_TAG: 'playerTag',
STEAM_ID: 'steamId',
EPIC_ID: 'epicId',
XBOX_GAMERTAG: 'xboxGamertag',
PSN_ID: 'psnId',
// Business & Enterprise
EMPLOYEE_ID: 'employeeId',
CUSTOMER_ID: 'customerId',
MEMBER_ID: 'memberId',
SUBSCRIPTION_ID: 'subscriptionId',
// Web3 & Crypto
ENS: 'ens',
WALLET_ADDRESS: 'walletAddress',
NFT_HOLDER: 'nftHolder',
TOKEN_HOLDER: 'tokenHolder',
DAO_MEMBER: 'daoMember',
// Custom Business Logic
USER_UUID: 'userUuid',
API_KEY_HASH: 'apiKeyHash',
SESSION_ID: 'sessionId',
DEVICE_ID: 'deviceId',
// Any custom type developers want
CUSTOM: 'custom'
};