@scalebun/react-native 1.1.0 → 1.2.1
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/dist/scalebun.full.js +33218 -0
- package/dist/scalebun.full.js.map +1 -0
- package/dist/scalebun.slim.js +30016 -0
- package/dist/scalebun.slim.js.map +1 -0
- package/lib/commonjs/bootstrap/FeatureRegistry.js +4 -4
- package/lib/commonjs/bootstrap/FeatureRegistry.js.map +1 -1
- package/lib/commonjs/bootstrap/SDKBootstrapper.js +8 -8
- package/lib/commonjs/bootstrap/SDKBootstrapper.js.map +1 -1
- package/lib/commonjs/core/config/schema.js +412 -232
- package/lib/commonjs/core/config/schema.js.map +1 -1
- package/lib/commonjs/core/constants/protocol.js +31 -0
- package/lib/commonjs/core/constants/protocol.js.map +1 -0
- package/lib/commonjs/core/constants/timings.js +4 -1
- package/lib/commonjs/core/constants/timings.js.map +1 -1
- package/lib/commonjs/core/lifecycle/appLifecycle.js +1 -1
- package/lib/commonjs/core/lifecycle/appLifecycle.js.map +1 -1
- package/lib/commonjs/debug/bootstrap.js +30 -10
- package/lib/commonjs/debug/bootstrap.js.map +1 -1
- package/lib/commonjs/debug/exportBridge.js +5 -3
- package/lib/commonjs/debug/exportBridge.js.map +1 -1
- package/lib/commonjs/debug/hostResolver.js +2 -2
- package/lib/commonjs/debug/hostResolver.js.map +1 -1
- package/lib/commonjs/debug/perfWiring.js +4 -4
- package/lib/commonjs/debug/perfWiring.js.map +1 -1
- package/lib/commonjs/debug/replayWiring.js +5 -5
- package/lib/commonjs/debug/replayWiring.js.map +1 -1
- package/lib/commonjs/debug/screenTracking.js +2 -2
- package/lib/commonjs/debug/screenTracking.js.map +1 -1
- package/lib/commonjs/debug/sessionWiring.js +2 -2
- package/lib/commonjs/debug/sessionWiring.js.map +1 -1
- package/lib/commonjs/features/crash/NativeCrashFeature.js +1 -1
- package/lib/commonjs/features/crash/NativeCrashFeature.js.map +1 -1
- package/lib/commonjs/features/crash/globalHandler.js +3 -3
- package/lib/commonjs/features/crash/globalHandler.js.map +1 -1
- package/lib/commonjs/features/crash/nativeCrashBridge.js +7 -7
- package/lib/commonjs/features/crash/nativeCrashBridge.js.map +1 -1
- package/lib/commonjs/features/crash/rejectionHandler.js +2 -2
- package/lib/commonjs/features/crash/rejectionHandler.js.map +1 -1
- package/lib/commonjs/features/engage/EngageArchetypeRenderers.js +0 -9
- package/lib/commonjs/features/engage/EngageArchetypeRenderers.js.map +1 -1
- package/lib/commonjs/features/engage/EngageInAppView.js +1 -1
- package/lib/commonjs/features/engage/EngageInAppView.js.map +1 -1
- package/lib/commonjs/features/engage/EngagePromptProvider.js +17 -17
- package/lib/commonjs/features/engage/EngagePromptProvider.js.map +1 -1
- package/lib/commonjs/features/engage/EngageTransport.js +5 -5
- package/lib/commonjs/features/engage/EngageTransport.js.map +1 -1
- package/lib/commonjs/features/engage/engagePushTokenBridge.js +4 -4
- package/lib/commonjs/features/engage/engagePushTokenBridge.js.map +1 -1
- package/lib/commonjs/features/engage/engageShakeBridge.js +2 -2
- package/lib/commonjs/features/engage/engageShakeBridge.js.map +1 -1
- package/lib/commonjs/features/engage/engageSignals.js +1 -1
- package/lib/commonjs/features/engage/engageSignals.js.map +1 -1
- package/lib/commonjs/features/engage/engageStoreReviewBridge.js +2 -2
- package/lib/commonjs/features/engage/engageStoreReviewBridge.js.map +1 -1
- package/lib/commonjs/features/engage/engageTestSeenStore.js +1 -1
- package/lib/commonjs/features/engage/engageTestSeenStore.js.map +1 -1
- package/lib/commonjs/features/engage/engageThrottle.js +4 -4
- package/lib/commonjs/features/engage/engageThrottle.js.map +1 -1
- package/lib/commonjs/features/engage/engageTriggerEngine.js +4 -4
- package/lib/commonjs/features/engage/engageTriggerEngine.js.map +1 -1
- package/lib/commonjs/features/engage/engageWindowInsets.js +1 -1
- package/lib/commonjs/features/engage/engageWindowInsets.js.map +1 -1
- package/lib/commonjs/features/install-referrer/installReferrer.js +3 -3
- package/lib/commonjs/features/install-referrer/installReferrer.js.map +1 -1
- package/lib/commonjs/features/journey/calibrationContext.js +0 -9
- package/lib/commonjs/features/journey/calibrationContext.js.map +1 -1
- package/lib/commonjs/features/journey/journeyManager.js +4 -1
- package/lib/commonjs/features/journey/journeyManager.js.map +1 -1
- package/lib/commonjs/features/navigation/AutoScreenDetector.js +4 -4
- package/lib/commonjs/features/navigation/AutoScreenDetector.js.map +1 -1
- package/lib/commonjs/features/ota/OtaOrchestrator.js +18 -18
- package/lib/commonjs/features/ota/OtaOrchestrator.js.map +1 -1
- package/lib/commonjs/features/ota/geoCountry.js +2 -2
- package/lib/commonjs/features/ota/geoCountry.js.map +1 -1
- package/lib/commonjs/features/ota/retry.js +2 -2
- package/lib/commonjs/features/ota/retry.js.map +1 -1
- package/lib/commonjs/features/performance/PerformanceFeature.js +121 -23
- package/lib/commonjs/features/performance/PerformanceFeature.js.map +1 -1
- package/lib/commonjs/features/replay/core/logger/logger.js +0 -4
- package/lib/commonjs/features/replay/core/logger/logger.js.map +1 -1
- package/lib/commonjs/features/replay/integrations/network/networkAdapter.js +1 -54
- package/lib/commonjs/features/replay/integrations/network/networkAdapter.js.map +1 -1
- package/lib/commonjs/features/replay/integrations/react-navigation/navigationIntegration.js +1 -1
- package/lib/commonjs/features/replay/integrations/react-navigation/navigationIntegration.js.map +1 -1
- package/lib/commonjs/features/replay/integrations/touch/ReplayRoot.js +1 -1
- package/lib/commonjs/features/replay/integrations/touch/ReplayRoot.js.map +1 -1
- package/lib/commonjs/features/replay/pipeline/batching/batchManager.js +1 -1
- package/lib/commonjs/features/replay/pipeline/batching/batchManager.js.map +1 -1
- package/lib/commonjs/features/replay/pipeline/retry/retryPolicy.js +1 -1
- package/lib/commonjs/features/replay/pipeline/retry/retryPolicy.js.map +1 -1
- package/lib/commonjs/features/replay/public/api.js +7 -7
- package/lib/commonjs/features/replay/public/api.js.map +1 -1
- package/lib/commonjs/features/replay/replay/session/sessionOrchestrator.js +9 -9
- package/lib/commonjs/features/replay/replay/session/sessionOrchestrator.js.map +1 -1
- package/lib/commonjs/features/session/BackendSessionAdapter.js +41 -41
- package/lib/commonjs/features/session/BackendSessionAdapter.js.map +1 -1
- package/lib/commonjs/features/session/DesktopSessionTransport.js +5 -2
- package/lib/commonjs/features/session/DesktopSessionTransport.js.map +1 -1
- package/lib/commonjs/features/session/JourneyEventPipeline.js +1 -1
- package/lib/commonjs/features/session/JourneyEventPipeline.js.map +1 -1
- package/lib/commonjs/features/session/ReplayCaptureManager.js +14 -14
- package/lib/commonjs/features/session/ReplayCaptureManager.js.map +1 -1
- package/lib/commonjs/features/session/SessionManager.js +9 -9
- package/lib/commonjs/features/session/SessionManager.js.map +1 -1
- package/lib/commonjs/features/session/SyncDecisionEngine.js +1 -1
- package/lib/commonjs/features/session/SyncDecisionEngine.js.map +1 -1
- package/lib/commonjs/features/skan/skanBridge.js +6 -15
- package/lib/commonjs/features/skan/skanBridge.js.map +1 -1
- package/lib/commonjs/features/skan/skanConversionManager.js +5 -5
- package/lib/commonjs/features/skan/skanConversionManager.js.map +1 -1
- package/lib/commonjs/integrations/fetch/fetchInterceptor.js +1 -1
- package/lib/commonjs/integrations/fetch/fetchInterceptor.js.map +1 -1
- package/lib/commonjs/integrations/xhr/xhrInterceptor.js +1 -1
- package/lib/commonjs/integrations/xhr/xhrInterceptor.js.map +1 -1
- package/lib/commonjs/metro/composeSourceMap.js +105 -0
- package/lib/commonjs/metro/composeSourceMap.js.map +1 -0
- package/lib/commonjs/metro/featureModules.js +131 -0
- package/lib/commonjs/metro/featureModules.js.map +1 -0
- package/lib/commonjs/metro/index.js +123 -2
- package/lib/commonjs/metro/index.js.map +1 -1
- package/lib/commonjs/metro/serializerCompose.js +129 -0
- package/lib/commonjs/metro/serializerCompose.js.map +1 -0
- package/lib/commonjs/pipeline/dispatcher/dispatcher.js +1 -1
- package/lib/commonjs/pipeline/dispatcher/dispatcher.js.map +1 -1
- package/lib/commonjs/pipeline/queue/flushQueue.js +2 -2
- package/lib/commonjs/pipeline/queue/flushQueue.js.map +1 -1
- package/lib/commonjs/pipeline/queue/persistentQueue.js +6 -37
- package/lib/commonjs/pipeline/queue/persistentQueue.js.map +1 -1
- package/lib/commonjs/pipeline/scheduler/flushScheduler.js +1 -1
- package/lib/commonjs/pipeline/scheduler/flushScheduler.js.map +1 -1
- package/lib/commonjs/public/ScaleBunFacade.js +15 -15
- package/lib/commonjs/public/ScaleBunFacade.js.map +1 -1
- package/lib/commonjs/push/PushManager.js +3 -3
- package/lib/commonjs/push/PushManager.js.map +1 -1
- package/lib/commonjs/push/adapters/NativeBridgeAdapter.js +1 -1
- package/lib/commonjs/push/adapters/NativeBridgeAdapter.js.map +1 -1
- package/lib/commonjs/push/native/nativeNotifications.js +7 -18
- package/lib/commonjs/push/native/nativeNotifications.js.map +1 -1
- package/lib/commonjs/storage/StorageBackend.js +1 -1
- package/lib/commonjs/storage/StorageBackend.js.map +1 -1
- package/lib/module/bootstrap/FeatureRegistry.js +4 -4
- package/lib/module/bootstrap/FeatureRegistry.js.map +1 -1
- package/lib/module/bootstrap/SDKBootstrapper.js +8 -8
- package/lib/module/bootstrap/SDKBootstrapper.js.map +1 -1
- package/lib/module/core/config/schema.js +411 -231
- package/lib/module/core/config/schema.js.map +1 -1
- package/lib/module/core/constants/protocol.js +25 -0
- package/lib/module/core/constants/protocol.js.map +1 -0
- package/lib/module/core/constants/timings.js +3 -1
- package/lib/module/core/constants/timings.js.map +1 -1
- package/lib/module/core/lifecycle/appLifecycle.js +1 -1
- package/lib/module/core/lifecycle/appLifecycle.js.map +1 -1
- package/lib/module/debug/bootstrap.js +30 -9
- package/lib/module/debug/bootstrap.js.map +1 -1
- package/lib/module/debug/exportBridge.js +5 -3
- package/lib/module/debug/exportBridge.js.map +1 -1
- package/lib/module/debug/hostResolver.js +2 -2
- package/lib/module/debug/hostResolver.js.map +1 -1
- package/lib/module/debug/perfWiring.js +4 -4
- package/lib/module/debug/perfWiring.js.map +1 -1
- package/lib/module/debug/replayWiring.js +5 -5
- package/lib/module/debug/replayWiring.js.map +1 -1
- package/lib/module/debug/screenTracking.js +2 -2
- package/lib/module/debug/screenTracking.js.map +1 -1
- package/lib/module/debug/sessionWiring.js +2 -2
- package/lib/module/debug/sessionWiring.js.map +1 -1
- package/lib/module/features/crash/NativeCrashFeature.js +1 -1
- package/lib/module/features/crash/NativeCrashFeature.js.map +1 -1
- package/lib/module/features/crash/globalHandler.js +3 -3
- package/lib/module/features/crash/globalHandler.js.map +1 -1
- package/lib/module/features/crash/nativeCrashBridge.js +7 -7
- package/lib/module/features/crash/nativeCrashBridge.js.map +1 -1
- package/lib/module/features/crash/rejectionHandler.js +2 -2
- package/lib/module/features/crash/rejectionHandler.js.map +1 -1
- package/lib/module/features/engage/EngageArchetypeRenderers.js +0 -8
- package/lib/module/features/engage/EngageArchetypeRenderers.js.map +1 -1
- package/lib/module/features/engage/EngageInAppView.js +1 -1
- package/lib/module/features/engage/EngageInAppView.js.map +1 -1
- package/lib/module/features/engage/EngagePromptProvider.js +17 -17
- package/lib/module/features/engage/EngagePromptProvider.js.map +1 -1
- package/lib/module/features/engage/EngageTransport.js +5 -5
- package/lib/module/features/engage/EngageTransport.js.map +1 -1
- package/lib/module/features/engage/engagePushTokenBridge.js +4 -4
- package/lib/module/features/engage/engagePushTokenBridge.js.map +1 -1
- package/lib/module/features/engage/engageShakeBridge.js +2 -2
- package/lib/module/features/engage/engageShakeBridge.js.map +1 -1
- package/lib/module/features/engage/engageSignals.js +1 -1
- package/lib/module/features/engage/engageSignals.js.map +1 -1
- package/lib/module/features/engage/engageStoreReviewBridge.js +2 -2
- package/lib/module/features/engage/engageStoreReviewBridge.js.map +1 -1
- package/lib/module/features/engage/engageTestSeenStore.js +1 -1
- package/lib/module/features/engage/engageTestSeenStore.js.map +1 -1
- package/lib/module/features/engage/engageThrottle.js +4 -4
- package/lib/module/features/engage/engageThrottle.js.map +1 -1
- package/lib/module/features/engage/engageTriggerEngine.js +4 -4
- package/lib/module/features/engage/engageTriggerEngine.js.map +1 -1
- package/lib/module/features/engage/engageWindowInsets.js +1 -1
- package/lib/module/features/engage/engageWindowInsets.js.map +1 -1
- package/lib/module/features/install-referrer/installReferrer.js +3 -3
- package/lib/module/features/install-referrer/installReferrer.js.map +1 -1
- package/lib/module/features/journey/calibrationContext.js +0 -8
- package/lib/module/features/journey/calibrationContext.js.map +1 -1
- package/lib/module/features/journey/journeyManager.js +3 -1
- package/lib/module/features/journey/journeyManager.js.map +1 -1
- package/lib/module/features/navigation/AutoScreenDetector.js +4 -4
- package/lib/module/features/navigation/AutoScreenDetector.js.map +1 -1
- package/lib/module/features/ota/OtaOrchestrator.js +18 -18
- package/lib/module/features/ota/OtaOrchestrator.js.map +1 -1
- package/lib/module/features/ota/geoCountry.js +2 -2
- package/lib/module/features/ota/geoCountry.js.map +1 -1
- package/lib/module/features/ota/retry.js +2 -2
- package/lib/module/features/ota/retry.js.map +1 -1
- package/lib/module/features/performance/PerformanceFeature.js +122 -23
- package/lib/module/features/performance/PerformanceFeature.js.map +1 -1
- package/lib/module/features/replay/core/logger/logger.js +0 -3
- package/lib/module/features/replay/core/logger/logger.js.map +1 -1
- package/lib/module/features/replay/integrations/network/networkAdapter.js +1 -52
- package/lib/module/features/replay/integrations/network/networkAdapter.js.map +1 -1
- package/lib/module/features/replay/integrations/react-navigation/navigationIntegration.js +1 -1
- package/lib/module/features/replay/integrations/react-navigation/navigationIntegration.js.map +1 -1
- package/lib/module/features/replay/integrations/touch/ReplayRoot.js +1 -1
- package/lib/module/features/replay/integrations/touch/ReplayRoot.js.map +1 -1
- package/lib/module/features/replay/pipeline/batching/batchManager.js +1 -1
- package/lib/module/features/replay/pipeline/batching/batchManager.js.map +1 -1
- package/lib/module/features/replay/pipeline/retry/retryPolicy.js +1 -1
- package/lib/module/features/replay/pipeline/retry/retryPolicy.js.map +1 -1
- package/lib/module/features/replay/public/api.js +7 -7
- package/lib/module/features/replay/public/api.js.map +1 -1
- package/lib/module/features/replay/replay/session/sessionOrchestrator.js +9 -9
- package/lib/module/features/replay/replay/session/sessionOrchestrator.js.map +1 -1
- package/lib/module/features/session/BackendSessionAdapter.js +41 -41
- package/lib/module/features/session/BackendSessionAdapter.js.map +1 -1
- package/lib/module/features/session/DesktopSessionTransport.js +4 -2
- package/lib/module/features/session/DesktopSessionTransport.js.map +1 -1
- package/lib/module/features/session/JourneyEventPipeline.js +1 -1
- package/lib/module/features/session/JourneyEventPipeline.js.map +1 -1
- package/lib/module/features/session/ReplayCaptureManager.js +14 -14
- package/lib/module/features/session/ReplayCaptureManager.js.map +1 -1
- package/lib/module/features/session/SessionManager.js +9 -9
- package/lib/module/features/session/SessionManager.js.map +1 -1
- package/lib/module/features/session/SyncDecisionEngine.js +1 -1
- package/lib/module/features/session/SyncDecisionEngine.js.map +1 -1
- package/lib/module/features/skan/skanBridge.js +6 -14
- package/lib/module/features/skan/skanBridge.js.map +1 -1
- package/lib/module/features/skan/skanConversionManager.js +5 -5
- package/lib/module/features/skan/skanConversionManager.js.map +1 -1
- package/lib/module/integrations/fetch/fetchInterceptor.js +1 -1
- package/lib/module/integrations/fetch/fetchInterceptor.js.map +1 -1
- package/lib/module/integrations/xhr/xhrInterceptor.js +1 -1
- package/lib/module/integrations/xhr/xhrInterceptor.js.map +1 -1
- package/lib/module/metro/composeSourceMap.js +97 -0
- package/lib/module/metro/composeSourceMap.js.map +1 -0
- package/lib/module/metro/featureModules.js +123 -0
- package/lib/module/metro/featureModules.js.map +1 -0
- package/lib/module/metro/index.js +122 -2
- package/lib/module/metro/index.js.map +1 -1
- package/lib/module/metro/serializerCompose.js +120 -0
- package/lib/module/metro/serializerCompose.js.map +1 -0
- package/lib/module/pipeline/dispatcher/dispatcher.js +1 -1
- package/lib/module/pipeline/dispatcher/dispatcher.js.map +1 -1
- package/lib/module/pipeline/queue/flushQueue.js +2 -2
- package/lib/module/pipeline/queue/flushQueue.js.map +1 -1
- package/lib/module/pipeline/queue/persistentQueue.js +6 -36
- package/lib/module/pipeline/queue/persistentQueue.js.map +1 -1
- package/lib/module/pipeline/scheduler/flushScheduler.js +1 -1
- package/lib/module/pipeline/scheduler/flushScheduler.js.map +1 -1
- package/lib/module/public/ScaleBunFacade.js +15 -15
- package/lib/module/public/ScaleBunFacade.js.map +1 -1
- package/lib/module/push/PushManager.js +3 -3
- package/lib/module/push/PushManager.js.map +1 -1
- package/lib/module/push/adapters/NativeBridgeAdapter.js +1 -1
- package/lib/module/push/adapters/NativeBridgeAdapter.js.map +1 -1
- package/lib/module/push/native/nativeNotifications.js +7 -17
- package/lib/module/push/native/nativeNotifications.js.map +1 -1
- package/lib/module/storage/StorageBackend.js +1 -1
- package/lib/module/storage/StorageBackend.js.map +1 -1
- package/lib/typescript/core/config/schema.d.ts +61 -40
- package/lib/typescript/core/config/schema.d.ts.map +1 -1
- package/lib/typescript/core/constants/protocol.d.ts +23 -0
- package/lib/typescript/core/constants/protocol.d.ts.map +1 -0
- package/lib/typescript/core/constants/timings.d.ts +1 -1
- package/lib/typescript/core/constants/timings.d.ts.map +1 -1
- package/lib/typescript/debug/bootstrap.d.ts +0 -1
- package/lib/typescript/debug/bootstrap.d.ts.map +1 -1
- package/lib/typescript/debug/exportBridge.d.ts.map +1 -1
- package/lib/typescript/features/engage/EngageArchetypeRenderers.d.ts +0 -2
- package/lib/typescript/features/engage/EngageArchetypeRenderers.d.ts.map +1 -1
- package/lib/typescript/features/journey/calibrationContext.d.ts +0 -1
- package/lib/typescript/features/journey/calibrationContext.d.ts.map +1 -1
- package/lib/typescript/features/journey/journeyManager.d.ts.map +1 -1
- package/lib/typescript/features/performance/PerformanceFeature.d.ts +31 -0
- package/lib/typescript/features/performance/PerformanceFeature.d.ts.map +1 -1
- package/lib/typescript/features/replay/core/logger/logger.d.ts +0 -1
- package/lib/typescript/features/replay/core/logger/logger.d.ts.map +1 -1
- package/lib/typescript/features/replay/integrations/network/networkAdapter.d.ts +0 -10
- package/lib/typescript/features/replay/integrations/network/networkAdapter.d.ts.map +1 -1
- package/lib/typescript/features/session/DesktopSessionTransport.d.ts.map +1 -1
- package/lib/typescript/features/skan/skanBridge.d.ts +0 -2
- package/lib/typescript/features/skan/skanBridge.d.ts.map +1 -1
- package/lib/typescript/metro/composeSourceMap.d.ts +26 -0
- package/lib/typescript/metro/composeSourceMap.d.ts.map +1 -0
- package/lib/typescript/metro/featureModules.d.ts +49 -0
- package/lib/typescript/metro/featureModules.d.ts.map +1 -0
- package/lib/typescript/metro/index.d.ts +22 -0
- package/lib/typescript/metro/index.d.ts.map +1 -1
- package/lib/typescript/metro/serializerCompose.d.ts +46 -0
- package/lib/typescript/metro/serializerCompose.d.ts.map +1 -0
- package/lib/typescript/pipeline/queue/persistentQueue.d.ts +0 -10
- package/lib/typescript/pipeline/queue/persistentQueue.d.ts.map +1 -1
- package/lib/typescript/push/native/nativeNotifications.d.ts +0 -6
- package/lib/typescript/push/native/nativeNotifications.d.ts.map +1 -1
- package/package.json +15 -11
- package/src/bootstrap/FeatureRegistry.ts +4 -4
- package/src/bootstrap/SDKBootstrapper.ts +8 -8
- package/src/core/config/schema.ts +353 -235
- package/src/core/constants/protocol.ts +24 -0
- package/src/core/constants/timings.ts +3 -1
- package/src/core/lifecycle/appLifecycle.ts +1 -1
- package/src/debug/bootstrap.ts +40 -7
- package/src/debug/exportBridge.ts +5 -3
- package/src/debug/hostResolver.ts +2 -2
- package/src/debug/perfWiring.ts +4 -4
- package/src/debug/replayWiring.ts +5 -5
- package/src/debug/screenTracking.ts +2 -2
- package/src/debug/sessionWiring.ts +2 -2
- package/src/features/crash/NativeCrashFeature.ts +1 -1
- package/src/features/crash/globalHandler.ts +3 -3
- package/src/features/crash/nativeCrashBridge.ts +7 -7
- package/src/features/crash/rejectionHandler.ts +2 -2
- package/src/features/engage/EngageArchetypeRenderers.tsx +0 -11
- package/src/features/engage/EngageInAppView.tsx +1 -1
- package/src/features/engage/EngagePromptProvider.tsx +17 -17
- package/src/features/engage/EngageTransport.ts +5 -5
- package/src/features/engage/engagePushTokenBridge.ts +4 -4
- package/src/features/engage/engageShakeBridge.ts +2 -2
- package/src/features/engage/engageSignals.ts +1 -1
- package/src/features/engage/engageStoreReviewBridge.ts +2 -2
- package/src/features/engage/engageTestSeenStore.ts +1 -1
- package/src/features/engage/engageThrottle.ts +4 -4
- package/src/features/engage/engageTriggerEngine.ts +4 -4
- package/src/features/engage/engageWindowInsets.ts +1 -1
- package/src/features/install-referrer/installReferrer.ts +3 -3
- package/src/features/journey/calibrationContext.ts +0 -9
- package/src/features/journey/journeyManager.ts +3 -1
- package/src/features/navigation/AutoScreenDetector.ts +4 -4
- package/src/features/ota/OtaOrchestrator.ts +18 -18
- package/src/features/ota/geoCountry.ts +2 -2
- package/src/features/ota/retry.ts +2 -2
- package/src/features/performance/PerformanceFeature.ts +130 -20
- package/src/features/replay/core/logger/logger.ts +0 -4
- package/src/features/replay/integrations/network/networkAdapter.ts +1 -56
- package/src/features/replay/integrations/react-navigation/navigationIntegration.ts +1 -1
- package/src/features/replay/integrations/touch/ReplayRoot.tsx +1 -1
- package/src/features/replay/pipeline/batching/batchManager.ts +1 -1
- package/src/features/replay/pipeline/retry/retryPolicy.ts +1 -1
- package/src/features/replay/public/api.ts +7 -7
- package/src/features/replay/replay/session/sessionOrchestrator.ts +9 -9
- package/src/features/session/BackendSessionAdapter.ts +41 -41
- package/src/features/session/DesktopSessionTransport.ts +4 -2
- package/src/features/session/JourneyEventPipeline.ts +1 -1
- package/src/features/session/ReplayCaptureManager.ts +14 -14
- package/src/features/session/SessionManager.ts +9 -9
- package/src/features/session/SyncDecisionEngine.ts +1 -1
- package/src/features/skan/skanBridge.ts +6 -14
- package/src/features/skan/skanConversionManager.ts +5 -5
- package/src/integrations/fetch/fetchInterceptor.ts +1 -1
- package/src/integrations/xhr/xhrInterceptor.ts +1 -1
- package/src/metro/composeSourceMap.ts +104 -0
- package/src/metro/featureModules.ts +143 -0
- package/src/metro/index.ts +173 -1
- package/src/metro/serializerCompose.ts +157 -0
- package/src/pipeline/dispatcher/dispatcher.ts +1 -1
- package/src/pipeline/queue/flushQueue.ts +2 -2
- package/src/pipeline/queue/persistentQueue.ts +6 -35
- package/src/pipeline/scheduler/flushScheduler.ts +1 -1
- package/src/public/ScaleBunFacade.ts +15 -15
- package/src/push/PushManager.ts +3 -3
- package/src/push/adapters/NativeBridgeAdapter.ts +1 -1
- package/src/push/native/nativeNotifications.ts +7 -16
- package/src/storage/StorageBackend.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_crashSafe","require","_internalLogger","installGlobalHandler","onCrash","noThrow","errorUtils","globalThis","ErrorUtils","getGlobalHandler","logger","debug","originalHandler","setGlobalHandler","error","isFatal","message"],"sourceRoot":"../../../../src","sources":["features/crash/globalHandler.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,oBAAoBA,CAACC,OAAiD,EAAE;EACpF,IAAAC,kBAAO,EAAC,MAAM;IACV,MAAMC,UAAU,GAAIC,UAAU,CAASC,UAAU;IACjD,IAAI,CAACF,UAAU,IAAI,OAAOA,UAAU,CAACG,gBAAgB,KAAK,UAAU,EAAE;MAClEC,sBAAM,CAACC,KAAK,CAAC,wEAAwE,CAAC;
|
|
1
|
+
{"version":3,"names":["_crashSafe","require","_internalLogger","installGlobalHandler","onCrash","noThrow","errorUtils","globalThis","ErrorUtils","getGlobalHandler","__DEV__","logger","debug","originalHandler","setGlobalHandler","error","isFatal","message"],"sourceRoot":"../../../../src","sources":["features/crash/globalHandler.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,oBAAoBA,CAACC,OAAiD,EAAE;EACpF,IAAAC,kBAAO,EAAC,MAAM;IACV,MAAMC,UAAU,GAAIC,UAAU,CAASC,UAAU;IACjD,IAAI,CAACF,UAAU,IAAI,OAAOA,UAAU,CAACG,gBAAgB,KAAK,UAAU,EAAE;MAClEC,OAAO,IAAIC,sBAAM,CAACC,KAAK,CAAC,wEAAwE,CAAC;MACjG;IACJ;IAEA,MAAMC,eAAe,GAAGP,UAAU,CAACG,gBAAgB,CAAC,CAAC;IAErDH,UAAU,CAACQ,gBAAgB,CAAC,CAACC,KAAU,EAAEC,OAAiB,KAAK;MAC3DN,OAAO,IAAIC,sBAAM,CAACC,KAAK,CAAC,sBAAsB,EAAEG,KAAK,EAAEE,OAAO,CAAC;MAE/Db,OAAO,CAACW,KAAK,EAAE,CAAC,CAACC,OAAO,CAAC;;MAEzB;MACA,IAAIH,eAAe,EAAE;QACjBA,eAAe,CAACE,KAAK,EAAEC,OAAO,CAAC;MACnC;IACJ,CAAC,CAAC;IAEFN,OAAO,IAAIC,sBAAM,CAACC,KAAK,CAAC,gCAAgC,CAAC;EAC7D,CAAC,CAAC;AACN","ignoreList":[]}
|
|
@@ -31,7 +31,7 @@ function getCrashModule() {
|
|
|
31
31
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
32
32
|
const turbo = require('../../specs/NativeScaleBunCrash').default;
|
|
33
33
|
if (turbo) {
|
|
34
|
-
_internalLogger.logger.debug(`[NativeCrash] resolved via ${(0, _architecture.nativeModuleVia)()}`);
|
|
34
|
+
__DEV__ && _internalLogger.logger.debug(`[NativeCrash] resolved via ${(0, _architecture.nativeModuleVia)()}`);
|
|
35
35
|
_crashModule = {
|
|
36
36
|
mod: turbo
|
|
37
37
|
};
|
|
@@ -70,7 +70,7 @@ async function setNativeActiveSession(sessionId) {
|
|
|
70
70
|
const mod = getCrashModule();
|
|
71
71
|
if (!mod?.setActiveSessionId || !sessionId) return;
|
|
72
72
|
await mod.setActiveSessionId(sessionId);
|
|
73
|
-
_internalLogger.logger.debug(`[NativeCrash] Active session → ${sessionId}`);
|
|
73
|
+
__DEV__ && _internalLogger.logger.debug(`[NativeCrash] Active session → ${sessionId}`);
|
|
74
74
|
} catch {
|
|
75
75
|
// No-throw
|
|
76
76
|
}
|
|
@@ -79,11 +79,11 @@ async function installNativeCrashHandler() {
|
|
|
79
79
|
try {
|
|
80
80
|
const mod = getCrashModule();
|
|
81
81
|
if (!mod?.install) {
|
|
82
|
-
_internalLogger.logger.debug('[NativeCrash] Native module not available — skipping install');
|
|
82
|
+
__DEV__ && _internalLogger.logger.debug('[NativeCrash] Native module not available — skipping install');
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
85
85
|
await mod.install();
|
|
86
|
-
_internalLogger.logger.debug('[NativeCrash] Handler installed');
|
|
86
|
+
__DEV__ && _internalLogger.logger.debug('[NativeCrash] Handler installed');
|
|
87
87
|
} catch {
|
|
88
88
|
// No-throw
|
|
89
89
|
}
|
|
@@ -214,16 +214,16 @@ async function drainOne(seen) {
|
|
|
214
214
|
const crashId = seenKey;
|
|
215
215
|
if (!crashId) {
|
|
216
216
|
await mod.clearPendingCrash?.('');
|
|
217
|
-
_internalLogger.logger.info('[NativeCrash] Legacy crash (no id) drained and cleared');
|
|
217
|
+
__DEV__ && _internalLogger.logger.info('[NativeCrash] Legacy crash (no id) drained and cleared');
|
|
218
218
|
return 'cleared';
|
|
219
219
|
}
|
|
220
220
|
const delivered = await confirmDelivery();
|
|
221
221
|
if (delivered) {
|
|
222
222
|
await mod.clearPendingCrash?.(crashId);
|
|
223
|
-
_internalLogger.logger.info(`[NativeCrash] Crash ${crashId} delivered → cleared`);
|
|
223
|
+
__DEV__ && _internalLogger.logger.info(`[NativeCrash] Crash ${crashId} delivered → cleared`);
|
|
224
224
|
return 'cleared';
|
|
225
225
|
}
|
|
226
|
-
_internalLogger.logger.info(`[NativeCrash] Crash ${crashId} not yet delivered → kept for retry`);
|
|
226
|
+
__DEV__ && _internalLogger.logger.info(`[NativeCrash] Crash ${crashId} not yet delivered → kept for retry`);
|
|
227
227
|
return 'kept';
|
|
228
228
|
} catch {
|
|
229
229
|
// Unknown state — stop the loop rather than risk spinning on a failure we cannot diagnose.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_architecture","_internalLogger","_CrashReporter","_interopRequireWildcard","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_crashModule","getCrashModule","mod","turbo","logger","debug","nativeModuleVia","legacy","NativeModules","ScaleBunCrash","setNativeActiveSession","sessionId","setActiveSessionId","installNativeCrashHandler","install","MAX_DRAIN_PER_LAUNCH","drainNativeCrash","found","seen","Set","outcome","drainOne","drainPendingCrash","crash","seenKey","crashId","add","stackArr","Array","isArray","stackTrace","getCrashReporter","report","source","type","isFatal","message","exceptionType","stack","length","join","undefined","platform","String","metadata","threadName","signal","clearPendingCrash","info","delivered","confirmDelivery","SessionManager","Promise","resolve","then","transport","getExistingInstance","getBackendTransport","flushErrors","triggerNativeCrash","crashNow","warn"],"sourceRoot":"../../../../src","sources":["features/crash/nativeCrashBridge.ts"],"mappings":";;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAAmD,SAAAI,wBAAAC,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAH,uBAAA,YAAAA,CAAAC,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIkB,YAAsC;AAE1C,SAASC,cAAcA,CAAA,EAAQ;EAC3B,IAAID,YAAY,EAAE,OAAOA,YAAY,CAACE,GAAG;;EAEzC;EACA;EACA,IAAI;IACA;IACA,MAAMC,KAAK,GAAG3B,OAAO,CAAC,iCAAiC,CAAC,CAACe,OAAO;IAChE,IAAIY,KAAK,EAAE;MACPC,sBAAM,CAACC,KAAK,CAAC,8BAA8B,IAAAC,6BAAe,EAAC,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_architecture","_internalLogger","_CrashReporter","_interopRequireWildcard","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_crashModule","getCrashModule","mod","turbo","__DEV__","logger","debug","nativeModuleVia","legacy","NativeModules","ScaleBunCrash","setNativeActiveSession","sessionId","setActiveSessionId","installNativeCrashHandler","install","MAX_DRAIN_PER_LAUNCH","drainNativeCrash","found","seen","Set","outcome","drainOne","drainPendingCrash","crash","seenKey","crashId","add","stackArr","Array","isArray","stackTrace","getCrashReporter","report","source","type","isFatal","message","exceptionType","stack","length","join","undefined","platform","String","metadata","threadName","signal","clearPendingCrash","info","delivered","confirmDelivery","SessionManager","Promise","resolve","then","transport","getExistingInstance","getBackendTransport","flushErrors","triggerNativeCrash","crashNow","warn"],"sourceRoot":"../../../../src","sources":["features/crash/nativeCrashBridge.ts"],"mappings":";;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAAmD,SAAAI,wBAAAC,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAH,uBAAA,YAAAA,CAAAC,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CA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;AACA;AACA;AACA;AACA;AACO,eAAeC,kBAAkBA,CAAA,EAAkB;EACtD,IAAI;IACA,MAAM1D,GAAG,GAAGD,cAAc,CAAC,CAAC;IAC5B,IAAI,CAACC,GAAG,EAAE2D,QAAQ,EAAE;MAChBxD,sBAAM,CAACyD,IAAI,CAAC,mEAAmE,CAAC;MAChF;IACJ;IACA,MAAM5D,GAAG,CAAC2D,QAAQ,CAAC,CAAC;EACxB,CAAC,CAAC,MAAM;IACJ;EAAA;AAER","ignoreList":[]}
|
|
@@ -65,7 +65,7 @@ function installRejectionHandler(onRejection, deps) {
|
|
|
65
65
|
return (0, _crashSafe.noThrow)(() => {
|
|
66
66
|
const tracker = (deps?.resolveTracker ?? defaultResolveTracker)();
|
|
67
67
|
if (!tracker || typeof tracker.enable !== 'function') {
|
|
68
|
-
_internalLogger.logger.debug('[Crash] promise rejection tracking unavailable — unhandled rejections not captured');
|
|
68
|
+
__DEV__ && _internalLogger.logger.debug('[Crash] promise rejection tracking unavailable — unhandled rejections not captured');
|
|
69
69
|
return false;
|
|
70
70
|
}
|
|
71
71
|
const isDev = deps?.isDev ?? (typeof __DEV__ !== 'undefined' && __DEV__);
|
|
@@ -96,7 +96,7 @@ function installRejectionHandler(onRejection, deps) {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
|
-
_internalLogger.logger.debug('Unhandled promise rejection handler installed');
|
|
99
|
+
__DEV__ && _internalLogger.logger.debug('Unhandled promise rejection handler installed');
|
|
100
100
|
return true;
|
|
101
101
|
}) ?? false;
|
|
102
102
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_crashSafe","require","_internalLogger","defaultResolveTracker","toError","value","Error","JSON","stringify","installRejectionHandler","onRejection","deps","noThrow","tracker","resolveTracker","enable","logger","debug","isDev","
|
|
1
|
+
{"version":3,"names":["_crashSafe","require","_internalLogger","defaultResolveTracker","toError","value","Error","JSON","stringify","installRejectionHandler","onRejection","deps","noThrow","tracker","resolveTracker","enable","__DEV__","logger","debug","isDev","allRejections","onUnhandled","id","error","err","pending","set","console","warn","message","onHandled","delete","Map","__pendingRejectionCount","size","__resetRejectionsForTests","clear"],"sourceRoot":"../../../../src","sources":["features/crash/rejectionHandler.ts"],"mappings":";;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AASA;AACA,SAASE,qBAAqBA,CAAA,EAA4B;EACtD,IAAI;IACA;IACA,OAAOF,OAAO,CAAC,yCAAyC,CAAC;EAC7D,CAAC,CAAC,MAAM;IACJ,OAAO,IAAI;EACf;AACJ;;AAEA;AACA,SAASG,OAAOA,CAACC,KAAc,EAAS;EACpC,IAAIA,KAAK,YAAYC,KAAK,EAAE,OAAOD,KAAK;EACxC,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE,OAAO,IAAIC,KAAK,CAACD,KAAK,CAAC;EACtD,IAAI;IACA,OAAO,IAAIC,KAAK,CAAC,wBAAwBC,IAAI,CAACC,SAAS,CAACH,KAAK,CAAC,EAAE,CAAC;EACrE,CAAC,CAAC,MAAM;IACJ,OAAO,IAAIC,KAAK,CAAC,qBAAqB,CAAC;EAC3C;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACO,SAASG,uBAAuBA,CACnCC,WAAmC,EACnCC,IAA0E,EACnE;EACP,OACI,IAAAC,kBAAO,EAAC,MAAM;IACV,MAAMC,OAAO,GAAG,CAACF,IAAI,EAAEG,cAAc,IAAIX,qBAAqB,EAAE,CAAC;IACjE,IAAI,CAACU,OAAO,IAAI,OAAOA,OAAO,CAACE,MAAM,KAAK,UAAU,EAAE;MAClDC,OAAO,IAAIC,sBAAM,CAACC,KAAK,CACnB,oFACJ,CAAC;MACD,OAAO,KAAK;IAChB;IAEA,MAAMC,KAAK,GAAGR,IAAI,EAAEQ,KAAK,KAAK,OAAOH,OAAO,KAAK,WAAW,IAAIA,OAAO,CAAC;IAExEH,OAAO,CAACE,MAAM,CAAC;MACX;AAChB;AACA;AACA;AACA;AACA;AACA;MACgBK,aAAa,EAAE,IAAI;MACnBC,WAAW,EAAEA,CAACC,EAAU,EAAEC,KAAc,KAAK;QACzC,MAAMC,GAAG,GAAGpB,OAAO,CAACmB,KAAK,CAAC;QAC1BE,OAAO,CAACC,GAAG,CAACJ,EAAE,EAAEE,GAAG,CAAC;QACpBd,WAAW,CAACc,GAAG,CAAC;QAChB,IAAIL,KAAK,EAAE;UACP;UACA;UACAQ,OAAO,CAACC,IAAI,CAAC,6CAA6CN,EAAE,IAAI,EAAEE,GAAG,EAAEK,OAAO,IAAIL,GAAG,CAAC;QAC1F;MACJ,CAAC;MACDM,SAAS,EAAGR,EAAU,IAAK;QACvBG,OAAO,CAACM,MAAM,CAACT,EAAE,CAAC;QAClB,IAAIH,KAAK,EAAE;UACP;UACAQ,OAAO,CAACC,IAAI,CACR,uCAAuCN,EAAE,8BAC7C,CAAC;QACL;MACJ;IACJ,CAAC,CAAC;IAEFN,OAAO,IAAIC,sBAAM,CAACC,KAAK,CAAC,+CAA+C,CAAC;IACxE,OAAO,IAAI;EACf,CAAC,CAAC,IAAI,KAAK;AAEnB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMO,OAAO,GAAG,IAAIO,GAAG,CAAgB,CAAC;;AAExC;AACO,SAASC,uBAAuBA,CAAA,EAAW;EAC9C,OAAOR,OAAO,CAACS,IAAI;AACvB;;AAEA;AACO,SAASC,yBAAyBA,CAAA,EAAS;EAC9CV,OAAO,CAACW,KAAK,CAAC,CAAC;AACnB","ignoreList":[]}
|
|
@@ -23,7 +23,6 @@ exports.StreakRewardInApp = StreakRewardInApp;
|
|
|
23
23
|
exports.VideoCommerceInApp = VideoCommerceInApp;
|
|
24
24
|
exports.prepareWheelSegments = prepareWheelSegments;
|
|
25
25
|
exports.resolveArchetypeContent = resolveArchetypeContent;
|
|
26
|
-
exports.resolveArchetypeRenderer = resolveArchetypeRenderer;
|
|
27
26
|
exports.resolveCountdownDeadline = resolveCountdownDeadline;
|
|
28
27
|
exports.resolveWheelDiameter = resolveWheelDiameter;
|
|
29
28
|
exports.resolveWheelOutcome = resolveWheelOutcome;
|
|
@@ -4290,12 +4289,4 @@ const ARCHETYPE_RENDERERS = exports.ARCHETYPE_RENDERERS = {
|
|
|
4290
4289
|
milestone_celebration: CelebrationInApp,
|
|
4291
4290
|
celebration_confetti_full_screen: CelebrationInApp
|
|
4292
4291
|
};
|
|
4293
|
-
|
|
4294
|
-
/** Resolve archetype renderer if spec.archetype is a known mechanic key. */
|
|
4295
|
-
function resolveArchetypeRenderer(archetype) {
|
|
4296
|
-
if (!archetype) return null;
|
|
4297
|
-
const familyRenderer = resolveArchetypeContent(archetype);
|
|
4298
|
-
if (familyRenderer) return familyRenderer;
|
|
4299
|
-
return Object.prototype.hasOwnProperty.call(ARCHETYPE_RENDERERS, archetype) ? ARCHETYPE_RENDERERS[archetype] ?? null : null;
|
|
4300
|
-
}
|
|
4301
4292
|
//# sourceMappingURL=EngageArchetypeRenderers.js.map
|