@gala-chain/launchpad-sdk 5.0.4-beta.2 → 5.0.4-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -0
- package/EXAMPLES.md +99 -0
- package/README.md +162 -48
- package/README.md.bak +3174 -0
- package/dist/ai-docs.json +206 -7635
- package/dist/examples/admin/api-key-advanced.d.ts +43 -0
- package/dist/examples/admin/api-key-advanced.d.ts.map +1 -0
- package/dist/examples/admin/moderator-invite-complete.d.ts +41 -0
- package/dist/examples/admin/moderator-invite-complete.d.ts.map +1 -0
- package/dist/examples/admin/overseer-management-advanced.d.ts +38 -0
- package/dist/examples/admin/overseer-management-advanced.d.ts.map +1 -0
- package/dist/examples/admin/token-ban-complete.d.ts +44 -0
- package/dist/examples/admin/token-ban-complete.d.ts.map +1 -0
- package/dist/examples/analytics/index.d.ts +23 -0
- package/dist/examples/analytics/index.d.ts.map +1 -0
- package/dist/examples/analytics/market-analysis-tools.d.ts +28 -0
- package/dist/examples/analytics/market-analysis-tools.d.ts.map +1 -0
- package/dist/examples/analytics/portfolio-performance-tracking.d.ts +25 -0
- package/dist/examples/analytics/portfolio-performance-tracking.d.ts.map +1 -0
- package/dist/examples/analytics/trading-analytics-advanced.d.ts +27 -0
- package/dist/examples/analytics/trading-analytics-advanced.d.ts.map +1 -0
- package/dist/examples/api-keys/advanced-configuration.d.ts +19 -0
- package/dist/examples/api-keys/advanced-configuration.d.ts.map +1 -0
- package/dist/examples/api-keys/complete-lifecycle.d.ts +18 -0
- package/dist/examples/api-keys/complete-lifecycle.d.ts.map +1 -0
- package/dist/examples/api-keys/crud.d.ts +22 -0
- package/dist/examples/api-keys/crud.d.ts.map +1 -0
- package/dist/examples/api-keys/token-delegation.d.ts +24 -0
- package/dist/examples/api-keys/token-delegation.d.ts.map +1 -0
- package/dist/examples/auth/auth-permissions-checking.d.ts +32 -0
- package/dist/examples/auth/auth-permissions-checking.d.ts.map +1 -0
- package/dist/examples/auth/auth-token-management.d.ts +32 -0
- package/dist/examples/auth/auth-token-management.d.ts.map +1 -0
- package/dist/examples/auth/auth-validation-workflows.d.ts +32 -0
- package/dist/examples/auth/auth-validation-workflows.d.ts.map +1 -0
- package/dist/examples/bans/ban-management.d.ts +24 -0
- package/dist/examples/bans/ban-management.d.ts.map +1 -0
- package/dist/examples/bans/demo-global-user-bans.d.ts +27 -0
- package/dist/examples/bans/demo-global-user-bans.d.ts.map +1 -0
- package/dist/examples/bonding/token-graduation-workflow.d.ts +21 -0
- package/dist/examples/bonding/token-graduation-workflow.d.ts.map +1 -0
- package/dist/examples/bonding-curve/basic-trading.d.ts +20 -0
- package/dist/examples/bonding-curve/basic-trading.d.ts.map +1 -0
- package/dist/examples/bonding-curve/graduation-workflow.d.ts +18 -0
- package/dist/examples/bonding-curve/graduation-workflow.d.ts.map +1 -0
- package/dist/examples/bonding-curve/pagination-variants.d.ts +17 -0
- package/dist/examples/bonding-curve/pagination-variants.d.ts.map +1 -0
- package/dist/examples/bonding-curve/pool-analysis.d.ts +18 -0
- package/dist/examples/bonding-curve/pool-analysis.d.ts.map +1 -0
- package/dist/examples/bonding-curve/pool-creator-filtering.d.ts +17 -0
- package/dist/examples/bonding-curve/pool-creator-filtering.d.ts.map +1 -0
- package/dist/examples/bonding-curve/pool-discovery.d.ts +19 -0
- package/dist/examples/bonding-curve/pool-discovery.d.ts.map +1 -0
- package/dist/examples/bonding-curve/price-impact.d.ts +18 -0
- package/dist/examples/bonding-curve/price-impact.d.ts.map +1 -0
- package/dist/examples/bonding-curve/token-launch.d.ts +18 -0
- package/dist/examples/bonding-curve/token-launch.d.ts.map +1 -0
- package/dist/examples/bonding-curve/user-holder-context.d.ts +18 -0
- package/dist/examples/bonding-curve/user-holder-context.d.ts.map +1 -0
- package/dist/examples/bonding-curve/volume-trading.d.ts +18 -0
- package/dist/examples/bonding-curve/volume-trading.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-ethereum-specific.d.ts +18 -0
- package/dist/examples/bridge/bridge-ethereum-specific.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-generic-operations.d.ts +18 -0
- package/dist/examples/bridge/bridge-generic-operations.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-multi-chain-routing.d.ts +31 -0
- package/dist/examples/bridge/bridge-multi-chain-routing.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-network-methods.d.ts +31 -0
- package/dist/examples/bridge/bridge-network-methods.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-network-tokens.d.ts +18 -0
- package/dist/examples/bridge/bridge-network-tokens.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-network-validation.d.ts +33 -0
- package/dist/examples/bridge/bridge-network-validation.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-operations.d.ts +27 -0
- package/dist/examples/bridge/bridge-operations.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-solana-specific.d.ts +18 -0
- package/dist/examples/bridge/bridge-solana-specific.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-status-monitoring.d.ts +30 -0
- package/dist/examples/bridge/bridge-status-monitoring.d.ts.map +1 -0
- package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts +30 -0
- package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts.map +1 -0
- package/dist/examples/bridge/bridgeable-tokens.d.ts +27 -0
- package/dist/examples/bridge/bridgeable-tokens.d.ts.map +1 -0
- package/dist/examples/bridge/check-balances.d.ts +13 -0
- package/dist/examples/bridge/check-balances.d.ts.map +1 -0
- package/dist/examples/bridge/ethereum-in.d.ts +17 -0
- package/dist/examples/bridge/ethereum-in.d.ts.map +1 -0
- package/dist/examples/bridge/ethereum-out.d.ts +17 -0
- package/dist/examples/bridge/ethereum-out.d.ts.map +1 -0
- package/dist/examples/bridge/ethereum-roundtrip.d.ts +20 -0
- package/dist/examples/bridge/ethereum-roundtrip.d.ts.map +1 -0
- package/dist/examples/bridge/external-balances.d.ts +29 -0
- package/dist/examples/bridge/external-balances.d.ts.map +1 -0
- package/dist/examples/bridge/fee-estimation.d.ts +14 -0
- package/dist/examples/bridge/fee-estimation.d.ts.map +1 -0
- package/dist/examples/bridge/solana-in.d.ts +18 -0
- package/dist/examples/bridge/solana-in.d.ts.map +1 -0
- package/dist/examples/bridge/solana-out.d.ts +18 -0
- package/dist/examples/bridge/solana-out.d.ts.map +1 -0
- package/dist/examples/bridge/solana-roundtrip.d.ts +21 -0
- package/dist/examples/bridge/solana-roundtrip.d.ts.map +1 -0
- package/dist/examples/bridge/status-tracking.d.ts +16 -0
- package/dist/examples/bridge/status-tracking.d.ts.map +1 -0
- package/dist/examples/bridge/supported-tokens.d.ts +14 -0
- package/dist/examples/bridge/supported-tokens.d.ts.map +1 -0
- package/dist/examples/bridge/test-debug-unwrap.d.ts +13 -0
- package/dist/examples/bridge/test-debug-unwrap.d.ts.map +1 -0
- package/dist/examples/bridge/test-unwrap-execution.d.ts +13 -0
- package/dist/examples/bridge/test-unwrap-execution.d.ts.map +1 -0
- package/dist/examples/bridge/test-wrap-debug.d.ts +13 -0
- package/dist/examples/bridge/test-wrap-debug.d.ts.map +1 -0
- package/dist/examples/bridge/test-wrap-execution.d.ts +13 -0
- package/dist/examples/bridge/test-wrap-execution.d.ts.map +1 -0
- package/dist/examples/bridge/test-wrap-roundtrip.d.ts +13 -0
- package/dist/examples/bridge/test-wrap-roundtrip.d.ts.map +1 -0
- package/dist/examples/bridge/transaction-status.d.ts +26 -0
- package/dist/examples/bridge/transaction-status.d.ts.map +1 -0
- package/dist/examples/bridge/wallet-balances.d.ts +24 -0
- package/dist/examples/bridge/wallet-balances.d.ts.map +1 -0
- package/dist/examples/bridge/wrap-discovery.d.ts +16 -0
- package/dist/examples/bridge/wrap-discovery.d.ts.map +1 -0
- package/dist/examples/bridge/wrap-fee-estimation.d.ts +16 -0
- package/dist/examples/bridge/wrap-fee-estimation.d.ts.map +1 -0
- package/dist/examples/bridge/wrap-unwrap.d.ts +18 -0
- package/dist/examples/bridge/wrap-unwrap.d.ts.map +1 -0
- package/dist/examples/bridge/wrap-utilities.d.ts +21 -0
- package/dist/examples/bridge/wrap-utilities.d.ts.map +1 -0
- package/dist/examples/calculations/calculation-methods-comprehensive.d.ts +24 -0
- package/dist/examples/calculations/calculation-methods-comprehensive.d.ts.map +1 -0
- package/dist/examples/calculations/external-calculations-demo.d.ts +23 -0
- package/dist/examples/calculations/external-calculations-demo.d.ts.map +1 -0
- package/dist/examples/calculations/local-calculations-demo.d.ts +24 -0
- package/dist/examples/calculations/local-calculations-demo.d.ts.map +1 -0
- package/dist/examples/calculations/pool-calculation-context.d.ts +19 -0
- package/dist/examples/calculations/pool-calculation-context.d.ts.map +1 -0
- package/dist/examples/chat/basic-chat.d.ts +17 -0
- package/dist/examples/chat/basic-chat.d.ts.map +1 -0
- package/dist/examples/chat/chat-admin-controls.d.ts +41 -0
- package/dist/examples/chat/chat-admin-controls.d.ts.map +1 -0
- package/dist/examples/chat/chat-demo.d.ts +25 -0
- package/dist/examples/chat/chat-demo.d.ts.map +1 -0
- package/dist/examples/chat/chat-engagement-stats.d.ts +44 -0
- package/dist/examples/chat/chat-engagement-stats.d.ts.map +1 -0
- package/dist/examples/chat/chat-lifecycle.d.ts +26 -0
- package/dist/examples/chat/chat-lifecycle.d.ts.map +1 -0
- package/dist/examples/chat/chat-message-management.d.ts +18 -0
- package/dist/examples/chat/chat-message-management.d.ts.map +1 -0
- package/dist/examples/chat/chat-pinning-workflow.d.ts +37 -0
- package/dist/examples/chat/chat-pinning-workflow.d.ts.map +1 -0
- package/dist/examples/chat/demo-pin-messages.d.ts +17 -0
- package/dist/examples/chat/demo-pin-messages.d.ts.map +1 -0
- package/dist/examples/chat/typing-indicators.d.ts +23 -0
- package/dist/examples/chat/typing-indicators.d.ts.map +1 -0
- package/dist/examples/chat/websocket-chat.d.ts +21 -0
- package/dist/examples/chat/websocket-chat.d.ts.map +1 -0
- package/dist/examples/comments/basic-comments.d.ts +19 -0
- package/dist/examples/comments/basic-comments.d.ts.map +1 -0
- package/dist/examples/comments/comments-demo.d.ts +34 -0
- package/dist/examples/comments/comments-demo.d.ts.map +1 -0
- package/dist/examples/comments/comments-lifecycle.d.ts +24 -0
- package/dist/examples/comments/comments-lifecycle.d.ts.map +1 -0
- package/dist/examples/comments/comments-update-workflow.d.ts +35 -0
- package/dist/examples/comments/comments-update-workflow.d.ts.map +1 -0
- package/dist/examples/content/content-categorization.d.ts +51 -0
- package/dist/examples/content/content-categorization.d.ts.map +1 -0
- package/dist/examples/content/content-publishing-workflow.d.ts +45 -0
- package/dist/examples/content/content-publishing-workflow.d.ts.map +1 -0
- package/dist/examples/content/content-versioning.d.ts +52 -0
- package/dist/examples/content/content-versioning.d.ts.map +1 -0
- package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts +40 -0
- package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts.map +1 -0
- package/dist/examples/content-flags/flag-management.d.ts +28 -0
- package/dist/examples/content-flags/flag-management.d.ts.map +1 -0
- package/dist/examples/content-reactions/advanced-reactions.d.ts +24 -0
- package/dist/examples/content-reactions/advanced-reactions.d.ts.map +1 -0
- package/dist/examples/content-reactions/basic-reactions.d.ts +21 -0
- package/dist/examples/content-reactions/basic-reactions.d.ts.map +1 -0
- package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts +41 -0
- package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts.map +1 -0
- package/dist/examples/content-reactions/content-reactions-advanced.d.ts +40 -0
- package/dist/examples/content-reactions/content-reactions-advanced.d.ts.map +1 -0
- package/dist/examples/core/authenticated-operations.d.ts +14 -0
- package/dist/examples/core/authenticated-operations.d.ts.map +1 -0
- package/dist/examples/core/complete-sdk-demo.d.ts +22 -0
- package/dist/examples/core/complete-sdk-demo.d.ts.map +1 -0
- package/dist/examples/core/image-uploads.d.ts +28 -0
- package/dist/examples/core/image-uploads.d.ts.map +1 -0
- package/dist/examples/core/privatekey-override-pattern.d.ts +16 -0
- package/dist/examples/core/privatekey-override-pattern.d.ts.map +1 -0
- package/dist/examples/core/read-only-operations.d.ts +16 -0
- package/dist/examples/core/read-only-operations.d.ts.map +1 -0
- package/dist/examples/core/session-auth-demo.d.ts +15 -0
- package/dist/examples/core/session-auth-demo.d.ts.map +1 -0
- package/dist/examples/core/session-auth-lifecycle.d.ts +19 -0
- package/dist/examples/core/session-auth-lifecycle.d.ts.map +1 -0
- package/dist/examples/core/test-pagination-fix.d.ts +14 -0
- package/dist/examples/core/test-pagination-fix.d.ts.map +1 -0
- package/dist/examples/core/token-refresh-utilities.d.ts +18 -0
- package/dist/examples/core/token-refresh-utilities.d.ts.map +1 -0
- package/dist/examples/core/token-validation.d.ts +18 -0
- package/dist/examples/core/token-validation.d.ts.map +1 -0
- package/dist/examples/core/wallet-management.d.ts +23 -0
- package/dist/examples/core/wallet-management.d.ts.map +1 -0
- package/dist/examples/debug/check-recorded-bridge-tx.d.ts +8 -0
- package/dist/examples/debug/check-recorded-bridge-tx.d.ts.map +1 -0
- package/dist/examples/debug/debug-comment.d.ts +2 -0
- package/dist/examples/debug/debug-comment.d.ts.map +1 -0
- package/dist/examples/debug/test-volume-data-bounds-prod.d.ts +15 -0
- package/dist/examples/debug/test-volume-data-bounds-prod.d.ts.map +1 -0
- package/dist/examples/debug/test-volume-data-bounds.d.ts +14 -0
- package/dist/examples/debug/test-volume-data-bounds.d.ts.map +1 -0
- package/dist/examples/debug/websocket-event-discovery.d.ts +26 -0
- package/dist/examples/debug/websocket-event-discovery.d.ts.map +1 -0
- package/dist/examples/debug/websocket-monitor.d.ts +15 -0
- package/dist/examples/debug/websocket-monitor.d.ts.map +1 -0
- package/dist/examples/debug-single-trade.d.ts +6 -0
- package/dist/examples/debug-single-trade.d.ts.map +1 -0
- package/dist/examples/demo-librarian.d.ts +18 -0
- package/dist/examples/demo-librarian.d.ts.map +1 -0
- package/dist/examples/demo-runner.d.ts +22 -0
- package/dist/examples/demo-runner.d.ts.map +1 -0
- package/dist/examples/dex/demo-roundtrip-liquidity.d.ts +16 -0
- package/dist/examples/dex/demo-roundtrip-liquidity.d.ts.map +1 -0
- package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts +28 -0
- package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts.map +1 -0
- package/dist/examples/dex/dex-liquidity-management-advanced.d.ts +27 -0
- package/dist/examples/dex/dex-liquidity-management-advanced.d.ts.map +1 -0
- package/dist/examples/dex/dex-multi-hop-swaps.d.ts +32 -0
- package/dist/examples/dex/dex-multi-hop-swaps.d.ts.map +1 -0
- package/dist/examples/dex/dex-pool-pricing.d.ts +20 -0
- package/dist/examples/dex/dex-pool-pricing.d.ts.map +1 -0
- package/dist/examples/dex/dex-quote-calculations.d.ts +21 -0
- package/dist/examples/dex/dex-quote-calculations.d.ts.map +1 -0
- package/dist/examples/dex/dex-seasons-leaderboard.d.ts +22 -0
- package/dist/examples/dex/dex-seasons-leaderboard.d.ts.map +1 -0
- package/dist/examples/dex/dex-slippage-protection.d.ts +28 -0
- package/dist/examples/dex/dex-slippage-protection.d.ts.map +1 -0
- package/dist/examples/dex/dex-tokens-discovery.d.ts +20 -0
- package/dist/examples/dex/dex-tokens-discovery.d.ts.map +1 -0
- package/dist/examples/dex/dex-volume-analytics.d.ts +19 -0
- package/dist/examples/dex/dex-volume-analytics.d.ts.map +1 -0
- package/dist/examples/dex/leaderboard.d.ts +12 -0
- package/dist/examples/dex/leaderboard.d.ts.map +1 -0
- package/dist/examples/dex/pool-discovery.d.ts +25 -0
- package/dist/examples/dex/pool-discovery.d.ts.map +1 -0
- package/dist/examples/dex/pools-with-pricing.d.ts +28 -0
- package/dist/examples/dex/pools-with-pricing.d.ts.map +1 -0
- package/dist/examples/dex/quote-comparison.d.ts +16 -0
- package/dist/examples/dex/quote-comparison.d.ts.map +1 -0
- package/dist/examples/dex/swap-user-assets-comprehensive.d.ts +20 -0
- package/dist/examples/dex/swap-user-assets-comprehensive.d.ts.map +1 -0
- package/dist/examples/dex/swap-workflow.d.ts +20 -0
- package/dist/examples/dex/swap-workflow.d.ts.map +1 -0
- package/dist/examples/dex/token-discovery.d.ts +27 -0
- package/dist/examples/dex/token-discovery.d.ts.map +1 -0
- package/dist/examples/dex/volume-summary.d.ts +12 -0
- package/dist/examples/dex/volume-summary.d.ts.map +1 -0
- package/dist/examples/error-handling/error-recovery-patterns.d.ts +42 -0
- package/dist/examples/error-handling/error-recovery-patterns.d.ts.map +1 -0
- package/dist/examples/error-handling/timeout-management.d.ts +43 -0
- package/dist/examples/error-handling/timeout-management.d.ts.map +1 -0
- package/dist/examples/events/event-aggregation-analysis.d.ts +40 -0
- package/dist/examples/events/event-aggregation-analysis.d.ts.map +1 -0
- package/dist/examples/events/event-emission-patterns.d.ts +35 -0
- package/dist/examples/events/event-emission-patterns.d.ts.map +1 -0
- package/dist/examples/events/subscription-management-advanced.d.ts +38 -0
- package/dist/examples/events/subscription-management-advanced.d.ts.map +1 -0
- package/dist/examples/fees/complete-fee-test.d.ts +13 -0
- package/dist/examples/fees/complete-fee-test.d.ts.map +1 -0
- package/dist/examples/fees/demo-fee-generation-and-collection.d.ts +27 -0
- package/dist/examples/fees/demo-fee-generation-and-collection.d.ts.map +1 -0
- package/dist/examples/fees/demo-fees-high-volume.d.ts +13 -0
- package/dist/examples/fees/demo-fees-high-volume.d.ts.map +1 -0
- package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts +13 -0
- package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts.map +1 -0
- package/dist/examples/fees/trade-and-collect-fees.d.ts +13 -0
- package/dist/examples/fees/trade-and-collect-fees.d.ts.map +1 -0
- package/dist/examples/galachain/bundler-transactions.d.ts +28 -0
- package/dist/examples/galachain/bundler-transactions.d.ts.map +1 -0
- package/dist/examples/galachain/galachain-token-resolution.d.ts +28 -0
- package/dist/examples/galachain/galachain-token-resolution.d.ts.map +1 -0
- package/dist/examples/galachain/galachain-tokens.d.ts +28 -0
- package/dist/examples/galachain/galachain-tokens.d.ts.map +1 -0
- package/dist/examples/galachain/galachain-transfers.d.ts +25 -0
- package/dist/examples/galachain/galachain-transfers.d.ts.map +1 -0
- package/dist/examples/global-feed-demo.d.ts +17 -0
- package/dist/examples/global-feed-demo.d.ts.map +1 -0
- package/dist/examples/global-feed-filtering-demo.d.ts +20 -0
- package/dist/examples/global-feed-filtering-demo.d.ts.map +1 -0
- package/dist/examples/launchpad/demo-socials.d.ts +16 -0
- package/dist/examples/launchpad/demo-socials.d.ts.map +1 -0
- package/dist/examples/launchpad/fetch-token-stats.d.ts +18 -0
- package/dist/examples/launchpad/fetch-token-stats.d.ts.map +1 -0
- package/dist/examples/launchpad/update-token-config.d.ts +17 -0
- package/dist/examples/launchpad/update-token-config.d.ts.map +1 -0
- package/dist/examples/liquidity/apr-calculator.d.ts +18 -0
- package/dist/examples/liquidity/apr-calculator.d.ts.map +1 -0
- package/dist/examples/liquidity/demo-bundler-operations.d.ts +15 -0
- package/dist/examples/liquidity/demo-bundler-operations.d.ts.map +1 -0
- package/dist/examples/liquidity/demo-fetch-all-positions.d.ts +2 -0
- package/dist/examples/liquidity/demo-fetch-all-positions.d.ts.map +1 -0
- package/dist/examples/liquidity/demo-position-direct.d.ts +14 -0
- package/dist/examples/liquidity/demo-position-direct.d.ts.map +1 -0
- package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts +26 -0
- package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts.map +1 -0
- package/dist/examples/liquidity/demo-roundtrip-remove.d.ts +21 -0
- package/dist/examples/liquidity/demo-roundtrip-remove.d.ts.map +1 -0
- package/dist/examples/liquidity/detailed.d.ts +21 -0
- package/dist/examples/liquidity/detailed.d.ts.map +1 -0
- package/dist/examples/liquidity/errors.d.ts +18 -0
- package/dist/examples/liquidity/errors.d.ts.map +1 -0
- package/dist/examples/liquidity/fee-collection.d.ts +22 -0
- package/dist/examples/liquidity/fee-collection.d.ts.map +1 -0
- package/dist/examples/liquidity/liquidity-position-details.d.ts +21 -0
- package/dist/examples/liquidity/liquidity-position-details.d.ts.map +1 -0
- package/dist/examples/liquidity/liquidity-removal-estimation.d.ts +19 -0
- package/dist/examples/liquidity/liquidity-removal-estimation.d.ts.map +1 -0
- package/dist/examples/liquidity/multi-position.d.ts +22 -0
- package/dist/examples/liquidity/multi-position.d.ts.map +1 -0
- package/dist/examples/liquidity/positions-cli.d.ts +41 -0
- package/dist/examples/liquidity/positions-cli.d.ts.map +1 -0
- package/dist/examples/liquidity/ticks.d.ts +18 -0
- package/dist/examples/liquidity/ticks.d.ts.map +1 -0
- package/dist/examples/locks/burn-tokens.d.ts +25 -0
- package/dist/examples/locks/burn-tokens.d.ts.map +1 -0
- package/dist/examples/locks/lock-unlock-workflow.d.ts +20 -0
- package/dist/examples/locks/lock-unlock-workflow.d.ts.map +1 -0
- package/dist/examples/messages/messages-lifecycle.d.ts +37 -0
- package/dist/examples/messages/messages-lifecycle.d.ts.map +1 -0
- package/dist/examples/messages/messages-pinning.d.ts +37 -0
- package/dist/examples/messages/messages-pinning.d.ts.map +1 -0
- package/dist/examples/moderators/claim-invite.d.ts +28 -0
- package/dist/examples/moderators/claim-invite.d.ts.map +1 -0
- package/dist/examples/moderators/invite-management.d.ts +30 -0
- package/dist/examples/moderators/invite-management.d.ts.map +1 -0
- package/dist/examples/moderators/moderated-tokens-portfolio.d.ts +18 -0
- package/dist/examples/moderators/moderated-tokens-portfolio.d.ts.map +1 -0
- package/dist/examples/monitoring/demo-stream-events.d.ts +17 -0
- package/dist/examples/monitoring/demo-stream-events.d.ts.map +1 -0
- package/dist/examples/monitoring/demo-watch-pools.d.ts +18 -0
- package/dist/examples/monitoring/demo-watch-pools.d.ts.map +1 -0
- package/dist/examples/monitoring/demo-watch-tokens.d.ts +18 -0
- package/dist/examples/monitoring/demo-watch-tokens.d.ts.map +1 -0
- package/dist/examples/monitoring/fees-collection-e2e.d.ts +36 -0
- package/dist/examples/monitoring/fees-collection-e2e.d.ts.map +1 -0
- package/dist/examples/monitoring/fees-collection-guaranteed.d.ts +49 -0
- package/dist/examples/monitoring/fees-collection-guaranteed.d.ts.map +1 -0
- package/dist/examples/monitoring/liquidity-e2e-test.d.ts +15 -0
- package/dist/examples/monitoring/liquidity-e2e-test.d.ts.map +1 -0
- package/dist/examples/monitoring/liquidity-monitor.d.ts +17 -0
- package/dist/examples/monitoring/liquidity-monitor.d.ts.map +1 -0
- package/dist/examples/monitoring/pool-creation-integration.d.ts +27 -0
- package/dist/examples/monitoring/pool-creation-integration.d.ts.map +1 -0
- package/dist/examples/monitoring/pool-liquidity-tracker.d.ts +15 -0
- package/dist/examples/monitoring/pool-liquidity-tracker.d.ts.map +1 -0
- package/dist/examples/monitoring/subscribe-liquidity-added.d.ts +30 -0
- package/dist/examples/monitoring/subscribe-liquidity-added.d.ts.map +1 -0
- package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts +30 -0
- package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts.map +1 -0
- package/dist/examples/monitoring/subscribe-pool-creations.d.ts +29 -0
- package/dist/examples/monitoring/subscribe-pool-creations.d.ts.map +1 -0
- package/dist/examples/monitoring/subscribe-token-creations.d.ts +21 -0
- package/dist/examples/monitoring/subscribe-token-creations.d.ts.map +1 -0
- package/dist/examples/monitoring/token-creation-integration.d.ts +32 -0
- package/dist/examples/monitoring/token-creation-integration.d.ts.map +1 -0
- package/dist/examples/monitoring/websocket-event-handlers.d.ts +22 -0
- package/dist/examples/monitoring/websocket-event-handlers.d.ts.map +1 -0
- package/dist/examples/nft/demo-collection-management.d.ts +13 -0
- package/dist/examples/nft/demo-collection-management.d.ts.map +1 -0
- package/dist/examples/nft/demo-fee-calculations.d.ts +14 -0
- package/dist/examples/nft/demo-fee-calculations.d.ts.map +1 -0
- package/dist/examples/nft/demo-minting.d.ts +13 -0
- package/dist/examples/nft/demo-minting.d.ts.map +1 -0
- package/dist/examples/nft/demo-portfolio-query.d.ts +14 -0
- package/dist/examples/nft/demo-portfolio-query.d.ts.map +1 -0
- package/dist/examples/nft/nft-collection-lifecycle.d.ts +22 -0
- package/dist/examples/nft/nft-collection-lifecycle.d.ts.map +1 -0
- package/dist/examples/nft/nft-data-queries.d.ts +22 -0
- package/dist/examples/nft/nft-data-queries.d.ts.map +1 -0
- package/dist/examples/nft/nft-fee-estimation.d.ts +23 -0
- package/dist/examples/nft/nft-fee-estimation.d.ts.map +1 -0
- package/dist/examples/nft/nft-token-creation.d.ts +22 -0
- package/dist/examples/nft/nft-token-creation.d.ts.map +1 -0
- package/dist/examples/nft/nft-utilities.d.ts +23 -0
- package/dist/examples/nft/nft-utilities.d.ts.map +1 -0
- package/dist/examples/orchestrator-master.d.ts +22 -0
- package/dist/examples/orchestrator-master.d.ts.map +1 -0
- package/dist/examples/orchestrator-tasks.d.ts +38 -0
- package/dist/examples/orchestrator-tasks.d.ts.map +1 -0
- package/dist/examples/overseers/claim-invite.d.ts +31 -0
- package/dist/examples/overseers/claim-invite.d.ts.map +1 -0
- package/dist/examples/overseers/demo-list-users.d.ts +19 -0
- package/dist/examples/overseers/demo-list-users.d.ts.map +1 -0
- package/dist/examples/overseers/direct-promotion.d.ts +39 -0
- package/dist/examples/overseers/direct-promotion.d.ts.map +1 -0
- package/dist/examples/overseers/invite-management.d.ts +38 -0
- package/dist/examples/overseers/invite-management.d.ts.map +1 -0
- package/dist/examples/overseers/restricted-names-management.d.ts +27 -0
- package/dist/examples/overseers/restricted-names-management.d.ts.map +1 -0
- package/dist/examples/performance/caching-strategies-advanced.d.ts +28 -0
- package/dist/examples/performance/caching-strategies-advanced.d.ts.map +1 -0
- package/dist/examples/performance/performance-optimization-patterns.d.ts +28 -0
- package/dist/examples/performance/performance-optimization-patterns.d.ts.map +1 -0
- package/dist/examples/persistence/data-backup-recovery.d.ts +119 -0
- package/dist/examples/persistence/data-backup-recovery.d.ts.map +1 -0
- package/dist/examples/persistence/local-storage-patterns.d.ts +86 -0
- package/dist/examples/persistence/local-storage-patterns.d.ts.map +1 -0
- package/dist/examples/queries/advanced-sorting.d.ts +28 -0
- package/dist/examples/queries/advanced-sorting.d.ts.map +1 -0
- package/dist/examples/queries/complex-filtering.d.ts +27 -0
- package/dist/examples/queries/complex-filtering.d.ts.map +1 -0
- package/dist/examples/security/security-audit-trail.d.ts +42 -0
- package/dist/examples/security/security-audit-trail.d.ts.map +1 -0
- package/dist/examples/security/security-content-moderation-advanced.d.ts +42 -0
- package/dist/examples/security/security-content-moderation-advanced.d.ts.map +1 -0
- package/dist/examples/security/security-token-safety-checks.d.ts +41 -0
- package/dist/examples/security/security-token-safety-checks.d.ts.map +1 -0
- package/dist/examples/security/security-user-restrictions-advanced.d.ts +42 -0
- package/dist/examples/security/security-user-restrictions-advanced.d.ts.map +1 -0
- package/dist/examples/site-config-demo.d.ts +20 -0
- package/dist/examples/site-config-demo.d.ts.map +1 -0
- package/dist/examples/streaming/admin-controls.d.ts +30 -0
- package/dist/examples/streaming/admin-controls.d.ts.map +1 -0
- package/dist/examples/streaming/advanced-stream-demo.d.ts +28 -0
- package/dist/examples/streaming/advanced-stream-demo.d.ts.map +1 -0
- package/dist/examples/streaming/basic-stream.d.ts +17 -0
- package/dist/examples/streaming/basic-stream.d.ts.map +1 -0
- package/dist/examples/streaming/demo-countdown.d.ts +16 -0
- package/dist/examples/streaming/demo-countdown.d.ts.map +1 -0
- package/dist/examples/streaming/demo-get-stream-credentials.d.ts +28 -0
- package/dist/examples/streaming/demo-get-stream-credentials.d.ts.map +1 -0
- package/dist/examples/streaming/demo-platform-config.d.ts +20 -0
- package/dist/examples/streaming/demo-platform-config.d.ts.map +1 -0
- package/dist/examples/streaming/engagement-stats.d.ts +25 -0
- package/dist/examples/streaming/engagement-stats.d.ts.map +1 -0
- package/dist/examples/streaming/recordings.d.ts +16 -0
- package/dist/examples/streaming/recordings.d.ts.map +1 -0
- package/dist/examples/streaming/simulcast.d.ts +19 -0
- package/dist/examples/streaming/simulcast.d.ts.map +1 -0
- package/dist/examples/streaming/stream-access-control.d.ts +30 -0
- package/dist/examples/streaming/stream-access-control.d.ts.map +1 -0
- package/dist/examples/streaming/stream-control.d.ts +25 -0
- package/dist/examples/streaming/stream-control.d.ts.map +1 -0
- package/dist/examples/streaming/stream-countdown.d.ts +31 -0
- package/dist/examples/streaming/stream-countdown.d.ts.map +1 -0
- package/dist/examples/streaming/stream-enable-disable.d.ts +31 -0
- package/dist/examples/streaming/stream-enable-disable.d.ts.map +1 -0
- package/dist/examples/streaming/stream-key-management.d.ts +21 -0
- package/dist/examples/streaming/stream-key-management.d.ts.map +1 -0
- package/dist/examples/streaming/stream-recording-management.d.ts +29 -0
- package/dist/examples/streaming/stream-recording-management.d.ts.map +1 -0
- package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts +38 -0
- package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts.map +1 -0
- package/dist/examples/streaming/stream-viewer-analytics.d.ts +43 -0
- package/dist/examples/streaming/stream-viewer-analytics.d.ts.map +1 -0
- package/dist/examples/streaming/streaming-lifecycle.d.ts +26 -0
- package/dist/examples/streaming/streaming-lifecycle.d.ts.map +1 -0
- package/dist/examples/streaming-premium/stream-monetization-setup.d.ts +47 -0
- package/dist/examples/streaming-premium/stream-monetization-setup.d.ts.map +1 -0
- package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts +56 -0
- package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts.map +1 -0
- package/dist/examples/streaming-premium/stream-vip-management.d.ts +56 -0
- package/dist/examples/streaming-premium/stream-vip-management.d.ts.map +1 -0
- package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts +20 -0
- package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts.map +1 -0
- package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts +50 -0
- package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts.map +1 -0
- package/dist/examples/swap-monitoring/health-monitor.d.ts +10 -0
- package/dist/examples/swap-monitoring/health-monitor.d.ts.map +1 -0
- package/dist/examples/swap-monitoring/volume-monitor.d.ts +20 -0
- package/dist/examples/swap-monitoring/volume-monitor.d.ts.map +1 -0
- package/dist/examples/testing/demo-test-runner.d.ts +33 -0
- package/dist/examples/testing/demo-test-runner.d.ts.map +1 -0
- package/dist/examples/testing/error-classifier.d.ts +23 -0
- package/dist/examples/testing/error-classifier.d.ts.map +1 -0
- package/dist/examples/testing/index.d.ts +14 -0
- package/dist/examples/testing/index.d.ts.map +1 -0
- package/dist/examples/testing/memory-manager.d.ts +31 -0
- package/dist/examples/testing/memory-manager.d.ts.map +1 -0
- package/dist/examples/testing/report-generator.d.ts +31 -0
- package/dist/examples/testing/report-generator.d.ts.map +1 -0
- package/dist/examples/testing/test-result-types.d.ts +158 -0
- package/dist/examples/testing/test-result-types.d.ts.map +1 -0
- package/dist/examples/token-bans/token-ban-management.d.ts +32 -0
- package/dist/examples/token-bans/token-ban-management.d.ts.map +1 -0
- package/dist/examples/token-creation/token-launch-complete.d.ts +20 -0
- package/dist/examples/token-creation/token-launch-complete.d.ts.map +1 -0
- package/dist/examples/token-creation/token-validation-comprehensive.d.ts +22 -0
- package/dist/examples/token-creation/token-validation-comprehensive.d.ts.map +1 -0
- package/dist/examples/token-info/token-operations-comprehensive.d.ts +22 -0
- package/dist/examples/token-info/token-operations-comprehensive.d.ts.map +1 -0
- package/dist/examples/token-metadata/token-description-versioning.d.ts +33 -0
- package/dist/examples/token-metadata/token-description-versioning.d.ts.map +1 -0
- package/dist/examples/token-metadata/token-image-management.d.ts +34 -0
- package/dist/examples/token-metadata/token-image-management.d.ts.map +1 -0
- package/dist/examples/token-metadata/token-social-links-management.d.ts +34 -0
- package/dist/examples/token-metadata/token-social-links-management.d.ts.map +1 -0
- package/dist/examples/trading/buy-sell-aliases.d.ts +20 -0
- package/dist/examples/trading/buy-sell-aliases.d.ts.map +1 -0
- package/dist/examples/trading/volume-data-demo.d.ts +20 -0
- package/dist/examples/trading/volume-data-demo.d.ts.map +1 -0
- package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts +35 -0
- package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts.map +1 -0
- package/dist/examples/trading-advanced/limit-orders-advanced.d.ts +34 -0
- package/dist/examples/trading-advanced/limit-orders-advanced.d.ts.map +1 -0
- package/dist/examples/trading-advanced/stop-loss-orders.d.ts +34 -0
- package/dist/examples/trading-advanced/stop-loss-orders.d.ts.map +1 -0
- package/dist/examples/trading-advanced/trading-history-analysis.d.ts +35 -0
- package/dist/examples/trading-advanced/trading-history-analysis.d.ts.map +1 -0
- package/dist/examples/users/account-registration.d.ts +20 -0
- package/dist/examples/users/account-registration.d.ts.map +1 -0
- package/dist/examples/users/balance-queries.d.ts +28 -0
- package/dist/examples/users/balance-queries.d.ts.map +1 -0
- package/dist/examples/users/fetch-user-balances.d.ts +19 -0
- package/dist/examples/users/fetch-user-balances.d.ts.map +1 -0
- package/dist/examples/users/fetch-user-report.d.ts +21 -0
- package/dist/examples/users/fetch-user-report.d.ts.map +1 -0
- package/dist/examples/users/profile-images.d.ts +24 -0
- package/dist/examples/users/profile-images.d.ts.map +1 -0
- package/dist/examples/users/profile-management.d.ts +22 -0
- package/dist/examples/users/profile-management.d.ts.map +1 -0
- package/dist/examples/users/referrals-comprehensive.d.ts +26 -0
- package/dist/examples/users/referrals-comprehensive.d.ts.map +1 -0
- package/dist/examples/users/wallet-balances-external.d.ts +28 -0
- package/dist/examples/users/wallet-balances-external.d.ts.map +1 -0
- package/dist/examples/utilities/account.d.ts +20 -0
- package/dist/examples/utilities/account.d.ts.map +1 -0
- package/dist/examples/utilities/balance.d.ts +5 -0
- package/dist/examples/utilities/balance.d.ts.map +1 -0
- package/dist/examples/utilities/balances.d.ts +7 -0
- package/dist/examples/utilities/balances.d.ts.map +1 -0
- package/dist/examples/utilities/demo-cache.d.ts +13 -0
- package/dist/examples/utilities/demo-cache.d.ts.map +1 -0
- package/dist/examples/utilities/demo-token-supply.d.ts +14 -0
- package/dist/examples/utilities/demo-token-supply.d.ts.map +1 -0
- package/dist/examples/utilities/key-derivation.d.ts +12 -0
- package/dist/examples/utilities/key-derivation.d.ts.map +1 -0
- package/dist/examples/utilities/multi-token-portfolio.d.ts +18 -0
- package/dist/examples/utilities/multi-token-portfolio.d.ts.map +1 -0
- package/dist/examples/utilities/pool-discovery-advanced.d.ts +36 -0
- package/dist/examples/utilities/pool-discovery-advanced.d.ts.map +1 -0
- package/dist/examples/utilities/pool-pair-analysis.d.ts +37 -0
- package/dist/examples/utilities/pool-pair-analysis.d.ts.map +1 -0
- package/dist/examples/utilities/price-history.d.ts +22 -0
- package/dist/examples/utilities/price-history.d.ts.map +1 -0
- package/dist/examples/utilities/referrals.d.ts +21 -0
- package/dist/examples/utilities/referrals.d.ts.map +1 -0
- package/dist/examples/utilities/token-classification.d.ts +38 -0
- package/dist/examples/utilities/token-classification.d.ts.map +1 -0
- package/dist/examples/utilities/token-discovery.d.ts +26 -0
- package/dist/examples/utilities/token-discovery.d.ts.map +1 -0
- package/dist/examples/utilities/token-metadata-advanced.d.ts +37 -0
- package/dist/examples/utilities/token-metadata-advanced.d.ts.map +1 -0
- package/dist/examples/utilities/token-validation-complete.d.ts +41 -0
- package/dist/examples/utilities/token-validation-complete.d.ts.map +1 -0
- package/dist/examples/utilities/trade-history.d.ts +19 -0
- package/dist/examples/utilities/trade-history.d.ts.map +1 -0
- package/dist/examples/utilities/transfers.d.ts +29 -0
- package/dist/examples/utilities/transfers.d.ts.map +1 -0
- package/dist/examples/utilities/validation-and-error-handling.d.ts +27 -0
- package/dist/examples/utilities/validation-and-error-handling.d.ts.map +1 -0
- package/dist/examples/utilities/wrappable-tokens.d.ts +27 -0
- package/dist/examples/utilities/wrappable-tokens.d.ts.map +1 -0
- package/dist/examples/utility/auth-utilities.d.ts +30 -0
- package/dist/examples/utility/auth-utilities.d.ts.map +1 -0
- package/dist/examples/utility/pool-utilities.d.ts +29 -0
- package/dist/examples/utility/pool-utilities.d.ts.map +1 -0
- package/dist/examples/utility/sdk-configuration.d.ts +29 -0
- package/dist/examples/utility/sdk-configuration.d.ts.map +1 -0
- package/dist/examples/utility/wallet-management-advanced.d.ts +32 -0
- package/dist/examples/utility/wallet-management-advanced.d.ts.map +1 -0
- package/dist/examples/utils/auth-bootstrap.d.ts +123 -0
- package/dist/examples/utils/auth-bootstrap.d.ts.map +1 -0
- package/dist/examples/utils/balance-checking.d.ts +158 -0
- package/dist/examples/utils/balance-checking.d.ts.map +1 -0
- package/dist/examples/utils/bridge-formatters.d.ts +188 -0
- package/dist/examples/utils/bridge-formatters.d.ts.map +1 -0
- package/dist/examples/utils/bridge-setup.d.ts +235 -0
- package/dist/examples/utils/bridge-setup.d.ts.map +1 -0
- package/dist/examples/utils/bridge-transaction-logger.d.ts +42 -0
- package/dist/examples/utils/bridge-transaction-logger.d.ts.map +1 -0
- package/dist/examples/utils/cli-input.d.ts +41 -0
- package/dist/examples/utils/cli-input.d.ts.map +1 -0
- package/dist/examples/utils/demo-config.d.ts +155 -0
- package/dist/examples/utils/demo-config.d.ts.map +1 -0
- package/dist/examples/utils/demo-registry.d.ts +155 -0
- package/dist/examples/utils/demo-registry.d.ts.map +1 -0
- package/dist/examples/utils/error-handler.d.ts +85 -0
- package/dist/examples/utils/error-handler.d.ts.map +1 -0
- package/dist/examples/utils/formatting.d.ts +195 -0
- package/dist/examples/utils/formatting.d.ts.map +1 -0
- package/dist/examples/utils/get-environment.d.ts +17 -0
- package/dist/examples/utils/get-environment.d.ts.map +1 -0
- package/dist/examples/utils/index.d.ts +44 -0
- package/dist/examples/utils/index.d.ts.map +1 -0
- package/dist/examples/utils/indexing.d.ts +48 -0
- package/dist/examples/utils/indexing.d.ts.map +1 -0
- package/dist/examples/utils/load-env.d.ts +90 -0
- package/dist/examples/utils/load-env.d.ts.map +1 -0
- package/dist/examples/utils/logger.d.ts +52 -0
- package/dist/examples/utils/logger.d.ts.map +1 -0
- package/dist/examples/utils/pool-helpers.d.ts +226 -0
- package/dist/examples/utils/pool-helpers.d.ts.map +1 -0
- package/dist/examples/utils/punchlist.d.ts +104 -0
- package/dist/examples/utils/punchlist.d.ts.map +1 -0
- package/dist/examples/utils/sdk-setup.d.ts +423 -0
- package/dist/examples/utils/sdk-setup.d.ts.map +1 -0
- package/dist/examples/utils/suppress-logging.d.ts +11 -0
- package/dist/examples/utils/suppress-logging.d.ts.map +1 -0
- package/dist/examples/utils/token-naming.d.ts +117 -0
- package/dist/examples/utils/token-naming.d.ts.map +1 -0
- package/dist/examples/utils/trade-helpers.d.ts +195 -0
- package/dist/examples/utils/trade-helpers.d.ts.map +1 -0
- package/dist/examples/utils/transaction-helpers.d.ts +92 -0
- package/dist/examples/utils/transaction-helpers.d.ts.map +1 -0
- package/dist/examples/wallet/wallet-initialization-complete.d.ts +31 -0
- package/dist/examples/wallet/wallet-initialization-complete.d.ts.map +1 -0
- package/dist/examples/wallet/wallet-key-rotation.d.ts +28 -0
- package/dist/examples/wallet/wallet-key-rotation.d.ts.map +1 -0
- package/dist/examples/wallet/wallet-recovery-patterns.d.ts +29 -0
- package/dist/examples/wallet/wallet-recovery-patterns.d.ts.map +1 -0
- package/dist/examples/wallet/wallet-signature-operations.d.ts +28 -0
- package/dist/examples/wallet/wallet-signature-operations.d.ts.map +1 -0
- package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts +21 -0
- package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts.map +1 -0
- package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts +21 -0
- package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts.map +1 -0
- package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts +21 -0
- package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-chat-advanced.d.ts +26 -0
- package/dist/examples/websocket/websocket-chat-advanced.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-chat-events-detailed.d.ts +28 -0
- package/dist/examples/websocket/websocket-chat-events-detailed.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-chat-events.d.ts +26 -0
- package/dist/examples/websocket/websocket-chat-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-combined-events.d.ts +28 -0
- package/dist/examples/websocket/websocket-combined-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-comprehensive.d.ts +25 -0
- package/dist/examples/websocket/websocket-comprehensive.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-connected-clients.d.ts +30 -0
- package/dist/examples/websocket/websocket-connected-clients.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-connection-management.d.ts +28 -0
- package/dist/examples/websocket/websocket-connection-management.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-content-events.d.ts +28 -0
- package/dist/examples/websocket/websocket-content-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-core-events.d.ts +27 -0
- package/dist/examples/websocket/websocket-core-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-dex-events.d.ts +40 -0
- package/dist/examples/websocket/websocket-dex-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-dex-pools.d.ts +23 -0
- package/dist/examples/websocket/websocket-dex-pools.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-download-recording.d.ts +26 -0
- package/dist/examples/websocket/websocket-download-recording.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-interactions.d.ts +25 -0
- package/dist/examples/websocket/websocket-interactions.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-moderation-events.d.ts +26 -0
- package/dist/examples/websocket/websocket-moderation-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-recording-events.d.ts +24 -0
- package/dist/examples/websocket/websocket-recording-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-room-events.d.ts +27 -0
- package/dist/examples/websocket/websocket-room-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-room-management.d.ts +27 -0
- package/dist/examples/websocket/websocket-room-management.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-simulcast-events.d.ts +26 -0
- package/dist/examples/websocket/websocket-simulcast-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-stream-auth.d.ts +23 -0
- package/dist/examples/websocket/websocket-stream-auth.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-stream-countdown.d.ts +38 -0
- package/dist/examples/websocket/websocket-stream-countdown.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-stream-events.d.ts +26 -0
- package/dist/examples/websocket/websocket-stream-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-stream-status.d.ts +39 -0
- package/dist/examples/websocket/websocket-stream-status.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-subscription-management.d.ts +27 -0
- package/dist/examples/websocket/websocket-subscription-management.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-token-creation-events.d.ts +22 -0
- package/dist/examples/websocket/websocket-token-creation-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-token-events.d.ts +24 -0
- package/dist/examples/websocket/websocket-token-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-token-subscription.d.ts +26 -0
- package/dist/examples/websocket/websocket-token-subscription.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-token-viewers.d.ts +29 -0
- package/dist/examples/websocket/websocket-token-viewers.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-unsubscribe.d.ts +25 -0
- package/dist/examples/websocket/websocket-unsubscribe.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-user-events.d.ts +40 -0
- package/dist/examples/websocket/websocket-user-events.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-user-presence.d.ts +29 -0
- package/dist/examples/websocket/websocket-user-presence.d.ts.map +1 -0
- package/dist/examples/websocket/websocket-viewer-analytics.d.ts +38 -0
- package/dist/examples/websocket/websocket-viewer-analytics.d.ts.map +1 -0
- package/dist/examples/wrap/wrap-status-tracking.d.ts +19 -0
- package/dist/examples/wrap/wrap-status-tracking.d.ts.map +1 -0
- package/dist/examples/wrap/wrap-token-discovery.d.ts +20 -0
- package/dist/examples/wrap/wrap-token-discovery.d.ts.map +1 -0
- package/dist/index.browser.esm.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +6 -115
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react.cjs.js +1 -0
- package/dist/react.esm.js +1 -0
- package/dist/scripts/derive-public-key-from-private-key.d.ts +8 -0
- package/dist/scripts/derive-public-key-from-private-key.d.ts.map +1 -0
- package/dist/scripts/eslint-fixer.d.ts +7 -0
- package/dist/scripts/eslint-fixer.d.ts.map +1 -0
- package/dist/scripts/final-fixer.d.ts +7 -0
- package/dist/scripts/final-fixer.d.ts.map +1 -0
- package/dist/scripts/fix-all-remaining-boolean.d.ts +7 -0
- package/dist/scripts/fix-all-remaining-boolean.d.ts.map +1 -0
- package/dist/scripts/fix-boolean-expressions-advanced.d.ts +7 -0
- package/dist/scripts/fix-boolean-expressions-advanced.d.ts.map +1 -0
- package/dist/scripts/fix-boolean-expressions-ast.d.ts +9 -0
- package/dist/scripts/fix-boolean-expressions-ast.d.ts.map +1 -0
- package/dist/scripts/fix-boolean-expressions-auto.d.ts +7 -0
- package/dist/scripts/fix-boolean-expressions-auto.d.ts.map +1 -0
- package/dist/scripts/fix-final-aggressive.d.ts +6 -0
- package/dist/scripts/fix-final-aggressive.d.ts.map +1 -0
- package/dist/scripts/fix-final-boolean.d.ts +7 -0
- package/dist/scripts/fix-final-boolean.d.ts.map +1 -0
- package/dist/scripts/fix-remaining-boolean.d.ts +7 -0
- package/dist/scripts/fix-remaining-boolean.d.ts.map +1 -0
- package/dist/scripts/fix-strict-boolean-comprehensive.d.ts +3 -0
- package/dist/scripts/fix-strict-boolean-comprehensive.d.ts.map +1 -0
- package/dist/scripts/fix-strict-boolean-expressions.d.ts +2 -0
- package/dist/scripts/fix-strict-boolean-expressions.d.ts.map +1 -0
- package/dist/scripts/fix-strict-boolean-final.d.ts +13 -0
- package/dist/scripts/fix-strict-boolean-final.d.ts.map +1 -0
- package/dist/scripts/fixer-aggressive.d.ts +7 -0
- package/dist/scripts/fixer-aggressive.d.ts.map +1 -0
- package/dist/scripts/fixer-conservative.d.ts +7 -0
- package/dist/scripts/fixer-conservative.d.ts.map +1 -0
- package/dist/scripts/fixer-direct.d.ts +7 -0
- package/dist/scripts/fixer-direct.d.ts.map +1 -0
- package/dist/scripts/generate-demo-registry.d.ts +14 -0
- package/dist/scripts/generate-demo-registry.d.ts.map +1 -0
- package/dist/scripts/inject-version.d.ts +8 -0
- package/dist/scripts/inject-version.d.ts.map +1 -0
- package/dist/scripts/strict-boolean-fixer.d.ts +9 -0
- package/dist/scripts/strict-boolean-fixer.d.ts.map +1 -0
- package/dist/scripts/validate-demo-registry.d.ts +17 -0
- package/dist/scripts/validate-demo-registry.d.ts.map +1 -0
- package/dist/src/LaunchpadSDK.d.ts +1260 -304
- package/dist/src/LaunchpadSDK.d.ts.map +1 -1
- package/dist/src/api/LaunchpadAPI.d.ts +11 -10
- package/dist/src/api/LaunchpadAPI.d.ts.map +1 -1
- package/dist/src/api/dto/BurnTokensDto.d.ts +2 -2
- package/dist/src/api/dto/BurnTokensDto.d.ts.map +1 -1
- package/dist/src/api/dto/LockTokenDto.d.ts +2 -2
- package/dist/src/api/dto/LockTokenDto.d.ts.map +1 -1
- package/dist/src/api/dto/TransferTokenDto.d.ts +2 -2
- package/dist/src/api/dto/TransferTokenDto.d.ts.map +1 -1
- package/dist/src/api/dto/UnlockTokenDto.d.ts +2 -2
- package/dist/src/api/dto/UnlockTokenDto.d.ts.map +1 -1
- package/dist/src/auth/JwtAuth.d.ts +43 -5
- package/dist/src/auth/JwtAuth.d.ts.map +1 -1
- package/dist/src/auth/SessionAuthService.d.ts +10 -6
- package/dist/src/auth/SessionAuthService.d.ts.map +1 -1
- package/dist/src/auth/SignatureAuth.d.ts +65 -4
- package/dist/src/auth/SignatureAuth.d.ts.map +1 -1
- package/dist/src/auth/storage.d.ts +66 -0
- package/dist/src/auth/storage.d.ts.map +1 -0
- package/dist/src/auth/types.d.ts +12 -3
- package/dist/src/auth/types.d.ts.map +1 -1
- package/dist/src/bridge/BridgeService.d.ts +1 -1
- package/dist/src/bridge/BridgeService.d.ts.map +1 -1
- package/dist/src/bridge/index.d.ts +1 -1
- package/dist/src/bridge/index.d.ts.map +1 -1
- package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts +1 -1
- package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts.map +1 -1
- package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts +1 -1
- package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts.map +1 -1
- package/dist/src/bridge/types/bridge.dto.d.ts +0 -5
- package/dist/src/bridge/types/bridge.dto.d.ts.map +1 -1
- package/dist/src/bridge/types/bridgeable-token.dto.d.ts +1 -1
- package/dist/src/bridge/types/bridgeable-token.dto.d.ts.map +1 -1
- package/dist/src/constants/endpoints.d.ts +407 -258
- package/dist/src/constants/endpoints.d.ts.map +1 -1
- package/dist/src/constants/events.d.ts +53 -0
- package/dist/src/constants/events.d.ts.map +1 -0
- package/dist/src/constants/pagination.d.ts +24 -14
- package/dist/src/constants/pagination.d.ts.map +1 -1
- package/dist/src/constants/version.generated.d.ts +1 -1
- package/dist/src/constants/version.generated.d.ts.map +1 -1
- package/dist/src/helpers/sdk.d.ts +3 -2
- package/dist/src/helpers/sdk.d.ts.map +1 -1
- package/dist/src/helpers/wallet.d.ts +1 -1
- package/dist/src/helpers/wallet.d.ts.map +1 -1
- package/dist/src/index.browser.d.ts +136 -0
- package/dist/src/index.browser.d.ts.map +1 -0
- package/dist/src/index.d.ts +6 -115
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.node.d.ts +13 -0
- package/dist/src/index.node.d.ts.map +1 -0
- package/dist/src/react/WalletContext.d.ts +60 -0
- package/dist/src/react/WalletContext.d.ts.map +1 -0
- package/dist/src/react/index.d.ts +65 -0
- package/dist/src/react/index.d.ts.map +1 -0
- package/dist/src/react/types.d.ts +76 -0
- package/dist/src/react/types.d.ts.map +1 -0
- package/dist/src/react/useWallet.d.ts +122 -0
- package/dist/src/react/useWallet.d.ts.map +1 -0
- package/dist/src/react/useWalletConnection.d.ts +89 -0
- package/dist/src/react/useWalletConnection.d.ts.map +1 -0
- package/dist/src/react/useWalletDetection.d.ts +81 -0
- package/dist/src/react/useWalletDetection.d.ts.map +1 -0
- package/dist/src/schemas/files.d.ts +22 -22
- package/dist/src/schemas/files.d.ts.map +1 -1
- package/dist/src/schemas/launchpad.d.ts +170 -45
- package/dist/src/schemas/launchpad.d.ts.map +1 -1
- package/dist/src/schemas/pagination.d.ts +118 -36
- package/dist/src/schemas/pagination.d.ts.map +1 -1
- package/dist/src/schemas/primitives.d.ts +6 -13
- package/dist/src/schemas/primitives.d.ts.map +1 -1
- package/dist/src/schemas/trade.d.ts +107 -55
- package/dist/src/schemas/trade.d.ts.map +1 -1
- package/dist/src/schemas/user.d.ts +172 -28
- package/dist/src/schemas/user.d.ts.map +1 -1
- package/dist/src/schemas/validators.d.ts +22 -22
- package/dist/src/services/AbstractTokenFetchService.d.ts +1 -1
- package/dist/src/services/AbstractTokenFetchService.d.ts.map +1 -1
- package/dist/src/services/ApiKeyService.d.ts +14 -8
- package/dist/src/services/ApiKeyService.d.ts.map +1 -1
- package/dist/src/services/BanService.d.ts +131 -14
- package/dist/src/services/BanService.d.ts.map +1 -1
- package/dist/src/services/BaseService.d.ts +1 -1
- package/dist/src/services/BaseService.d.ts.map +1 -1
- package/dist/src/services/BatchedCacheService.d.ts +2 -1
- package/dist/src/services/BatchedCacheService.d.ts.map +1 -1
- package/dist/src/services/BridgeableTokenService.d.ts +1 -1
- package/dist/src/services/BundleService.d.ts +4 -4
- package/dist/src/services/BundleService.d.ts.map +1 -1
- package/dist/src/services/ChartService.d.ts +106 -0
- package/dist/src/services/ChartService.d.ts.map +1 -0
- package/dist/src/services/ContentFlagService.d.ts +12 -6
- package/dist/src/services/ContentFlagService.d.ts.map +1 -1
- package/dist/src/services/ContentReactionService.d.ts +2 -2
- package/dist/src/services/ContentReactionService.d.ts.map +1 -1
- package/dist/src/services/DexBackendClient.d.ts +2 -2
- package/dist/src/services/DexBackendClient.d.ts.map +1 -1
- package/dist/src/services/DexPoolService.d.ts +5 -5
- package/dist/src/services/DexPoolService.d.ts.map +1 -1
- package/dist/src/services/DexQuoteService.d.ts +2 -2
- package/dist/src/services/DexQuoteService.d.ts.map +1 -1
- package/dist/src/services/DexService.d.ts +7 -7
- package/dist/src/services/DexService.d.ts.map +1 -1
- package/dist/src/services/EventsBatcherService.d.ts +111 -0
- package/dist/src/services/EventsBatcherService.d.ts.map +1 -0
- package/dist/src/services/GSwapAssetService.d.ts +17 -0
- package/dist/src/services/GSwapAssetService.d.ts.map +1 -1
- package/dist/src/services/GSwapLiquidityMutationService.d.ts +4 -4
- package/dist/src/services/GSwapLiquidityMutationService.d.ts.map +1 -1
- package/dist/src/services/GSwapLiquidityQueryService.d.ts +2 -2
- package/dist/src/services/GSwapLiquidityQueryService.d.ts.map +1 -1
- package/dist/src/services/GSwapPoolCalculationService.d.ts +1 -1
- package/dist/src/services/GSwapPoolCalculationService.d.ts.map +1 -1
- package/dist/src/services/GSwapPoolQueryService.d.ts +2 -2
- package/dist/src/services/GSwapPoolQueryService.d.ts.map +1 -1
- package/dist/src/services/GSwapService.d.ts +3 -3
- package/dist/src/services/GSwapService.d.ts.map +1 -1
- package/dist/src/services/GSwapSwapService.d.ts +2 -2
- package/dist/src/services/GSwapSwapService.d.ts.map +1 -1
- package/dist/src/services/GalaChainBalanceService.d.ts +2 -2
- package/dist/src/services/GalaChainBalanceService.d.ts.map +1 -1
- package/dist/src/services/GalaChainGatewayClient.d.ts +3 -3
- package/dist/src/services/GalaChainGatewayClient.d.ts.map +1 -1
- package/dist/src/services/GalaChainLockService.d.ts +4 -4
- package/dist/src/services/GalaChainLockService.d.ts.map +1 -1
- package/dist/src/services/GalaChainService.d.ts +11 -11
- package/dist/src/services/GalaChainService.d.ts.map +1 -1
- package/dist/src/services/GalaChainTokenService.d.ts +3 -3
- package/dist/src/services/GalaChainTokenService.d.ts.map +1 -1
- package/dist/src/services/GalaChainTransferService.d.ts +6 -6
- package/dist/src/services/GalaChainTransferService.d.ts.map +1 -1
- package/dist/src/services/HolderService.d.ts +181 -0
- package/dist/src/services/HolderService.d.ts.map +1 -0
- package/dist/src/services/ImageService.d.ts +2 -15
- package/dist/src/services/ImageService.d.ts.map +1 -1
- package/dist/src/services/LaunchpadService.d.ts +68 -25
- package/dist/src/services/LaunchpadService.d.ts.map +1 -1
- package/dist/src/services/MessagesService.d.ts +224 -0
- package/dist/src/services/MessagesService.d.ts.map +1 -0
- package/dist/src/services/ModeratorService.d.ts +32 -18
- package/dist/src/services/ModeratorService.d.ts.map +1 -1
- package/dist/src/services/MultiPoolStateManager.d.ts +1 -1
- package/dist/src/services/MultiPoolStateManager.d.ts.map +1 -1
- package/dist/src/services/NftCollectionService.d.ts +2 -2
- package/dist/src/services/NftCollectionService.d.ts.map +1 -1
- package/dist/src/services/OverseerService.d.ts +145 -26
- package/dist/src/services/OverseerService.d.ts.map +1 -1
- package/dist/src/services/PlatformConfigService.d.ts +149 -0
- package/dist/src/services/PlatformConfigService.d.ts.map +1 -0
- package/dist/src/services/PoolCacheManager.d.ts +2 -2
- package/dist/src/services/PoolCacheManager.d.ts.map +1 -1
- package/dist/src/services/PoolService.d.ts +109 -25
- package/dist/src/services/PoolService.d.ts.map +1 -1
- package/dist/src/services/PoolStateManager.d.ts +3 -3
- package/dist/src/services/PoolStateManager.d.ts.map +1 -1
- package/dist/src/services/PriceHistoryService.d.ts +14 -13
- package/dist/src/services/PriceHistoryService.d.ts.map +1 -1
- package/dist/src/services/RestrictedNamesService.d.ts +80 -0
- package/dist/src/services/RestrictedNamesService.d.ts.map +1 -0
- package/dist/src/services/SignatureService.d.ts.map +1 -1
- package/dist/src/services/StreamChatService.d.ts +38 -186
- package/dist/src/services/StreamChatService.d.ts.map +1 -1
- package/dist/src/services/StreamTokenServiceBase.d.ts +23 -11
- package/dist/src/services/StreamTokenServiceBase.d.ts.map +1 -1
- package/dist/src/services/StreamWebSocketService.d.ts +288 -17
- package/dist/src/services/StreamWebSocketService.d.ts.map +1 -1
- package/dist/src/services/StreamingEventService.d.ts +2 -2
- package/dist/src/services/StreamingEventService.d.ts.map +1 -1
- package/dist/src/services/StreamingService.d.ts +42 -21
- package/dist/src/services/StreamingService.d.ts.map +1 -1
- package/dist/src/services/SwapEventQueue.d.ts +2 -2
- package/dist/src/services/SwapEventQueue.d.ts.map +1 -1
- package/dist/src/services/TokenBanService.d.ts +17 -14
- package/dist/src/services/TokenBanService.d.ts.map +1 -1
- package/dist/src/services/TokenMetadataService.d.ts.map +1 -1
- package/dist/src/services/TokenResolverService.d.ts +1 -1
- package/dist/src/services/TokenResolverService.d.ts.map +1 -1
- package/dist/src/services/TradeService.d.ts +24 -22
- package/dist/src/services/TradeService.d.ts.map +1 -1
- package/dist/src/services/UserService.d.ts +82 -19
- package/dist/src/services/UserService.d.ts.map +1 -1
- package/dist/src/services/WebSocketAdminService.d.ts +515 -0
- package/dist/src/services/WebSocketAdminService.d.ts.map +1 -0
- package/dist/src/services/WebSocketService.d.ts +1 -1
- package/dist/src/services/WebSocketService.d.ts.map +1 -1
- package/dist/src/services/WrapService.d.ts +1 -1
- package/dist/src/services/WrapService.d.ts.map +1 -1
- package/dist/src/services/WrappableTokenService.d.ts +1 -1
- package/dist/src/services/__mocks__/logger.mock.d.ts +14 -7
- package/dist/src/services/__mocks__/logger.mock.d.ts.map +1 -1
- package/dist/src/services/shared/cache-helpers.d.ts.map +1 -1
- package/dist/src/services/shared/pagination-helpers.d.ts +23 -13
- package/dist/src/services/shared/pagination-helpers.d.ts.map +1 -1
- package/dist/src/setup.d.ts +2 -2
- package/dist/src/types/api-key.dto.d.ts +14 -9
- package/dist/src/types/api-key.dto.d.ts.map +1 -1
- package/dist/src/types/backend-responses.d.ts +7 -7
- package/dist/src/types/backend-responses.d.ts.map +1 -1
- package/dist/src/types/ban.dto.d.ts +179 -15
- package/dist/src/types/ban.dto.d.ts.map +1 -1
- package/dist/src/types/cache-management.dto.d.ts +44 -0
- package/dist/src/types/cache-management.dto.d.ts.map +1 -0
- package/dist/src/types/chat-messages.dto.d.ts +8 -8
- package/dist/src/types/chat-messages.dto.d.ts.map +1 -1
- package/dist/src/types/comment.dto.d.ts +4 -8
- package/dist/src/types/comment.dto.d.ts.map +1 -1
- package/dist/src/types/comments.dto.d.ts +9 -21
- package/dist/src/types/comments.dto.d.ts.map +1 -1
- package/dist/src/types/common.d.ts +104 -31
- package/dist/src/types/common.d.ts.map +1 -1
- package/dist/src/types/composite-pool.dto.d.ts +3 -3
- package/dist/src/types/composite-pool.dto.d.ts.map +1 -1
- package/dist/src/types/constraints.d.ts +11 -11
- package/dist/src/types/constraints.d.ts.map +1 -1
- package/dist/src/types/content-flag.dto.d.ts +2 -14
- package/dist/src/types/content-flag.dto.d.ts.map +1 -1
- package/dist/src/types/content-reactions.dto.d.ts +1 -1
- package/dist/src/types/content-reactions.dto.d.ts.map +1 -1
- package/dist/src/types/dex-pool.dto.d.ts +19 -6
- package/dist/src/types/dex-pool.dto.d.ts.map +1 -1
- package/dist/src/types/dto.d.ts +1 -1
- package/dist/src/types/dto.d.ts.map +1 -1
- package/dist/src/types/engagement-stats.dto.d.ts +62 -0
- package/dist/src/types/engagement-stats.dto.d.ts.map +1 -0
- package/dist/src/types/events.dto.d.ts +80 -0
- package/dist/src/types/events.dto.d.ts.map +1 -0
- package/dist/src/types/galachain-api.types.d.ts +1 -1
- package/dist/src/types/galachain-api.types.d.ts.map +1 -1
- package/dist/src/types/global-feed.dto.d.ts +196 -0
- package/dist/src/types/global-feed.dto.d.ts.map +1 -0
- package/dist/src/types/gswap-responses.types.d.ts +14 -14
- package/dist/src/types/gswap-responses.types.d.ts.map +1 -1
- package/dist/src/types/gswap.dto.d.ts +11 -5
- package/dist/src/types/gswap.dto.d.ts.map +1 -1
- package/dist/src/types/holder.types.d.ts +106 -0
- package/dist/src/types/holder.types.d.ts.map +1 -0
- package/dist/src/types/launchpad.dto.d.ts +113 -76
- package/dist/src/types/launchpad.dto.d.ts.map +1 -1
- package/dist/src/types/messages.dto.d.ts +353 -0
- package/dist/src/types/messages.dto.d.ts.map +1 -0
- package/dist/src/types/moderator.dto.d.ts +12 -19
- package/dist/src/types/moderator.dto.d.ts.map +1 -1
- package/dist/src/types/options.dto.d.ts +2 -2
- package/dist/src/types/options.dto.d.ts.map +1 -1
- package/dist/src/types/overseer.dto.d.ts +29 -16
- package/dist/src/types/overseer.dto.d.ts.map +1 -1
- package/dist/src/types/platform-config.dto.d.ts +83 -0
- package/dist/src/types/platform-config.dto.d.ts.map +1 -0
- package/dist/src/types/priceHistory.dto.d.ts +9 -4
- package/dist/src/types/priceHistory.dto.d.ts.map +1 -1
- package/dist/src/types/restricted-names.dto.d.ts +50 -0
- package/dist/src/types/restricted-names.dto.d.ts.map +1 -0
- package/dist/src/types/result.types.d.ts +1 -1
- package/dist/src/types/result.types.d.ts.map +1 -1
- package/dist/src/types/session-auth.dto.d.ts +10 -2
- package/dist/src/types/session-auth.dto.d.ts.map +1 -1
- package/dist/src/types/stream-chat.dto.d.ts +6 -11
- package/dist/src/types/stream-chat.dto.d.ts.map +1 -1
- package/dist/src/types/streaming-events.dto.d.ts +1 -1
- package/dist/src/types/streaming-events.dto.d.ts.map +1 -1
- package/dist/src/types/streaming.dto.d.ts +61 -22
- package/dist/src/types/streaming.dto.d.ts.map +1 -1
- package/dist/src/types/token-ban.dto.d.ts +7 -8
- package/dist/src/types/token-ban.dto.d.ts.map +1 -1
- package/dist/src/types/token-config.dto.d.ts +80 -0
- package/dist/src/types/token-config.dto.d.ts.map +1 -0
- package/dist/src/types/token.types.d.ts +336 -0
- package/dist/src/types/token.types.d.ts.map +1 -0
- package/dist/src/types/trade.dto.d.ts +5 -11
- package/dist/src/types/trade.dto.d.ts.map +1 -1
- package/dist/src/types/trades-query.dto.d.ts +2 -2
- package/dist/src/types/trades-query.dto.d.ts.map +1 -1
- package/dist/src/types/transfer.dto.d.ts +2 -1
- package/dist/src/types/transfer.dto.d.ts.map +1 -1
- package/dist/src/types/user.dto.d.ts +210 -24
- package/dist/src/types/user.dto.d.ts.map +1 -1
- package/dist/src/types/websocket-admin.dto.d.ts +307 -0
- package/dist/src/types/websocket-admin.dto.d.ts.map +1 -0
- package/dist/src/types/websocket-events.dto.d.ts +360 -0
- package/dist/src/types/websocket-events.dto.d.ts.map +1 -0
- package/dist/src/utils/LiquidityEventExtractor.d.ts +7 -0
- package/dist/src/utils/LiquidityEventExtractor.d.ts.map +1 -1
- package/dist/src/utils/SignatureHelper.d.ts +1 -1
- package/dist/src/utils/SignatureHelper.d.ts.map +1 -1
- package/dist/src/utils/adapters.d.ts +2 -2
- package/dist/src/utils/adapters.d.ts.map +1 -1
- package/dist/src/utils/address-formatter.d.ts +7 -6
- package/dist/src/utils/address-formatter.d.ts.map +1 -1
- package/dist/src/utils/agent-config.d.ts +3 -2
- package/dist/src/utils/agent-config.d.ts.map +1 -1
- package/dist/src/utils/amount-validator.d.ts +1 -1
- package/dist/src/utils/amount-validator.d.ts.map +1 -1
- package/dist/src/utils/api-patterns.d.ts +2 -2
- package/dist/src/utils/api-patterns.d.ts.map +1 -1
- package/dist/src/utils/assetUrls.d.ts +450 -0
- package/dist/src/utils/assetUrls.d.ts.map +1 -0
- package/dist/src/utils/async-patterns.d.ts.map +1 -1
- package/dist/src/utils/auto-pagination.d.ts +90 -1
- package/dist/src/utils/auto-pagination.d.ts.map +1 -1
- package/dist/src/utils/bondingCurveCalculations.d.ts +1 -1
- package/dist/src/utils/bondingCurveCalculations.d.ts.map +1 -1
- package/dist/src/utils/composite-pool-converter.d.ts +3 -3
- package/dist/src/utils/composite-pool-converter.d.ts.map +1 -1
- package/dist/src/utils/crypto-compat.d.ts +40 -0
- package/dist/src/utils/crypto-compat.d.ts.map +1 -0
- package/dist/src/utils/delimiter-parser.d.ts +1 -1
- package/dist/src/utils/delimiter-parser.d.ts.map +1 -1
- package/dist/src/utils/error-factories.d.ts.map +1 -1
- package/dist/src/utils/error-handling-patterns.d.ts +1 -1
- package/dist/src/utils/error-handling-patterns.d.ts.map +1 -1
- package/dist/src/utils/error-utils.d.ts +1 -1
- package/dist/src/utils/errors.d.ts +2 -2
- package/dist/src/utils/errors.d.ts.map +1 -1
- package/dist/src/utils/http-factory.d.ts +1 -1
- package/dist/src/utils/http-factory.d.ts.map +1 -1
- package/dist/src/utils/http.d.ts +4 -4
- package/dist/src/utils/http.d.ts.map +1 -1
- package/dist/src/utils/multipart.d.ts +1 -1
- package/dist/src/utils/multipart.d.ts.map +1 -1
- package/dist/src/utils/numeric-wrappers.d.ts +4 -1
- package/dist/src/utils/numeric-wrappers.d.ts.map +1 -1
- package/dist/src/utils/pagination-helpers.d.ts +17 -86
- package/dist/src/utils/pagination-helpers.d.ts.map +1 -1
- package/dist/src/utils/pagination-validation.d.ts +88 -0
- package/dist/src/utils/pagination-validation.d.ts.map +1 -0
- package/dist/src/utils/pool-state-validator.d.ts +2 -2
- package/dist/src/utils/pool-state-validator.d.ts.map +1 -1
- package/dist/src/utils/primitives.d.ts +76 -0
- package/dist/src/utils/primitives.d.ts.map +1 -0
- package/dist/src/utils/query-params.d.ts +14 -6
- package/dist/src/utils/query-params.d.ts.map +1 -1
- package/dist/src/utils/response-handlers.d.ts.map +1 -1
- package/dist/src/utils/response-normalizers.d.ts +2 -2
- package/dist/src/utils/response-normalizers.d.ts.map +1 -1
- package/dist/src/utils/string-patterns.d.ts +2 -2
- package/dist/src/utils/swap-delta-calculator.d.ts +3 -3
- package/dist/src/utils/swap-delta-calculator.d.ts.map +1 -1
- package/dist/src/utils/tick-crossing-handler.d.ts +1 -1
- package/dist/src/utils/tick-crossing-handler.d.ts.map +1 -1
- package/dist/src/utils/token-format-converter.d.ts.map +1 -1
- package/dist/src/utils/token-parser.d.ts.map +1 -1
- package/dist/src/utils/tokenNormalizer.d.ts +1 -1
- package/dist/src/utils/tokenNormalizer.d.ts.map +1 -1
- package/dist/src/utils/trade-transformers.d.ts +2 -2
- package/dist/src/utils/trade-transformers.d.ts.map +1 -1
- package/dist/src/utils/validation-helpers.d.ts +22 -114
- package/dist/src/utils/validation-helpers.d.ts.map +1 -1
- package/dist/src/utils/validation-patterns.d.ts +23 -0
- package/dist/src/utils/validation-patterns.d.ts.map +1 -1
- package/dist/src/utils/validation.d.ts +2 -2
- package/dist/src/utils/validation.d.ts.map +1 -1
- package/dist/src/utils/wallet.d.ts.map +1 -1
- package/dist/src/utils/websocket-validators.d.ts +1 -1
- package/dist/src/utils/websocket-validators.d.ts.map +1 -1
- package/dist/src/wallet/ExternalWalletProvider.d.ts +109 -0
- package/dist/src/wallet/ExternalWalletProvider.d.ts.map +1 -0
- package/dist/src/wallet/GalaChainConnectProvider.d.ts +125 -0
- package/dist/src/wallet/GalaChainConnectProvider.d.ts.map +1 -0
- package/dist/src/wallet/GalaWalletProvider.d.ts +139 -0
- package/dist/src/wallet/GalaWalletProvider.d.ts.map +1 -0
- package/dist/src/wallet/PrivateKeyProvider.d.ts +90 -0
- package/dist/src/wallet/PrivateKeyProvider.d.ts.map +1 -0
- package/dist/src/wallet/detection.d.ts +107 -0
- package/dist/src/wallet/detection.d.ts.map +1 -0
- package/dist/src/wallet/index.d.ts +52 -0
- package/dist/src/wallet/index.d.ts.map +1 -0
- package/dist/src/wallet/types.d.ts +267 -0
- package/dist/src/wallet/types.d.ts.map +1 -0
- package/dist/src/wallet/utils.d.ts +117 -0
- package/dist/src/wallet/utils.d.ts.map +1 -0
- package/dist/wallet.cjs.js +1 -0
- package/dist/wallet.esm.js +1 -0
- package/package.json +117 -27
- package/dist/src/services/ChatMessagesService.d.ts +0 -152
- package/dist/src/services/ChatMessagesService.d.ts.map +0 -1
- package/dist/src/services/CommentService.d.ts +0 -119
- package/dist/src/services/CommentService.d.ts.map +0 -1
- package/dist/src/services/CommentsService.d.ts +0 -155
- package/dist/src/services/CommentsService.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,87 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.0.0
|
|
4
|
+
|
|
5
|
+
### BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
- **`getStreamInfo()` method REMOVED** - Consolidated into `fetchToken()`
|
|
8
|
+
- **Removed**: v6.0.0
|
|
9
|
+
- **Status**: No longer available (previously worked in v5.x)
|
|
10
|
+
- **Replacement**: `fetchToken(tokenName)` - Returns PoolData with streaming fields
|
|
11
|
+
- **Why**: Eliminated redundant API method. Streaming fields now consolidated in PoolData response. Single `fetchToken()` call provides all token data (pool metrics + streaming info) instead of separate calls.
|
|
12
|
+
- **Impact**: MUST update code before upgrading to v6.0.0
|
|
13
|
+
|
|
14
|
+
**Migration Path:**
|
|
15
|
+
```typescript
|
|
16
|
+
// ❌ REMOVED in v6.0.0 - NO LONGER WORKS
|
|
17
|
+
const info = await sdk.getStreamInfo('mytoken');
|
|
18
|
+
console.log(`Live: ${info.isLive}, Viewers: ${info.viewerCount}`);
|
|
19
|
+
|
|
20
|
+
// ✅ NEW (v6.0.0+) - Use fetchToken instead
|
|
21
|
+
const pool = await sdk.fetchToken('mytoken');
|
|
22
|
+
console.log(`Status: ${pool.muxStreamStatus}`); // 'IDLE' | 'ACTIVE' | 'DISABLED'
|
|
23
|
+
console.log(`Viewers: ${pool.currentViewerCount}`);
|
|
24
|
+
console.log(`Playback: ${pool.playbackId}`);
|
|
25
|
+
console.log(`Aspect Ratio: ${pool.aspectRatio}`);
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Streaming Fields Now in PoolData**:
|
|
29
|
+
- `playbackId`: string | null (viewer playback ID)
|
|
30
|
+
- `aspectRatio`: string (e.g., "16:9", "9:16")
|
|
31
|
+
- `muxStreamStatus`: 'IDLE' | 'ACTIVE' | 'DISABLED'
|
|
32
|
+
- `nextLiveStreamAt`: string | null (ISO 8601 scheduled time)
|
|
33
|
+
- `language`: string (ISO 639-1 code, e.g., "en", "es")
|
|
34
|
+
- `streamEnabled`: boolean
|
|
35
|
+
- `currentViewerCount`: number (live viewers, v5.7.0+)
|
|
36
|
+
- `peakViewerCount`: number (peak in session, v5.7.0+)
|
|
37
|
+
- `streamStartedAt`: string | null (when stream became active, v5.7.0+)
|
|
38
|
+
- `lastStreamedAt`: string | null (last streaming timestamp, v5.7.0+)
|
|
39
|
+
- `recordingsCount`: number (total recordings, v5.8.0+)
|
|
40
|
+
- `totalSecondsStreamed`: number (cumulative duration, v5.8.0+)
|
|
41
|
+
|
|
42
|
+
### New Features
|
|
43
|
+
|
|
44
|
+
- **`fetchToken(tokenName)` method** - Unified token data retrieval with streaming
|
|
45
|
+
- Returns complete PoolData object with all token and streaming information
|
|
46
|
+
- Replaces separate getStreamInfo() call
|
|
47
|
+
- Single API request for all token data
|
|
48
|
+
- All streaming fields consolidated in response
|
|
49
|
+
- Streaming data always available (no separate call needed)
|
|
50
|
+
- Example: `const pool = await sdk.fetchToken('mytoken')`
|
|
51
|
+
|
|
52
|
+
- **`validateToken(options)` method** - Token name/symbol validation for creation
|
|
53
|
+
- Real-time form validation support
|
|
54
|
+
- Checks name and/or symbol availability
|
|
55
|
+
- Returns blocklist status and validation errors
|
|
56
|
+
- Use cases: token creation workflows, form validation, pre-launch checks
|
|
57
|
+
- Example: `const result = await sdk.validateToken({ tokenName: 'mytoken', symbol: 'MYT' })`
|
|
58
|
+
|
|
59
|
+
### Benefits
|
|
60
|
+
|
|
61
|
+
- **Reduced API calls**: One `fetchToken()` call provides all data (previously required separate pool + streaming calls)
|
|
62
|
+
- **Cleaner architecture**: No redundant getStreamInfo() method
|
|
63
|
+
- **Better DX**: All token data in single PoolData object with type safety
|
|
64
|
+
- **Form validation**: New `validateToken()` enables real-time validation for token creation
|
|
65
|
+
- **Unified response**: Streaming fields integrated into standard PoolData response structure
|
|
66
|
+
|
|
67
|
+
### Migration Checklist
|
|
68
|
+
|
|
69
|
+
- [ ] Replace all `getStreamInfo()` calls with `fetchToken()`
|
|
70
|
+
- [ ] Update streaming field access patterns (muxStreamStatus, playbackId, etc.)
|
|
71
|
+
- [ ] Test pool data access for all streaming fields
|
|
72
|
+
- [ ] Add `validateToken()` for token creation form validation if needed
|
|
73
|
+
- [ ] Run full test suite against v6.0.0
|
|
74
|
+
- [ ] Update any documentation/guides referencing old methods
|
|
75
|
+
|
|
76
|
+
### Expected Impact
|
|
77
|
+
|
|
78
|
+
- **Bundle size**: Minimal change (removed getStreamInfo method, added fetchToken + validateToken)
|
|
79
|
+
- **API calls**: Reduced (consolidated streaming into pool fetch)
|
|
80
|
+
- **Code maintenance**: Improved (unified response structure)
|
|
81
|
+
- **Developer experience**: Enhanced (single method for all token data, real-time validation)
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
3
85
|
## 4.0.0
|
|
4
86
|
|
|
5
87
|
### BREAKING CHANGES
|
package/EXAMPLES.md
CHANGED
|
@@ -6,6 +6,7 @@ Practical code examples for common SDK operations organized by category. For com
|
|
|
6
6
|
|
|
7
7
|
## Table of Contents
|
|
8
8
|
|
|
9
|
+
- [Token Format Decision Tree](#token-format-decision-tree) ⭐ **READ THIS FIRST**
|
|
9
10
|
- [Quick Start](#quick-start)
|
|
10
11
|
- [Recommended Learning Path](#recommended-learning-path)
|
|
11
12
|
- [Core Operations](#core-operations)
|
|
@@ -21,6 +22,104 @@ Practical code examples for common SDK operations organized by category. For com
|
|
|
21
22
|
|
|
22
23
|
---
|
|
23
24
|
|
|
25
|
+
## Token Format Decision Tree
|
|
26
|
+
|
|
27
|
+
**The SDK uses TWO different token identifier formats. Using the wrong one causes errors.**
|
|
28
|
+
|
|
29
|
+
### Which Format Should I Use?
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
Q: What operation am I performing?
|
|
33
|
+
│
|
|
34
|
+
├── Buying/selling tokens on bonding curve (pre-graduation)?
|
|
35
|
+
│ └── Use tokenName: sdk.buy({ tokenName: 'anime', amount: '100', type: 'native' })
|
|
36
|
+
│
|
|
37
|
+
├── Swapping on DEX (GALA, GUSDC, graduated tokens)?
|
|
38
|
+
│ └── Use tokenClassKey: sdk.executeSwap('GALA|Unit|none|none', 'GUSDC|Unit|none|eth:0xa0b...', ...)
|
|
39
|
+
│
|
|
40
|
+
├── Managing liquidity positions on DEX?
|
|
41
|
+
│ └── Use tokenClassKey: sdk.addSwapLiquidityByPrice({ token0: 'GALA|Unit|none|none', ... })
|
|
42
|
+
│
|
|
43
|
+
├── Transferring tokens?
|
|
44
|
+
│ ├── Launchpad token? → sdk.transferToken({ tokenName: 'anime', ... })
|
|
45
|
+
│ └── Standard GalaChain token? → sdk.transferToken({ tokenId: 'GALA|Unit|none|none', ... })
|
|
46
|
+
│
|
|
47
|
+
├── Checking prices?
|
|
48
|
+
│ └── Either works: sdk.fetchTokenPrice({ tokenName: 'anime' })
|
|
49
|
+
│ OR sdk.fetchTokenPrice({ tokenId: 'GALA|Unit|none|none' })
|
|
50
|
+
│
|
|
51
|
+
└── Graduating a token from bonding curve to DEX?
|
|
52
|
+
└── Use tokenName: sdk.graduateToken({ tokenName: 'anime' })
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Format Reference
|
|
56
|
+
|
|
57
|
+
| Format | Pattern | Example | Used For |
|
|
58
|
+
|--------|---------|---------|----------|
|
|
59
|
+
| **tokenName** | Simple lowercase, 3-20 chars | `'anime'` | Bonding curve ops |
|
|
60
|
+
| **tokenClassKey** | `collection\|category\|type\|additionalKey` | `'GALA\|Unit\|none\|none'` | DEX ops, LP, standard tokens |
|
|
61
|
+
|
|
62
|
+
### Common Well-Known Tokens
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
// Standard tokens (always use tokenClassKey format)
|
|
66
|
+
const GALA = 'GALA|Unit|none|none';
|
|
67
|
+
const GUSDC = 'GUSDC|Unit|none|eth:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48';
|
|
68
|
+
const WETH = 'GETH|Unit|none|eth:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2';
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Common Mistakes Table
|
|
72
|
+
|
|
73
|
+
| ❌ Wrong | ✅ Correct | Why |
|
|
74
|
+
|----------|------------|-----|
|
|
75
|
+
| `sdk.executeSwap('GALA', ...)` | `sdk.executeSwap('GALA\|Unit\|none\|none', ...)` | DEX requires full tokenClassKey |
|
|
76
|
+
| `sdk.buy({ tokenName: 'ANIME\|Unit\|...' })` | `sdk.buy({ tokenName: 'anime' })` | Bonding curve uses simple names |
|
|
77
|
+
| `sdk.getSwapQuoteExactInput('anime', ...)` | Get tokenClassKey from pool, then use it | DEX needs resolved tokenClassKey |
|
|
78
|
+
| Assuming `buy()` works for graduated tokens | Check `isGraduated`, use DEX if true | Graduated tokens are on DEX |
|
|
79
|
+
|
|
80
|
+
### Detecting Graduation Status
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
// Check if a token has graduated from bonding curve to DEX
|
|
84
|
+
const pool = await sdk.fetchPools({ tokenName: 'anime' });
|
|
85
|
+
const isGraduated = pool.items[0]?.isGraduated ?? false;
|
|
86
|
+
|
|
87
|
+
if (isGraduated) {
|
|
88
|
+
// Token is on DEX - get its tokenClassKey for DEX operations
|
|
89
|
+
// ⚠️ IMPORTANT: Always query for tokenClassKey - never construct it!
|
|
90
|
+
// The symbol in tokenClassKey may differ from tokenName
|
|
91
|
+
const tokenClassKey = pool.items[0]?.tokenClassKey;
|
|
92
|
+
console.log(`Use tokenClassKey for DEX: ${tokenClassKey}`);
|
|
93
|
+
} else {
|
|
94
|
+
// Token is still on bonding curve - use tokenName
|
|
95
|
+
console.log('Use tokenName for bonding curve: anime');
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Full Method Reference
|
|
100
|
+
|
|
101
|
+
| Method | tokenName | tokenClassKey | Notes |
|
|
102
|
+
|--------|:---------:|:-------------:|-------|
|
|
103
|
+
| `buy()` | ✅ | ❌ | Bonding curve only |
|
|
104
|
+
| `sell()` | ✅ | ❌ | Bonding curve only |
|
|
105
|
+
| `graduateToken()` | ✅ | ❌ | Triggers DEX migration |
|
|
106
|
+
| `calculateBuyAmount()` | ✅ | ❌ | Pre-trade calculation |
|
|
107
|
+
| `calculateSellAmount()` | ✅ | ❌ | Pre-trade calculation |
|
|
108
|
+
| `fetchPools()` | ✅ | ❌ | Query bonding curve pools |
|
|
109
|
+
| `executeSwap()` | ❌ | ✅ | DEX only |
|
|
110
|
+
| `getSwapQuoteExactInput()` | ❌ | ✅ | DEX quotes |
|
|
111
|
+
| `getSwapQuoteExactOutput()` | ❌ | ✅ | DEX quotes |
|
|
112
|
+
| `addSwapLiquidityByPrice()` | ❌ | ✅ | LP operations |
|
|
113
|
+
| `removeSwapLiquidity()` | ❌ | ✅ | LP operations |
|
|
114
|
+
| `fetchTokenPrice()` | ✅ | ✅ | Smart router auto-detects |
|
|
115
|
+
| `transferToken()` | ✅ | ✅ | Both work (different paths) |
|
|
116
|
+
| `lockTokens()` | ✅ | ✅ | Both work |
|
|
117
|
+
| `fetchTokenBalance()` | ✅ | ✅ | Both work |
|
|
118
|
+
|
|
119
|
+
> **See Also:** For complete type definitions and utilities, see [`src/types/token.types.ts`](./src/types/token.types.ts)
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
24
123
|
## Quick Start
|
|
25
124
|
|
|
26
125
|
### Installation
|
package/README.md
CHANGED
|
@@ -77,7 +77,9 @@ console.log(pools.meta.page < pools.meta.totalPages); // Has more pages
|
|
|
77
77
|
- **External Wallet Balances**: Query Ethereum and Solana wallet balances (single-token or full portfolio)
|
|
78
78
|
- **Live Streaming**: Start/stop streams, manage recordings and simulcast targets for token pools (v5.1.0+)
|
|
79
79
|
- **Stream Chat**: Real-time chat messaging via REST and WebSocket with admin controls (v5.1.0+)
|
|
80
|
-
- **
|
|
80
|
+
- **Events Tracking**: SDK-side event batching with automatic persistence and overseer monitoring (v8.2.0+)
|
|
81
|
+
- **Global Feed**: Unified real-time event stream for token updates and site configuration changes (v7.0.0+)
|
|
82
|
+
- **Overseer System**: Global platform oversight with CCTV dashboard, invite management, platform summary, and cache management (v5.9.0+)
|
|
81
83
|
- **Moderator System**: Token-scoped moderation with magic link invites (v5.7.0+)
|
|
82
84
|
- **Content Flags**: Report and manage flagged content with two-tier review system (v5.8.0+)
|
|
83
85
|
- **User Bans**: Per-token and global user banning with active user tracking (v5.5.0+)
|
|
@@ -560,12 +562,11 @@ const pools = await sdk.fetchDexPools({
|
|
|
560
562
|
search: 'GALA', // Filter by token symbol
|
|
561
563
|
sortBy: 'tvl', // Sort options: tvl, volume30d, volume1d
|
|
562
564
|
sortOrder: 'desc', // asc or desc
|
|
563
|
-
|
|
564
|
-
limit: 10 // Results per page (default: 10, max: 20)
|
|
565
|
+
pageSize: 20 // Results per page (default: 20, max: 50)
|
|
565
566
|
});
|
|
566
567
|
|
|
567
|
-
console.log(`Found ${pools.meta
|
|
568
|
-
console.log(`Showing ${pools.items.length} pools
|
|
568
|
+
console.log(`Found ${pools.meta?.total || 'many'} pools`);
|
|
569
|
+
console.log(`Showing ${pools.items.length} pools with cursor-based pagination`);
|
|
569
570
|
|
|
570
571
|
// Fetch ALL pools with automatic pagination
|
|
571
572
|
const allPools = await sdk.fetchAllDexPools({
|
|
@@ -623,7 +624,7 @@ console.log(`APR: ${topPool.apr1d.toFixed(2)}%`);
|
|
|
623
624
|
const galaPools = await sdk.fetchDexPools({
|
|
624
625
|
search: 'GALA',
|
|
625
626
|
sortBy: 'tvl',
|
|
626
|
-
|
|
627
|
+
pageSize: 20
|
|
627
628
|
});
|
|
628
629
|
|
|
629
630
|
galaPools.items.forEach(pool => {
|
|
@@ -655,20 +656,35 @@ bestAprPools.forEach(pool => {
|
|
|
655
656
|
|
|
656
657
|
### Pagination
|
|
657
658
|
|
|
658
|
-
The SDK
|
|
659
|
+
The SDK uses cursor-based pagination with configurable page sizes. Use `fetchAllDexPools()` for complete enumeration:
|
|
659
660
|
|
|
660
661
|
```typescript
|
|
661
|
-
//
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
console.log(`
|
|
665
|
-
console.log(`Has next: ${
|
|
662
|
+
// Cursor-based discovery (20 max per page)
|
|
663
|
+
let cursor: string | undefined;
|
|
664
|
+
const result = await sdk.fetchDexPools({ pageSize: 20, cursor });
|
|
665
|
+
console.log(`Showing: ${result.items.length} pools`);
|
|
666
|
+
console.log(`Has next: ${result.pageInfo?.hasNextPage}`);
|
|
667
|
+
if (result.pageInfo?.hasNextPage) cursor = result.pageInfo?.nextCursor;
|
|
666
668
|
|
|
667
669
|
// Automatic pagination - get all at once
|
|
668
670
|
const allAtOnce = await sdk.fetchAllDexPools();
|
|
669
671
|
console.log(`All pools: ${allAtOnce.items.length}`);
|
|
670
672
|
```
|
|
671
673
|
|
|
674
|
+
**Cursor-Based Pagination Loop:**
|
|
675
|
+
```typescript
|
|
676
|
+
// Manually iterate through paginated results using cursors
|
|
677
|
+
let cursor: string | undefined;
|
|
678
|
+
const allPools = [];
|
|
679
|
+
while (true) {
|
|
680
|
+
const result = await sdk.fetchDexPools({ pageSize: 20, cursor });
|
|
681
|
+
allPools.push(...result.items);
|
|
682
|
+
if (!result.pageInfo?.hasNextPage) break;
|
|
683
|
+
cursor = result.pageInfo?.nextCursor;
|
|
684
|
+
}
|
|
685
|
+
console.log(`Retrieved ${allPools.length} total pools`);
|
|
686
|
+
```
|
|
687
|
+
|
|
672
688
|
### Development vs Production Environments
|
|
673
689
|
|
|
674
690
|
The SDK automatically uses the correct DEX backend based on your environment configuration:
|
|
@@ -865,9 +881,9 @@ const sdk = createLaunchpadSDK({
|
|
|
865
881
|
// Clean, direct result access - All methods use options objects
|
|
866
882
|
|
|
867
883
|
// Pool Management - Direct result properties
|
|
868
|
-
const pools = await sdk.fetchPools({ type: 'recent',
|
|
869
|
-
console.log(`Found ${pools.total} pools
|
|
870
|
-
console.log(`
|
|
884
|
+
const pools = await sdk.fetchPools({ type: 'recent', pageSize: 20 });
|
|
885
|
+
console.log(`Found ${pools.meta?.total} pools`);
|
|
886
|
+
console.log(`Has next page: ${pools.pageInfo?.hasNextPage}`);
|
|
871
887
|
|
|
872
888
|
const badges = await sdk.fetchTokenBadges('dragnrkti');
|
|
873
889
|
console.log(`Volume badges: ${badges.volumeBadges.length}`);
|
|
@@ -944,18 +960,18 @@ const sdk = createLaunchpadSDK({
|
|
|
944
960
|
|
|
945
961
|
// MODE 1: Single Page (backward compatible)
|
|
946
962
|
// Limit <= 20: Single API call
|
|
947
|
-
const recent = await sdk.fetchPools({ type: 'recent',
|
|
963
|
+
const recent = await sdk.fetchPools({ type: 'recent', pageSize: 20 });
|
|
948
964
|
console.log(`Fetched ${recent.items.length} pools in one request`);
|
|
949
965
|
|
|
950
966
|
// MODE 2: Multi-Page Auto-Fetch
|
|
951
967
|
// Limit > 20: Automatic concurrent multi-page fetching
|
|
952
|
-
const large = await sdk.fetchPools({ type: 'popular',
|
|
968
|
+
const large = await sdk.fetchPools({ type: 'popular', pageSize: 100 });
|
|
953
969
|
console.log(`Fetched ${large.items.length} pools across multiple pages`);
|
|
954
|
-
// Internally
|
|
970
|
+
// Internally uses cursor-based pagination to efficiently fetch all items
|
|
955
971
|
|
|
956
972
|
// MODE 3: Infinite Fetch
|
|
957
973
|
// Limit = 0: Fetches ALL available pools
|
|
958
|
-
const all = await sdk.
|
|
974
|
+
const all = await sdk.fetchAllPools();
|
|
959
975
|
console.log(`Fetched all ${all.items.length} pools from the platform`);
|
|
960
976
|
|
|
961
977
|
// Convenience method for "fetch all" pattern
|
|
@@ -1040,7 +1056,7 @@ const dragons = await sdk.fetchAllPools({ search: 'dragon' });
|
|
|
1040
1056
|
// Fetch specific token across all results
|
|
1041
1057
|
const specific = await sdk.fetchAllPools({ tokenName: 'anime' });
|
|
1042
1058
|
|
|
1043
|
-
//
|
|
1059
|
+
// Automatic pagination handles all pages internally
|
|
1044
1060
|
const all = await sdk.fetchAllPools();
|
|
1045
1061
|
```
|
|
1046
1062
|
|
|
@@ -1107,10 +1123,10 @@ const sdk = createLaunchpadSDK({
|
|
|
1107
1123
|
// 2. Check available pools - direct access to results
|
|
1108
1124
|
const pools = await sdk.fetchPools({
|
|
1109
1125
|
type: 'recent',
|
|
1110
|
-
|
|
1126
|
+
pageSize: 20
|
|
1111
1127
|
});
|
|
1112
1128
|
|
|
1113
|
-
console.log(`Found ${pools.meta.total} pools
|
|
1129
|
+
console.log(`Found ${pools.meta.total} pools`);
|
|
1114
1130
|
pools.items.forEach(pool => {
|
|
1115
1131
|
console.log(`Pool: ${pool.tokenName} created at ${pool.createdAt}`);
|
|
1116
1132
|
});
|
|
@@ -1544,12 +1560,12 @@ const invalidKey3 = '0x123'; // Too short
|
|
|
1544
1560
|
```typescript
|
|
1545
1561
|
// Pool Management
|
|
1546
1562
|
fetchPools(options?): Promise<PoolsResult>
|
|
1547
|
-
// Returns: {
|
|
1548
|
-
// Supports
|
|
1563
|
+
// Returns: { items, meta: { total }, pageInfo: { hasNextPage, nextCursor } }
|
|
1564
|
+
// Supports cursor-based pagination with configurable pageSize
|
|
1549
1565
|
|
|
1550
1566
|
fetchAllPools(options?): Promise<PoolsResult>
|
|
1551
|
-
// Returns: {
|
|
1552
|
-
// Convenience method that fetches ALL pools
|
|
1567
|
+
// Returns: { items, meta: { total }, pageInfo: { hasNextPage } }
|
|
1568
|
+
// Convenience method that fetches ALL pools using cursor-based pagination
|
|
1553
1569
|
|
|
1554
1570
|
fetchTokenDistribution(tokenName): Promise<TokenDistributionResult>
|
|
1555
1571
|
// Returns: { holders, totalSupply, totalHolders, lastUpdated }
|
|
@@ -1569,7 +1585,7 @@ fetchVolumeData(options): Promise<GraphDataResult>
|
|
|
1569
1585
|
|
|
1570
1586
|
// Trade & User Data
|
|
1571
1587
|
fetchTrades(options): Promise<TradesResult>
|
|
1572
|
-
// Returns: {
|
|
1588
|
+
// Returns: { items, meta: { total }, pageInfo: { hasNextPage, nextCursor } }
|
|
1573
1589
|
|
|
1574
1590
|
fetchGalaBalance(address?): Promise<GalaBalanceInfo>
|
|
1575
1591
|
// Returns: { userAddress, balance, decimals, lastUpdated }
|
|
@@ -1578,7 +1594,7 @@ fetchTokenBalance(options): Promise<TokenBalanceInfo>
|
|
|
1578
1594
|
// Returns: { quantity, holdingPriceUsd, holdingPriceGala, isFinalized, ... }
|
|
1579
1595
|
|
|
1580
1596
|
fetchComments(options): Promise<CommentsResult>
|
|
1581
|
-
// Returns: {
|
|
1597
|
+
// Returns: { items, meta: { total }, pageInfo: { hasNextPage, nextCursor } }
|
|
1582
1598
|
|
|
1583
1599
|
fetchProfile(address?): Promise<UserProfile>
|
|
1584
1600
|
// Returns: { fullName, profileImage, address, ... }
|
|
@@ -1630,7 +1646,7 @@ fetchPriceHistory(options): Promise<PriceHistoryResult>
|
|
|
1630
1646
|
// Token identification (provide EXACTLY ONE):
|
|
1631
1647
|
// - tokenName: Simple token name (e.g., "demonkpop") - auto-resolves to tokenId
|
|
1632
1648
|
// - tokenId: Full token class key (e.g., "Token|Unit|DKP|eth:...")
|
|
1633
|
-
// Returns: {
|
|
1649
|
+
// Returns: { items, meta: { total }, pageInfo: { hasNextPage, nextCursor } }
|
|
1634
1650
|
// Fetches paginated historical price snapshots from DEX Backend API
|
|
1635
1651
|
|
|
1636
1652
|
fetchAllPriceHistory(options): Promise<PriceHistoryResult>
|
|
@@ -1897,7 +1913,7 @@ let cacheInfo = sdk.getCacheInfo();
|
|
|
1897
1913
|
console.log('Cached tokens:', cacheInfo.totalTokens); // 0
|
|
1898
1914
|
|
|
1899
1915
|
// Fetch pools - automatically warms cache with RBC fees and vault addresses
|
|
1900
|
-
await sdk.fetchPools({ type: 'recent',
|
|
1916
|
+
await sdk.fetchPools({ type: 'recent', pageSize: 20 });
|
|
1901
1917
|
|
|
1902
1918
|
// After fetching - cache is warmed with 20 tokens
|
|
1903
1919
|
cacheInfo = sdk.getCacheInfo();
|
|
@@ -1945,9 +1961,9 @@ console.log('Instant result:', calc.amount); // <1ms, used cached RBC fees
|
|
|
1945
1961
|
|
|
1946
1962
|
```typescript
|
|
1947
1963
|
// Cache automatically manages size
|
|
1948
|
-
await sdk.fetchPools({
|
|
1949
|
-
await sdk.fetchPools({
|
|
1950
|
-
await sdk.fetchPools({
|
|
1964
|
+
await sdk.fetchPools({ pageSize: 100 }); // Fetches 100 tokens
|
|
1965
|
+
await sdk.fetchPools({ pageSize: 100 }); // Fetches 100 more tokens
|
|
1966
|
+
await sdk.fetchPools({ pageSize: 100 }); // ... continues
|
|
1951
1967
|
|
|
1952
1968
|
// When 10,000 limit reached, oldest tokens are evicted automatically
|
|
1953
1969
|
const stats = sdk.getCacheInfo();
|
|
@@ -2013,7 +2029,7 @@ const sdk = createLaunchpadSDK({
|
|
|
2013
2029
|
|
|
2014
2030
|
// 1. Warm cache by fetching pools
|
|
2015
2031
|
console.log('Warming cache...');
|
|
2016
|
-
await sdk.fetchPools({ type: 'popular',
|
|
2032
|
+
await sdk.fetchPools({ type: 'popular', pageSize: 50 });
|
|
2017
2033
|
|
|
2018
2034
|
// 2. Check cache statistics
|
|
2019
2035
|
const stats = sdk.getCacheInfo();
|
|
@@ -2082,8 +2098,7 @@ const sdk = createLaunchpadSDK({
|
|
|
2082
2098
|
// ✅ NEW: Use simple token name (auto-resolves to full token ID)
|
|
2083
2099
|
const recentHistory = await sdk.fetchPriceHistory({
|
|
2084
2100
|
tokenName: 'demonkpop', // Simple, intuitive token name
|
|
2085
|
-
|
|
2086
|
-
limit: 20
|
|
2101
|
+
pageSize: 20
|
|
2087
2102
|
});
|
|
2088
2103
|
|
|
2089
2104
|
console.log(`Latest price: $${recentHistory.snapshots[0].price}`);
|
|
@@ -2092,8 +2107,7 @@ console.log(`Total snapshots: ${recentHistory.total}`);
|
|
|
2092
2107
|
// ✅ STILL WORKS: Direct token ID (for advanced use cases)
|
|
2093
2108
|
const historyWithId = await sdk.fetchPriceHistory({
|
|
2094
2109
|
tokenId: 'Token|Unit|DKP|eth:4A65D29213de2939373ff9eB63AC38730F192C84',
|
|
2095
|
-
|
|
2096
|
-
limit: 20
|
|
2110
|
+
pageSize: 20
|
|
2097
2111
|
});
|
|
2098
2112
|
```
|
|
2099
2113
|
|
|
@@ -2106,7 +2120,7 @@ const monthlyHistory = await sdk.fetchPriceHistory({
|
|
|
2106
2120
|
from: new Date('2025-01-01'),
|
|
2107
2121
|
to: new Date('2025-02-01'),
|
|
2108
2122
|
sortOrder: 'ASC', // Chronological order for analysis
|
|
2109
|
-
|
|
2123
|
+
pageSize: 50
|
|
2110
2124
|
});
|
|
2111
2125
|
|
|
2112
2126
|
const prices = monthlyHistory.snapshots.map(s => parseFloat(s.price));
|
|
@@ -2129,7 +2143,7 @@ const recentData = await sdk.fetchPriceHistory({
|
|
|
2129
2143
|
tokenName: 'demonkpop',
|
|
2130
2144
|
from: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000), // Last 7 days
|
|
2131
2145
|
sortOrder: 'DESC',
|
|
2132
|
-
|
|
2146
|
+
pageSize: 20
|
|
2133
2147
|
});
|
|
2134
2148
|
|
|
2135
2149
|
const ma7 = recentData.snapshots
|
|
@@ -2171,15 +2185,13 @@ try {
|
|
|
2171
2185
|
// ❌ BEFORE (v3.19 and earlier) - Had to provide full token class key
|
|
2172
2186
|
const history = await sdk.fetchPriceHistory({
|
|
2173
2187
|
tokenId: 'Token|Unit|DKP|eth:4A65D29213de2939373ff9eB63AC38730F192C84',
|
|
2174
|
-
|
|
2175
|
-
limit: 10
|
|
2188
|
+
pageSize: 10
|
|
2176
2189
|
});
|
|
2177
2190
|
|
|
2178
2191
|
// ✅ AFTER (v3.20+) - Simple token name, auto-resolves internally
|
|
2179
2192
|
const history = await sdk.fetchPriceHistory({
|
|
2180
2193
|
tokenName: 'demonkpop',
|
|
2181
|
-
|
|
2182
|
-
limit: 10
|
|
2194
|
+
pageSize: 10
|
|
2183
2195
|
});
|
|
2184
2196
|
```
|
|
2185
2197
|
|
|
@@ -2456,6 +2468,22 @@ uploadProfileImage(options): Promise<ImageUploadResult>
|
|
|
2456
2468
|
// Returns: { imageUrl, success, ... }
|
|
2457
2469
|
```
|
|
2458
2470
|
|
|
2471
|
+
### **Token Data & Validation (v6.0.0+)**
|
|
2472
|
+
|
|
2473
|
+
```typescript
|
|
2474
|
+
// Fetch complete token data with streaming information consolidated
|
|
2475
|
+
fetchToken(tokenName: string): Promise<PoolData>
|
|
2476
|
+
// Returns: Complete pool data including streaming fields (playbackId, muxStreamStatus, currentViewerCount, etc.)
|
|
2477
|
+
// Example: const pool = await sdk.fetchToken('mytoken');
|
|
2478
|
+
|
|
2479
|
+
// Validate token name/symbol for creation or form validation
|
|
2480
|
+
validateToken(options: { tokenName?: string, symbol?: string }): Promise<ValidateTokenResponse>
|
|
2481
|
+
// Returns: { nameAvailable, symbolAvailable, nameBlocklisted, symbolBlocklisted, errors }
|
|
2482
|
+
// Example: const result = await sdk.validateToken({ tokenName: 'mytoken', symbol: 'MYT' });
|
|
2483
|
+
```
|
|
2484
|
+
|
|
2485
|
+
**Migration Note (v6.0.0)**: `getStreamInfo()` was removed. Use `fetchToken()` instead - streaming fields now consolidated in PoolData response.
|
|
2486
|
+
|
|
2459
2487
|
### **Validation & Utilities**
|
|
2460
2488
|
- `isTokenNameAvailable(tokenName: string): Promise<boolean>`
|
|
2461
2489
|
- `isTokenSymbolAvailable(symbol: string): Promise<boolean>`
|
|
@@ -2705,6 +2733,13 @@ npm run lint
|
|
|
2705
2733
|
- [NFT Quick Reference](./docs/NFT_QUICK_REFERENCE.md) - Quick lookup for NFT collection, token class, and minting operations with fee schedules
|
|
2706
2734
|
- [NFT Operations Guide](./docs/NFT_OPERATIONS.md) - Complete guide for claiming collections, creating token classes, minting NFTs, and querying NFT data
|
|
2707
2735
|
|
|
2736
|
+
### WebSocket & Real-Time Events
|
|
2737
|
+
|
|
2738
|
+
- [WebSocket Documentation Hub](./docs/websocket/) - Complete guide to WebSocket connections and real-time events
|
|
2739
|
+
- [Global Feed Quick Start](./docs/websocket/QUICKSTART.md) - Get real-time updates in 5 minutes
|
|
2740
|
+
- [Global Feed Guide](./docs/websocket/GLOBAL-FEED.md) - Comprehensive guide to unified event streaming
|
|
2741
|
+
- [WebSocket Authentication](./docs/websocket/AUTHENTICATION.md) - JWT authentication and security best practices
|
|
2742
|
+
|
|
2708
2743
|
### Demo Scripts
|
|
2709
2744
|
|
|
2710
2745
|
The SDK includes 36 comprehensive demo scripts organized into logical categories for easy discovery and learning.
|
|
@@ -2931,7 +2966,7 @@ LaunchpadService uses a **facade pattern** internally, delegating to specialized
|
|
|
2931
2966
|
LaunchpadService (facade)
|
|
2932
2967
|
├── PoolService - Pool queries, distribution, badges, volume data
|
|
2933
2968
|
│ ├── fetchPools() - Supports auto-pagination (v3.11.0+)
|
|
2934
|
-
│ ├── fetchAllPools() - Convenience method for
|
|
2969
|
+
│ ├── fetchAllPools() - Convenience method for fetching all pools
|
|
2935
2970
|
│ └── ...other pool operations
|
|
2936
2971
|
├── TradeService - Trade history and queries
|
|
2937
2972
|
├── CommentService - Comments with vault resolution
|
|
@@ -3013,7 +3048,7 @@ For comprehensive AI agent integration, see:
|
|
|
3013
3048
|
✅ **Direct Property Access**: No more `result.data.success` chains
|
|
3014
3049
|
✅ **Type Safety**: Full TypeScript IntelliSense for all result properties
|
|
3015
3050
|
✅ **Semantic Types**: Dates as Date objects, numbers as numbers
|
|
3016
|
-
✅ **
|
|
3051
|
+
✅ **Cursor Pagination**: `pageInfo.hasNextPage`, `pageInfo.nextCursor` for cursor-based navigation
|
|
3017
3052
|
✅ **Zero Wrapper Overhead**: Clean, direct access to all result data
|
|
3018
3053
|
✅ **Options Object Pattern**: All multi-parameter methods use options objects
|
|
3019
3054
|
|
|
@@ -3023,9 +3058,9 @@ For comprehensive AI agent integration, see:
|
|
|
3023
3058
|
// Pool results with pagination
|
|
3024
3059
|
interface PoolsResult {
|
|
3025
3060
|
pools: PoolData[]; // Direct pool array
|
|
3026
|
-
|
|
3061
|
+
cursor?: string; // Cursor for pagination
|
|
3027
3062
|
total: number; // Total items
|
|
3028
|
-
|
|
3063
|
+
pageSize: number; // Items returned per page
|
|
3029
3064
|
// ... more properties
|
|
3030
3065
|
}
|
|
3031
3066
|
|
|
@@ -3047,6 +3082,85 @@ interface AmountCalculationResult {
|
|
|
3047
3082
|
}
|
|
3048
3083
|
```
|
|
3049
3084
|
|
|
3085
|
+
|
|
3086
|
+
## What's New in v7.0.0+
|
|
3087
|
+
|
|
3088
|
+
### Unified Messages API
|
|
3089
|
+
|
|
3090
|
+
All message types (CHAT and COMMENT) are now accessible through a single unified endpoint:
|
|
3091
|
+
|
|
3092
|
+
```typescript
|
|
3093
|
+
// List all message types for a token
|
|
3094
|
+
const result = await sdk.listMessages({ tokenName: 'anime' });
|
|
3095
|
+
|
|
3096
|
+
// Filter by type
|
|
3097
|
+
const chatOnly = await sdk.listMessages({
|
|
3098
|
+
tokenName: 'anime',
|
|
3099
|
+
contentType: 'CHAT'
|
|
3100
|
+
});
|
|
3101
|
+
|
|
3102
|
+
// Create, update, delete messages
|
|
3103
|
+
await sdk.createMessage({
|
|
3104
|
+
tokenName: 'anime',
|
|
3105
|
+
contentType: 'CHAT',
|
|
3106
|
+
content: 'Great project!'
|
|
3107
|
+
});
|
|
3108
|
+
|
|
3109
|
+
// Pin important messages
|
|
3110
|
+
await sdk.pinMessage(messageId);
|
|
3111
|
+
```
|
|
3112
|
+
|
|
3113
|
+
### User Data Access
|
|
3114
|
+
|
|
3115
|
+
New methods for accessing user information:
|
|
3116
|
+
|
|
3117
|
+
```typescript
|
|
3118
|
+
// Fetch user token balances
|
|
3119
|
+
const balances = await sdk.fetchUserBalances({
|
|
3120
|
+
address: '0x...',
|
|
3121
|
+
pageSize: 50
|
|
3122
|
+
});
|
|
3123
|
+
|
|
3124
|
+
// Get comprehensive user report (Overseer only)
|
|
3125
|
+
const report = await sdk.fetchUserReport({
|
|
3126
|
+
address: '0x...'
|
|
3127
|
+
});
|
|
3128
|
+
```
|
|
3129
|
+
|
|
3130
|
+
### Token Statistics
|
|
3131
|
+
|
|
3132
|
+
Get engagement metrics for tokens:
|
|
3133
|
+
|
|
3134
|
+
```typescript
|
|
3135
|
+
const stats = await sdk.fetchTokenStats('anime');
|
|
3136
|
+
console.log(`Messages: ${stats.messageCount}`);
|
|
3137
|
+
console.log(`Peak viewers: ${stats.peakViewerCount}`);
|
|
3138
|
+
```
|
|
3139
|
+
|
|
3140
|
+
### Simplified Restricted Names Management
|
|
3141
|
+
|
|
3142
|
+
Manage platform restricted words with a simplified API:
|
|
3143
|
+
|
|
3144
|
+
```typescript
|
|
3145
|
+
// Get current list
|
|
3146
|
+
const result = await sdk.getRestrictedNames();
|
|
3147
|
+
const names = result.data.content.split('\n');
|
|
3148
|
+
|
|
3149
|
+
// Update list
|
|
3150
|
+
await sdk.updateRestrictedNames('badword1\nbadword2\nbadword3');
|
|
3151
|
+
```
|
|
3152
|
+
|
|
3153
|
+
## Documentation
|
|
3154
|
+
|
|
3155
|
+
Comprehensive documentation for all SDK features:
|
|
3156
|
+
|
|
3157
|
+
- **[SDK API Updates](../docs/SDK_API_UPDATES.md)** - Complete guide to new v7.0.0+ methods
|
|
3158
|
+
- **[Usage Guide](../docs/USAGE_GUIDE.md)** - Step-by-step examples for all features
|
|
3159
|
+
- **[API Reference](../docs/API-REFERENCE.md)** - Complete method reference with signatures
|
|
3160
|
+
- **[DTO Reference](../docs/DTO_REFERENCE.md)** - All data type definitions
|
|
3161
|
+
- **[Migration Guide](../docs/MIGRATION_GUIDE_SDK.md)** - Upgrading from v6.x to v7.0+
|
|
3162
|
+
- **[Examples](./EXAMPLES.md)** - Practical code examples by category
|
|
3163
|
+
|
|
3050
3164
|
## Environment URLs
|
|
3051
3165
|
|
|
3052
3166
|
- **Development**: `https://lpad-backend-dev1.defi.gala.com`
|