@sentry/react-native 3.4.1 → 3.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.4.2
4
+
5
+ - fix: Fix cold start appearing again after js bundle reload on Android. #2229
6
+
3
7
  ## 3.4.1
4
8
 
5
9
  - fix: Make withTouchEventBoundary options optional #2196
@@ -55,10 +55,11 @@ public class RNSentryModule extends ReactContextBaseJavaModule {
55
55
  private static final Logger logger = Logger.getLogger("react-native-sentry");
56
56
 
57
57
  private PackageInfo packageInfo = null;
58
- private boolean didFetchAppStart;
59
58
  private FrameMetricsAggregator frameMetricsAggregator = null;
60
59
  private boolean androidXAvailable = true;
61
60
 
61
+ private static boolean didFetchAppStart;
62
+
62
63
  // 700ms to constitute frozen frames.
63
64
  private static final int FROZEN_FRAME_THRESHOLD = 700;
64
65
  // 16ms (slower than 60fps) to constitute slow frames.
@@ -1,3 +1,3 @@
1
1
  export declare const SDK_NAME = "sentry.javascript.react-native";
2
- export declare const SDK_VERSION = "3.4.1";
2
+ export declare const SDK_VERSION = "3.4.2";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  export const SDK_NAME = 'sentry.javascript.react-native';
2
- export const SDK_VERSION = '3.4.1';
2
+ export const SDK_VERSION = '3.4.2';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC","sourcesContent":["export const SDK_NAME = 'sentry.javascript.react-native';\nexport const SDK_VERSION = '3.4.1';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC","sourcesContent":["export const SDK_NAME = 'sentry.javascript.react-native';\nexport const SDK_VERSION = '3.4.2';\n"]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sentry/react-native",
3
3
  "homepage": "https://github.com/getsentry/sentry-react-native",
4
4
  "repository": "https://github.com/getsentry/sentry-react-native",
5
- "version": "3.4.1",
5
+ "version": "3.4.2",
6
6
  "description": "Official Sentry SDK for react-native",
7
7
  "typings": "dist/js/index.d.ts",
8
8
  "types": "dist/js/index.d.ts",