@oussema_mili/test-pkg-123 1.1.37 → 1.1.38
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 -7
package/package.json
CHANGED
package/setup/setupWizard.js
CHANGED
|
@@ -208,12 +208,6 @@ 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
|
-
|
|
217
211
|
// Save device credentials
|
|
218
212
|
saveDeviceCredential({
|
|
219
213
|
deviceId: registrationData.deviceId,
|
|
@@ -232,7 +226,12 @@ export class SetupWizard {
|
|
|
232
226
|
deviceName: deviceMetadata.deviceName,
|
|
233
227
|
});
|
|
234
228
|
|
|
235
|
-
|
|
229
|
+
// Merge device metadata into registration data for use in displayComplete
|
|
230
|
+
return {
|
|
231
|
+
...registrationData,
|
|
232
|
+
deviceName: deviceMetadata.deviceName,
|
|
233
|
+
platform: deviceMetadata.platform,
|
|
234
|
+
};
|
|
236
235
|
}
|
|
237
236
|
|
|
238
237
|
/**
|