@nordicsemiconductor/pc-nrfconnect-shared 210.0.0 → 211.0.0

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
@@ -7,6 +7,14 @@ This project does _not_ adhere to
7
7
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
8
8
  every new version is a new major version.
9
9
 
10
+ ## 211.0.0 - 2025-05-29
11
+
12
+ ### Fixed
13
+
14
+ - It was observed that on mac we get multiple arrive event and the only chnage
15
+ is the number if serial ports. Now the selected device in redux will also
16
+ update to reflect these chnages
17
+
10
18
  ## 210.0.0 - 2025-05-15
11
19
 
12
20
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "210.0.0",
3
+ "version": "211.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -253,6 +253,15 @@ export const startWatchingDevices =
253
253
 
254
254
  if (!deviceWithPersistedData) return;
255
255
 
256
+ // Selected device information such as serial port may have been updated ... let's update the state with new information
257
+ if (
258
+ selectedDevice?.id === deviceWithPersistedData.id &&
259
+ selectedDevice?.serialNumber ===
260
+ deviceWithPersistedData.serialNumber
261
+ ) {
262
+ dispatch(selectDevice(deviceWithPersistedData));
263
+ }
264
+
256
265
  // We might get multiple events with the same info so no to trigger auto reconnect multiple times we
257
266
  // only do it once per device id
258
267
  if (
@@ -1 +1 @@
1
- {"version":3,"file":"deviceLister.d.ts","sourceRoot":"","sources":["../../../../src/Device/deviceLister.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAiB,MAAM,6BAA6B,CAAC;AAG1E,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAmBpD,OAAO,E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