@oussema_mili/test-pkg-123 1.1.36 → 1.1.37
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/package.json +1 -1
- package/setup/setupWizard.js +6 -0
package/package.json
CHANGED
package/setup/setupWizard.js
CHANGED
|
@@ -208,6 +208,12 @@ export class SetupWizard {
|
|
|
208
208
|
this.registerDevice(deviceMetadata)
|
|
209
209
|
);
|
|
210
210
|
|
|
211
|
+
// Merge device metadata into registrationData for later use
|
|
212
|
+
registrationData.deviceName = deviceMetadata.deviceName;
|
|
213
|
+
registrationData.platform = deviceMetadata.platform;
|
|
214
|
+
registrationData.osVersion = deviceMetadata.osVersion;
|
|
215
|
+
registrationData.agentVersion = deviceMetadata.agentVersion;
|
|
216
|
+
|
|
211
217
|
// Save device credentials
|
|
212
218
|
saveDeviceCredential({
|
|
213
219
|
deviceId: registrationData.deviceId,
|