@launchdarkly/react-native-client-sdk 10.9.3 → 10.9.5

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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [10.9.5](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.9.4...react-native-client-sdk-v10.9.5) (2025-01-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **react-native:** check for nullability in SettingsManager?.settings ([#758](https://github.com/launchdarkly/js-core/issues/758)) ([3449934](https://github.com/launchdarkly/js-core/commit/3449934027697ac9283aeeeca8df9a76d172fcad))
9
+
10
+ ## [10.9.4](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.9.3...react-native-client-sdk-v10.9.4) (2025-01-22)
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * The following workspace dependencies were updated
16
+ * dependencies
17
+ * @launchdarkly/js-client-sdk-common bumped from 1.12.1 to 1.12.2
18
+
3
19
  ## [10.9.3](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.9.2...react-native-client-sdk-v10.9.3) (2024-11-22)
4
20
 
5
21
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchdarkly/react-native-client-sdk",
3
- "version": "10.9.3",
3
+ "version": "10.9.5",
4
4
  "description": "React Native LaunchDarkly SDK",
5
5
  "homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/react-native",
6
6
  "repository": {
@@ -41,7 +41,7 @@
41
41
  "react-native": "*"
42
42
  },
43
43
  "dependencies": {
44
- "@launchdarkly/js-client-sdk-common": "1.12.1",
44
+ "@launchdarkly/js-client-sdk-common": "1.12.2",
45
45
  "@react-native-async-storage/async-storage": "^1.21.0",
46
46
  "base64-js": "^1.5.1"
47
47
  },
@@ -1,11 +1,11 @@
1
- var _a, _b;
1
+ var _a, _b, _c;
2
2
  import { NativeModules, Platform } from 'react-native';
3
3
  /**
4
4
  * Ripped from:
5
5
  * https://dev.to/medaimane/localization-and-internationalization-in-react-native-reaching-global-audiences-3acj
6
6
  */
7
7
  const locale = Platform.OS === 'ios'
8
- ? (_a = NativeModules.SettingsManager) === null || _a === void 0 ? void 0 : _a.settings.AppleLocale // iOS
9
- : (_b = NativeModules.I18nManager) === null || _b === void 0 ? void 0 : _b.localeIdentifier;
8
+ ? (_b = (_a = NativeModules.SettingsManager) === null || _a === void 0 ? void 0 : _a.settings) === null || _b === void 0 ? void 0 : _b.AppleLocale // iOS
9
+ : (_c = NativeModules.I18nManager) === null || _c === void 0 ? void 0 : _c.localeIdentifier;
10
10
  export default locale;
11
11
  //# sourceMappingURL=locale.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"locale.js","sourceRoot":"","sources":["../../../src/platform/locale.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,GACV,QAAQ,CAAC,EAAE,KAAK,KAAK;IACnB,CAAC,CAAC,MAAA,aAAa,CAAC,eAAe,0CAAE,QAAQ,CAAC,WAAW,CAAC,MAAM;IAC5D,CAAC,CAAC,MAAA,aAAa,CAAC,WAAW,0CAAE,gBAAgB,CAAC;AAElD,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"locale.js","sourceRoot":"","sources":["../../../src/platform/locale.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,GACV,QAAQ,CAAC,EAAE,KAAK,KAAK;IACnB,CAAC,CAAC,MAAA,MAAA,aAAa,CAAC,eAAe,0CAAE,QAAQ,0CAAE,WAAW,CAAC,MAAM;IAC7D,CAAC,CAAC,MAAA,aAAa,CAAC,WAAW,0CAAE,gBAAgB,CAAC;AAElD,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchdarkly/react-native-client-sdk",
3
- "version": "10.9.3",
3
+ "version": "10.9.5",
4
4
  "description": "React Native LaunchDarkly SDK",
5
5
  "homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/react-native",
6
6
  "repository": {
@@ -41,7 +41,7 @@
41
41
  "react-native": "*"
42
42
  },
43
43
  "dependencies": {
44
- "@launchdarkly/js-client-sdk-common": "1.12.1",
44
+ "@launchdarkly/js-client-sdk-common": "1.12.2",
45
45
  "@react-native-async-storage/async-storage": "^1.21.0",
46
46
  "base64-js": "^1.5.1"
47
47
  },