@launchdarkly/react-native-client-sdk 10.12.0 → 10.12.1
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,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [10.12.1](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.12.0...react-native-client-sdk-v10.12.1) (2025-11-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Use release-please to update SDK versions ([#1013](https://github.com/launchdarkly/js-core/issues/1013)) ([d1d11f1](https://github.com/launchdarkly/js-core/commit/d1d11f1feb29fc5ccbf14506aa374162d452be42))
|
|
9
|
+
|
|
3
10
|
## [10.12.0](https://github.com/launchdarkly/js-core/compare/react-native-client-sdk-v10.11.0...react-native-client-sdk-v10.12.0) (2025-11-03)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformInfo.d.ts","sourceRoot":"","sources":["../../../src/platform/PlatformInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"PlatformInfo.d.ts","sourceRoot":"","sources":["../../../src/platform/PlatformInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAOhG,MAAM,CAAC,OAAO,OAAO,YAAa,YAAW,IAAI;IAE7C,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,OAAO,EAAE,QAAQ,EACjB,OAAO,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE;IAG7E,YAAY,IAAI,YAAY;IAW5B,OAAO,IAAI,OAAO;CAkBnB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { name, version } from '../../package.json';
|
|
2
1
|
import { ldApplication, ldDevice } from './autoEnv';
|
|
2
|
+
const sdkName = '@launchdarkly/react-native-client-sdk';
|
|
3
|
+
const sdkVersion = '10.12.1'; // x-release-please-version
|
|
3
4
|
export default class PlatformInfo {
|
|
4
5
|
constructor(_logger, _config) {
|
|
5
6
|
this._logger = _logger;
|
|
@@ -17,8 +18,8 @@ export default class PlatformInfo {
|
|
|
17
18
|
sdkData() {
|
|
18
19
|
var _a, _b;
|
|
19
20
|
const data = {
|
|
20
|
-
name,
|
|
21
|
-
version,
|
|
21
|
+
name: sdkName,
|
|
22
|
+
version: sdkVersion,
|
|
22
23
|
userAgentBase: 'ReactNativeClient',
|
|
23
24
|
};
|
|
24
25
|
if ((_a = this._config) === null || _a === void 0 ? void 0 : _a.wrapperName) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformInfo.js","sourceRoot":"","sources":["../../../src/platform/PlatformInfo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PlatformInfo.js","sourceRoot":"","sources":["../../../src/platform/PlatformInfo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEpD,MAAM,OAAO,GAAG,uCAAuC,CAAC;AACxD,MAAM,UAAU,GAAG,SAAS,CAAC,CAAC,2BAA2B;AAEzD,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,YACmB,OAAiB,EACjB,OAA0D;QAD1D,YAAO,GAAP,OAAO,CAAU;QACjB,YAAO,GAAP,OAAO,CAAmD;IAC1E,CAAC;IAEJ,YAAY;QACV,MAAM,IAAI,GAAG;YACX,IAAI,EAAE,cAAc;YACpB,cAAc,EAAE,aAAa;YAC7B,SAAS,EAAE,QAAQ;SACpB,CAAC;QAEF,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,iBAAiB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QACrE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO;;QACL,MAAM,IAAI,GAAY;YACpB,IAAI,EAAE,OAAO;YACb,OAAO,EAAE,UAAU;YACnB,aAAa,EAAE,mBAAmB;SACnC,CAAC;QAEF,IAAI,MAAA,IAAI,CAAC,OAAO,0CAAE,WAAW,EAAE;YAC7B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;SAC7C;QAED,IAAI,MAAA,IAAI,CAAC,OAAO,0CAAE,cAAc,EAAE;YAChC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC;SACnD;QAED,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAChE,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
package/package.json
CHANGED
package/dist/package.json
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@launchdarkly/react-native-client-sdk",
|
|
3
|
-
"version": "10.12.0",
|
|
4
|
-
"description": "React Native LaunchDarkly SDK",
|
|
5
|
-
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/react-native",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/launchdarkly/js-core.git"
|
|
9
|
-
},
|
|
10
|
-
"license": "Apache-2.0",
|
|
11
|
-
"packageManager": "yarn@3.4.1",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"launchdarkly",
|
|
14
|
-
"react-native"
|
|
15
|
-
],
|
|
16
|
-
"type": "commonjs",
|
|
17
|
-
"main": "./dist/src/index.js",
|
|
18
|
-
"types": "./dist/src/index.d.ts",
|
|
19
|
-
"exports": {
|
|
20
|
-
".": {
|
|
21
|
-
"types": "./dist/src/index.d.ts",
|
|
22
|
-
"default": "./dist/src/index.js"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist"
|
|
27
|
-
],
|
|
28
|
-
"scripts": {
|
|
29
|
-
"clean": "rimraf dist",
|
|
30
|
-
"build": "npx tsc",
|
|
31
|
-
"tsw": "yarn tsc --watch",
|
|
32
|
-
"start": "rimraf dist && yarn tsw",
|
|
33
|
-
"lint": "eslint . --ext .ts,.tsx",
|
|
34
|
-
"prettier": "prettier --write '**/*.@(js|ts|tsx|json|css)' --ignore-path ../../../.prettierignore",
|
|
35
|
-
"test": "jest",
|
|
36
|
-
"coverage": "yarn test --coverage",
|
|
37
|
-
"check": "yarn prettier && yarn lint && yarn build && yarn test"
|
|
38
|
-
},
|
|
39
|
-
"peerDependencies": {
|
|
40
|
-
"react": "*",
|
|
41
|
-
"react-native": "*"
|
|
42
|
-
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"@launchdarkly/js-client-sdk-common": "1.15.1",
|
|
45
|
-
"@react-native-async-storage/async-storage": "^2.0.0",
|
|
46
|
-
"base64-js": "^1.5.1"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@testing-library/react": "^14.1.2",
|
|
50
|
-
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
|
|
51
|
-
"@types/jest": "^29.5.11",
|
|
52
|
-
"@types/react": "^18.2.31",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
54
|
-
"@typescript-eslint/parser": "^6.20.0",
|
|
55
|
-
"eslint": "^8.45.0",
|
|
56
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
57
|
-
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
58
|
-
"eslint-config-prettier": "^8.8.0",
|
|
59
|
-
"eslint-plugin-import": "^2.27.5",
|
|
60
|
-
"eslint-plugin-jest": "^27.6.3",
|
|
61
|
-
"eslint-plugin-prettier": "^5.0.0",
|
|
62
|
-
"jest": "^29.7.0",
|
|
63
|
-
"launchdarkly-js-test-helpers": "^2.2.0",
|
|
64
|
-
"metro-react-native-babel-preset": "^0.77.0",
|
|
65
|
-
"prettier": "^3.0.0",
|
|
66
|
-
"react": "^18.2.0",
|
|
67
|
-
"react-dom": "^18.2.0",
|
|
68
|
-
"react-native": "^0.73.1",
|
|
69
|
-
"rimraf": "^5.0.5",
|
|
70
|
-
"ts-jest": "^29.1.1",
|
|
71
|
-
"ts-node": "^10.9.2",
|
|
72
|
-
"typedoc": "0.25.0",
|
|
73
|
-
"typescript": "5.1.6"
|
|
74
|
-
}
|
|
75
|
-
}
|