@datadog/mobile-react-native-code-push 1.2.1 → 1.3.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/lib/typescript/core/src/DdSdkReactNative.d.ts +7 -3
- package/lib/typescript/core/src/DdSdkReactNativeConfiguration.d.ts +22 -0
- package/lib/typescript/core/src/foundation.d.ts +2 -4
- package/lib/typescript/core/src/index.d.ts +5 -3
- package/lib/typescript/core/src/logs/DdLogs.d.ts +14 -0
- package/lib/typescript/core/src/logs/eventMapper.d.ts +11 -0
- package/lib/typescript/core/src/logs/types.d.ts +54 -0
- package/lib/typescript/core/src/nativeModulesTypes.d.ts +1 -1
- package/lib/typescript/core/src/rum/DdRum.d.ts +36 -0
- package/lib/typescript/core/src/rum/eventMappers/actionEventMapper.d.ts +21 -0
- package/lib/typescript/core/src/rum/eventMappers/errorEventMapper.d.ts +21 -0
- package/lib/typescript/core/src/rum/eventMappers/resourceEventMapper.d.ts +25 -0
- package/lib/typescript/core/src/rum/instrumentation/{DdEventsInterceptor.d.ts → interactionTracking/DdEventsInterceptor.d.ts} +0 -0
- package/lib/typescript/core/src/rum/instrumentation/{DdRumUserInteractionTracking.d.ts → interactionTracking/DdRumUserInteractionTracking.d.ts} +0 -0
- package/lib/typescript/core/src/rum/instrumentation/{EventsInterceptor.d.ts → interactionTracking/EventsInterceptor.d.ts} +0 -0
- package/lib/typescript/core/src/rum/instrumentation/{NoOpEventsInterceptor.d.ts → interactionTracking/NoOpEventsInterceptor.d.ts} +0 -0
- package/lib/typescript/core/src/rum/instrumentation/{ShallowObjectEqualityChecker.d.ts → interactionTracking/ShallowObjectEqualityChecker.d.ts} +0 -0
- package/lib/typescript/core/src/rum/instrumentation/{getJsxRuntime.d.ts → interactionTracking/getJsxRuntime.d.ts} +0 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/domain/interfaces/RumResource.d.ts +3 -1
- package/lib/typescript/core/src/rum/types.d.ts +110 -0
- package/lib/typescript/core/src/sdk/AttributesSingleton/AttributesSingleton.d.ts +12 -0
- package/lib/typescript/core/src/sdk/AttributesSingleton/types.d.ts +3 -0
- package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/BoundedBuffer.d.ts +0 -0
- package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/BufferSingleton.d.ts +0 -0
- package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/DatadogBuffer.d.ts +0 -0
- package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/PassThroughBuffer.d.ts +0 -0
- package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/bufferNativeCall.d.ts +0 -0
- package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/DatadogProvider.d.ts +2 -2
- package/lib/typescript/core/src/sdk/EventMappers/EventMapper.d.ts +24 -0
- package/lib/typescript/core/src/sdk/EventMappers/utils/deepClone.d.ts +10 -0
- package/lib/typescript/core/src/sdk/UserInfoSingleton/UserInfoSingleton.d.ts +12 -0
- package/lib/typescript/core/src/sdk/UserInfoSingleton/types.d.ts +6 -0
- package/lib/typescript/core/src/types.d.ts +0 -139
- package/lib/typescript/core/src/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { DdSdkReactNativeConfiguration } from './DdSdkReactNativeConfiguration';
|
|
2
2
|
import type { DatadogProviderConfiguration, PartialInitializationConfiguration, AutoInstrumentationConfiguration } from './DdSdkReactNativeConfiguration';
|
|
3
3
|
import type { TrackingConsent } from './TrackingConsent';
|
|
4
|
+
import type { Attributes } from './sdk/AttributesSingleton/types';
|
|
5
|
+
import type { UserInfo } from './sdk/UserInfoSingleton/types';
|
|
4
6
|
/**
|
|
5
7
|
* This class initializes the Datadog SDK, and sets up communication with the server.
|
|
6
8
|
*/
|
|
@@ -10,6 +12,7 @@ export declare class DdSdkReactNative {
|
|
|
10
12
|
private static readonly DD_SERVICE_NAME;
|
|
11
13
|
private static readonly DD_SDK_VERBOSITY_KEY;
|
|
12
14
|
private static readonly DD_NATIVE_VIEW_TRACKING_KEY;
|
|
15
|
+
private static readonly DD_NATIVE_INTERACTION_TRACKING_KEY;
|
|
13
16
|
private static readonly DD_VERSION;
|
|
14
17
|
private static readonly DD_VERSION_SUFFIX;
|
|
15
18
|
private static readonly DD_PROXY_TYPE_KEY;
|
|
@@ -40,17 +43,18 @@ export declare class DdSdkReactNative {
|
|
|
40
43
|
*/
|
|
41
44
|
static _initializeFromDatadogProviderWithConfigurationAsync: (configuration: PartialInitializationConfiguration) => Promise<void>;
|
|
42
45
|
/**
|
|
43
|
-
*
|
|
46
|
+
* Adds a set of attributes to the global context attached with all future Logs, Spans and RUM events.
|
|
47
|
+
* To remove an attribute, set it to `undefined` in a call to `setAttributes`.
|
|
44
48
|
* @param attributes: The global context attributes.
|
|
45
49
|
* @returns a Promise.
|
|
46
50
|
*/
|
|
47
|
-
static setAttributes(attributes:
|
|
51
|
+
static setAttributes(attributes: Attributes): Promise<void>;
|
|
48
52
|
/**
|
|
49
53
|
* Set the user information.
|
|
50
54
|
* @param user: The user object (use builtin attributes: 'id', 'email', 'name', and/or any custom attribute).
|
|
51
55
|
* @returns a Promise.
|
|
52
56
|
*/
|
|
53
|
-
static setUser(user:
|
|
57
|
+
static setUser(user: UserInfo): Promise<void>;
|
|
54
58
|
/**
|
|
55
59
|
* Set the tracking consent regarding the data collection.
|
|
56
60
|
* @param trackingConsent: One of TrackingConsent values.
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { ProxyConfiguration } from './ProxyConfiguration';
|
|
2
2
|
import type { SdkVerbosity } from './SdkVerbosity';
|
|
3
3
|
import { TrackingConsent } from './TrackingConsent';
|
|
4
|
+
import type { LogEventMapper } from './logs/types';
|
|
5
|
+
import type { ActionEventMapper } from './rum/eventMappers/actionEventMapper';
|
|
6
|
+
import type { ErrorEventMapper } from './rum/eventMappers/errorEventMapper';
|
|
7
|
+
import type { ResourceEventMapper } from './rum/eventMappers/resourceEventMapper';
|
|
4
8
|
export declare enum VitalsUpdateFrequency {
|
|
5
9
|
FREQUENT = "FREQUENT",
|
|
6
10
|
AVERAGE = "AVERAGE",
|
|
@@ -46,6 +50,11 @@ export declare class DdSdkReactNativeConfiguration {
|
|
|
46
50
|
* Set to `true` if you use a custom navigation system relying on native views.
|
|
47
51
|
*/
|
|
48
52
|
nativeViewTracking: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Enables native interaction tracking.
|
|
55
|
+
* Set to `true` if you want to track interactions on native screens.
|
|
56
|
+
*/
|
|
57
|
+
nativeInteractionTracking: boolean;
|
|
49
58
|
proxyConfig?: ProxyConfiguration;
|
|
50
59
|
serviceName?: string;
|
|
51
60
|
/**
|
|
@@ -109,6 +118,10 @@ export declare class DdSdkReactNativeConfiguration {
|
|
|
109
118
|
* Sets the preferred frequency for collecting mobile vitals.
|
|
110
119
|
*/
|
|
111
120
|
vitalsUpdateFrequency: VitalsUpdateFrequency;
|
|
121
|
+
logEventMapper: LogEventMapper | null;
|
|
122
|
+
errorEventMapper: ErrorEventMapper | null;
|
|
123
|
+
resourceEventMapper: ResourceEventMapper | null;
|
|
124
|
+
actionEventMapper: ActionEventMapper | null;
|
|
112
125
|
additionalConfig: {
|
|
113
126
|
[k: string]: any;
|
|
114
127
|
};
|
|
@@ -124,6 +137,10 @@ export declare type AutoInstrumentationConfiguration = {
|
|
|
124
137
|
readonly firstPartyHosts?: string[];
|
|
125
138
|
readonly resourceTracingSamplingRate?: number;
|
|
126
139
|
readonly trackErrors: boolean;
|
|
140
|
+
readonly logEventMapper?: LogEventMapper | null;
|
|
141
|
+
readonly errorEventMapper?: ErrorEventMapper | null;
|
|
142
|
+
readonly resourceEventMapper?: ResourceEventMapper | null;
|
|
143
|
+
readonly actionEventMapper?: ActionEventMapper | null;
|
|
127
144
|
};
|
|
128
145
|
/**
|
|
129
146
|
* Parameters needed to start auto instrumentation. Includes default values.
|
|
@@ -134,6 +151,10 @@ export declare type AutoInstrumentationParameters = {
|
|
|
134
151
|
readonly firstPartyHosts: string[];
|
|
135
152
|
readonly resourceTracingSamplingRate: number;
|
|
136
153
|
readonly trackErrors: boolean;
|
|
154
|
+
readonly logEventMapper: LogEventMapper | null;
|
|
155
|
+
readonly errorEventMapper: ErrorEventMapper | null;
|
|
156
|
+
readonly resourceEventMapper: ResourceEventMapper | null;
|
|
157
|
+
readonly actionEventMapper: ActionEventMapper | null;
|
|
137
158
|
};
|
|
138
159
|
/**
|
|
139
160
|
* We could use `Proxy` instead of this function, but `Proxy` is not available on
|
|
@@ -148,6 +169,7 @@ export declare type PartialInitializationConfiguration = {
|
|
|
148
169
|
readonly site?: string;
|
|
149
170
|
readonly verbosity?: SdkVerbosity | undefined;
|
|
150
171
|
readonly nativeViewTracking?: boolean;
|
|
172
|
+
readonly nativeInteractionTracking?: boolean;
|
|
151
173
|
readonly proxyConfig?: ProxyConfiguration;
|
|
152
174
|
readonly serviceName?: string;
|
|
153
175
|
readonly version?: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { DdSdkConfiguration,
|
|
1
|
+
import { DdSdkConfiguration, DdTraceType } from './types';
|
|
2
2
|
import type { DdNativeSdkType } from './nativeModulesTypes';
|
|
3
3
|
declare const DdSdk: DdNativeSdkType;
|
|
4
|
-
declare const DdLogs: DdLogsType;
|
|
5
4
|
declare const DdTrace: DdTraceType;
|
|
6
|
-
|
|
7
|
-
export { DdSdkConfiguration, DdSdk, DdLogs, DdTrace, DdRum };
|
|
5
|
+
export { DdSdkConfiguration, DdSdk, DdTrace };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { DatadogProvider } from './DatadogProvider/DatadogProvider';
|
|
2
1
|
import { DatadogProviderConfiguration, DdSdkReactNativeConfiguration, InitializationMode } from './DdSdkReactNativeConfiguration';
|
|
3
2
|
import { DdSdkReactNative } from './DdSdkReactNative';
|
|
4
3
|
import { InternalLog } from './InternalLog';
|
|
5
4
|
import { ProxyConfiguration, ProxyType } from './ProxyConfiguration';
|
|
6
5
|
import { SdkVerbosity } from './SdkVerbosity';
|
|
7
6
|
import { TrackingConsent } from './TrackingConsent';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { DdTrace } from './foundation';
|
|
8
|
+
import { DdLogs } from './logs/DdLogs';
|
|
9
|
+
import { DdRum } from './rum/DdRum';
|
|
10
|
+
import { RumActionType, ErrorSource } from './rum/types';
|
|
11
|
+
import { DatadogProvider } from './sdk/DatadogProvider/DatadogProvider';
|
|
10
12
|
export { DatadogProvider, DatadogProviderConfiguration, InitializationMode, DdLogs, DdTrace, DdRum, RumActionType, ErrorSource, DdSdkReactNativeConfiguration, DdSdkReactNative, InternalLog, ProxyConfiguration, ProxyType, TrackingConsent, SdkVerbosity };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DdLogsType, LogEventMapper } from './types';
|
|
2
|
+
declare class DdLogsWrapper implements DdLogsType {
|
|
3
|
+
private nativeLogs;
|
|
4
|
+
private logEventMapper;
|
|
5
|
+
debug(message: string, context?: object): Promise<void>;
|
|
6
|
+
info(message: string, context?: object): Promise<void>;
|
|
7
|
+
warn(message: string, context?: object): Promise<void>;
|
|
8
|
+
error(message: string, context?: object): Promise<void>;
|
|
9
|
+
private log;
|
|
10
|
+
registerLogEventMapper(logEventMapper: LogEventMapper): void;
|
|
11
|
+
unregisterLogEventMapper(): void;
|
|
12
|
+
}
|
|
13
|
+
export declare const DdLogs: DdLogsWrapper;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Attributes } from '../sdk/AttributesSingleton/types';
|
|
2
|
+
import { EventMapper } from '../sdk/EventMappers/EventMapper';
|
|
3
|
+
import type { UserInfo } from '../sdk/UserInfoSingleton/types';
|
|
4
|
+
import type { LogEvent, LogEventMapper, NativeLog, RawLog } from './types';
|
|
5
|
+
export declare const formatLogEventToNativeLog: (logEvent: LogEvent) => NativeLog;
|
|
6
|
+
export declare const formatRawLogToNativeEvent: (rawLog: RawLog) => NativeLog;
|
|
7
|
+
export declare const formatRawLogToLogEvent: (rawLog: RawLog, additionalInformation: {
|
|
8
|
+
userInfo: UserInfo;
|
|
9
|
+
attributes: Attributes;
|
|
10
|
+
}) => LogEvent;
|
|
11
|
+
export declare const generateEventMapper: (logEventMapper: LogEventMapper | undefined) => EventMapper<RawLog, LogEvent, NativeLog>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { UserInfo } from '../sdk/UserInfoSingleton/types';
|
|
2
|
+
/**
|
|
3
|
+
* The entry point to use Datadog's Logs feature.
|
|
4
|
+
*/
|
|
5
|
+
export declare type DdLogsType = {
|
|
6
|
+
/**
|
|
7
|
+
* Send a log with level debug.
|
|
8
|
+
* @param message: The message to send.
|
|
9
|
+
* @param context: The additional context to send.
|
|
10
|
+
*/
|
|
11
|
+
debug(message: string, context?: object): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Send a log with level info.
|
|
14
|
+
* @param message: The message to send.
|
|
15
|
+
* @param context: The additional context to send.
|
|
16
|
+
*/
|
|
17
|
+
info(message: string, context?: object): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Send a log with level warn.
|
|
20
|
+
* @param message: The message to send.
|
|
21
|
+
* @param context: The additional context to send.
|
|
22
|
+
*/
|
|
23
|
+
warn(message: string, context?: object): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Send a log with level error.
|
|
26
|
+
* @param message: The message to send.
|
|
27
|
+
* @param context: The additional context to send.
|
|
28
|
+
*/
|
|
29
|
+
error(message: string, context?: object): Promise<void>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Log input from developers
|
|
33
|
+
*/
|
|
34
|
+
export declare type RawLog = {
|
|
35
|
+
message: string;
|
|
36
|
+
context: object;
|
|
37
|
+
status: LogStatus;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Log input for native SDKs
|
|
41
|
+
*/
|
|
42
|
+
export declare type NativeLog = {
|
|
43
|
+
message: string;
|
|
44
|
+
context: object;
|
|
45
|
+
};
|
|
46
|
+
export declare type LogStatus = 'debug' | 'info' | 'warn' | 'error';
|
|
47
|
+
export declare type LogEvent = {
|
|
48
|
+
message: string;
|
|
49
|
+
context: object;
|
|
50
|
+
readonly status: LogStatus;
|
|
51
|
+
readonly userInfo: UserInfo;
|
|
52
|
+
readonly attributes?: object;
|
|
53
|
+
};
|
|
54
|
+
export declare type LogEventMapper = (logEvent: LogEvent) => LogEvent | null;
|
|
@@ -30,7 +30,7 @@ export declare type DdNativeSdkType = {
|
|
|
30
30
|
* Set the user information.
|
|
31
31
|
* @param user: The user object (use builtin attributes: 'id', 'email', 'name', and/or any custom attribute).
|
|
32
32
|
*/
|
|
33
|
-
setUser(user: object): Promise<
|
|
33
|
+
setUser(user: object): Promise<object>;
|
|
34
34
|
/**
|
|
35
35
|
* Set the tracking consent regarding the data collection.
|
|
36
36
|
* @param trackingConsent: Consent, which can take one of the following values: 'pending', 'granted', 'not_granted'.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
2
|
+
import type { ActionEventMapper } from './eventMappers/actionEventMapper';
|
|
3
|
+
import type { ErrorEventMapper } from './eventMappers/errorEventMapper';
|
|
4
|
+
import type { ResourceEventMapper } from './eventMappers/resourceEventMapper';
|
|
5
|
+
import type { DdRumType, RumActionType, ResourceKind, ErrorSource } from './types';
|
|
6
|
+
declare class DdRumWrapper implements DdRumType {
|
|
7
|
+
private nativeRum;
|
|
8
|
+
private lastActionData?;
|
|
9
|
+
private errorEventMapper;
|
|
10
|
+
private resourceEventMapper;
|
|
11
|
+
private actionEventMapper;
|
|
12
|
+
startView(key: string, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
13
|
+
stopView(key: string, context?: object, timestampMs?: number): Promise<void>;
|
|
14
|
+
startAction(type: RumActionType, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
15
|
+
stopAction(...args: [
|
|
16
|
+
type: RumActionType,
|
|
17
|
+
name: string,
|
|
18
|
+
context?: object,
|
|
19
|
+
timestampMs?: number
|
|
20
|
+
] | [context?: object, timestampMs?: number]): Promise<void>;
|
|
21
|
+
private callNativeStopAction;
|
|
22
|
+
private getStopActionNativeCallArgs;
|
|
23
|
+
addAction(type: RumActionType, name: string, context?: object, timestampMs?: number, actionContext?: GestureResponderEvent): Promise<void>;
|
|
24
|
+
startResource(key: string, method: string, url: string, context?: object, timestampMs?: number): Promise<void>;
|
|
25
|
+
stopResource(key: string, statusCode: number, kind: ResourceKind, size?: number, context?: object, timestampMs?: number, resourceContext?: XMLHttpRequest): Promise<void>;
|
|
26
|
+
addError(message: string, source: ErrorSource, stacktrace: string, context?: object, timestampMs?: number): Promise<void>;
|
|
27
|
+
addTiming(name: string): Promise<void>;
|
|
28
|
+
registerErrorEventMapper(errorEventMapper: ErrorEventMapper): void;
|
|
29
|
+
unregisterErrorEventMapper(): void;
|
|
30
|
+
registerResourceEventMapper(resourceEventMapper: ResourceEventMapper): void;
|
|
31
|
+
unregisterResourceEventMapper(): void;
|
|
32
|
+
registerActionEventMapper(actionEventMapper: ActionEventMapper): void;
|
|
33
|
+
unregisterActionEventMapper(): void;
|
|
34
|
+
}
|
|
35
|
+
export declare const DdRum: DdRumWrapper;
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
2
|
+
import type { AdditionalEventDataForMapper } from '../../sdk/EventMappers/EventMapper';
|
|
3
|
+
import { EventMapper } from '../../sdk/EventMappers/EventMapper';
|
|
4
|
+
import type { RumActionType } from '../types';
|
|
5
|
+
declare type RawAction = {
|
|
6
|
+
readonly type: RumActionType;
|
|
7
|
+
readonly name: string;
|
|
8
|
+
context: object;
|
|
9
|
+
readonly timestampMs: number;
|
|
10
|
+
actionContext?: GestureResponderEvent;
|
|
11
|
+
};
|
|
12
|
+
declare type ActionEvent = RawAction & AdditionalEventDataForMapper;
|
|
13
|
+
declare type NativeAction = {
|
|
14
|
+
type: RumActionType;
|
|
15
|
+
name: string;
|
|
16
|
+
context: object;
|
|
17
|
+
timestampMs: number;
|
|
18
|
+
};
|
|
19
|
+
export declare type ActionEventMapper = (event: ActionEvent) => ActionEvent | null;
|
|
20
|
+
export declare const generateActionEventMapper: (eventMapper: ActionEventMapper | undefined) => EventMapper<RawAction, ActionEvent, NativeAction>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AdditionalEventDataForMapper } from '../../sdk/EventMappers/EventMapper';
|
|
2
|
+
import { EventMapper } from '../../sdk/EventMappers/EventMapper';
|
|
3
|
+
import type { ErrorSource } from '../types';
|
|
4
|
+
declare type RawError = {
|
|
5
|
+
message: string;
|
|
6
|
+
source: ErrorSource;
|
|
7
|
+
stacktrace: string;
|
|
8
|
+
context?: object;
|
|
9
|
+
timestampMs?: number;
|
|
10
|
+
};
|
|
11
|
+
declare type ErrorEvent = RawError & AdditionalEventDataForMapper;
|
|
12
|
+
declare type NativeError = {
|
|
13
|
+
message: string;
|
|
14
|
+
source: ErrorSource;
|
|
15
|
+
stacktrace: string;
|
|
16
|
+
context?: object;
|
|
17
|
+
timestampMs?: number;
|
|
18
|
+
};
|
|
19
|
+
export declare type ErrorEventMapper = (event: ErrorEvent) => ErrorEvent | null;
|
|
20
|
+
export declare const generateErrorEventMapper: (eventMapper: ErrorEventMapper | undefined) => EventMapper<RawError, ErrorEvent, NativeError>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react-native" />
|
|
2
|
+
import type { AdditionalEventDataForMapper } from '../../sdk/EventMappers/EventMapper';
|
|
3
|
+
import { EventMapper } from '../../sdk/EventMappers/EventMapper';
|
|
4
|
+
import type { ResourceKind } from '../types';
|
|
5
|
+
declare type RawResource = {
|
|
6
|
+
readonly key: string;
|
|
7
|
+
readonly statusCode: number;
|
|
8
|
+
readonly kind: ResourceKind;
|
|
9
|
+
readonly size: number;
|
|
10
|
+
context: object;
|
|
11
|
+
readonly timestampMs: number;
|
|
12
|
+
resourceContext: XMLHttpRequest | undefined;
|
|
13
|
+
};
|
|
14
|
+
declare type ResourceEvent = RawResource & AdditionalEventDataForMapper;
|
|
15
|
+
declare type NativeResource = {
|
|
16
|
+
key: string;
|
|
17
|
+
statusCode: number;
|
|
18
|
+
kind: ResourceKind;
|
|
19
|
+
size: number;
|
|
20
|
+
context: object;
|
|
21
|
+
timestampMs: number;
|
|
22
|
+
};
|
|
23
|
+
export declare type ResourceEventMapper = (event: ResourceEvent) => ResourceEvent | null;
|
|
24
|
+
export declare const generateResourceEventMapper: (eventMapper: ResourceEventMapper | undefined) => EventMapper<RawResource, ResourceEvent, NativeResource>;
|
|
25
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react-native" />
|
|
2
|
+
import type { ResourceKind } from '../../../../types';
|
|
2
3
|
import type { DdRumResourceTracingAttributes } from '../distributedTracing';
|
|
3
4
|
export interface RUMResource {
|
|
4
5
|
key: string;
|
|
@@ -17,4 +18,5 @@ export interface RUMResource {
|
|
|
17
18
|
stopTime: number;
|
|
18
19
|
responseStartTime?: number;
|
|
19
20
|
};
|
|
21
|
+
resourceContext?: XMLHttpRequest;
|
|
20
22
|
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The entry point to use Datadog's RUM feature.
|
|
3
|
+
*/
|
|
4
|
+
export declare type DdRumType = {
|
|
5
|
+
/**
|
|
6
|
+
* Start tracking a RUM View.
|
|
7
|
+
* @param key: The view unique key identifier.
|
|
8
|
+
* @param name: The view name.
|
|
9
|
+
* @param context: The additional context to send.
|
|
10
|
+
* @param timestampMs: The timestamp when the view started (in milliseconds). If not provided, current timestamp will be used.
|
|
11
|
+
*/
|
|
12
|
+
startView(key: string, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Stop tracking a RUM View.
|
|
15
|
+
* @param key: The view unique key identifier.
|
|
16
|
+
* @param context: The additional context to send.
|
|
17
|
+
* @param timestampMs: The timestamp when the view stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
18
|
+
*/
|
|
19
|
+
stopView(key: string, context?: object, timestampMs?: number): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Start tracking a RUM Action.
|
|
22
|
+
* @param type: The action type (tap, scroll, swipe, back, custom).
|
|
23
|
+
* @param name: The action name.
|
|
24
|
+
* @param context: The additional context to send.
|
|
25
|
+
* @param timestampMs: The timestamp when the action started (in milliseconds). If not provided, current timestamp will be used.
|
|
26
|
+
*/
|
|
27
|
+
startAction(type: RumActionType, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Stop tracking the ongoing RUM Action.
|
|
30
|
+
* @param type: The action type (tap, scroll, swipe, back, custom).
|
|
31
|
+
* @param name: The action name.
|
|
32
|
+
* @param context: The additional context to send.
|
|
33
|
+
* @param timestampMs: The timestamp when the action stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
34
|
+
*/
|
|
35
|
+
stopAction(type: RumActionType, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Stop tracking the ongoing RUM Action.
|
|
38
|
+
*
|
|
39
|
+
* Warning: using this function signature can lead to inconsistent behaviors on iOS and Android when multiple actions are started in parallel.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated add the `type` and `name` of the action as first two arguments.
|
|
42
|
+
* @param context: The additional context to send.
|
|
43
|
+
* @param timestampMs: The timestamp when the action stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
44
|
+
*/
|
|
45
|
+
stopAction(context?: object, timestampMs?: number): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Add a RUM Action.
|
|
48
|
+
* @param type: The action type (tap, scroll, swipe, back, custom).
|
|
49
|
+
* @param name: The action name.
|
|
50
|
+
* @param context: The additional context to send.
|
|
51
|
+
* @param timestampMs: The timestamp when the action occurred (in milliseconds). If not provided, current timestamp will be used.
|
|
52
|
+
*/
|
|
53
|
+
addAction(type: RumActionType, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Start tracking a RUM Resource.
|
|
56
|
+
* @param key: The resource unique key identifier.
|
|
57
|
+
* @param method: The resource method (GET, POST, …).
|
|
58
|
+
* @param url: The resource url.
|
|
59
|
+
* @param context: The additional context to send.
|
|
60
|
+
* @param timestampMs: The timestamp when the resource started (in milliseconds). If not provided, current timestamp will be used.
|
|
61
|
+
*/
|
|
62
|
+
startResource(key: string, method: string, url: string, context?: object, timestampMs?: number): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Stop tracking a RUM Resource.
|
|
65
|
+
* @param key: The resource unique key identifier.
|
|
66
|
+
* @param statusCode: The resource status code.
|
|
67
|
+
* @param kind: The resource's kind (xhr, document, image, css, font, …).
|
|
68
|
+
* @param size: The resource size in bytes. If size is unknown, use -1.
|
|
69
|
+
* @param context: The additional context to send.
|
|
70
|
+
* @param timestampMs: The timestamp when the resource stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
71
|
+
*/
|
|
72
|
+
stopResource(key: string, statusCode: number, kind: ResourceKind, size?: number, context?: object, timestampMs?: number): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Add a RUM Error.
|
|
75
|
+
* @param message: The error message.
|
|
76
|
+
* @param source: The error source (network, source, console, webview, custom).
|
|
77
|
+
* @param stacktrace: The error stacktrace.
|
|
78
|
+
* @param context: The additional context to send.
|
|
79
|
+
* @param timestampMs: The timestamp when the error occurred (in milliseconds). If not provided, current timestamp will be used.
|
|
80
|
+
*/
|
|
81
|
+
addError(message: string, source: ErrorSource, stacktrace: string, context?: object, timestampMs?: number): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Adds a specific timing in the active View. The timing duration will be computed as the difference between the time the View was started and the time this function was called.
|
|
84
|
+
* @param name: The name of the new custom timing attribute. Timings can be nested up to 8 levels deep. Names using more than 8 levels will be sanitized by SDK.
|
|
85
|
+
*/
|
|
86
|
+
addTiming(name: string): Promise<void>;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Describe the type of a RUM Action.
|
|
90
|
+
*/
|
|
91
|
+
export declare enum RumActionType {
|
|
92
|
+
/** User tapped on a widget. */
|
|
93
|
+
TAP = "TAP",
|
|
94
|
+
/** User scrolled a view. */
|
|
95
|
+
SCROLL = "SCROLL",
|
|
96
|
+
/** User swiped on a view. */
|
|
97
|
+
SWIPE = "SWIPE",
|
|
98
|
+
/** User pressed hardware back button (Android only). */
|
|
99
|
+
BACK = "BACK",
|
|
100
|
+
/** A custom action. */
|
|
101
|
+
CUSTOM = "CUSTOM"
|
|
102
|
+
}
|
|
103
|
+
export declare type ResourceKind = 'image' | 'xhr' | 'beacon' | 'css' | 'document' | 'fetch' | 'font' | 'js' | 'media' | 'other' | 'native';
|
|
104
|
+
export declare enum ErrorSource {
|
|
105
|
+
NETWORK = "NETWORK",
|
|
106
|
+
SOURCE = "SOURCE",
|
|
107
|
+
CONSOLE = "CONSOLE",
|
|
108
|
+
WEBVIEW = "WEBVIEW",
|
|
109
|
+
CUSTOM = "CUSTOM"
|
|
110
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Attributes } from './types';
|
|
2
|
+
declare class AttributesProvider {
|
|
3
|
+
private attributes;
|
|
4
|
+
setAttributes: (attributes: Attributes) => void;
|
|
5
|
+
getAttributes: () => Attributes;
|
|
6
|
+
}
|
|
7
|
+
export declare class AttributesSingleton {
|
|
8
|
+
private static attributesProvider;
|
|
9
|
+
static getInstance: () => AttributesProvider;
|
|
10
|
+
static reset: () => void;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/BoundedBuffer.d.ts
RENAMED
|
File without changes
|
package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/BufferSingleton.d.ts
RENAMED
|
File without changes
|
package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/DatadogBuffer.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/Buffer/bufferNativeCall.d.ts
RENAMED
|
File without changes
|
package/lib/typescript/core/src/{DatadogProvider → sdk/DatadogProvider}/DatadogProvider.d.ts
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PropsWithChildren } from 'react';
|
|
3
|
-
import { DatadogProviderConfiguration } from '
|
|
4
|
-
import type { PartialInitializationConfiguration, AutoInstrumentationConfiguration } from '
|
|
3
|
+
import { DatadogProviderConfiguration } from '../../DdSdkReactNativeConfiguration';
|
|
4
|
+
import type { PartialInitializationConfiguration, AutoInstrumentationConfiguration } from '../../DdSdkReactNativeConfiguration';
|
|
5
5
|
declare type Props = PropsWithChildren<{
|
|
6
6
|
/**
|
|
7
7
|
* If a `DatadogProviderConfiguration` instance is passed, the SDK will start tracking errors, resources and actions and sending events.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Attributes } from '../AttributesSingleton/types';
|
|
2
|
+
import type { UserInfo } from '../UserInfoSingleton/types';
|
|
3
|
+
export declare type AdditionalEventDataForMapper = {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
attributes: Attributes;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Generic class for applying event mappers.
|
|
9
|
+
*
|
|
10
|
+
* Calls params in this order: formatRawEventForMapper, eventMapper, formatMapperEventForNative.
|
|
11
|
+
*
|
|
12
|
+
* @param eventMapper the user-registered event mapper
|
|
13
|
+
* @param formatRawEventForMapper formatter that gets the raw event (from javascript call) and returns the input given to the mapper
|
|
14
|
+
* @param formatMapperEventForNative formatter that gets the ouput of the mapper, and returns the input given to the native SDKs
|
|
15
|
+
* @param formatRawEventForNative called when no event mapper is registered
|
|
16
|
+
*/
|
|
17
|
+
export declare class EventMapper<RawEvent, MapperEvent, NativeEvent> {
|
|
18
|
+
private eventMapper?;
|
|
19
|
+
private formatRawEventForMapper;
|
|
20
|
+
private formatMapperEventForNative;
|
|
21
|
+
private formatRawEventForNative;
|
|
22
|
+
constructor(eventMapper: ((event: MapperEvent) => MapperEvent | null) | undefined, formatRawEventForMapper: (event: RawEvent, additionalData: AdditionalEventDataForMapper) => MapperEvent, formatMapperEventForNative: (event: MapperEvent, originalEvent: MapperEvent) => NativeEvent, formatRawEventForNative: (event: RawEvent) => NativeEvent);
|
|
23
|
+
applyEventMapper: (rawEvent: RawEvent) => NativeEvent | null;
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Simple deep clone inspired from https://github.com/angus-c/just/blob/master/packages/collection-clone/index.cjs
|
|
3
|
+
* Functions and RegExp will be returned as they are.
|
|
4
|
+
* Maps and Sets are cloned even though they won't be accepted by React Native, just in case they are mutated by the user to avoid side effects.
|
|
5
|
+
*
|
|
6
|
+
* We added support for circular references by limiting the number of depth levels to 8.
|
|
7
|
+
* @param originalObject
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare const deepClone: <T>(originalObject: T, depth?: number) => T;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { UserInfo } from './types';
|
|
2
|
+
declare class UserInfoProvider {
|
|
3
|
+
private userInfo;
|
|
4
|
+
setUserInfo: (userInfo: UserInfo) => void;
|
|
5
|
+
getUserInfo: () => UserInfo;
|
|
6
|
+
}
|
|
7
|
+
export declare class UserInfoSingleton {
|
|
8
|
+
private static userInfoProvider;
|
|
9
|
+
static getInstance: () => UserInfoProvider;
|
|
10
|
+
static reset: () => void;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -52,35 +52,6 @@ export declare type DdSdkType = {
|
|
|
52
52
|
*/
|
|
53
53
|
setTrackingConsent(trackingConsent: string): Promise<void>;
|
|
54
54
|
};
|
|
55
|
-
/**
|
|
56
|
-
* The entry point to use Datadog's Logs feature.
|
|
57
|
-
*/
|
|
58
|
-
export declare type DdLogsType = {
|
|
59
|
-
/**
|
|
60
|
-
* Send a log with level debug.
|
|
61
|
-
* @param message: The message to send.
|
|
62
|
-
* @param context: The additional context to send.
|
|
63
|
-
*/
|
|
64
|
-
debug(message: string, context?: object): Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* Send a log with level info.
|
|
67
|
-
* @param message: The message to send.
|
|
68
|
-
* @param context: The additional context to send.
|
|
69
|
-
*/
|
|
70
|
-
info(message: string, context?: object): Promise<void>;
|
|
71
|
-
/**
|
|
72
|
-
* Send a log with level warn.
|
|
73
|
-
* @param message: The message to send.
|
|
74
|
-
* @param context: The additional context to send.
|
|
75
|
-
*/
|
|
76
|
-
warn(message: string, context?: object): Promise<void>;
|
|
77
|
-
/**
|
|
78
|
-
* Send a log with level error.
|
|
79
|
-
* @param message: The message to send.
|
|
80
|
-
* @param context: The additional context to send.
|
|
81
|
-
*/
|
|
82
|
-
error(message: string, context?: object): Promise<void>;
|
|
83
|
-
};
|
|
84
55
|
/**
|
|
85
56
|
* The entry point to use Datadog's Trace feature.
|
|
86
57
|
*/
|
|
@@ -100,113 +71,3 @@ export declare type DdTraceType = {
|
|
|
100
71
|
*/
|
|
101
72
|
finishSpan(spanId: string, context?: object, timestampMs?: number): Promise<void>;
|
|
102
73
|
};
|
|
103
|
-
/**
|
|
104
|
-
* The entry point to use Datadog's RUM feature.
|
|
105
|
-
*/
|
|
106
|
-
export declare type DdRumType = {
|
|
107
|
-
/**
|
|
108
|
-
* Start tracking a RUM View.
|
|
109
|
-
* @param key: The view unique key identifier.
|
|
110
|
-
* @param name: The view name.
|
|
111
|
-
* @param context: The additional context to send.
|
|
112
|
-
* @param timestampMs: The timestamp when the view started (in milliseconds). If not provided, current timestamp will be used.
|
|
113
|
-
*/
|
|
114
|
-
startView(key: string, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
115
|
-
/**
|
|
116
|
-
* Stop tracking a RUM View.
|
|
117
|
-
* @param key: The view unique key identifier.
|
|
118
|
-
* @param context: The additional context to send.
|
|
119
|
-
* @param timestampMs: The timestamp when the view stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
120
|
-
*/
|
|
121
|
-
stopView(key: string, context?: object, timestampMs?: number): Promise<void>;
|
|
122
|
-
/**
|
|
123
|
-
* Start tracking a RUM Action.
|
|
124
|
-
* @param type: The action type (tap, scroll, swipe, back, custom).
|
|
125
|
-
* @param name: The action name.
|
|
126
|
-
* @param context: The additional context to send.
|
|
127
|
-
* @param timestampMs: The timestamp when the action started (in milliseconds). If not provided, current timestamp will be used.
|
|
128
|
-
*/
|
|
129
|
-
startAction(type: RumActionType, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Stop tracking the ongoing RUM Action.
|
|
132
|
-
* @param type: The action type (tap, scroll, swipe, back, custom).
|
|
133
|
-
* @param name: The action name.
|
|
134
|
-
* @param context: The additional context to send.
|
|
135
|
-
* @param timestampMs: The timestamp when the action stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
136
|
-
*/
|
|
137
|
-
stopAction(type: RumActionType, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
138
|
-
/**
|
|
139
|
-
* Stop tracking the ongoing RUM Action.
|
|
140
|
-
*
|
|
141
|
-
* Warning: using this function signature can lead to inconsistent behaviors on iOS and Android when multiple actions are started in parallel.
|
|
142
|
-
*
|
|
143
|
-
* @deprecated add the `type` and `name` of the action as first two arguments.
|
|
144
|
-
* @param context: The additional context to send.
|
|
145
|
-
* @param timestampMs: The timestamp when the action stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
146
|
-
*/
|
|
147
|
-
stopAction(context?: object, timestampMs?: number): Promise<void>;
|
|
148
|
-
/**
|
|
149
|
-
* Add a RUM Action.
|
|
150
|
-
* @param type: The action type (tap, scroll, swipe, back, custom).
|
|
151
|
-
* @param name: The action name.
|
|
152
|
-
* @param context: The additional context to send.
|
|
153
|
-
* @param timestampMs: The timestamp when the action occurred (in milliseconds). If not provided, current timestamp will be used.
|
|
154
|
-
*/
|
|
155
|
-
addAction(type: RumActionType, name: string, context?: object, timestampMs?: number): Promise<void>;
|
|
156
|
-
/**
|
|
157
|
-
* Start tracking a RUM Resource.
|
|
158
|
-
* @param key: The resource unique key identifier.
|
|
159
|
-
* @param method: The resource method (GET, POST, …).
|
|
160
|
-
* @param url: The resource url.
|
|
161
|
-
* @param context: The additional context to send.
|
|
162
|
-
* @param timestampMs: The timestamp when the resource started (in milliseconds). If not provided, current timestamp will be used.
|
|
163
|
-
*/
|
|
164
|
-
startResource(key: string, method: string, url: string, context?: object, timestampMs?: number): Promise<void>;
|
|
165
|
-
/**
|
|
166
|
-
* Stop tracking a RUM Resource.
|
|
167
|
-
* @param key: The resource unique key identifier.
|
|
168
|
-
* @param statusCode: The resource status code.
|
|
169
|
-
* @param kind: The resource's kind (xhr, document, image, css, font, …).
|
|
170
|
-
* @param size: The resource size in bytes. If size is unknown, use -1.
|
|
171
|
-
* @param context: The additional context to send.
|
|
172
|
-
* @param timestampMs: The timestamp when the resource stopped (in milliseconds). If not provided, current timestamp will be used.
|
|
173
|
-
*/
|
|
174
|
-
stopResource(key: string, statusCode: number, kind: ResourceKind, size?: number, context?: object, timestampMs?: number): Promise<void>;
|
|
175
|
-
/**
|
|
176
|
-
* Add a RUM Error.
|
|
177
|
-
* @param message: The error message.
|
|
178
|
-
* @param source: The error source (network, source, console, webview, custom).
|
|
179
|
-
* @param stacktrace: The error stacktrace.
|
|
180
|
-
* @param context: The additional context to send.
|
|
181
|
-
* @param timestampMs: The timestamp when the error occurred (in milliseconds). If not provided, current timestamp will be used.
|
|
182
|
-
*/
|
|
183
|
-
addError(message: string, source: ErrorSource, stacktrace: string, context?: object, timestampMs?: number): Promise<void>;
|
|
184
|
-
/**
|
|
185
|
-
* Adds a specific timing in the active View. The timing duration will be computed as the difference between the time the View was started and the time this function was called.
|
|
186
|
-
* @param name: The name of the new custom timing attribute. Timings can be nested up to 8 levels deep. Names using more than 8 levels will be sanitized by SDK.
|
|
187
|
-
*/
|
|
188
|
-
addTiming(name: string): Promise<void>;
|
|
189
|
-
};
|
|
190
|
-
/**
|
|
191
|
-
* Describe the type of a RUM Action.
|
|
192
|
-
*/
|
|
193
|
-
export declare enum RumActionType {
|
|
194
|
-
/** User tapped on a widget. */
|
|
195
|
-
TAP = "TAP",
|
|
196
|
-
/** User scrolled a view. */
|
|
197
|
-
SCROLL = "SCROLL",
|
|
198
|
-
/** User swiped on a view. */
|
|
199
|
-
SWIPE = "SWIPE",
|
|
200
|
-
/** User pressed hardware back button (Android only). */
|
|
201
|
-
BACK = "BACK",
|
|
202
|
-
/** A custom action. */
|
|
203
|
-
CUSTOM = "CUSTOM"
|
|
204
|
-
}
|
|
205
|
-
export declare type ResourceKind = 'image' | 'xhr' | 'beacon' | 'css' | 'document' | 'fetch' | 'font' | 'js' | 'media' | 'other' | 'native';
|
|
206
|
-
export declare enum ErrorSource {
|
|
207
|
-
NETWORK = "NETWORK",
|
|
208
|
-
SOURCE = "SOURCE",
|
|
209
|
-
CONSOLE = "CONSOLE",
|
|
210
|
-
WEBVIEW = "WEBVIEW",
|
|
211
|
-
CUSTOM = "CUSTOM"
|
|
212
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.3.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/mobile-react-native-code-push",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A client-side React Native module to interact with Appcenter Codepush and Datadog",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datadog",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prepare": "rm -rf lib && yarn bob build"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@datadog/mobile-react-native": "^1.
|
|
41
|
+
"@datadog/mobile-react-native": "^1.3.0",
|
|
42
42
|
"@testing-library/react-native": "7.0.2",
|
|
43
43
|
"react-native-code-push": "7.0.5"
|
|
44
44
|
},
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
]
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "16a9d318f9882dc85339b9b59045157d1bc62e7b"
|
|
76
76
|
}
|