@launchdarkly/react-native-client-sdk 10.1.3 → 10.1.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 +16 -0
- package/dist/package.json +2 -2
- package/dist/src/platform/locale.js +3 -3
- package/dist/src/platform/locale.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [10.1.5](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.1.4...react-native-client-sdk-v10.1.5) (2024-06-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @launchdarkly/js-client-sdk-common bumped from 1.1.3 to 1.1.4
|
|
11
|
+
|
|
12
|
+
## [10.1.4](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.1.3...react-native-client-sdk-v10.1.4) (2024-05-31)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* Added iOS SettingsManager null check. ([#471](https://github.com/launchdarkly/js-core/issues/471)) ([8ff641b](https://github.com/launchdarkly/js-core/commit/8ff641be8b32f24884457bd506566e283cf04e40))
|
|
18
|
+
|
|
3
19
|
## [10.1.3](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.1.2...react-native-client-sdk-v10.1.3) (2024-04-26)
|
|
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.1.
|
|
3
|
+
"version": "10.1.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": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react-native": "*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@launchdarkly/js-client-sdk-common": "1.1.
|
|
46
|
+
"@launchdarkly/js-client-sdk-common": "1.1.4",
|
|
47
47
|
"@react-native-async-storage/async-storage": "^1.21.0",
|
|
48
48
|
"base64-js": "^1.5.1",
|
|
49
49
|
"event-target-shim": "^6.0.2"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var _a;
|
|
1
|
+
var _a, _b;
|
|
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
|
-
? NativeModules.SettingsManager.settings.AppleLocale // iOS
|
|
9
|
-
: (
|
|
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;
|
|
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,aAAa,CAAC,eAAe,
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/react-native-client-sdk",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.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": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react-native": "*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@launchdarkly/js-client-sdk-common": "1.1.
|
|
46
|
+
"@launchdarkly/js-client-sdk-common": "1.1.4",
|
|
47
47
|
"@react-native-async-storage/async-storage": "^1.21.0",
|
|
48
48
|
"base64-js": "^1.5.1",
|
|
49
49
|
"event-target-shim": "^6.0.2"
|