@datadog/mobile-react-native-openfeature 3.1.0
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/LICENSE +201 -0
- package/README.md +117 -0
- package/lib/commonjs/index.js +13 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/provider.js +106 -0
- package/lib/commonjs/provider.js.map +1 -0
- package/lib/module/index.js +9 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/provider.js +99 -0
- package/lib/module/provider.js.map +1 -0
- package/lib/typescript/core/src/DdAttributes.d.ts +20 -0
- package/lib/typescript/core/src/DdAttributes.d.ts.map +1 -0
- package/lib/typescript/core/src/DdSdkReactNative.d.ts +122 -0
- package/lib/typescript/core/src/DdSdkReactNative.d.ts.map +1 -0
- package/lib/typescript/core/src/InternalLog.d.ts +13 -0
- package/lib/typescript/core/src/InternalLog.d.ts.map +1 -0
- package/lib/typescript/core/src/config/DatadogProviderConfiguration.d.ts +12 -0
- package/lib/typescript/core/src/config/DatadogProviderConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/FileBasedConfiguration.d.ts +17 -0
- package/lib/typescript/core/src/config/FileBasedConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/FileBasedConfiguration.type.d.ts +52 -0
- package/lib/typescript/core/src/config/FileBasedConfiguration.type.d.ts.map +1 -0
- package/lib/typescript/core/src/config/async/AutoInstrumentationConfiguration.d.ts +60 -0
- package/lib/typescript/core/src/config/async/AutoInstrumentationConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/async/PartialInitializationConfiguration.d.ts +47 -0
- package/lib/typescript/core/src/config/async/PartialInitializationConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/async/asyncInitializationHelper.d.ts +5 -0
- package/lib/typescript/core/src/config/async/asyncInitializationHelper.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/CoreConfiguration.d.ts +52 -0
- package/lib/typescript/core/src/config/features/CoreConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/CoreConfiguration.type.d.ts +90 -0
- package/lib/typescript/core/src/config/features/CoreConfiguration.type.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/CoreConfigurationNative.d.ts +54 -0
- package/lib/typescript/core/src/config/features/CoreConfigurationNative.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/LogsConfiguration.d.ts +17 -0
- package/lib/typescript/core/src/config/features/LogsConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/LogsConfiguration.type.d.ts +24 -0
- package/lib/typescript/core/src/config/features/LogsConfiguration.type.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/LogsConfigurationNative.d.ts +6 -0
- package/lib/typescript/core/src/config/features/LogsConfigurationNative.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/RumConfiguration.d.ts +66 -0
- package/lib/typescript/core/src/config/features/RumConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/RumConfiguration.type.d.ts +131 -0
- package/lib/typescript/core/src/config/features/RumConfiguration.type.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/RumConfigurationNative.d.ts +25 -0
- package/lib/typescript/core/src/config/features/RumConfigurationNative.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/TraceConfiguration.d.ts +10 -0
- package/lib/typescript/core/src/config/features/TraceConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/TraceConfiguration.type.d.ts +11 -0
- package/lib/typescript/core/src/config/features/TraceConfiguration.type.d.ts.map +1 -0
- package/lib/typescript/core/src/config/features/TraceConfigurationNative.d.ts +4 -0
- package/lib/typescript/core/src/config/features/TraceConfigurationNative.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/BatchProcessingLevel.d.ts +18 -0
- package/lib/typescript/core/src/config/types/BatchProcessingLevel.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/BatchSize.d.ts +19 -0
- package/lib/typescript/core/src/config/types/BatchSize.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/InitializationMode.d.ts +5 -0
- package/lib/typescript/core/src/config/types/InitializationMode.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/InitializationModeForTelemetry.d.ts +2 -0
- package/lib/typescript/core/src/config/types/InitializationModeForTelemetry.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/ProxyConfiguration.d.ts +49 -0
- package/lib/typescript/core/src/config/types/ProxyConfiguration.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/SdkVerbosity.d.ts +10 -0
- package/lib/typescript/core/src/config/types/SdkVerbosity.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/TrackingConsent.d.ts +9 -0
- package/lib/typescript/core/src/config/types/TrackingConsent.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/UploadFrequency.d.ts +18 -0
- package/lib/typescript/core/src/config/types/UploadFrequency.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/VitalsUpdateFrequency.d.ts +7 -0
- package/lib/typescript/core/src/config/types/VitalsUpdateFrequency.d.ts.map +1 -0
- package/lib/typescript/core/src/config/types/index.d.ts +10 -0
- package/lib/typescript/core/src/config/types/index.d.ts.map +1 -0
- package/lib/typescript/core/src/flags/DdFlags.d.ts +3 -0
- package/lib/typescript/core/src/flags/DdFlags.d.ts.map +1 -0
- package/lib/typescript/core/src/flags/FlagsClient.d.ts +114 -0
- package/lib/typescript/core/src/flags/FlagsClient.d.ts.map +1 -0
- package/lib/typescript/core/src/flags/internal.d.ts +14 -0
- package/lib/typescript/core/src/flags/internal.d.ts.map +1 -0
- package/lib/typescript/core/src/flags/types.d.ts +202 -0
- package/lib/typescript/core/src/flags/types.d.ts.map +1 -0
- package/lib/typescript/core/src/index.d.ts +41 -0
- package/lib/typescript/core/src/index.d.ts.map +1 -0
- package/lib/typescript/core/src/logs/DdLogs.d.ts +24 -0
- package/lib/typescript/core/src/logs/DdLogs.d.ts.map +1 -0
- package/lib/typescript/core/src/logs/eventMapper.d.ts +13 -0
- package/lib/typescript/core/src/logs/eventMapper.d.ts.map +1 -0
- package/lib/typescript/core/src/logs/types.d.ts +74 -0
- package/lib/typescript/core/src/logs/types.d.ts.map +1 -0
- package/lib/typescript/core/src/metro/debugIdResolver.d.ts +3 -0
- package/lib/typescript/core/src/metro/debugIdResolver.d.ts.map +1 -0
- package/lib/typescript/core/src/nativeModulesTypes.d.ts +86 -0
- package/lib/typescript/core/src/nativeModulesTypes.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/DdRum.d.ts +59 -0
- package/lib/typescript/core/src/rum/DdRum.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/constants.d.ts +2 -0
- package/lib/typescript/core/src/rum/constants.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/eventMappers/actionEventMapper.d.ts +22 -0
- package/lib/typescript/core/src/rum/eventMappers/actionEventMapper.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/eventMappers/errorEventMapper.d.ts +24 -0
- package/lib/typescript/core/src/rum/eventMappers/errorEventMapper.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/eventMappers/resourceEventMapper.d.ts +25 -0
- package/lib/typescript/core/src/rum/eventMappers/resourceEventMapper.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/helper.d.ts +10 -0
- package/lib/typescript/core/src/rum/helper.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/DdRumErrorTracking.d.ts +17 -0
- package/lib/typescript/core/src/rum/instrumentation/DdRumErrorTracking.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdBabelInteractionTracking.d.ts +38 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdBabelInteractionTracking.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdEventsInterceptor.d.ts +25 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdEventsInterceptor.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.d.ts +29 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/EventsInterceptor.d.ts +4 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/EventsInterceptor.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/NoOpEventsInterceptor.d.ts +5 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/NoOpEventsInterceptor.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/ShallowObjectEqualityChecker.d.ts +8 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/ShallowObjectEqualityChecker.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/ddBabelUtils.d.ts +9 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/ddBabelUtils.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/getJsxRuntime.d.ts +2 -0
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/getJsxRuntime.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResourceTracking.d.ts +23 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResourceTracking.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/DatadogTracingContext.d.ts +46 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/DatadogTracingContext.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/DatadogTracingIdentifier.d.ts +24 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/DatadogTracingIdentifier.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/TracingIdentifier.d.ts +121 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/TracingIdentifier.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts +14 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingAttributes.d.ts +20 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingAttributes.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts +11 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingSampling.d.ts +12 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingSampling.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.d.ts +9 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/headers.d.ts +24 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/headers.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.d.ts +4 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/headers.d.ts +4 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/headers.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.d.ts +9 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.d.ts +7 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/resourceTiming.d.ts +18 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/resourceTiming.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/URLHostParser.d.ts +7 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/URLHostParser.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/XHRProxy.d.ts +22 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/XHRProxy.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/baggageHeaderUtils.d.ts +6 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/baggageHeaderUtils.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/responseSize.d.ts +3 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/responseSize.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RequestProxy.d.ts +14 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RequestProxy.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RumResource.d.ts +28 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RumResource.d.ts.map +1 -0
- package/lib/typescript/core/src/rum/types.d.ts +218 -0
- package/lib/typescript/core/src/rum/types.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AccountInfoSingleton/AccountInfoSingleton.d.ts +15 -0
- package/lib/typescript/core/src/sdk/AccountInfoSingleton/AccountInfoSingleton.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AccountInfoSingleton/types.d.ts +6 -0
- package/lib/typescript/core/src/sdk/AccountInfoSingleton/types.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/attributesEncoding.d.ts +13 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/attributesEncoding.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/defaultEncoders.d.ts +33 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/defaultEncoders.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/errorUtils.d.ts +15 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/errorUtils.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/helpers.d.ts +17 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/helpers.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/types.d.ts +21 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/types.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/utils.d.ts +7 -0
- package/lib/typescript/core/src/sdk/AttributesEncoding/utils.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesSingleton/AttributesSingleton.d.ts +17 -0
- package/lib/typescript/core/src/sdk/AttributesSingleton/AttributesSingleton.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/AttributesSingleton/types.d.ts +4 -0
- package/lib/typescript/core/src/sdk/AttributesSingleton/types.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogBatchedBridgeEventEmitter.d.ts +11 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogBatchedBridgeEventEmitter.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogDefaultEventEmitter.d.ts +10 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogDefaultEventEmitter.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogEventEmitter.d.ts +7 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogEventEmitter.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogNativeEventEmitter.d.ts +12 -0
- package/lib/typescript/core/src/sdk/DatadogEventEmitter/DatadogNativeEventEmitter.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogInternalBridge/DdSdkInternalNativeBridge.d.ts +14 -0
- package/lib/typescript/core/src/sdk/DatadogInternalBridge/DdSdkInternalNativeBridge.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogInternalBridge/DdSdkInternalNativeBridgeEvent.d.ts +6 -0
- package/lib/typescript/core/src/sdk/DatadogInternalBridge/DdSdkInternalNativeBridgeEvent.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BoundedBuffer.d.ts +18 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BoundedBuffer.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BufferSingleton.d.ts +8 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BufferSingleton.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/DatadogBuffer.d.ts +21 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/DatadogBuffer.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/PassThroughBuffer.d.ts +8 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/PassThroughBuffer.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/bufferNativeCall.d.ts +4 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/bufferNativeCall.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProvider.d.ts +29 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProvider.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProviderState.d.ts +9 -0
- package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProviderState.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DdSdk.d.ts +3 -0
- package/lib/typescript/core/src/sdk/DdSdk.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/DdSdkInternal.d.ts +39 -0
- package/lib/typescript/core/src/sdk/DdSdkInternal.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/EventMappers/EventMapper.d.ts +27 -0
- package/lib/typescript/core/src/sdk/EventMappers/EventMapper.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/EventMappers/utils/deepClone.d.ts +11 -0
- package/lib/typescript/core/src/sdk/EventMappers/utils/deepClone.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/GlobalState/GlobalState.d.ts +13 -0
- package/lib/typescript/core/src/sdk/GlobalState/GlobalState.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/UserInfoSingleton/UserInfoSingleton.d.ts +14 -0
- package/lib/typescript/core/src/sdk/UserInfoSingleton/UserInfoSingleton.d.ts.map +1 -0
- package/lib/typescript/core/src/sdk/UserInfoSingleton/types.d.ts +7 -0
- package/lib/typescript/core/src/sdk/UserInfoSingleton/types.d.ts.map +1 -0
- package/lib/typescript/core/src/specs/NativeDdFlags.d.ts +15 -0
- package/lib/typescript/core/src/specs/NativeDdFlags.d.ts.map +1 -0
- package/lib/typescript/core/src/specs/NativeDdLogs.d.ts +70 -0
- package/lib/typescript/core/src/specs/NativeDdLogs.d.ts.map +1 -0
- package/lib/typescript/core/src/specs/NativeDdRum.d.ts +149 -0
- package/lib/typescript/core/src/specs/NativeDdRum.d.ts.map +1 -0
- package/lib/typescript/core/src/specs/NativeDdSdk.d.ts +105 -0
- package/lib/typescript/core/src/specs/NativeDdSdk.d.ts.map +1 -0
- package/lib/typescript/core/src/specs/NativeDdTrace.d.ts +24 -0
- package/lib/typescript/core/src/specs/NativeDdTrace.d.ts.map +1 -0
- package/lib/typescript/core/src/trace/DdTrace.d.ts +3 -0
- package/lib/typescript/core/src/trace/DdTrace.d.ts.map +1 -0
- package/lib/typescript/core/src/types.d.ts +130 -0
- package/lib/typescript/core/src/types.d.ts.map +1 -0
- package/lib/typescript/core/src/utils/Timer.d.ts +22 -0
- package/lib/typescript/core/src/utils/Timer.d.ts.map +1 -0
- package/lib/typescript/core/src/utils/jsUtils.d.ts +2 -0
- package/lib/typescript/core/src/utils/jsUtils.d.ts.map +1 -0
- package/lib/typescript/core/src/utils/longTasksUtils.d.ts +7 -0
- package/lib/typescript/core/src/utils/longTasksUtils.d.ts.map +1 -0
- package/lib/typescript/core/src/utils/singletonUtils.d.ts +2 -0
- package/lib/typescript/core/src/utils/singletonUtils.d.ts.map +1 -0
- package/lib/typescript/core/src/utils/time-provider/DefaultTimeProvider.d.ts +8 -0
- package/lib/typescript/core/src/utils/time-provider/DefaultTimeProvider.d.ts.map +1 -0
- package/lib/typescript/core/src/utils/time-provider/TimeProvider.d.ts +19 -0
- package/lib/typescript/core/src/utils/time-provider/TimeProvider.d.ts.map +1 -0
- package/lib/typescript/core/src/version.d.ts +2 -0
- package/lib/typescript/core/src/version.d.ts.map +1 -0
- package/lib/typescript/react-native-openfeature/src/index.d.ts +5 -0
- package/lib/typescript/react-native-openfeature/src/index.d.ts.map +1 -0
- package/lib/typescript/react-native-openfeature/src/provider.d.ts +27 -0
- package/lib/typescript/react-native-openfeature/src/provider.d.ts.map +1 -0
- package/package.json +87 -0
- package/src/index.ts +11 -0
- package/src/provider.ts +180 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogsConfigurationNative.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/LogsConfigurationNative.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC;IACvC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { ActionEventMapper } from '../../rum/eventMappers/actionEventMapper';
|
|
2
|
+
import type { ErrorEventMapper } from '../../rum/eventMappers/errorEventMapper';
|
|
3
|
+
import type { ResourceEventMapper } from '../../rum/eventMappers/resourceEventMapper';
|
|
4
|
+
import type { FirstPartyHost } from '../../rum/types';
|
|
5
|
+
import { VitalsUpdateFrequency } from '../types';
|
|
6
|
+
import type { RumConfigurationOptions, RumConfigurationType } from './RumConfiguration.type';
|
|
7
|
+
declare const DEFAULTS: {
|
|
8
|
+
actionEventMapper: null;
|
|
9
|
+
actionNameAttribute: undefined;
|
|
10
|
+
appHangThreshold: undefined;
|
|
11
|
+
customEndpoint: undefined;
|
|
12
|
+
errorEventMapper: null;
|
|
13
|
+
getFirstPartyHosts: () => never[];
|
|
14
|
+
initialResourceThreshold: undefined;
|
|
15
|
+
longTaskThresholdMs: number;
|
|
16
|
+
nativeCrashReportEnabled: boolean;
|
|
17
|
+
nativeInteractionTracking: boolean;
|
|
18
|
+
nativeLongTaskThresholdMs: number;
|
|
19
|
+
nativeViewTracking: boolean;
|
|
20
|
+
resourceEventMapper: null;
|
|
21
|
+
resourceTraceSampleRate: number;
|
|
22
|
+
sessionSampleRate: number;
|
|
23
|
+
telemetrySampleRate: number;
|
|
24
|
+
trackBackgroundEvents: boolean;
|
|
25
|
+
trackErrors: boolean;
|
|
26
|
+
trackFrustrations: boolean;
|
|
27
|
+
trackInteractions: boolean;
|
|
28
|
+
trackMemoryWarnings: boolean;
|
|
29
|
+
trackNonFatalAnrs: undefined;
|
|
30
|
+
trackResources: boolean;
|
|
31
|
+
trackWatchdogTerminations: boolean;
|
|
32
|
+
useAccessibilityLabel: boolean;
|
|
33
|
+
vitalsUpdateFrequency: VitalsUpdateFrequency;
|
|
34
|
+
};
|
|
35
|
+
export declare class RumConfiguration implements RumConfigurationType {
|
|
36
|
+
readonly applicationId: string;
|
|
37
|
+
readonly trackInteractions: boolean;
|
|
38
|
+
readonly trackResources: boolean;
|
|
39
|
+
readonly trackErrors: boolean;
|
|
40
|
+
actionEventMapper: ActionEventMapper | null;
|
|
41
|
+
actionNameAttribute?: string;
|
|
42
|
+
appHangThreshold?: number;
|
|
43
|
+
customEndpoint?: string;
|
|
44
|
+
errorEventMapper: ErrorEventMapper | null;
|
|
45
|
+
firstPartyHosts: FirstPartyHost[];
|
|
46
|
+
initialResourceThreshold?: number;
|
|
47
|
+
longTaskThresholdMs: number | 0 | false;
|
|
48
|
+
nativeCrashReportEnabled: boolean;
|
|
49
|
+
nativeInteractionTracking: boolean;
|
|
50
|
+
nativeLongTaskThresholdMs: number;
|
|
51
|
+
nativeViewTracking: boolean;
|
|
52
|
+
resourceEventMapper: ResourceEventMapper | null;
|
|
53
|
+
resourceTraceSampleRate: number;
|
|
54
|
+
sessionSampleRate: number;
|
|
55
|
+
telemetrySampleRate: number;
|
|
56
|
+
trackBackgroundEvents: boolean;
|
|
57
|
+
trackFrustrations: boolean;
|
|
58
|
+
trackMemoryWarnings: boolean;
|
|
59
|
+
trackNonFatalAnrs?: boolean;
|
|
60
|
+
trackWatchdogTerminations: boolean;
|
|
61
|
+
useAccessibilityLabel: boolean;
|
|
62
|
+
vitalsUpdateFrequency: VitalsUpdateFrequency;
|
|
63
|
+
constructor(applicationId: string, trackInteractions?: boolean, trackResources?: boolean, trackErrors?: boolean, options?: RumConfigurationOptions);
|
|
64
|
+
}
|
|
65
|
+
export { DEFAULTS as RUM_DEFAULTS };
|
|
66
|
+
//# sourceMappingURL=RumConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RumConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/RumConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,OAAO,KAAK,EACR,uBAAuB,EACvB,oBAAoB,EACvB,MAAM,yBAAyB,CAAC;AAEjC,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Bb,CAAC;AAEF,qBAAa,gBAAiB,YAAW,oBAAoB;IAiFrD,QAAQ,CAAC,aAAa,EAAE,MAAM;IAC9B,QAAQ,CAAC,iBAAiB,EAAE,OAAO;IACnC,QAAQ,CAAC,cAAc,EAAE,OAAO;IAChC,QAAQ,CAAC,WAAW,EAAE,OAAO;IAlF1B,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CACnB;IAGxB,mBAAmB,CAAC,EAAE,MAAM,CAAgC;IAG5D,gBAAgB,CAAC,EAAE,MAAM,CAA6B;IAGtD,cAAc,CAAC,EAAE,MAAM,CAA2B;IAGlD,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,CAClB;IAGvB,eAAe,EAAE,cAAc,EAAE,CAAiC;IAGlE,wBAAwB,CAAC,EAAE,MAAM,CACF;IAG/B,mBAAmB,EAAE,MAAM,GAAG,CAAC,GAAG,KAAK,CACb;IAG1B,wBAAwB,EAAE,OAAO,CACF;IAG/B,yBAAyB,EAAE,OAAO,CACF;IAGhC,yBAAyB,EAAE,MAAM,CACD;IAGhC,kBAAkB,EAAE,OAAO,CAA+B;IAG1D,mBAAmB,EAAE,mBAAmB,GAAG,IAAI,CACrB;IAG1B,uBAAuB,EAAE,MAAM,CAAoC;IAGnE,iBAAiB,EAAE,MAAM,CAA8B;IAGvD,mBAAmB,EAAE,MAAM,CAAgC;IAG3D,qBAAqB,EAAE,OAAO,CAAkC;IAGhE,iBAAiB,EAAE,OAAO,CAA8B;IAGxD,mBAAmB,EAAE,OAAO,CAAgC;IAG5D,iBAAiB,CAAC,EAAE,OAAO,CAA8B;IAGzD,yBAAyB,EAAE,OAAO,CACF;IAGhC,qBAAqB,EAAE,OAAO,CAAkC;IAGhE,qBAAqB,EAAE,qBAAqB,CAChB;gBAGtB,aAAa,EAAE,MAAM,EACrB,iBAAiB,GAAE,OAAoC,EACvD,cAAc,GAAE,OAAiC,EACjD,WAAW,GAAE,OAA8B,EACpD,OAAO,GAAE,uBAA4B;CAI5C;AAED,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import type { ActionEventMapper } from '../../rum/eventMappers/actionEventMapper';
|
|
2
|
+
import type { ErrorEventMapper } from '../../rum/eventMappers/errorEventMapper';
|
|
3
|
+
import type { ResourceEventMapper } from '../../rum/eventMappers/resourceEventMapper';
|
|
4
|
+
import type { FirstPartyHost } from '../../rum/types';
|
|
5
|
+
import type { VitalsUpdateFrequency } from '../types';
|
|
6
|
+
/**
|
|
7
|
+
* Required RUM configuration values.
|
|
8
|
+
*/
|
|
9
|
+
export interface RumConfigurationRequired {
|
|
10
|
+
/**
|
|
11
|
+
* The Datadog RUM application ID.
|
|
12
|
+
*/
|
|
13
|
+
applicationId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Enables tracking of user interactions.
|
|
16
|
+
* Defaults to the SDK-defined value.
|
|
17
|
+
*/
|
|
18
|
+
trackInteractions?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Enables tracking of network resources.
|
|
21
|
+
* Defaults to the SDK-defined value.
|
|
22
|
+
*/
|
|
23
|
+
trackResources?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Enables tracking of errors.
|
|
26
|
+
* Defaults to the SDK-defined value.
|
|
27
|
+
*/
|
|
28
|
+
trackErrors?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Optional RUM configuration values.
|
|
32
|
+
*/
|
|
33
|
+
export interface RumConfigurationOptions {
|
|
34
|
+
/**
|
|
35
|
+
* Custom mapper to transform RUM action events.
|
|
36
|
+
*/
|
|
37
|
+
actionEventMapper?: ActionEventMapper | null;
|
|
38
|
+
/**
|
|
39
|
+
* Custom attribute used to name RUM actions.
|
|
40
|
+
*/
|
|
41
|
+
actionNameAttribute?: string;
|
|
42
|
+
/**
|
|
43
|
+
* App hang threshold in seconds for non-fatal app hangs on iOS.
|
|
44
|
+
*/
|
|
45
|
+
appHangThreshold?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Sets a target custom server for RUM.
|
|
48
|
+
*/
|
|
49
|
+
customEndpoint?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Custom mapper to transform RUM error events.
|
|
52
|
+
*/
|
|
53
|
+
errorEventMapper?: ErrorEventMapper | null;
|
|
54
|
+
/**
|
|
55
|
+
* List of backend hosts used to enable tracing.
|
|
56
|
+
*/
|
|
57
|
+
firstPartyHosts?: FirstPartyHost[];
|
|
58
|
+
/**
|
|
59
|
+
* Initial resource collection threshold in seconds.
|
|
60
|
+
*/
|
|
61
|
+
initialResourceThreshold?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Threshold for JavaScript long task reporting in milliseconds.
|
|
64
|
+
*/
|
|
65
|
+
longTaskThresholdMs?: number | false;
|
|
66
|
+
/**
|
|
67
|
+
* Enables native crash reporting.
|
|
68
|
+
*/
|
|
69
|
+
nativeCrashReportEnabled?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Threshold for native long task reporting in milliseconds.
|
|
72
|
+
*/
|
|
73
|
+
nativeLongTaskThresholdMs?: number;
|
|
74
|
+
/**
|
|
75
|
+
* Enables native interaction tracking.
|
|
76
|
+
*/
|
|
77
|
+
nativeInteractionTracking?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Enables native view tracking.
|
|
80
|
+
*/
|
|
81
|
+
nativeViewTracking?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Custom mapper to transform RUM resource events.
|
|
84
|
+
*/
|
|
85
|
+
resourceEventMapper?: ResourceEventMapper | null;
|
|
86
|
+
/**
|
|
87
|
+
* Percentage of traced network requests.
|
|
88
|
+
*/
|
|
89
|
+
resourceTraceSampleRate?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Percentage of sampled RUM sessions.
|
|
92
|
+
*/
|
|
93
|
+
sessionSampleRate?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Enables tracking of background RUM events.
|
|
96
|
+
*/
|
|
97
|
+
trackBackgroundEvents?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Enables tracking of frustration signals.
|
|
100
|
+
*/
|
|
101
|
+
trackFrustrations?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Enables tracking of non-fatal ANRs on Android.
|
|
104
|
+
*/
|
|
105
|
+
trackNonFatalAnrs?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Enables tracking of app termination by the iOS watchdog.
|
|
108
|
+
*/
|
|
109
|
+
trackWatchdogTerminations?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Sampling rate for internal SDK telemetry.
|
|
112
|
+
*/
|
|
113
|
+
telemetrySampleRate?: number;
|
|
114
|
+
/**
|
|
115
|
+
* Enables tracking of memory warnings (iOS only).
|
|
116
|
+
*/
|
|
117
|
+
trackMemoryWarnings?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Enables accessibility label usage for action names.
|
|
120
|
+
*/
|
|
121
|
+
useAccessibilityLabel?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Preferred frequency for collecting mobile vitals.
|
|
124
|
+
*/
|
|
125
|
+
vitalsUpdateFrequency?: VitalsUpdateFrequency;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Complete RUM configuration type.
|
|
129
|
+
*/
|
|
130
|
+
export type RumConfigurationType = RumConfigurationRequired & RumConfigurationOptions;
|
|
131
|
+
//# sourceMappingURL=RumConfiguration.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RumConfiguration.type.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/RumConfiguration.type.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAE7C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAE3C;;OAEG;IACH,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IAEnC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAErC;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAEnC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAEnC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEjD;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GACvD,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type RumNativeConfiguration = {
|
|
2
|
+
readonly applicationId: string;
|
|
3
|
+
readonly trackFrustrations: boolean;
|
|
4
|
+
readonly longTaskThresholdMs: number;
|
|
5
|
+
readonly sessionSampleRate: number;
|
|
6
|
+
readonly resourceTraceSampleRate: number;
|
|
7
|
+
readonly vitalsUpdateFrequency: string;
|
|
8
|
+
readonly trackBackgroundEvents: boolean;
|
|
9
|
+
readonly nativeCrashReportEnabled: boolean;
|
|
10
|
+
readonly nativeLongTaskThresholdMs: number;
|
|
11
|
+
readonly nativeViewTracking: boolean;
|
|
12
|
+
readonly nativeInteractionTracking: boolean;
|
|
13
|
+
readonly trackNonFatalAnrs: boolean | undefined;
|
|
14
|
+
readonly appHangThreshold: number | undefined;
|
|
15
|
+
readonly trackWatchdogTerminations: boolean | undefined;
|
|
16
|
+
readonly initialResourceThreshold: number | undefined;
|
|
17
|
+
readonly trackMemoryWarnings: boolean;
|
|
18
|
+
readonly telemetrySampleRate: number;
|
|
19
|
+
readonly customEndpoint: string;
|
|
20
|
+
readonly firstPartyHosts: {
|
|
21
|
+
match: string;
|
|
22
|
+
propagatorTypes: string[];
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=RumConfigurationNative.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RumConfigurationNative.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/RumConfigurationNative.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACxC,QAAQ,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAC3C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAC;IAC5C,QAAQ,CAAC,iBAAiB,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,yBAAyB,EAAE,OAAO,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,wBAAwB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACtC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,eAAe,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CAC5E,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TraceConfigurationOptions, TraceConfigurationType } from './TraceConfiguration.type';
|
|
2
|
+
declare const DEFAULTS: {
|
|
3
|
+
customEndpoint: undefined;
|
|
4
|
+
};
|
|
5
|
+
export declare class TraceConfiguration implements TraceConfigurationType {
|
|
6
|
+
customEndpoint?: string;
|
|
7
|
+
constructor(options?: TraceConfigurationOptions);
|
|
8
|
+
}
|
|
9
|
+
export { DEFAULTS as TRACE_DEFAULTS };
|
|
10
|
+
//# sourceMappingURL=TraceConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TraceConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/TraceConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACR,yBAAyB,EACzB,sBAAsB,EACzB,MAAM,2BAA2B,CAAC;AAEnC,QAAA,MAAM,QAAQ;;CAEb,CAAC;AAEF,qBAAa,kBAAmB,YAAW,sBAAsB;IAEtD,cAAc,CAAC,EAAE,MAAM,CAA2B;gBAE7C,OAAO,GAAE,yBAA8B;CAGtD;AAED,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trace configuration options.
|
|
3
|
+
*/
|
|
4
|
+
export interface TraceConfigurationType {
|
|
5
|
+
/**
|
|
6
|
+
* Sets a target custom server for Traces.
|
|
7
|
+
*/
|
|
8
|
+
customEndpoint?: string;
|
|
9
|
+
}
|
|
10
|
+
export type TraceConfigurationOptions = TraceConfigurationType;
|
|
11
|
+
//# sourceMappingURL=TraceConfiguration.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TraceConfiguration.type.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/TraceConfiguration.type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TraceConfigurationNative.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/TraceConfigurationNative.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum specifying the preferred level for processing batches of data.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum BatchProcessingLevel {
|
|
5
|
+
/**
|
|
6
|
+
* Only 1 batch will be sent in a single upload cycle.
|
|
7
|
+
*/
|
|
8
|
+
LOW = "LOW",
|
|
9
|
+
/**
|
|
10
|
+
* 10 batches will be sent in a single upload cycle
|
|
11
|
+
*/
|
|
12
|
+
MEDIUM = "MEDIUM",
|
|
13
|
+
/**
|
|
14
|
+
* 100 batches will be sent in a single upload cycle.
|
|
15
|
+
*/
|
|
16
|
+
HIGH = "HIGH"
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=BatchProcessingLevel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchProcessingLevel.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/BatchProcessingLevel.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,oBAAY,oBAAoB;IAC5B;;OAEG;IACH,GAAG,QAAQ;IACX;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum specifying the Datadog SDK policy when batching data together before uploading it to Datadog servers.
|
|
3
|
+
* Smaller batches mean smaller but more network requests, whereas larger batches mean fewer but larger network requests.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum BatchSize {
|
|
6
|
+
/**
|
|
7
|
+
* Upload less frequent, larger batches of data
|
|
8
|
+
*/
|
|
9
|
+
LARGE = "LARGE",
|
|
10
|
+
/**
|
|
11
|
+
* Use default size for batches of data
|
|
12
|
+
*/
|
|
13
|
+
MEDIUM = "MEDIUM",
|
|
14
|
+
/**
|
|
15
|
+
* Upload more frequent, smaller batches of data
|
|
16
|
+
*/
|
|
17
|
+
SMALL = "SMALL"
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=BatchSize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchSize.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/BatchSize.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,oBAAY,SAAS;IACjB;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InitializationMode.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/InitializationMode.ts"],"names":[],"mappings":"AAKA,oBAAY,kBAAkB;IAC1B,IAAI,SAAS;IACb,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InitializationModeForTelemetry.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/InitializationModeForTelemetry.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,8BAA8B,GACpC,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Proxy server configuration.
|
|
3
|
+
*/
|
|
4
|
+
declare class ProxyConfiguration {
|
|
5
|
+
/**
|
|
6
|
+
* Proxy type.
|
|
7
|
+
*/
|
|
8
|
+
readonly type: ProxyType;
|
|
9
|
+
/**
|
|
10
|
+
* Proxy address. Can be either in the IP address format, ex. "1.1.1.1", or hostname, ex. "example.com".
|
|
11
|
+
*/
|
|
12
|
+
readonly address: string;
|
|
13
|
+
/**
|
|
14
|
+
* Proxy port.
|
|
15
|
+
*/
|
|
16
|
+
readonly port: number;
|
|
17
|
+
username?: string;
|
|
18
|
+
password?: string;
|
|
19
|
+
constructor(
|
|
20
|
+
/**
|
|
21
|
+
* Proxy type.
|
|
22
|
+
*/
|
|
23
|
+
type: ProxyType,
|
|
24
|
+
/**
|
|
25
|
+
* Proxy address. Can be either in the IP address format, ex. "1.1.1.1", or hostname, ex. "example.com".
|
|
26
|
+
*/
|
|
27
|
+
address: string,
|
|
28
|
+
/**
|
|
29
|
+
* Proxy port.
|
|
30
|
+
*/
|
|
31
|
+
port: number,
|
|
32
|
+
/**
|
|
33
|
+
* Username for Basic authentication scheme.
|
|
34
|
+
*
|
|
35
|
+
* Note: "SOCKS + authentication" scheme is not supported.
|
|
36
|
+
*/
|
|
37
|
+
username?: string,
|
|
38
|
+
/**
|
|
39
|
+
* Password for Basic authentication scheme.
|
|
40
|
+
*/
|
|
41
|
+
password?: string);
|
|
42
|
+
}
|
|
43
|
+
declare enum ProxyType {
|
|
44
|
+
HTTP = "http",
|
|
45
|
+
HTTPS = "https",
|
|
46
|
+
SOCKS = "socks"
|
|
47
|
+
}
|
|
48
|
+
export { ProxyConfiguration, ProxyType };
|
|
49
|
+
//# sourceMappingURL=ProxyConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProxyConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/ProxyConfiguration.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,cAAM,kBAAkB;IAKhB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,SAAS;IACxB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM;IAfzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;;IAGd;;OAEG;IACM,IAAI,EAAE,SAAS;IACxB;;OAEG;IACM,OAAO,EAAE,MAAM;IACxB;;OAEG;IACM,IAAI,EAAE,MAAM;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM;CAaxB;AAED,aAAK,SAAS;IACV,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SdkVerbosity.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/SdkVerbosity.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,oBAAY,YAAY;IACpB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrackingConsent.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/TrackingConsent.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,oBAAY,eAAe;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;CAC9B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum specifying preferred frequency for uploading batches of data.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum UploadFrequency {
|
|
5
|
+
/**
|
|
6
|
+
* Upload data every 1000ms.
|
|
7
|
+
*/
|
|
8
|
+
FREQUENT = "FREQUENT",
|
|
9
|
+
/**
|
|
10
|
+
* Upload data every 5000ms.
|
|
11
|
+
*/
|
|
12
|
+
AVERAGE = "AVERAGE",
|
|
13
|
+
/**
|
|
14
|
+
* Upload data every 10000ms.
|
|
15
|
+
*/
|
|
16
|
+
RARE = "RARE"
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=UploadFrequency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadFrequency.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/UploadFrequency.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,QAAQ,aAAa;IACrB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VitalsUpdateFrequency.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/VitalsUpdateFrequency.ts"],"names":[],"mappings":"AAKA,oBAAY,qBAAqB;IAC7B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { BatchProcessingLevel } from './BatchProcessingLevel';
|
|
2
|
+
export { BatchSize } from './BatchSize';
|
|
3
|
+
export { ProxyConfiguration, ProxyType } from './ProxyConfiguration';
|
|
4
|
+
export { SdkVerbosity } from './SdkVerbosity';
|
|
5
|
+
export { TrackingConsent } from './TrackingConsent';
|
|
6
|
+
export { UploadFrequency } from './UploadFrequency';
|
|
7
|
+
export { VitalsUpdateFrequency } from './VitalsUpdateFrequency';
|
|
8
|
+
export { InitializationMode } from './InitializationMode';
|
|
9
|
+
export type { InitializationModeForTelemetry } from './InitializationModeForTelemetry';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/types/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DdFlags.d.ts","sourceRoot":"","sources":["../../../../../../core/src/flags/DdFlags.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAsB,MAAM,SAAS,CAAC;AA2C/D,eAAO,MAAM,OAAO,EAAE,WAGrB,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { JsonValue, EvaluationContext, FlagDetails } from './types';
|
|
2
|
+
export declare class FlagsClient {
|
|
3
|
+
private nativeFlags;
|
|
4
|
+
private clientName;
|
|
5
|
+
private evaluationContext;
|
|
6
|
+
private flagsCache;
|
|
7
|
+
constructor(clientName?: string);
|
|
8
|
+
/**
|
|
9
|
+
* Sets the evaluation context for the client.
|
|
10
|
+
*
|
|
11
|
+
* Should be called before evaluating any flags. Otherwise, the client will fall back to serving default flag values.
|
|
12
|
+
*
|
|
13
|
+
* Throws an error if there is an error setting the evaluation context and logs an error message.
|
|
14
|
+
*
|
|
15
|
+
* @param context The evaluation context to associate with the current client.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const flagsClient = DdFlags.getClient();
|
|
20
|
+
*
|
|
21
|
+
* await flagsClient.setEvaluationContext({
|
|
22
|
+
* targetingKey: 'user-123',
|
|
23
|
+
* attributes: {
|
|
24
|
+
* favoriteFruit: 'apple'
|
|
25
|
+
* }
|
|
26
|
+
* });
|
|
27
|
+
*
|
|
28
|
+
* const flagValue = flagsClient.getBooleanValue('new-feature', false);
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
setEvaluationContext: (context: EvaluationContext) => Promise<void>;
|
|
32
|
+
private track;
|
|
33
|
+
private getDetails;
|
|
34
|
+
/**
|
|
35
|
+
* Evaluate a boolean feature flag with detailed evaluation information.
|
|
36
|
+
*
|
|
37
|
+
* @param key The key of the flag to evaluate.
|
|
38
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
39
|
+
*/
|
|
40
|
+
getBooleanDetails: (key: string, defaultValue: boolean) => FlagDetails<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Evaluate a string feature flag with detailed evaluation information.
|
|
43
|
+
*
|
|
44
|
+
* @param key The key of the flag to evaluate.
|
|
45
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
46
|
+
*/
|
|
47
|
+
getStringDetails: (key: string, defaultValue: string) => FlagDetails<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Evaluate a number feature flag with detailed evaluation information.
|
|
50
|
+
*
|
|
51
|
+
* @param key The key of the flag to evaluate.
|
|
52
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
53
|
+
*/
|
|
54
|
+
getNumberDetails: (key: string, defaultValue: number) => FlagDetails<number>;
|
|
55
|
+
/**
|
|
56
|
+
* Evaluate a JSON feature flag with detailed evaluation information.
|
|
57
|
+
*
|
|
58
|
+
* Even though the `defaultValue` is typed as `JsonValue`, the flag value should be a valid JSON object.
|
|
59
|
+
* Please use other typed methods to evaluate flags with primitive values.
|
|
60
|
+
*
|
|
61
|
+
* @param key The key of the flag to evaluate.
|
|
62
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
63
|
+
*/
|
|
64
|
+
getObjectDetails: <T extends JsonValue>(key: string, defaultValue: T) => FlagDetails<T>;
|
|
65
|
+
/**
|
|
66
|
+
* Evaluate a boolean feature flag value.
|
|
67
|
+
*
|
|
68
|
+
* @param key The key of the flag to evaluate.
|
|
69
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```ts
|
|
73
|
+
* const isNewFeatureEnabled = flagsClient.getBooleanValue('new-feature-enabled', false);
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
getBooleanValue: (key: string, defaultValue: boolean) => boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Evaluate a string feature flag value.
|
|
79
|
+
*
|
|
80
|
+
* @param key The key of the flag to evaluate.
|
|
81
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* const appTheme = flagsClient.getStringValue('app-theme', 'light');
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
getStringValue: (key: string, defaultValue: string) => string;
|
|
89
|
+
/**
|
|
90
|
+
* Evaluate a number feature flag value.
|
|
91
|
+
*
|
|
92
|
+
* @param key The key of the flag to evaluate.
|
|
93
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* ```ts
|
|
97
|
+
* const ctaButtonSize = flagsClient.getNumberValue('cta-button-size', 16);
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
getNumberValue: (key: string, defaultValue: number) => number;
|
|
101
|
+
/**
|
|
102
|
+
* Evaluate an object feature flag value.
|
|
103
|
+
*
|
|
104
|
+
* @param key The key of the flag to evaluate.
|
|
105
|
+
* @param defaultValue Fallback value for when flag evaluation fails, flag is not found, or the client does not have an evaluation context set.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```ts
|
|
109
|
+
* const pageCalloutOptions = flagsClient.getObjectValue('page-callout', { color: 'purple', text: 'Woof!' });
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
getObjectValue: <T extends JsonValue>(key: string, defaultValue: T) => T;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=FlagsClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlagsClient.d.ts","sourceRoot":"","sources":["../../../../../../core/src/flags/FlagsClient.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEzE,qBAAa,WAAW;IAEpB,OAAO,CAAC,WAAW,CACN;IAEb,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,iBAAiB,CAA4C;IAErE,OAAO,CAAC,UAAU,CAAsC;gBAE5C,UAAU,GAAE,MAAkB;IAI1C;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,oBAAoB,YACP,iBAAiB,KAC3B,QAAQ,IAAI,CAAC,CAuBd;IAEF,OAAO,CAAC,KAAK,CAkBX;IAEF,OAAO,CAAC,UAAU,CAkDhB;IAEF;;;;;OAKG;IACH,iBAAiB,QACR,MAAM,gBACG,OAAO,KACtB,YAAY,OAAO,CAAC,CAErB;IAEF;;;;;OAKG;IACH,gBAAgB,QACP,MAAM,gBACG,MAAM,KACrB,YAAY,MAAM,CAAC,CAEpB;IAEF;;;;;OAKG;IACH,gBAAgB,QACP,MAAM,gBACG,MAAM,KACrB,YAAY,MAAM,CAAC,CAEpB;IAEF;;;;;;;;OAQG;IACH,gBAAgB,6BACP,MAAM,qCAIb;IAEF;;;;;;;;;;OAUG;IACH,eAAe,QAAS,MAAM,gBAAgB,OAAO,KAAG,OAAO,CAE7D;IAEF;;;;;;;;;;OAUG;IACH,cAAc,QAAS,MAAM,gBAAgB,MAAM,KAAG,MAAM,CAE1D;IAEF;;;;;;;;;;OAUG;IACH,cAAc,QAAS,MAAM,gBAAgB,MAAM,KAAG,MAAM,CAE1D;IAEF;;;;;;;;;;OAUG;IACH,cAAc,6BAA8B,MAAM,wBAEhD;CACL"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { EvaluationContext } from './types';
|
|
2
|
+
export interface FlagCacheEntry {
|
|
3
|
+
key: string;
|
|
4
|
+
value: unknown;
|
|
5
|
+
allocationKey: string;
|
|
6
|
+
variationKey: string;
|
|
7
|
+
variationType: string;
|
|
8
|
+
variationValue: string;
|
|
9
|
+
reason: string;
|
|
10
|
+
doLog: boolean;
|
|
11
|
+
extraLogging: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
export declare const processEvaluationContext: (context: EvaluationContext) => EvaluationContext;
|
|
14
|
+
//# sourceMappingURL=internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../../../core/src/flags/internal.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAkB,MAAM,SAAS,CAAC;AAEjE,MAAM,WAAW,cAAc;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,wBAAwB,YACxB,iBAAiB,KAC3B,iBAqCF,CAAC"}
|