@gala-chain/launchpad-sdk 5.0.4-beta.6 → 5.0.4-beta.60
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 +163 -49
- package/README.md.bak +3174 -0
- package/dist/LaunchpadSDK.d.ts +10615 -0
- package/dist/LaunchpadSDK.d.ts.map +1 -0
- package/dist/ai-docs.json +5081 -1052
- package/dist/api/LaunchpadAPI.d.ts +930 -0
- package/dist/api/LaunchpadAPI.d.ts.map +1 -0
- package/dist/api/dto/BondingCurveDTOs.d.ts +145 -0
- package/dist/api/dto/BondingCurveDTOs.d.ts.map +1 -0
- package/dist/api/dto/BurnTokensDto.d.ts +89 -0
- package/dist/api/dto/BurnTokensDto.d.ts.map +1 -0
- package/dist/api/dto/LockTokenDto.d.ts +97 -0
- package/dist/api/dto/LockTokenDto.d.ts.map +1 -0
- package/dist/api/dto/TransferTokenDto.d.ts +76 -0
- package/dist/api/dto/TransferTokenDto.d.ts.map +1 -0
- package/dist/api/dto/UnlockTokenDto.d.ts +86 -0
- package/dist/api/dto/UnlockTokenDto.d.ts.map +1 -0
- package/dist/auth/JwtAuth.d.ts +183 -0
- package/dist/auth/JwtAuth.d.ts.map +1 -0
- package/dist/auth/SessionAuthService.d.ts +151 -0
- package/dist/auth/SessionAuthService.d.ts.map +1 -0
- package/dist/auth/SignatureAuth.d.ts +181 -0
- package/dist/auth/SignatureAuth.d.ts.map +1 -0
- package/dist/auth/storage.d.ts +66 -0
- package/dist/auth/storage.d.ts.map +1 -0
- package/dist/auth/types.d.ts +50 -0
- package/dist/auth/types.d.ts.map +1 -0
- package/dist/bridge/BridgeService.d.ts +484 -0
- package/dist/bridge/BridgeService.d.ts.map +1 -0
- package/dist/bridge/GalaConnectClient.d.ts +170 -0
- package/dist/bridge/GalaConnectClient.d.ts.map +1 -0
- package/dist/bridge/constants/index.d.ts +7 -0
- package/dist/bridge/constants/index.d.ts.map +1 -0
- package/dist/bridge/constants/tokens.d.ts +212 -0
- package/dist/bridge/constants/tokens.d.ts.map +1 -0
- package/dist/bridge/index.d.ts +24 -0
- package/dist/bridge/index.d.ts.map +1 -0
- package/dist/bridge/strategies/BridgeStrategy.d.ts +160 -0
- package/dist/bridge/strategies/BridgeStrategy.d.ts.map +1 -0
- package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts +200 -0
- package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts.map +1 -0
- package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts +258 -0
- package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts.map +1 -0
- package/dist/bridge/types/bridge.dto.d.ts +772 -0
- package/dist/bridge/types/bridge.dto.d.ts.map +1 -0
- package/dist/bridge/types/bridgeable-token.dto.d.ts +205 -0
- package/dist/bridge/types/bridgeable-token.dto.d.ts.map +1 -0
- package/dist/bridge/types/eip712.d.ts +66 -0
- package/dist/bridge/types/eip712.d.ts.map +1 -0
- package/dist/bridge/types/index.d.ts +8 -0
- package/dist/bridge/types/index.d.ts.map +1 -0
- package/dist/bridge/utils/RateLimiter.d.ts +34 -0
- package/dist/bridge/utils/RateLimiter.d.ts.map +1 -0
- package/dist/bridge/utils/address-formatter.d.ts +25 -0
- package/dist/bridge/utils/address-formatter.d.ts.map +1 -0
- package/dist/bridge/utils/addressValidation.d.ts +200 -0
- package/dist/bridge/utils/addressValidation.d.ts.map +1 -0
- package/dist/bridge/utils/balanceHelpers.d.ts +215 -0
- package/dist/bridge/utils/balanceHelpers.d.ts.map +1 -0
- package/dist/bridge/utils/bridgeErrors.d.ts +98 -0
- package/dist/bridge/utils/bridgeErrors.d.ts.map +1 -0
- package/dist/bridge/utils/bridgeOutHelpers.d.ts +68 -0
- package/dist/bridge/utils/bridgeOutHelpers.d.ts.map +1 -0
- package/dist/bridge/utils/bridgePayload.d.ts +98 -0
- package/dist/bridge/utils/bridgePayload.d.ts.map +1 -0
- package/dist/bridge/utils/bridgeStatusParser.d.ts +75 -0
- package/dist/bridge/utils/bridgeStatusParser.d.ts.map +1 -0
- package/dist/bridge/utils/eip712Helpers.d.ts +66 -0
- package/dist/bridge/utils/eip712Helpers.d.ts.map +1 -0
- package/dist/bridge/utils/index.d.ts +19 -0
- package/dist/bridge/utils/index.d.ts.map +1 -0
- package/dist/bridge/utils/retry.d.ts +112 -0
- package/dist/bridge/utils/retry.d.ts.map +1 -0
- package/dist/bridge/utils/strategyDelegation.d.ts +69 -0
- package/dist/bridge/utils/strategyDelegation.d.ts.map +1 -0
- package/dist/bridge/utils/tokenIdUtils.d.ts +86 -0
- package/dist/bridge/utils/tokenIdUtils.d.ts.map +1 -0
- package/dist/bridge/utils/tokenMath.d.ts +39 -0
- package/dist/bridge/utils/tokenMath.d.ts.map +1 -0
- package/dist/bridge/utils/tokenMetadataResolver.d.ts +97 -0
- package/dist/bridge/utils/tokenMetadataResolver.d.ts.map +1 -0
- package/dist/config/environments.d.ts +49 -0
- package/dist/config/environments.d.ts.map +1 -0
- package/dist/constants/bondingCurve.d.ts +102 -0
- package/dist/constants/bondingCurve.d.ts.map +1 -0
- package/dist/constants/config.d.ts +30 -0
- package/dist/constants/config.d.ts.map +1 -0
- package/dist/constants/decimals.d.ts +63 -0
- package/dist/constants/decimals.d.ts.map +1 -0
- package/dist/constants/endpoints.d.ts +776 -0
- package/dist/constants/endpoints.d.ts.map +1 -0
- package/dist/constants/enums.d.ts +65 -0
- package/dist/constants/enums.d.ts.map +1 -0
- package/dist/constants/error-messages.d.ts +61 -0
- package/dist/constants/error-messages.d.ts.map +1 -0
- package/dist/constants/events.d.ts +53 -0
- package/dist/constants/events.d.ts.map +1 -0
- package/dist/constants/jwt.d.ts +41 -0
- package/dist/constants/jwt.d.ts.map +1 -0
- package/dist/constants/nft-fees.d.ts +30 -0
- package/dist/constants/nft-fees.d.ts.map +1 -0
- package/dist/constants/pagination.d.ts +66 -0
- package/dist/constants/pagination.d.ts.map +1 -0
- package/dist/constants/query-fields.d.ts +51 -0
- package/dist/constants/query-fields.d.ts.map +1 -0
- package/dist/constants/sdk-defaults.d.ts +37 -0
- package/dist/constants/sdk-defaults.d.ts.map +1 -0
- package/dist/constants/version.d.ts +6 -0
- package/dist/constants/version.d.ts.map +1 -0
- package/dist/constants/version.generated.d.ts +7 -0
- package/dist/constants/version.generated.d.ts.map +1 -0
- 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/overseer-page-stats.d.ts +26 -0
- package/dist/examples/admin/overseer-page-stats.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/ai-moderation/ai-moderation-demo.d.ts +32 -0
- package/dist/examples/ai-moderation/ai-moderation-demo.d.ts.map +1 -0
- package/dist/examples/ai-moderation/flag-ai-verdicts-demo.d.ts +30 -0
- package/dist/examples/ai-moderation/flag-ai-verdicts-demo.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/api-keys/user-api-key-auth.d.ts +24 -0
- package/dist/examples/api-keys/user-api-key-auth.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/multi-user-chat-test.d.ts +19 -0
- package/dist/examples/chat/multi-user-chat-test.d.ts.map +1 -0
- package/dist/examples/chat/quick-reaction-test.d.ts +4 -0
- package/dist/examples/chat/quick-reaction-test.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 +29 -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-name-resolution.d.ts +30 -0
- package/dist/examples/token-info/token-name-resolution.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/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 +19 -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/helpers/sdk.d.ts +87 -0
- package/dist/helpers/sdk.d.ts.map +1 -0
- package/dist/helpers/wallet.d.ts +151 -0
- package/dist/helpers/wallet.d.ts.map +1 -0
- package/dist/index.browser.d.ts +147 -0
- package/dist/index.browser.d.ts.map +1 -0
- package/dist/index.browser.esm.js +1 -0
- package/dist/index.cjs +1 -0
- 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/index.node.d.ts +13 -0
- package/dist/index.node.d.ts.map +1 -0
- package/dist/polyfills/file-global.d.ts +12 -0
- package/dist/polyfills/file-global.d.ts.map +1 -0
- package/dist/react/WalletContext.d.ts +60 -0
- package/dist/react/WalletContext.d.ts.map +1 -0
- package/dist/react/index.d.ts +65 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/types.d.ts +76 -0
- package/dist/react/types.d.ts.map +1 -0
- package/dist/react/useWallet.d.ts +123 -0
- package/dist/react/useWallet.d.ts.map +1 -0
- package/dist/react/useWalletConnection.d.ts +89 -0
- package/dist/react/useWalletConnection.d.ts.map +1 -0
- package/dist/react/useWalletDetection.d.ts +81 -0
- package/dist/react/useWalletDetection.d.ts.map +1 -0
- package/dist/react.cjs +1 -0
- package/dist/react.esm.js +1 -0
- package/dist/schemas/files.d.ts +83 -0
- package/dist/schemas/files.d.ts.map +1 -0
- package/dist/schemas/index.d.ts +83 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/launchpad.d.ts +135 -0
- package/dist/schemas/launchpad.d.ts.map +1 -0
- package/dist/schemas/pagination.d.ts +107 -0
- package/dist/schemas/pagination.d.ts.map +1 -0
- package/dist/schemas/primitives.d.ts +142 -0
- package/dist/schemas/primitives.d.ts.map +1 -0
- package/dist/schemas/trade.d.ts +140 -0
- package/dist/schemas/trade.d.ts.map +1 -0
- package/dist/schemas/user.d.ts +99 -0
- package/dist/schemas/user.d.ts.map +1 -0
- package/dist/schemas/validators.d.ts +332 -0
- package/dist/schemas/validators.d.ts.map +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/services/AIModerationService.d.ts +217 -0
- package/dist/services/AIModerationService.d.ts.map +1 -0
- package/dist/services/AbstractCacheService.d.ts +227 -0
- package/dist/services/AbstractCacheService.d.ts.map +1 -0
- package/dist/services/AbstractTokenFetchService.d.ts +150 -0
- package/dist/services/AbstractTokenFetchService.d.ts.map +1 -0
- package/dist/services/ApiKeyService.d.ts +211 -0
- package/dist/services/ApiKeyService.d.ts.map +1 -0
- package/dist/services/BanService.d.ts +312 -0
- package/dist/services/BanService.d.ts.map +1 -0
- package/dist/services/BaseService.d.ts +116 -0
- package/dist/services/BaseService.d.ts.map +1 -0
- package/dist/services/BatchedCacheService.d.ts +133 -0
- package/dist/services/BatchedCacheService.d.ts.map +1 -0
- package/dist/services/BridgeableTokenCache.d.ts +120 -0
- package/dist/services/BridgeableTokenCache.d.ts.map +1 -0
- package/dist/services/BridgeableTokenService.d.ts +218 -0
- package/dist/services/BridgeableTokenService.d.ts.map +1 -0
- package/dist/services/BundleService.d.ts +245 -0
- package/dist/services/BundleService.d.ts.map +1 -0
- package/dist/services/BundlerClientFactory.d.ts +32 -0
- package/dist/services/BundlerClientFactory.d.ts.map +1 -0
- package/dist/services/ChartService.d.ts +106 -0
- package/dist/services/ChartService.d.ts.map +1 -0
- package/dist/services/ContentFlagService.d.ts +218 -0
- package/dist/services/ContentFlagService.d.ts.map +1 -0
- package/dist/services/ContentReactionService.d.ts +175 -0
- package/dist/services/ContentReactionService.d.ts.map +1 -0
- package/dist/services/DexBackendClient.d.ts +225 -0
- package/dist/services/DexBackendClient.d.ts.map +1 -0
- package/dist/services/DexPoolService.d.ts +137 -0
- package/dist/services/DexPoolService.d.ts.map +1 -0
- package/dist/services/DexQuoteService.d.ts +446 -0
- package/dist/services/DexQuoteService.d.ts.map +1 -0
- package/dist/services/DexService.d.ts +433 -0
- package/dist/services/DexService.d.ts.map +1 -0
- package/dist/services/EventsBatcherService.d.ts +111 -0
- package/dist/services/EventsBatcherService.d.ts.map +1 -0
- package/dist/services/GSwapAssetService.d.ts +96 -0
- package/dist/services/GSwapAssetService.d.ts.map +1 -0
- package/dist/services/GSwapLiquidityMutationService.d.ts +138 -0
- package/dist/services/GSwapLiquidityMutationService.d.ts.map +1 -0
- package/dist/services/GSwapLiquidityQueryService.d.ts +75 -0
- package/dist/services/GSwapLiquidityQueryService.d.ts.map +1 -0
- package/dist/services/GSwapPoolCalculationService.d.ts +187 -0
- package/dist/services/GSwapPoolCalculationService.d.ts.map +1 -0
- package/dist/services/GSwapPoolQueryService.d.ts +115 -0
- package/dist/services/GSwapPoolQueryService.d.ts.map +1 -0
- package/dist/services/GSwapService.d.ts +1207 -0
- package/dist/services/GSwapService.d.ts.map +1 -0
- package/dist/services/GSwapSwapService.d.ts +68 -0
- package/dist/services/GSwapSwapService.d.ts.map +1 -0
- package/dist/services/GalaChainBalanceService.d.ts +155 -0
- package/dist/services/GalaChainBalanceService.d.ts.map +1 -0
- package/dist/services/GalaChainGatewayClient.d.ts +227 -0
- package/dist/services/GalaChainGatewayClient.d.ts.map +1 -0
- package/dist/services/GalaChainLockService.d.ts +144 -0
- package/dist/services/GalaChainLockService.d.ts.map +1 -0
- package/dist/services/GalaChainService.d.ts +399 -0
- package/dist/services/GalaChainService.d.ts.map +1 -0
- package/dist/services/GalaChainTokenService.d.ts +108 -0
- package/dist/services/GalaChainTokenService.d.ts.map +1 -0
- package/dist/services/GalaChainTransferService.d.ts +205 -0
- package/dist/services/GalaChainTransferService.d.ts.map +1 -0
- package/dist/services/HolderService.d.ts +181 -0
- package/dist/services/HolderService.d.ts.map +1 -0
- package/dist/services/ImageService.d.ts +173 -0
- package/dist/services/ImageService.d.ts.map +1 -0
- package/dist/services/LaunchpadService.d.ts +343 -0
- package/dist/services/LaunchpadService.d.ts.map +1 -0
- package/dist/services/MessagesService.d.ts +251 -0
- package/dist/services/MessagesService.d.ts.map +1 -0
- package/dist/services/ModeratorService.d.ts +311 -0
- package/dist/services/ModeratorService.d.ts.map +1 -0
- package/dist/services/MultiPoolStateManager.d.ts +289 -0
- package/dist/services/MultiPoolStateManager.d.ts.map +1 -0
- package/dist/services/NetworkKeyedCacheService.d.ts +185 -0
- package/dist/services/NetworkKeyedCacheService.d.ts.map +1 -0
- package/dist/services/NftCollectionService.d.ts +121 -0
- package/dist/services/NftCollectionService.d.ts.map +1 -0
- package/dist/services/OEmbedService.d.ts +152 -0
- package/dist/services/OEmbedService.d.ts.map +1 -0
- package/dist/services/OverseerService.d.ts +524 -0
- package/dist/services/OverseerService.d.ts.map +1 -0
- package/dist/services/PlatformConfigService.d.ts +149 -0
- package/dist/services/PlatformConfigService.d.ts.map +1 -0
- package/dist/services/PlatformStatsService.d.ts +72 -0
- package/dist/services/PlatformStatsService.d.ts.map +1 -0
- package/dist/services/PoolCacheManager.d.ts +258 -0
- package/dist/services/PoolCacheManager.d.ts.map +1 -0
- package/dist/services/PoolService.d.ts +316 -0
- package/dist/services/PoolService.d.ts.map +1 -0
- package/dist/services/PoolStateManager.d.ts +176 -0
- package/dist/services/PoolStateManager.d.ts.map +1 -0
- package/dist/services/PriceHistoryService.d.ts +207 -0
- package/dist/services/PriceHistoryService.d.ts.map +1 -0
- package/dist/services/RestrictedNamesService.d.ts +80 -0
- package/dist/services/RestrictedNamesService.d.ts.map +1 -0
- package/dist/services/SignatureService.d.ts +113 -0
- package/dist/services/SignatureService.d.ts.map +1 -0
- package/dist/services/StreamChatService.d.ts +259 -0
- package/dist/services/StreamChatService.d.ts.map +1 -0
- package/dist/services/StreamTokenServiceBase.d.ts +404 -0
- package/dist/services/StreamTokenServiceBase.d.ts.map +1 -0
- package/dist/services/StreamWebSocketService.d.ts +586 -0
- package/dist/services/StreamWebSocketService.d.ts.map +1 -0
- package/dist/services/StreamingEventService.d.ts +441 -0
- package/dist/services/StreamingEventService.d.ts.map +1 -0
- package/dist/services/StreamingService.d.ts +573 -0
- package/dist/services/StreamingService.d.ts.map +1 -0
- package/dist/services/SwapEventQueue.d.ts +192 -0
- package/dist/services/SwapEventQueue.d.ts.map +1 -0
- package/dist/services/TokenBanService.d.ts +217 -0
- package/dist/services/TokenBanService.d.ts.map +1 -0
- package/dist/services/TokenClassKeyService.d.ts +162 -0
- package/dist/services/TokenClassKeyService.d.ts.map +1 -0
- package/dist/services/TokenMetadataCache.d.ts +310 -0
- package/dist/services/TokenMetadataCache.d.ts.map +1 -0
- package/dist/services/TokenMetadataService.d.ts +509 -0
- package/dist/services/TokenMetadataService.d.ts.map +1 -0
- package/dist/services/TokenResolverService.d.ts +329 -0
- package/dist/services/TokenResolverService.d.ts.map +1 -0
- package/dist/services/TradeService.d.ts +286 -0
- package/dist/services/TradeService.d.ts.map +1 -0
- package/dist/services/TradingQuotesService.d.ts +162 -0
- package/dist/services/TradingQuotesService.d.ts.map +1 -0
- package/dist/services/UserService.d.ts +352 -0
- package/dist/services/UserService.d.ts.map +1 -0
- package/dist/services/WebSocketAdminService.d.ts +587 -0
- package/dist/services/WebSocketAdminService.d.ts.map +1 -0
- package/dist/services/WebSocketService.d.ts +189 -0
- package/dist/services/WebSocketService.d.ts.map +1 -0
- package/dist/services/WeeklyChallengeService.d.ts +114 -0
- package/dist/services/WeeklyChallengeService.d.ts.map +1 -0
- package/dist/services/WrapService.d.ts +172 -0
- package/dist/services/WrapService.d.ts.map +1 -0
- package/dist/services/WrappableTokenCache.d.ts +100 -0
- package/dist/services/WrappableTokenCache.d.ts.map +1 -0
- package/dist/services/WrappableTokenService.d.ts +130 -0
- package/dist/services/WrappableTokenService.d.ts.map +1 -0
- package/dist/services/__mocks__/logger.mock.d.ts +24 -0
- package/dist/services/__mocks__/logger.mock.d.ts.map +1 -0
- package/dist/services/shared/cache-helpers.d.ts +188 -0
- package/dist/services/shared/cache-helpers.d.ts.map +1 -0
- package/dist/services/shared/http-helpers.d.ts +146 -0
- package/dist/services/shared/http-helpers.d.ts.map +1 -0
- package/dist/services/shared/pagination-helpers.d.ts +167 -0
- package/dist/services/shared/pagination-helpers.d.ts.map +1 -0
- package/dist/services/shared/service-validators.d.ts +137 -0
- package/dist/services/shared/service-validators.d.ts.map +1 -0
- package/dist/services/shared/websocket-helpers.d.ts +158 -0
- package/dist/services/shared/websocket-helpers.d.ts.map +1 -0
- package/dist/setup.d.ts +8 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/src/LaunchpadSDK.d.ts +2192 -404
- package/dist/src/LaunchpadSDK.d.ts.map +1 -1
- package/dist/src/api/LaunchpadAPI.d.ts +15 -8
- package/dist/src/api/LaunchpadAPI.d.ts.map +1 -1
- package/dist/src/api/dto/BondingCurveDTOs.d.ts.map +1 -1
- package/dist/src/api/dto/BurnTokensDto.d.ts +1 -1
- package/dist/src/api/dto/BurnTokensDto.d.ts.map +1 -1
- package/dist/src/api/dto/LockTokenDto.d.ts +1 -1
- package/dist/src/api/dto/LockTokenDto.d.ts.map +1 -1
- package/dist/src/api/dto/TransferTokenDto.d.ts +1 -1
- package/dist/src/api/dto/TransferTokenDto.d.ts.map +1 -1
- package/dist/src/api/dto/UnlockTokenDto.d.ts +1 -1
- 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 +11 -6
- package/dist/src/auth/SessionAuthService.d.ts.map +1 -1
- package/dist/src/auth/SignatureAuth.d.ts +64 -3
- 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 +11 -2
- 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/GalaConnectClient.d.ts +1 -1
- package/dist/src/bridge/GalaConnectClient.d.ts.map +1 -1
- package/dist/src/bridge/constants/tokens.d.ts +1 -1
- package/dist/src/bridge/constants/tokens.d.ts.map +1 -1
- package/dist/src/bridge/index.d.ts +10 -10
- package/dist/src/bridge/index.d.ts.map +1 -1
- package/dist/src/bridge/strategies/BridgeStrategy.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/utils/addressValidation.d.ts.map +1 -1
- package/dist/src/bridge/utils/balanceHelpers.d.ts +1 -1
- package/dist/src/bridge/utils/balanceHelpers.d.ts.map +1 -1
- package/dist/src/bridge/utils/bridgeErrors.d.ts.map +1 -1
- package/dist/src/bridge/utils/bridgeOutHelpers.d.ts +1 -1
- package/dist/src/bridge/utils/bridgeOutHelpers.d.ts.map +1 -1
- package/dist/src/bridge/utils/bridgePayload.d.ts +2 -11
- package/dist/src/bridge/utils/bridgePayload.d.ts.map +1 -1
- package/dist/src/bridge/utils/bridgeStatusParser.d.ts.map +1 -1
- package/dist/src/bridge/utils/eip712Helpers.d.ts.map +1 -1
- package/dist/src/bridge/utils/index.d.ts +9 -9
- package/dist/src/bridge/utils/index.d.ts.map +1 -1
- package/dist/src/bridge/utils/tokenIdUtils.d.ts +1 -1
- package/dist/src/bridge/utils/tokenIdUtils.d.ts.map +1 -1
- package/dist/src/bridge/utils/tokenMetadataResolver.d.ts +1 -1
- package/dist/src/bridge/utils/tokenMetadataResolver.d.ts.map +1 -1
- package/dist/src/config/environments.d.ts +1 -1
- package/dist/src/config/environments.d.ts.map +1 -1
- package/dist/src/constants/endpoints.d.ts +522 -260
- 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 +23 -13
- 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.map +1 -1
- package/dist/src/helpers/wallet.d.ts.map +1 -1
- package/dist/src/index.browser.d.ts +147 -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 +123 -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.map +1 -1
- package/dist/src/schemas/index.d.ts +4 -3
- package/dist/src/schemas/index.d.ts.map +1 -1
- package/dist/src/schemas/launchpad.d.ts +1 -0
- package/dist/src/schemas/launchpad.d.ts.map +1 -1
- package/dist/src/schemas/pagination.d.ts +16 -19
- package/dist/src/schemas/pagination.d.ts.map +1 -1
- package/dist/src/schemas/primitives.d.ts +1 -1
- package/dist/src/schemas/primitives.d.ts.map +1 -1
- package/dist/src/schemas/trade.d.ts +2 -2
- package/dist/src/schemas/trade.d.ts.map +1 -1
- package/dist/src/schemas/user.d.ts +2 -2
- package/dist/src/schemas/user.d.ts.map +1 -1
- package/dist/src/schemas/validators.d.ts +6 -5
- package/dist/src/schemas/validators.d.ts.map +1 -1
- package/dist/src/services/AIModerationService.d.ts +217 -0
- package/dist/src/services/AIModerationService.d.ts.map +1 -0
- 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 -9
- package/dist/src/services/ApiKeyService.d.ts.map +1 -1
- package/dist/src/services/BanService.d.ts +132 -16
- 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.map +1 -1
- package/dist/src/services/BridgeableTokenCache.d.ts +1 -1
- package/dist/src/services/BridgeableTokenCache.d.ts.map +1 -1
- package/dist/src/services/BridgeableTokenService.d.ts +4 -4
- package/dist/src/services/BridgeableTokenService.d.ts.map +1 -1
- package/dist/src/services/BundleService.d.ts +5 -5
- package/dist/src/services/BundleService.d.ts.map +1 -1
- package/dist/src/services/BundlerClientFactory.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 +13 -7
- package/dist/src/services/ContentFlagService.d.ts.map +1 -1
- package/dist/src/services/ContentReactionService.d.ts +3 -3
- package/dist/src/services/ContentReactionService.d.ts.map +1 -1
- package/dist/src/services/DexBackendClient.d.ts +1 -1
- package/dist/src/services/DexBackendClient.d.ts.map +1 -1
- package/dist/src/services/DexPoolService.d.ts +9 -11
- package/dist/src/services/DexPoolService.d.ts.map +1 -1
- package/dist/src/services/DexQuoteService.d.ts +5 -6
- package/dist/src/services/DexQuoteService.d.ts.map +1 -1
- package/dist/src/services/DexService.d.ts +6 -6
- 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 +18 -2
- package/dist/src/services/GSwapAssetService.d.ts.map +1 -1
- package/dist/src/services/GSwapLiquidityMutationService.d.ts +4 -6
- package/dist/src/services/GSwapLiquidityMutationService.d.ts.map +1 -1
- package/dist/src/services/GSwapLiquidityQueryService.d.ts +2 -14
- package/dist/src/services/GSwapLiquidityQueryService.d.ts.map +1 -1
- package/dist/src/services/GSwapPoolCalculationService.d.ts +0 -13
- package/dist/src/services/GSwapPoolCalculationService.d.ts.map +1 -1
- package/dist/src/services/GSwapPoolQueryService.d.ts +2 -3
- package/dist/src/services/GSwapPoolQueryService.d.ts.map +1 -1
- package/dist/src/services/GSwapService.d.ts +11 -11
- 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 +3 -3
- package/dist/src/services/GalaChainLockService.d.ts.map +1 -1
- package/dist/src/services/GalaChainService.d.ts +10 -13
- 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 +4 -4
- 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 +67 -24
- package/dist/src/services/LaunchpadService.d.ts.map +1 -1
- package/dist/src/services/MessagesService.d.ts +251 -0
- package/dist/src/services/MessagesService.d.ts.map +1 -0
- package/dist/src/services/ModeratorService.d.ts +58 -22
- package/dist/src/services/ModeratorService.d.ts.map +1 -1
- package/dist/src/services/MultiPoolStateManager.d.ts +17 -10
- package/dist/src/services/MultiPoolStateManager.d.ts.map +1 -1
- package/dist/src/services/NetworkKeyedCacheService.d.ts.map +1 -1
- package/dist/src/services/NftCollectionService.d.ts +3 -5
- package/dist/src/services/NftCollectionService.d.ts.map +1 -1
- package/dist/src/services/OEmbedService.d.ts +152 -0
- package/dist/src/services/OEmbedService.d.ts.map +1 -0
- package/dist/src/services/OverseerService.d.ts +230 -35
- 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/PlatformStatsService.d.ts +72 -0
- package/dist/src/services/PlatformStatsService.d.ts.map +1 -0
- package/dist/src/services/PoolCacheManager.d.ts +3 -10
- package/dist/src/services/PoolCacheManager.d.ts.map +1 -1
- package/dist/src/services/PoolService.d.ts +108 -25
- package/dist/src/services/PoolService.d.ts.map +1 -1
- package/dist/src/services/PoolStateManager.d.ts +2 -2
- package/dist/src/services/PoolStateManager.d.ts.map +1 -1
- package/dist/src/services/PriceHistoryService.d.ts +11 -12
- 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 +68 -187
- package/dist/src/services/StreamChatService.d.ts.map +1 -1
- package/dist/src/services/StreamTokenServiceBase.d.ts +45 -12
- package/dist/src/services/StreamTokenServiceBase.d.ts.map +1 -1
- package/dist/src/services/StreamWebSocketService.d.ts +335 -17
- package/dist/src/services/StreamWebSocketService.d.ts.map +1 -1
- package/dist/src/services/StreamingEventService.d.ts +16 -6
- package/dist/src/services/StreamingEventService.d.ts.map +1 -1
- package/dist/src/services/StreamingService.d.ts +66 -40
- package/dist/src/services/StreamingService.d.ts.map +1 -1
- package/dist/src/services/SwapEventQueue.d.ts +1 -1
- package/dist/src/services/SwapEventQueue.d.ts.map +1 -1
- package/dist/src/services/TokenBanService.d.ts +18 -16
- package/dist/src/services/TokenBanService.d.ts.map +1 -1
- package/dist/src/services/TokenClassKeyService.d.ts.map +1 -1
- package/dist/src/services/TokenMetadataCache.d.ts.map +1 -1
- package/dist/src/services/TokenMetadataService.d.ts +4 -4
- package/dist/src/services/TokenMetadataService.d.ts.map +1 -1
- package/dist/src/services/TokenResolverService.d.ts +197 -24
- package/dist/src/services/TokenResolverService.d.ts.map +1 -1
- package/dist/src/services/TradeService.d.ts +19 -19
- package/dist/src/services/TradeService.d.ts.map +1 -1
- package/dist/src/services/TradingQuotesService.d.ts +162 -0
- package/dist/src/services/TradingQuotesService.d.ts.map +1 -0
- package/dist/src/services/UserService.d.ts +83 -23
- package/dist/src/services/UserService.d.ts.map +1 -1
- package/dist/src/services/WebSocketAdminService.d.ts +587 -0
- package/dist/src/services/WebSocketAdminService.d.ts.map +1 -0
- package/dist/src/services/WebSocketService.d.ts +7 -1
- package/dist/src/services/WebSocketService.d.ts.map +1 -1
- package/dist/src/services/WeeklyChallengeService.d.ts +114 -0
- package/dist/src/services/WeeklyChallengeService.d.ts.map +1 -0
- package/dist/src/services/WrapService.d.ts +5 -5
- package/dist/src/services/WrapService.d.ts.map +1 -1
- package/dist/src/services/WrappableTokenService.d.ts +3 -3
- package/dist/src/services/WrappableTokenService.d.ts.map +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/http-helpers.d.ts.map +1 -1
- package/dist/src/services/shared/pagination-helpers.d.ts +19 -19
- package/dist/src/services/shared/pagination-helpers.d.ts.map +1 -1
- package/dist/src/services/shared/service-validators.d.ts +1 -1
- package/dist/src/services/shared/service-validators.d.ts.map +1 -1
- package/dist/src/setup.d.ts +2 -2
- package/dist/src/types/ai-moderation.dto.d.ts +294 -0
- package/dist/src/types/ai-moderation.dto.d.ts.map +1 -0
- package/dist/src/types/api-key.dto.d.ts +82 -9
- package/dist/src/types/api-key.dto.d.ts.map +1 -1
- package/dist/src/types/ban.dto.d.ts +174 -3
- 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 +7 -7
- package/dist/src/types/chat-messages.dto.d.ts.map +1 -1
- package/dist/src/types/comment.dto.d.ts +3 -7
- package/dist/src/types/comment.dto.d.ts.map +1 -1
- package/dist/src/types/comments.dto.d.ts +9 -9
- package/dist/src/types/comments.dto.d.ts.map +1 -1
- package/dist/src/types/common.d.ts +115 -27
- package/dist/src/types/common.d.ts.map +1 -1
- package/dist/src/types/composite-pool.dto.d.ts +4 -4
- package/dist/src/types/composite-pool.dto.d.ts.map +1 -1
- package/dist/src/types/constraints.d.ts +6 -2
- package/dist/src/types/constraints.d.ts.map +1 -1
- package/dist/src/types/content-flag.dto.d.ts +43 -4
- package/dist/src/types/content-flag.dto.d.ts.map +1 -1
- package/dist/src/types/content-reactions.dto.d.ts +4 -4
- package/dist/src/types/content-reactions.dto.d.ts.map +1 -1
- package/dist/src/types/dex-pool.dto.d.ts +20 -7
- package/dist/src/types/dex-pool.dto.d.ts.map +1 -1
- package/dist/src/types/dto.d.ts +5 -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/global-feed.dto.d.ts +203 -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 +12 -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 +154 -77
- package/dist/src/types/launchpad.dto.d.ts.map +1 -1
- package/dist/src/types/launchpad.validation.d.ts.map +1 -1
- package/dist/src/types/lock.dto.d.ts +1 -1
- package/dist/src/types/lock.dto.d.ts.map +1 -1
- package/dist/src/types/messages.dto.d.ts +386 -0
- package/dist/src/types/messages.dto.d.ts.map +1 -0
- package/dist/src/types/moderator.dto.d.ts +38 -5
- package/dist/src/types/moderator.dto.d.ts.map +1 -1
- package/dist/src/types/oembed.dto.d.ts +160 -0
- package/dist/src/types/oembed.dto.d.ts.map +1 -0
- package/dist/src/types/options.dto.d.ts +9 -1
- package/dist/src/types/options.dto.d.ts.map +1 -1
- package/dist/src/types/overseer.dto.d.ts +152 -35
- package/dist/src/types/overseer.dto.d.ts.map +1 -1
- package/dist/src/types/platform-config.dto.d.ts +89 -0
- package/dist/src/types/platform-config.dto.d.ts.map +1 -0
- package/dist/src/types/platform-stats.dto.d.ts +40 -0
- package/dist/src/types/platform-stats.dto.d.ts.map +1 -0
- package/dist/src/types/pool-state-delta.dto.d.ts.map +1 -1
- package/dist/src/types/pool.dto.d.ts +6 -1
- package/dist/src/types/pool.dto.d.ts.map +1 -1
- package/dist/src/types/priceHistory.dto.d.ts +6 -2
- 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/session-auth.dto.d.ts +9 -1
- package/dist/src/types/session-auth.dto.d.ts.map +1 -1
- package/dist/src/types/stream-chat.dto.d.ts +4 -9
- package/dist/src/types/stream-chat.dto.d.ts.map +1 -1
- package/dist/src/types/streaming-events.dto.d.ts +20 -1
- package/dist/src/types/streaming-events.dto.d.ts.map +1 -1
- package/dist/src/types/streaming.dto.d.ts +64 -20
- 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 +117 -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 -1
- package/dist/src/types/trade.dto.d.ts.map +1 -1
- package/dist/src/types/trades-query.dto.d.ts +8 -2
- package/dist/src/types/trades-query.dto.d.ts.map +1 -1
- package/dist/src/types/transfer.dto.d.ts.map +1 -1
- package/dist/src/types/user.dto.d.ts +218 -48
- package/dist/src/types/user.dto.d.ts.map +1 -1
- package/dist/src/types/websocket-admin.dto.d.ts +390 -0
- package/dist/src/types/websocket-admin.dto.d.ts.map +1 -0
- package/dist/src/types/websocket-events.dto.d.ts +472 -0
- package/dist/src/types/websocket-events.dto.d.ts.map +1 -0
- package/dist/src/types/weekly-challenge.dto.d.ts +130 -0
- package/dist/src/types/weekly-challenge.dto.d.ts.map +1 -0
- package/dist/src/types/wrappable-token.dto.d.ts +1 -1
- package/dist/src/types/wrappable-token.dto.d.ts.map +1 -1
- package/dist/src/utils/LiquidityEventExtractor.d.ts +7 -0
- package/dist/src/utils/LiquidityEventExtractor.d.ts.map +1 -1
- package/dist/src/utils/Logger.d.ts.map +1 -1
- package/dist/src/utils/MonitoringMetrics.d.ts +0 -1
- package/dist/src/utils/MonitoringMetrics.d.ts.map +1 -1
- package/dist/src/utils/SignatureHelper.d.ts.map +1 -1
- package/dist/src/utils/SwapEventExtractor.d.ts.map +1 -1
- package/dist/src/utils/adapters.d.ts +1 -1
- 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.map +1 -1
- package/dist/src/utils/amount-validator.d.ts.map +1 -1
- package/dist/src/utils/api-patterns.d.ts +1 -1
- 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/auto-pagination.d.ts +89 -0
- package/dist/src/utils/auto-pagination.d.ts.map +1 -1
- package/dist/src/utils/bignumber-helpers.d.ts.map +1 -1
- package/dist/src/utils/bignumber-pool-cache.d.ts.map +1 -1
- package/dist/src/utils/composite-pool-converter.d.ts +4 -4
- 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 +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-patterns.d.ts.map +1 -1
- package/dist/src/utils/error-utils.d.ts +1 -1
- package/dist/src/utils/error-utils.d.ts.map +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.d.ts +2 -2
- package/dist/src/utils/http.d.ts.map +1 -1
- package/dist/src/utils/load-env.d.ts.map +1 -1
- package/dist/src/utils/multipart.d.ts.map +1 -1
- package/dist/src/utils/nft-helpers.d.ts.map +1 -1
- package/dist/src/utils/numeric-patterns.d.ts.map +1 -1
- package/dist/src/utils/numeric-wrappers.d.ts +3 -0
- package/dist/src/utils/numeric-wrappers.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 +1 -1
- 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 +6 -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.map +1 -1
- package/dist/src/utils/safe-parsers.d.ts.map +1 -1
- package/dist/src/utils/service-validators.d.ts.map +1 -1
- package/dist/src/utils/slippage-utils.d.ts.map +1 -1
- package/dist/src/utils/string-patterns.d.ts +3 -3
- package/dist/src/utils/string-patterns.d.ts.map +1 -1
- package/dist/src/utils/swap-delta-calculator.d.ts +2 -2
- package/dist/src/utils/swap-delta-calculator.d.ts.map +1 -1
- package/dist/src/utils/tick-crossing-handler.d.ts.map +1 -1
- package/dist/src/utils/token-format-converter.d.ts +1 -1
- package/dist/src/utils/token-format-converter.d.ts.map +1 -1
- package/dist/src/utils/token-stringification.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 +1 -1
- package/dist/src/utils/trade-transformers.d.ts.map +1 -1
- package/dist/src/utils/validation-helpers.d.ts +5 -97
- package/dist/src/utils/validation-helpers.d.ts.map +1 -1
- package/dist/src/utils/validation-patterns.d.ts.map +1 -1
- package/dist/src/utils/validation.d.ts +1 -1
- 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-patterns.d.ts +1 -2
- package/dist/src/utils/websocket-patterns.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/test-constants.d.ts +29 -0
- package/dist/test-constants.d.ts.map +1 -0
- package/dist/types/ai-moderation.dto.d.ts +294 -0
- package/dist/types/ai-moderation.dto.d.ts.map +1 -0
- package/dist/types/api-key.dto.d.ts +373 -0
- package/dist/types/api-key.dto.d.ts.map +1 -0
- package/dist/types/backend-responses.d.ts +235 -0
- package/dist/types/backend-responses.d.ts.map +1 -0
- package/dist/types/ban.dto.d.ts +577 -0
- package/dist/types/ban.dto.d.ts.map +1 -0
- package/dist/types/burn.dto.d.ts +170 -0
- package/dist/types/burn.dto.d.ts.map +1 -0
- package/dist/types/cache-management.dto.d.ts +44 -0
- package/dist/types/cache-management.dto.d.ts.map +1 -0
- package/dist/types/chat-messages.dto.d.ts +193 -0
- package/dist/types/chat-messages.dto.d.ts.map +1 -0
- package/dist/types/comment.dto.d.ts +176 -0
- package/dist/types/comment.dto.d.ts.map +1 -0
- package/dist/types/comments.dto.d.ts +198 -0
- package/dist/types/comments.dto.d.ts.map +1 -0
- package/dist/types/common.d.ts +602 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/composite-pool.dto.d.ts +103 -0
- package/dist/types/composite-pool.dto.d.ts.map +1 -0
- package/dist/types/constraints.d.ts +378 -0
- package/dist/types/constraints.d.ts.map +1 -0
- package/dist/types/content-flag.dto.d.ts +337 -0
- package/dist/types/content-flag.dto.d.ts.map +1 -0
- package/dist/types/content-reactions.dto.d.ts +132 -0
- package/dist/types/content-reactions.dto.d.ts.map +1 -0
- package/dist/types/dex-pool.dto.d.ts +214 -0
- package/dist/types/dex-pool.dto.d.ts.map +1 -0
- package/dist/types/dto.d.ts +183 -0
- package/dist/types/dto.d.ts.map +1 -0
- package/dist/types/engagement-stats.dto.d.ts +62 -0
- package/dist/types/engagement-stats.dto.d.ts.map +1 -0
- package/dist/types/events.dto.d.ts +80 -0
- package/dist/types/events.dto.d.ts.map +1 -0
- package/dist/types/galachain-api.types.d.ts +297 -0
- package/dist/types/galachain-api.types.d.ts.map +1 -0
- package/dist/types/global-feed.dto.d.ts +203 -0
- package/dist/types/global-feed.dto.d.ts.map +1 -0
- package/dist/types/gswap-responses.types.d.ts +369 -0
- package/dist/types/gswap-responses.types.d.ts.map +1 -0
- package/dist/types/gswap.dto.d.ts +448 -0
- package/dist/types/gswap.dto.d.ts.map +1 -0
- package/dist/types/holder.types.d.ts +106 -0
- package/dist/types/holder.types.d.ts.map +1 -0
- package/dist/types/launchpad.dto.d.ts +1264 -0
- package/dist/types/launchpad.dto.d.ts.map +1 -0
- package/dist/types/launchpad.validation.d.ts +43 -0
- package/dist/types/launchpad.validation.d.ts.map +1 -0
- package/dist/types/liquidity-monitor.dto.d.ts +177 -0
- package/dist/types/liquidity-monitor.dto.d.ts.map +1 -0
- package/dist/types/lock.dto.d.ts +261 -0
- package/dist/types/lock.dto.d.ts.map +1 -0
- package/dist/types/messages.dto.d.ts +386 -0
- package/dist/types/messages.dto.d.ts.map +1 -0
- package/dist/types/moderator.dto.d.ts +607 -0
- package/dist/types/moderator.dto.d.ts.map +1 -0
- package/dist/types/nft.dto.d.ts +155 -0
- package/dist/types/nft.dto.d.ts.map +1 -0
- package/dist/types/oembed.dto.d.ts +160 -0
- package/dist/types/oembed.dto.d.ts.map +1 -0
- package/dist/types/options.dto.d.ts +485 -0
- package/dist/types/options.dto.d.ts.map +1 -0
- package/dist/types/overseer.dto.d.ts +530 -0
- package/dist/types/overseer.dto.d.ts.map +1 -0
- package/dist/types/platform-config.dto.d.ts +89 -0
- package/dist/types/platform-config.dto.d.ts.map +1 -0
- package/dist/types/platform-stats.dto.d.ts +40 -0
- package/dist/types/platform-stats.dto.d.ts.map +1 -0
- package/dist/types/pool-state-delta.dto.d.ts +246 -0
- package/dist/types/pool-state-delta.dto.d.ts.map +1 -0
- package/dist/types/pool.dto.d.ts +111 -0
- package/dist/types/pool.dto.d.ts.map +1 -0
- package/dist/types/priceHistory.dto.d.ts +165 -0
- package/dist/types/priceHistory.dto.d.ts.map +1 -0
- package/dist/types/restricted-names.dto.d.ts +50 -0
- package/dist/types/restricted-names.dto.d.ts.map +1 -0
- package/dist/types/result.types.d.ts +104 -0
- package/dist/types/result.types.d.ts.map +1 -0
- package/dist/types/session-auth.dto.d.ts +99 -0
- package/dist/types/session-auth.dto.d.ts.map +1 -0
- package/dist/types/stream-chat.dto.d.ts +810 -0
- package/dist/types/stream-chat.dto.d.ts.map +1 -0
- package/dist/types/streaming-events.dto.d.ts +605 -0
- package/dist/types/streaming-events.dto.d.ts.map +1 -0
- package/dist/types/streaming.dto.d.ts +1178 -0
- package/dist/types/streaming.dto.d.ts.map +1 -0
- package/dist/types/swap-monitor.dto.d.ts +256 -0
- package/dist/types/swap-monitor.dto.d.ts.map +1 -0
- package/dist/types/token-ban.dto.d.ts +194 -0
- package/dist/types/token-ban.dto.d.ts.map +1 -0
- package/dist/types/token-config.dto.d.ts +117 -0
- package/dist/types/token-config.dto.d.ts.map +1 -0
- package/dist/types/token.types.d.ts +336 -0
- package/dist/types/token.types.d.ts.map +1 -0
- package/dist/types/trade.dto.d.ts +457 -0
- package/dist/types/trade.dto.d.ts.map +1 -0
- package/dist/types/trades-query.dto.d.ts +133 -0
- package/dist/types/trades-query.dto.d.ts.map +1 -0
- package/dist/types/transfer.dto.d.ts +156 -0
- package/dist/types/transfer.dto.d.ts.map +1 -0
- package/dist/types/user.dto.d.ts +880 -0
- package/dist/types/user.dto.d.ts.map +1 -0
- package/dist/types/websocket-admin.dto.d.ts +390 -0
- package/dist/types/websocket-admin.dto.d.ts.map +1 -0
- package/dist/types/websocket-data.types.d.ts +35 -0
- package/dist/types/websocket-data.types.d.ts.map +1 -0
- package/dist/types/websocket-events.dto.d.ts +472 -0
- package/dist/types/websocket-events.dto.d.ts.map +1 -0
- package/dist/types/websocket.types.d.ts +118 -0
- package/dist/types/websocket.types.d.ts.map +1 -0
- package/dist/types/weekly-challenge.dto.d.ts +130 -0
- package/dist/types/weekly-challenge.dto.d.ts.map +1 -0
- package/dist/types/wrappable-token.dto.d.ts +305 -0
- package/dist/types/wrappable-token.dto.d.ts.map +1 -0
- package/dist/utils/LiquidityEventExtractor.d.ts +106 -0
- package/dist/utils/LiquidityEventExtractor.d.ts.map +1 -0
- package/dist/utils/Logger.d.ts +136 -0
- package/dist/utils/Logger.d.ts.map +1 -0
- package/dist/utils/MonitoringMetrics.d.ts +151 -0
- package/dist/utils/MonitoringMetrics.d.ts.map +1 -0
- package/dist/utils/PoolKeyNormalizer.d.ts +135 -0
- package/dist/utils/PoolKeyNormalizer.d.ts.map +1 -0
- package/dist/utils/ReconnectionManager.d.ts +142 -0
- package/dist/utils/ReconnectionManager.d.ts.map +1 -0
- package/dist/utils/SignatureHelper.d.ts +140 -0
- package/dist/utils/SignatureHelper.d.ts.map +1 -0
- package/dist/utils/SwapEventExtractor.d.ts +152 -0
- package/dist/utils/SwapEventExtractor.d.ts.map +1 -0
- package/dist/utils/adapters.d.ts +111 -0
- package/dist/utils/adapters.d.ts.map +1 -0
- package/dist/utils/address-formatter.d.ts +318 -0
- package/dist/utils/address-formatter.d.ts.map +1 -0
- package/dist/utils/agent-config.d.ts +288 -0
- package/dist/utils/agent-config.d.ts.map +1 -0
- package/dist/utils/amount-validator.d.ts +268 -0
- package/dist/utils/amount-validator.d.ts.map +1 -0
- package/dist/utils/api-patterns.d.ts +347 -0
- package/dist/utils/api-patterns.d.ts.map +1 -0
- package/dist/utils/array-helpers.d.ts +115 -0
- package/dist/utils/array-helpers.d.ts.map +1 -0
- package/dist/utils/assetUrls.d.ts +450 -0
- package/dist/utils/assetUrls.d.ts.map +1 -0
- package/dist/utils/async-patterns.d.ts +272 -0
- package/dist/utils/async-patterns.d.ts.map +1 -0
- package/dist/utils/auto-pagination.d.ts +549 -0
- package/dist/utils/auto-pagination.d.ts.map +1 -0
- package/dist/utils/bignumber-helpers.d.ts +446 -0
- package/dist/utils/bignumber-helpers.d.ts.map +1 -0
- package/dist/utils/bignumber-pool-cache.d.ts +169 -0
- package/dist/utils/bignumber-pool-cache.d.ts.map +1 -0
- package/dist/utils/bondingCurveCalculations.d.ts +144 -0
- package/dist/utils/bondingCurveCalculations.d.ts.map +1 -0
- package/dist/utils/cacheWarmingHelpers.d.ts +110 -0
- package/dist/utils/cacheWarmingHelpers.d.ts.map +1 -0
- package/dist/utils/composite-pool-converter.d.ts +121 -0
- package/dist/utils/composite-pool-converter.d.ts.map +1 -0
- package/dist/utils/crypto-compat.d.ts +40 -0
- package/dist/utils/crypto-compat.d.ts.map +1 -0
- package/dist/utils/data-transform-patterns.d.ts +393 -0
- package/dist/utils/data-transform-patterns.d.ts.map +1 -0
- package/dist/utils/date-utils.d.ts +205 -0
- package/dist/utils/date-utils.d.ts.map +1 -0
- package/dist/utils/delimiter-parser.d.ts +139 -0
- package/dist/utils/delimiter-parser.d.ts.map +1 -0
- package/dist/utils/error-factories.d.ts +701 -0
- package/dist/utils/error-factories.d.ts.map +1 -0
- package/dist/utils/error-handling-patterns.d.ts +390 -0
- package/dist/utils/error-handling-patterns.d.ts.map +1 -0
- package/dist/utils/error-patterns.d.ts +360 -0
- package/dist/utils/error-patterns.d.ts.map +1 -0
- package/dist/utils/error-utils.d.ts +458 -0
- package/dist/utils/error-utils.d.ts.map +1 -0
- package/dist/utils/error-wrapper.d.ts +208 -0
- package/dist/utils/error-wrapper.d.ts.map +1 -0
- package/dist/utils/errors.d.ts +548 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/http-factory.d.ts +36 -0
- package/dist/utils/http-factory.d.ts.map +1 -0
- package/dist/utils/http.d.ts +97 -0
- package/dist/utils/http.d.ts.map +1 -0
- package/dist/utils/load-env.d.ts +31 -0
- package/dist/utils/load-env.d.ts.map +1 -0
- package/dist/utils/multipart-helpers.d.ts +38 -0
- package/dist/utils/multipart-helpers.d.ts.map +1 -0
- package/dist/utils/multipart.d.ts +63 -0
- package/dist/utils/multipart.d.ts.map +1 -0
- package/dist/utils/nft-helpers.d.ts +62 -0
- package/dist/utils/nft-helpers.d.ts.map +1 -0
- package/dist/utils/numeric-patterns.d.ts +289 -0
- package/dist/utils/numeric-patterns.d.ts.map +1 -0
- package/dist/utils/numeric-wrappers.d.ts +149 -0
- package/dist/utils/numeric-wrappers.d.ts.map +1 -0
- package/dist/utils/object-extractors.d.ts +115 -0
- package/dist/utils/object-extractors.d.ts.map +1 -0
- package/dist/utils/object-patterns.d.ts +81 -0
- package/dist/utils/object-patterns.d.ts.map +1 -0
- package/dist/utils/pagination-helpers.d.ts +161 -0
- package/dist/utils/pagination-helpers.d.ts.map +1 -0
- package/dist/utils/pagination-validation.d.ts +88 -0
- package/dist/utils/pagination-validation.d.ts.map +1 -0
- package/dist/utils/pool-pair-parser.d.ts +57 -0
- package/dist/utils/pool-pair-parser.d.ts.map +1 -0
- package/dist/utils/pool-state-validator.d.ts +207 -0
- package/dist/utils/pool-state-validator.d.ts.map +1 -0
- package/dist/utils/position-filters.d.ts +252 -0
- package/dist/utils/position-filters.d.ts.map +1 -0
- package/dist/utils/primitives.d.ts +76 -0
- package/dist/utils/primitives.d.ts.map +1 -0
- package/dist/utils/query-params.d.ts +89 -0
- package/dist/utils/query-params.d.ts.map +1 -0
- package/dist/utils/response-handlers.d.ts +225 -0
- package/dist/utils/response-handlers.d.ts.map +1 -0
- package/dist/utils/response-helpers.d.ts +28 -0
- package/dist/utils/response-helpers.d.ts.map +1 -0
- package/dist/utils/response-normalizers.d.ts +115 -0
- package/dist/utils/response-normalizers.d.ts.map +1 -0
- package/dist/utils/safe-parsers.d.ts +487 -0
- package/dist/utils/safe-parsers.d.ts.map +1 -0
- package/dist/utils/service-validators.d.ts +268 -0
- package/dist/utils/service-validators.d.ts.map +1 -0
- package/dist/utils/slippage-utils.d.ts +70 -0
- package/dist/utils/slippage-utils.d.ts.map +1 -0
- package/dist/utils/string-patterns.d.ts +404 -0
- package/dist/utils/string-patterns.d.ts.map +1 -0
- package/dist/utils/string-transforms.d.ts +89 -0
- package/dist/utils/string-transforms.d.ts.map +1 -0
- package/dist/utils/string-utils.d.ts +108 -0
- package/dist/utils/string-utils.d.ts.map +1 -0
- package/dist/utils/swap-delta-calculator.d.ts +231 -0
- package/dist/utils/swap-delta-calculator.d.ts.map +1 -0
- package/dist/utils/tick-crossing-handler.d.ts +250 -0
- package/dist/utils/tick-crossing-handler.d.ts.map +1 -0
- package/dist/utils/token-format-converter.d.ts +175 -0
- package/dist/utils/token-format-converter.d.ts.map +1 -0
- package/dist/utils/token-parser.d.ts +235 -0
- package/dist/utils/token-parser.d.ts.map +1 -0
- package/dist/utils/token-stringification.d.ts +168 -0
- package/dist/utils/token-stringification.d.ts.map +1 -0
- package/dist/utils/tokenNameNormalizer.d.ts +96 -0
- package/dist/utils/tokenNameNormalizer.d.ts.map +1 -0
- package/dist/utils/tokenNormalizer.d.ts +167 -0
- package/dist/utils/tokenNormalizer.d.ts.map +1 -0
- package/dist/utils/trade-transformers.d.ts +28 -0
- package/dist/utils/trade-transformers.d.ts.map +1 -0
- package/dist/utils/transfer-validation.d.ts +58 -0
- package/dist/utils/transfer-validation.d.ts.map +1 -0
- package/dist/utils/type-guard-factory.d.ts +260 -0
- package/dist/utils/type-guard-factory.d.ts.map +1 -0
- package/dist/utils/unique-key-generator.d.ts +148 -0
- package/dist/utils/unique-key-generator.d.ts.map +1 -0
- package/dist/utils/validation-helpers.d.ts +1074 -0
- package/dist/utils/validation-helpers.d.ts.map +1 -0
- package/dist/utils/validation-patterns.d.ts +768 -0
- package/dist/utils/validation-patterns.d.ts.map +1 -0
- package/dist/utils/validation.d.ts +140 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/wallet.d.ts +185 -0
- package/dist/utils/wallet.d.ts.map +1 -0
- package/dist/utils/websocket-errors.d.ts +30 -0
- package/dist/utils/websocket-errors.d.ts.map +1 -0
- package/dist/utils/websocket-patterns.d.ts +680 -0
- package/dist/utils/websocket-patterns.d.ts.map +1 -0
- package/dist/utils/websocket-validators.d.ts +30 -0
- package/dist/utils/websocket-validators.d.ts.map +1 -0
- package/dist/wallet/ExternalWalletProvider.d.ts +109 -0
- package/dist/wallet/ExternalWalletProvider.d.ts.map +1 -0
- package/dist/wallet/GalaChainConnectProvider.d.ts +125 -0
- package/dist/wallet/GalaChainConnectProvider.d.ts.map +1 -0
- package/dist/wallet/GalaWalletProvider.d.ts +139 -0
- package/dist/wallet/GalaWalletProvider.d.ts.map +1 -0
- package/dist/wallet/PrivateKeyProvider.d.ts +90 -0
- package/dist/wallet/PrivateKeyProvider.d.ts.map +1 -0
- package/dist/wallet/detection.d.ts +107 -0
- package/dist/wallet/detection.d.ts.map +1 -0
- package/dist/wallet/index.d.ts +52 -0
- package/dist/wallet/index.d.ts.map +1 -0
- package/dist/wallet/types.d.ts +267 -0
- package/dist/wallet/types.d.ts.map +1 -0
- package/dist/wallet/utils.d.ts +117 -0
- package/dist/wallet/utils.d.ts.map +1 -0
- package/dist/wallet.cjs +1 -0
- package/dist/wallet.esm.js +1 -0
- package/package.json +131 -33
- package/dist/index.cjs.js +0 -1
- 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
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JWT Authentication Manager
|
|
3
|
+
*
|
|
4
|
+
* Manages JWT access token storage, expiration tracking, and header generation.
|
|
5
|
+
* Used for session-based authentication with the launchpad backend.
|
|
6
|
+
*
|
|
7
|
+
* @category Authentication
|
|
8
|
+
* @since 5.2.0
|
|
9
|
+
*/
|
|
10
|
+
import type { TokenStorage } from './storage';
|
|
11
|
+
/**
|
|
12
|
+
* JWT token state interface
|
|
13
|
+
*/
|
|
14
|
+
export interface JwtTokenState {
|
|
15
|
+
/** Access token string */
|
|
16
|
+
token: string;
|
|
17
|
+
/** Expiration timestamp (ms since epoch) */
|
|
18
|
+
expiresAt: number;
|
|
19
|
+
/** Token issue timestamp (ms since epoch) */
|
|
20
|
+
issuedAt: number;
|
|
21
|
+
/** Refresh token (optional, 90 day TTL) */
|
|
22
|
+
refreshToken?: string;
|
|
23
|
+
/** Refresh token expiration timestamp (ms since epoch) */
|
|
24
|
+
refreshExpiresAt?: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* JWT Authentication Manager
|
|
28
|
+
*
|
|
29
|
+
* Handles JWT token lifecycle including:
|
|
30
|
+
* - Token storage and retrieval
|
|
31
|
+
* - Expiration tracking
|
|
32
|
+
* - Refresh threshold detection
|
|
33
|
+
* - Authorization header generation
|
|
34
|
+
* - Refresh token support (90 day TTL)
|
|
35
|
+
* - Optional persistence via TokenStorage adapter
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```typescript
|
|
39
|
+
* const jwtAuth = new JwtAuth();
|
|
40
|
+
*
|
|
41
|
+
* // After login
|
|
42
|
+
* jwtAuth.setTokens(accessToken, 900, refreshToken, 7776000);
|
|
43
|
+
*
|
|
44
|
+
* // Check auth state
|
|
45
|
+
* if (jwtAuth.hasToken() && !jwtAuth.isExpired()) {
|
|
46
|
+
* const header = jwtAuth.getAuthorizationHeader();
|
|
47
|
+
* // Use header for requests
|
|
48
|
+
* }
|
|
49
|
+
*
|
|
50
|
+
* // Auto-refresh check
|
|
51
|
+
* if (jwtAuth.shouldRefresh()) {
|
|
52
|
+
* // Token expires within 5 minutes, refresh it
|
|
53
|
+
* }
|
|
54
|
+
*
|
|
55
|
+
* // Get refresh token for refresh flow
|
|
56
|
+
* const refreshToken = await jwtAuth.getRefreshToken();
|
|
57
|
+
*
|
|
58
|
+
* // Logout
|
|
59
|
+
* await jwtAuth.clear();
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare class JwtAuth {
|
|
63
|
+
private tokenState;
|
|
64
|
+
private readonly refreshThresholdMs;
|
|
65
|
+
private readonly storage;
|
|
66
|
+
private readonly STORAGE_KEYS;
|
|
67
|
+
/**
|
|
68
|
+
* Create a new JwtAuth instance
|
|
69
|
+
*
|
|
70
|
+
* @param storage - TokenStorage adapter (default: MemoryStorage for no persistence)
|
|
71
|
+
* @param refreshThresholdMs - Refresh threshold in milliseconds (default: 5 minutes)
|
|
72
|
+
*/
|
|
73
|
+
constructor(storage?: TokenStorage, refreshThresholdMs?: number);
|
|
74
|
+
/**
|
|
75
|
+
* Store a JWT token with expiration tracking
|
|
76
|
+
*
|
|
77
|
+
* @param token - The JWT access token
|
|
78
|
+
* @param expiresIn - Token lifetime in seconds (e.g., 900 for 15min)
|
|
79
|
+
* @throws {AuthError} If token is empty or expiresIn is invalid
|
|
80
|
+
*/
|
|
81
|
+
setToken(token: string, expiresIn: number): void;
|
|
82
|
+
/**
|
|
83
|
+
* Store both access and refresh tokens with expiration tracking
|
|
84
|
+
*
|
|
85
|
+
* @param accessToken - The JWT access token
|
|
86
|
+
* @param accessExpiresIn - Access token lifetime in seconds
|
|
87
|
+
* @param refreshToken - Optional refresh token (90 day TTL)
|
|
88
|
+
* @param refreshExpiresIn - Optional refresh token lifetime in seconds
|
|
89
|
+
* @throws {AuthError} If tokens are invalid
|
|
90
|
+
*/
|
|
91
|
+
setTokens(accessToken: string, accessExpiresIn: number, refreshToken?: string, refreshExpiresIn?: number): Promise<void>;
|
|
92
|
+
/**
|
|
93
|
+
* Get the current JWT token
|
|
94
|
+
*
|
|
95
|
+
* @returns The access token string, or null if not set
|
|
96
|
+
*/
|
|
97
|
+
getToken(): string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Check if a token is currently stored
|
|
100
|
+
*
|
|
101
|
+
* @returns true if a token exists (may still be expired)
|
|
102
|
+
*/
|
|
103
|
+
hasToken(): boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Check if the token has expired
|
|
106
|
+
*
|
|
107
|
+
* @returns true if expired or no token exists
|
|
108
|
+
*/
|
|
109
|
+
isExpired(): boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Check if the token should be refreshed
|
|
112
|
+
*
|
|
113
|
+
* Returns true if the token will expire within the refresh threshold.
|
|
114
|
+
* This enables proactive token refresh before expiration.
|
|
115
|
+
*
|
|
116
|
+
* @param thresholdMs - Custom threshold in milliseconds (default: class threshold)
|
|
117
|
+
* @returns true if refresh is recommended
|
|
118
|
+
*/
|
|
119
|
+
shouldRefresh(thresholdMs?: number): boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Get time until token expiration
|
|
122
|
+
*
|
|
123
|
+
* @returns Milliseconds until expiration, or 0 if expired/no token
|
|
124
|
+
*/
|
|
125
|
+
getTimeUntilExpiry(): number;
|
|
126
|
+
/**
|
|
127
|
+
* Get token expiration timestamp
|
|
128
|
+
*
|
|
129
|
+
* @returns Expiration timestamp (ms since epoch), or null if no token
|
|
130
|
+
*/
|
|
131
|
+
getExpiresAt(): number | null;
|
|
132
|
+
/**
|
|
133
|
+
* Get the Authorization header value
|
|
134
|
+
*
|
|
135
|
+
* @returns "Bearer {token}" string, or null if no valid token
|
|
136
|
+
*/
|
|
137
|
+
getAuthorizationHeader(): string | null;
|
|
138
|
+
/**
|
|
139
|
+
* Get JWT auth headers for HTTP requests
|
|
140
|
+
*
|
|
141
|
+
* @returns Headers object with Authorization header
|
|
142
|
+
* @throws {AuthError} If no valid token is available
|
|
143
|
+
*/
|
|
144
|
+
getJwtHeaders(): Record<string, string>;
|
|
145
|
+
/**
|
|
146
|
+
* Get the stored refresh token (if any)
|
|
147
|
+
*
|
|
148
|
+
* @returns The refresh token string, or null if not set or expired
|
|
149
|
+
*/
|
|
150
|
+
getRefreshToken(): Promise<string | null>;
|
|
151
|
+
/**
|
|
152
|
+
* Restore tokens from storage (for session persistence)
|
|
153
|
+
*
|
|
154
|
+
* Attempts to restore access and refresh tokens from the storage adapter.
|
|
155
|
+
* Validates expiration times before restoring.
|
|
156
|
+
*
|
|
157
|
+
* @returns true if valid tokens were restored, false otherwise
|
|
158
|
+
*/
|
|
159
|
+
restoreFromStorage(): Promise<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* Clear the stored token (logout)
|
|
162
|
+
*/
|
|
163
|
+
clear(): Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
* Check if the token is valid (exists and not expired)
|
|
166
|
+
*
|
|
167
|
+
* @returns true if token exists and is not expired
|
|
168
|
+
*/
|
|
169
|
+
isValid(): boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Get a debug-friendly summary of the token state
|
|
172
|
+
*
|
|
173
|
+
* @returns Token state summary (does NOT include the actual token)
|
|
174
|
+
*/
|
|
175
|
+
getDebugInfo(): {
|
|
176
|
+
hasToken: boolean;
|
|
177
|
+
isExpired: boolean;
|
|
178
|
+
shouldRefresh: boolean;
|
|
179
|
+
timeUntilExpiryMs: number;
|
|
180
|
+
expiresAt: Date | null;
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=JwtAuth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JwtAuth.d.ts","sourceRoot":"","sources":["../../src/auth/JwtAuth.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAC,MAAM,WAAW,CAAC;AAI7C;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,OAAO;IAClB,OAAO,CAAC,UAAU,CAA8B;IAChD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAS;IAC5C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAe;IAEvC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAK3B;IAEF;;;;;OAKG;gBACS,OAAO,CAAC,EAAE,YAAY,EAAE,kBAAkB,GAAE,MAA2C;IAKnG;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;IA0ChD;;;;;;;;OAQG;IACG,SAAS,CACb,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,EACvB,YAAY,CAAC,EAAE,MAAM,EACrB,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC,IAAI,CAAC;IA0BhB;;;;OAIG;IACH,QAAQ,IAAI,MAAM,GAAG,IAAI;IAIzB;;;;OAIG;IACH,QAAQ,IAAI,OAAO;IAInB;;;;OAIG;IACH,SAAS,IAAI,OAAO;IAOpB;;;;;;;;OAQG;IACH,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO;IAU5C;;;;OAIG;IACH,kBAAkB,IAAI,MAAM;IAQ5B;;;;OAIG;IACH,YAAY,IAAI,MAAM,GAAG,IAAI;IAI7B;;;;OAIG;IACH,sBAAsB,IAAI,MAAM,GAAG,IAAI;IAQvC;;;;;OAKG;IACH,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAWvC;;;;OAIG;IACG,eAAe,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IA4B/C;;;;;;;OAOG;IACG,kBAAkB,IAAI,OAAO,CAAC,OAAO,CAAC;IAwC5C;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAU5B;;;;OAIG;IACH,OAAO,IAAI,OAAO;IAIlB;;;;OAIG;IACH,YAAY,IAAI;QACd,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,aAAa,EAAE,OAAO,CAAC;QACvB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;KACxB;CASF"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session Authentication Service
|
|
3
|
+
*
|
|
4
|
+
* Handles JWT-based session authentication including login, logout, and token refresh.
|
|
5
|
+
* Works with SignatureAuth for wallet signing and JwtAuth for token management.
|
|
6
|
+
*
|
|
7
|
+
* @category Authentication
|
|
8
|
+
* @since 5.2.0
|
|
9
|
+
*/
|
|
10
|
+
import type { LoginResponse, RefreshResponse, SessionInfo } from '../types/session-auth.dto';
|
|
11
|
+
import type { HttpClient } from '../utils/http';
|
|
12
|
+
import type { JwtAuth } from './JwtAuth';
|
|
13
|
+
import type { SignatureAuth } from './SignatureAuth';
|
|
14
|
+
/**
|
|
15
|
+
* Session Authentication Service
|
|
16
|
+
*
|
|
17
|
+
* Provides JWT-based authentication flow:
|
|
18
|
+
* 1. Login: Sign message with wallet → POST /auth/login → Get JWT token
|
|
19
|
+
* 2. Refresh: POST /auth/refresh → Get new token before expiry
|
|
20
|
+
* 3. Logout: Clear token (client-side)
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```typescript
|
|
24
|
+
* const sessionAuth = new SessionAuthService(http, signatureAuth, jwtAuth);
|
|
25
|
+
*
|
|
26
|
+
* // Login
|
|
27
|
+
* const { accessToken, expiresIn } = await sessionAuth.login();
|
|
28
|
+
*
|
|
29
|
+
* // Auto-refresh check
|
|
30
|
+
* if (sessionAuth.shouldRefresh()) {
|
|
31
|
+
* await sessionAuth.ensureValidToken();
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* // Logout
|
|
35
|
+
* await sessionAuth.logout();
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class SessionAuthService {
|
|
39
|
+
private readonly http;
|
|
40
|
+
private readonly signatureAuth;
|
|
41
|
+
private readonly jwtAuth;
|
|
42
|
+
private readonly logger;
|
|
43
|
+
/**
|
|
44
|
+
* In-flight refresh promise to prevent concurrent refresh calls.
|
|
45
|
+
* This ensures that if multiple requests trigger a refresh simultaneously,
|
|
46
|
+
* only one refresh actually happens and all callers get the same result.
|
|
47
|
+
*/
|
|
48
|
+
private refreshPromise;
|
|
49
|
+
/**
|
|
50
|
+
* In-flight login promise for re-login on token expiry.
|
|
51
|
+
*/
|
|
52
|
+
private loginPromise;
|
|
53
|
+
constructor(http: HttpClient, signatureAuth: SignatureAuth, jwtAuth: JwtAuth, debugMode?: boolean);
|
|
54
|
+
/**
|
|
55
|
+
* Login with wallet signature to get JWT token
|
|
56
|
+
*
|
|
57
|
+
* Flow:
|
|
58
|
+
* 1. Generate message with timestamp: "Sign in to Launchpad t:{timestamp}"
|
|
59
|
+
* 2. Sign message with wallet
|
|
60
|
+
* 3. POST to /auth/login with signature
|
|
61
|
+
* 4. Store JWT token in JwtAuth
|
|
62
|
+
*
|
|
63
|
+
* This method includes race condition protection - if multiple calls
|
|
64
|
+
* happen concurrently, only one login request is made.
|
|
65
|
+
*
|
|
66
|
+
* @returns Login response with accessToken and expiration
|
|
67
|
+
* @throws {AuthError} If login fails or wallet not configured
|
|
68
|
+
*/
|
|
69
|
+
login(): Promise<LoginResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Internal login implementation
|
|
72
|
+
*/
|
|
73
|
+
private performLogin;
|
|
74
|
+
/**
|
|
75
|
+
* Refresh the current JWT token
|
|
76
|
+
*
|
|
77
|
+
* Requires an existing valid token. Use this to get a new token
|
|
78
|
+
* before the current one expires.
|
|
79
|
+
*
|
|
80
|
+
* This method includes race condition protection - if multiple calls
|
|
81
|
+
* happen concurrently, only one refresh request is made.
|
|
82
|
+
*
|
|
83
|
+
* @returns Refresh response with new accessToken
|
|
84
|
+
* @throws {AuthError} If refresh fails or no token exists
|
|
85
|
+
*/
|
|
86
|
+
refresh(): Promise<RefreshResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Internal refresh implementation
|
|
89
|
+
*/
|
|
90
|
+
private performRefresh;
|
|
91
|
+
/**
|
|
92
|
+
* Logout and clear the JWT token
|
|
93
|
+
*
|
|
94
|
+
* Supports logging out from all devices by revoking all refresh tokens server-side.
|
|
95
|
+
* This clears the client-side token and optionally revokes all devices' tokens on the backend.
|
|
96
|
+
*
|
|
97
|
+
* @param options - Optional logout configuration
|
|
98
|
+
* @param options.allDevices - If true, revoke all devices' tokens server-side
|
|
99
|
+
*/
|
|
100
|
+
logout(options?: {
|
|
101
|
+
allDevices?: boolean;
|
|
102
|
+
}): Promise<void>;
|
|
103
|
+
/**
|
|
104
|
+
* Get current session information from the backend
|
|
105
|
+
*
|
|
106
|
+
* @returns Session info with address and timestamps
|
|
107
|
+
* @throws {AuthError} If not authenticated
|
|
108
|
+
*/
|
|
109
|
+
getSession(): Promise<SessionInfo>;
|
|
110
|
+
/**
|
|
111
|
+
* Get the current JWT access token
|
|
112
|
+
*
|
|
113
|
+
* @returns Access token string, or null if not authenticated
|
|
114
|
+
*/
|
|
115
|
+
getAccessToken(): string | null;
|
|
116
|
+
/**
|
|
117
|
+
* Check if user is authenticated with valid JWT
|
|
118
|
+
*
|
|
119
|
+
* @returns true if authenticated with non-expired token
|
|
120
|
+
*/
|
|
121
|
+
isAuthenticated(): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Check if token should be refreshed
|
|
124
|
+
*
|
|
125
|
+
* Returns true if token exists and will expire within threshold.
|
|
126
|
+
*
|
|
127
|
+
* @param thresholdMs - Custom threshold (default: 5 minutes)
|
|
128
|
+
* @returns true if refresh is recommended
|
|
129
|
+
*/
|
|
130
|
+
shouldRefresh(thresholdMs?: number): boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Ensure we have a valid token, refreshing if necessary
|
|
133
|
+
*
|
|
134
|
+
* Call this before making authenticated requests to ensure
|
|
135
|
+
* the token won't expire mid-request.
|
|
136
|
+
*
|
|
137
|
+
* @param thresholdMs - Refresh threshold (default: 5 minutes)
|
|
138
|
+
* @returns Current access token
|
|
139
|
+
* @throws {AuthError} If not authenticated and can't refresh
|
|
140
|
+
*/
|
|
141
|
+
ensureValidToken(thresholdMs?: number): Promise<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Extract login/refresh data from backend response
|
|
144
|
+
*/
|
|
145
|
+
private extractLoginData;
|
|
146
|
+
/**
|
|
147
|
+
* Extract session data from backend response
|
|
148
|
+
*/
|
|
149
|
+
private extractSessionData;
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=SessionAuthService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionAuthService.d.ts","sourceRoot":"","sources":["../../src/auth/SessionAuthService.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAIV,aAAa,EACb,eAAe,EACf,WAAW,EACZ,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,kBAAkB;IAgB3B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAjB1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;;OAIG;IACH,OAAO,CAAC,cAAc,CAAyC;IAE/D;;OAEG;IACH,OAAO,CAAC,YAAY,CAAuC;gBAGxC,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,EACjC,SAAS,GAAE,OAAe;IAS5B;;;;;;;;;;;;;;OAcG;IACG,KAAK,IAAI,OAAO,CAAC,aAAa,CAAC;IAyBrC;;OAEG;YACW,YAAY;IAoF1B;;;;;;;;;;;OAWG;IACG,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC;IAyBzC;;OAEG;YACW,cAAc;IA6E5B;;;;;;;;OAQG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAkC/D;;;;;OAKG;IACG,UAAU,IAAI,OAAO,CAAC,WAAW,CAAC;IAkCxC;;;;OAIG;IACH,cAAc,IAAI,MAAM,GAAG,IAAI;IAI/B;;;;OAIG;IACH,eAAe,IAAI,OAAO;IAI1B;;;;;;;OAOG;IACH,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO;IAI5C;;;;;;;;;OASG;IACG,gBAAgB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA8C7D;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAoCxB;;OAEG;IACH,OAAO,CAAC,kBAAkB;CAU3B"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type { Wallet } from 'ethers';
|
|
2
|
+
import type { EIP712Domain, EIP712Types } from '../types/trade.dto.js';
|
|
3
|
+
import type { WalletProvider } from '../wallet/types';
|
|
4
|
+
import type { AuthConfig, SignatureResult } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* Handles signature-based authentication for the Launchpad SDK
|
|
7
|
+
*
|
|
8
|
+
* This class generates signatures that are used in the `Sign` header
|
|
9
|
+
* for authenticating requests to the backend API.
|
|
10
|
+
*
|
|
11
|
+
* Supports optional wallet configuration for read-only operations.
|
|
12
|
+
* Now supports both ethers.js Wallet and WalletProvider interfaces.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SignatureAuth {
|
|
15
|
+
/** @deprecated Use walletProvider instead */
|
|
16
|
+
private wallet;
|
|
17
|
+
/** The wallet provider used for signing operations */
|
|
18
|
+
private walletProvider;
|
|
19
|
+
/** Cached address for synchronous access */
|
|
20
|
+
private cachedAddress;
|
|
21
|
+
/** Cached Gala address for synchronous access */
|
|
22
|
+
private cachedGalaAddress;
|
|
23
|
+
private readonly messagePrefix;
|
|
24
|
+
constructor(config: AuthConfig);
|
|
25
|
+
/**
|
|
26
|
+
* Checks if a wallet is configured
|
|
27
|
+
*
|
|
28
|
+
* @returns true if wallet is configured, false otherwise
|
|
29
|
+
*/
|
|
30
|
+
hasWallet(): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Ensures the wallet is wrapped with PrivateKeyProvider (lazy initialization)
|
|
33
|
+
*
|
|
34
|
+
* @throws AuthError if wrapping fails
|
|
35
|
+
*/
|
|
36
|
+
private ensureWalletProvider;
|
|
37
|
+
/**
|
|
38
|
+
* Sets or updates the wallet (legacy method)
|
|
39
|
+
*
|
|
40
|
+
* Allows dynamic wallet configuration after initialization.
|
|
41
|
+
*
|
|
42
|
+
* @param wallet The new wallet to configure
|
|
43
|
+
* @throws AuthError if wallet is invalid
|
|
44
|
+
* @deprecated Use setWalletProvider() instead
|
|
45
|
+
*/
|
|
46
|
+
setWallet(wallet: Wallet | undefined): void;
|
|
47
|
+
/**
|
|
48
|
+
* Sets or updates the wallet provider
|
|
49
|
+
*
|
|
50
|
+
* Allows dynamic wallet provider configuration after initialization.
|
|
51
|
+
*
|
|
52
|
+
* @param provider The new wallet provider to configure
|
|
53
|
+
*/
|
|
54
|
+
setWalletProvider(provider: WalletProvider | undefined): void;
|
|
55
|
+
/**
|
|
56
|
+
* Gets the configured wallet provider
|
|
57
|
+
*
|
|
58
|
+
* @returns The wallet provider or undefined if not configured
|
|
59
|
+
*/
|
|
60
|
+
getWalletProvider(): WalletProvider | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Ensures the address is cached for synchronous access
|
|
63
|
+
*
|
|
64
|
+
* Call this after connecting an external wallet to enable synchronous address access.
|
|
65
|
+
*/
|
|
66
|
+
cacheAddress(): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Generates a signature for the current timestamp
|
|
69
|
+
*
|
|
70
|
+
* The message format is: "Create a GalaChain Wallet {13-digit-timestamp}"
|
|
71
|
+
* This signature is used in the `Sign` header for API authentication.
|
|
72
|
+
*
|
|
73
|
+
* @returns Promise<SignatureResult> The signature data
|
|
74
|
+
* @throws AuthError If signature generation fails or wallet is not configured
|
|
75
|
+
*/
|
|
76
|
+
generateSignature(): Promise<SignatureResult>;
|
|
77
|
+
/**
|
|
78
|
+
* Gets the wallet address in the required eth|{address} format
|
|
79
|
+
*
|
|
80
|
+
* @returns The formatted address
|
|
81
|
+
* @throws AuthError if wallet is not configured
|
|
82
|
+
*/
|
|
83
|
+
getAddress(): string;
|
|
84
|
+
/**
|
|
85
|
+
* Gets the wallet address in the required eth|{address} format (async version)
|
|
86
|
+
*
|
|
87
|
+
* @returns Promise resolving to the formatted address
|
|
88
|
+
* @throws AuthError if wallet is not configured
|
|
89
|
+
*/
|
|
90
|
+
getAddressAsync(): Promise<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Gets the raw Ethereum wallet address (0x prefixed)
|
|
93
|
+
*
|
|
94
|
+
* @returns The Ethereum address with 0x prefix
|
|
95
|
+
* @throws AuthError if wallet is not configured
|
|
96
|
+
*/
|
|
97
|
+
getEthereumAddress(): string;
|
|
98
|
+
/**
|
|
99
|
+
* Gets the raw Ethereum wallet address (0x prefixed) - async version
|
|
100
|
+
*
|
|
101
|
+
* @returns Promise resolving to the Ethereum address with 0x prefix
|
|
102
|
+
* @throws AuthError if wallet is not configured
|
|
103
|
+
*/
|
|
104
|
+
getEthereumAddressAsync(): Promise<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Gets the wallet's private key for @gala-chain signing operations
|
|
107
|
+
*
|
|
108
|
+
* @returns The wallet's private key (0x prefixed)
|
|
109
|
+
* @throws AuthError If wallet is not configured or private key is not available
|
|
110
|
+
*/
|
|
111
|
+
getPrivateKey(): string;
|
|
112
|
+
/**
|
|
113
|
+
* Gets the wallet's private key for @gala-chain signing operations (async version)
|
|
114
|
+
*
|
|
115
|
+
* @returns Promise resolving to the wallet's private key (0x prefixed)
|
|
116
|
+
* @throws AuthError If wallet is not configured or private key is not available
|
|
117
|
+
*/
|
|
118
|
+
getPrivateKeyAsync(): Promise<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Formats an Ethereum address to the required backend format
|
|
121
|
+
*
|
|
122
|
+
* @param address The Ethereum address (with or without 0x prefix)
|
|
123
|
+
* @returns Formatted address as eth|{40-hex-chars}
|
|
124
|
+
*/
|
|
125
|
+
private formatAddress;
|
|
126
|
+
/**
|
|
127
|
+
* Signs a message and returns result in Ethereum format (for tests/debugging)
|
|
128
|
+
*
|
|
129
|
+
* @param message The message to sign
|
|
130
|
+
* @returns Promise<SignatureResult> The signature data with Ethereum addresses
|
|
131
|
+
* @throws AuthError If signature generation fails or wallet is not configured
|
|
132
|
+
*/
|
|
133
|
+
signMessage(message: string): Promise<SignatureResult>;
|
|
134
|
+
/**
|
|
135
|
+
* Generates authentication headers for HTTP requests
|
|
136
|
+
*
|
|
137
|
+
* @param url The request URL path
|
|
138
|
+
* @param method The HTTP method
|
|
139
|
+
* @returns Promise<Record<string, string>> Authentication headers
|
|
140
|
+
* @throws AuthError If header generation fails or wallet is not configured
|
|
141
|
+
*/
|
|
142
|
+
generateAuthHeaders(url: string, method: string): Promise<Record<string, string>>;
|
|
143
|
+
/**
|
|
144
|
+
* Signs typed data using EIP-712 standard
|
|
145
|
+
*
|
|
146
|
+
* @param domain The EIP-712 domain
|
|
147
|
+
* @param types The EIP-712 types
|
|
148
|
+
* @param message The message to sign
|
|
149
|
+
* @returns Promise<string> The signature
|
|
150
|
+
* @throws AuthError If signature generation fails or wallet is not configured
|
|
151
|
+
*/
|
|
152
|
+
signTypedData(domain: EIP712Domain, types: EIP712Types, message: Record<string, unknown>): Promise<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Generates a signature for a custom message (for endpoint-specific auth)
|
|
155
|
+
*
|
|
156
|
+
* This method signs a custom message without adding a timestamp,
|
|
157
|
+
* used for endpoints that require specific message signatures like "Update profile".
|
|
158
|
+
*
|
|
159
|
+
* @param message The custom message to sign
|
|
160
|
+
* @returns Promise<SignatureResult> The signature data
|
|
161
|
+
* @throws AuthError If signature generation fails or wallet is not configured
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* ```typescript
|
|
165
|
+
* const signatureAuth = new SignatureAuth({ wallet, messagePrefix: 'Custom' });
|
|
166
|
+
* const result = await signatureAuth.generateCustomSignature("Update profile");
|
|
167
|
+
* console.log('Signature:', result.signature);
|
|
168
|
+
* console.log('Address:', result.address); // eth|{address} format
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
generateCustomSignature(message: string): Promise<SignatureResult>;
|
|
172
|
+
/**
|
|
173
|
+
* Validates that the wallet is properly configured (synchronous - for backward compatibility)
|
|
174
|
+
*/
|
|
175
|
+
private validateWallet;
|
|
176
|
+
/**
|
|
177
|
+
* Validates that the wallet provider is properly configured (async version)
|
|
178
|
+
*/
|
|
179
|
+
private validateWalletAsync;
|
|
180
|
+
}
|
|
181
|
+
//# sourceMappingURL=SignatureAuth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignatureAuth.d.ts","sourceRoot":"","sources":["../../src/auth/SignatureAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAOvE,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAC,MAAM,SAAS,CAAC;AAG1D;;;;;;;;GAQG;AACH,qBAAa,aAAa;IACxB,6CAA6C;IAC7C,OAAO,CAAC,MAAM,CAAqB;IAEnC,sDAAsD;IACtD,OAAO,CAAC,cAAc,CAA6B;IAEnD,4CAA4C;IAC5C,OAAO,CAAC,aAAa,CAAqB;IAE1C,iDAAiD;IACjD,OAAO,CAAC,iBAAiB,CAAqB;IAE9C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;gBAE3B,MAAM,EAAE,UAAU;IA+B9B;;;;OAIG;IACH,SAAS,IAAI,OAAO;IAIpB;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAuC5B;;;;;;;;OAQG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IA4B3C;;;;;;OAMG;IACH,iBAAiB,CAAC,QAAQ,EAAE,cAAc,GAAG,SAAS,GAAG,IAAI;IAO7D;;;;OAIG;IACH,iBAAiB,IAAI,cAAc,GAAG,SAAS;IAI/C;;;;OAIG;IACG,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAOnC;;;;;;;;OAQG;IACG,iBAAiB,IAAI,OAAO,CAAC,eAAe,CAAC;IA6BnD;;;;;OAKG;IACH,UAAU,IAAI,MAAM;IAqBpB;;;;;OAKG;IACG,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC;IAKxC;;;;;OAKG;IACH,kBAAkB,IAAI,MAAM;IAqB5B;;;;;OAKG;IACG,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC;IAKhD;;;;;OAKG;IACH,aAAa,IAAI,MAAM;IA8BvB;;;;;OAKG;IACG,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC;IAsB3C;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAWrB;;;;;;OAMG;IACG,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAyB5D;;;;;;;OAOG;IACG,mBAAmB,CACvB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IA8BlC;;;;;;;;OAQG;IACG,aAAa,CACjB,MAAM,EAAE,YAAY,EACpB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,MAAM,CAAC;IA0BlB;;;;;;;;;;;;;;;;;OAiBG;IACG,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAkCxE;;OAEG;IACH,OAAO,CAAC,cAAc;IAWtB;;OAEG;YAEW,mBAAmB;CAiBlC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token storage interface for persisting authentication tokens
|
|
3
|
+
*
|
|
4
|
+
* Implementations can use different backends:
|
|
5
|
+
* - MemoryStorage: In-memory only (default, no persistence)
|
|
6
|
+
* - localStorage: Browser persistence across sessions
|
|
7
|
+
* - AsyncStorage: React Native persistence
|
|
8
|
+
*
|
|
9
|
+
* @category Authentication
|
|
10
|
+
* @since 5.15.0
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Token storage interface
|
|
14
|
+
*/
|
|
15
|
+
export interface TokenStorage {
|
|
16
|
+
/**
|
|
17
|
+
* Get a token value
|
|
18
|
+
* @param key - Storage key
|
|
19
|
+
* @returns Token value or null if not found
|
|
20
|
+
*/
|
|
21
|
+
get(key: string): Promise<string | null>;
|
|
22
|
+
/**
|
|
23
|
+
* Set a token value
|
|
24
|
+
* @param key - Storage key
|
|
25
|
+
* @param value - Token value
|
|
26
|
+
*/
|
|
27
|
+
set(key: string, value: string): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Remove a token value
|
|
30
|
+
* @param key - Storage key
|
|
31
|
+
*/
|
|
32
|
+
remove(key: string): Promise<void>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* In-memory token storage (no persistence)
|
|
36
|
+
*
|
|
37
|
+
* Default implementation that stores tokens only in memory.
|
|
38
|
+
* Tokens are lost when the page reloads or app restarts.
|
|
39
|
+
*/
|
|
40
|
+
export declare class MemoryStorage implements TokenStorage {
|
|
41
|
+
private data;
|
|
42
|
+
get(key: string): Promise<string | null>;
|
|
43
|
+
set(key: string, value: string): Promise<void>;
|
|
44
|
+
remove(key: string): Promise<void>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* localStorage-based token storage (browser persistence)
|
|
48
|
+
*
|
|
49
|
+
* Stores tokens in browser localStorage for persistence across sessions.
|
|
50
|
+
* Suitable for web applications where you want sessions to survive page reloads.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```typescript
|
|
54
|
+
* const storage = new LocalStorageAdapter();
|
|
55
|
+
* const sdk = new LaunchpadClient({
|
|
56
|
+
* baseUrl: 'http://localhost:4000',
|
|
57
|
+
* tokenStorage: storage,
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare class LocalStorageAdapter implements TokenStorage {
|
|
62
|
+
get(key: string): Promise<string | null>;
|
|
63
|
+
set(key: string, value: string): Promise<void>;
|
|
64
|
+
remove(key: string): Promise<void>;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/auth/storage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAEzC;;;;OAIG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C;;;OAGG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACpC;AAED;;;;;GAKG;AACH,qBAAa,aAAc,YAAW,YAAY;IAChD,OAAO,CAAC,IAAI,CAA6B;IAGnC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAKxC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK9C,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGzC;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,mBAAoB,YAAW,YAAY;IAEhD,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAQxC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ9C,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAMzC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Wallet } from 'ethers';
|
|
2
|
+
import type { WalletProvider } from '../wallet/types';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for signature-based authentication
|
|
5
|
+
*/
|
|
6
|
+
export interface AuthConfig {
|
|
7
|
+
/**
|
|
8
|
+
* The ethers wallet used for signing messages (optional for read-only operations)
|
|
9
|
+
* @deprecated Use `walletProvider` instead for browser wallet support
|
|
10
|
+
*/
|
|
11
|
+
wallet?: Wallet | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* A WalletProvider for signing messages (optional for read-only operations)
|
|
14
|
+
* Supports both private key and browser extension wallets.
|
|
15
|
+
*/
|
|
16
|
+
walletProvider?: WalletProvider | undefined;
|
|
17
|
+
/** Optional custom message prefix (defaults to "Create a GalaChain Wallet") */
|
|
18
|
+
messagePrefix?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Result of signature generation for authentication
|
|
22
|
+
*/
|
|
23
|
+
export interface SignatureResult {
|
|
24
|
+
/** The message that was signed */
|
|
25
|
+
message: string;
|
|
26
|
+
/** The signature to use in the Sign header */
|
|
27
|
+
signature: string;
|
|
28
|
+
/** The address that signed the message in eth|{address} format */
|
|
29
|
+
address: string;
|
|
30
|
+
/** Timestamp when the signature was created */
|
|
31
|
+
timestamp: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Authentication error types
|
|
35
|
+
*/
|
|
36
|
+
export declare enum AuthErrorType {
|
|
37
|
+
WALLET_NOT_CONNECTED = "WALLET_NOT_CONNECTED",
|
|
38
|
+
SIGNATURE_FAILED = "SIGNATURE_FAILED",
|
|
39
|
+
INVALID_ADDRESS = "INVALID_ADDRESS",
|
|
40
|
+
MESSAGE_GENERATION_FAILED = "MESSAGE_GENERATION_FAILED"
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Authentication error class
|
|
44
|
+
*/
|
|
45
|
+
export declare class AuthError extends Error {
|
|
46
|
+
readonly type: AuthErrorType;
|
|
47
|
+
readonly originalError?: Error | undefined;
|
|
48
|
+
constructor(type: AuthErrorType, message: string, originalError?: Error | undefined);
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE5B;;;OAGG;IACH,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAE5C,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,oBAAY,aAAa;IACvB,oBAAoB,yBAAyB;IAC7C,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IACnC,yBAAyB,8BAA8B;CACxD;AAED;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;aAEhB,IAAI,EAAE,aAAa;aAEnB,aAAa,CAAC,EAAE,KAAK;gBAFrB,IAAI,EAAE,aAAa,EACnC,OAAO,EAAE,MAAM,EACC,aAAa,CAAC,EAAE,KAAK,YAAA;CAKxC"}
|