@datadog/mobile-react-native-code-push 2.0.0 → 2.0.2

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.
@@ -60,7 +60,7 @@ export declare class DdSdkReactNativeConfiguration {
60
60
  readonly trackErrors: boolean;
61
61
  readonly trackingConsent: TrackingConsent;
62
62
  /**
63
- * Enables crash reporting for native plaforms (iOS, Android). Default `false`.
63
+ * Enables crash reporting for native platforms (iOS, Android). Default `false`.
64
64
  */
65
65
  nativeCrashReportEnabled: boolean;
66
66
  /**
@@ -11,7 +11,7 @@ declare class DdLogsWrapper implements DdLogsType {
11
11
  * we use console.warn to warn the user in dev mode.
12
12
  */
13
13
  private printLogDroppedSdkNotInitialized;
14
- private printlogDroppedByMapper;
14
+ private printLogDroppedByMapper;
15
15
  private printLogTracked;
16
16
  private log;
17
17
  private logWithError;
@@ -6,7 +6,7 @@ interface XHRProxyProviders {
6
6
  resourceReporter: ResourceReporter;
7
7
  }
8
8
  /**
9
- * Proxies XMLHTTPRequest to track resources.
9
+ * Proxies XMLHttpRequest to track resources.
10
10
  */
11
11
  export declare class XHRProxy extends RequestProxy {
12
12
  private providers;
@@ -1,2 +1,2 @@
1
- export declare const RESOURCE_SIZE_ERROR_MESSAGE = "Couldn't get resource size, because an error occured: ";
1
+ export declare const RESOURCE_SIZE_ERROR_MESSAGE = "Couldn't get resource size, because an error occurred: ";
2
2
  export declare function calculateResponseSize(xhr: XMLHttpRequest): number;
@@ -11,7 +11,7 @@ export declare type AdditionalEventDataForMapper = {
11
11
  *
12
12
  * @param eventMapper the user-registered event mapper
13
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
14
+ * @param formatMapperEventForNative formatter that gets the output of the mapper, and returns the input given to the native SDKs
15
15
  * @param formatRawEventForNative called when no event mapper is registered
16
16
  */
17
17
  export declare class EventMapper<RawEvent, MapperEvent, NativeEvent> {
@@ -38,7 +38,7 @@ export interface Spec extends TurboModule {
38
38
  */
39
39
  readonly debugWithError: (message: string, errorKind?: string, errorMessage?: string, stacktrace?: string, context?: Object) => Promise<void>;
40
40
  /**
41
- * Send a log containing an error with INDO level.
41
+ * Send a log containing an error with INFO level.
42
42
  * @param message: The message to send.
43
43
  * @param errorKind: The error kind to send.
44
44
  * @param errorMessage: The error message to send.
@@ -1 +1 @@
1
- export declare const version = "2.0.0";
1
+ export declare const version = "2.0.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datadog/mobile-react-native-code-push",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "A client-side React Native module to interact with Appcenter Codepush and Datadog",
5
5
  "keywords": [
6
6
  "datadog",
@@ -38,13 +38,13 @@
38
38
  "prepare": "rm -rf lib && yarn bob build"
39
39
  },
40
40
  "devDependencies": {
41
- "@datadog/mobile-react-native": "^2.0.0",
41
+ "@datadog/mobile-react-native": "^2.0.2",
42
42
  "@testing-library/react-native": "7.0.2",
43
43
  "react-native-builder-bob": "0.17.1",
44
44
  "react-native-code-push": "7.0.5"
45
45
  },
46
46
  "peerDependencies": {
47
- "@datadog/mobile-react-native": "^1.0.0-beta4",
47
+ "@datadog/mobile-react-native": "^2.0.1",
48
48
  "react": ">=16.13.1",
49
49
  "react-native": ">=0.63.4 <1.0",
50
50
  "react-native-code-push": ">=2.0.0"
@@ -78,5 +78,5 @@
78
78
  ]
79
79
  ]
80
80
  },
81
- "gitHead": "cbf402ae85f73b4ee9a8091ceb1310b35d7318f9"
81
+ "gitHead": "0fd51e6fb9be119158b89b5cceb7c75f6294711d"
82
82
  }