update package and version, fix tests and texts (#546)
This commit is contained in:
Родитель
1e6e6b14e5
Коммит
197d8353ca
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-explorer",
|
||||
"version": "0.14.15",
|
||||
"version": "0.15.0",
|
||||
"description": "This project welcomes contributions and suggestions. Most contributions require you to agree to a\r Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\r the rights to use your contribution. For details, visit https://cla.microsoft.com.",
|
||||
"main": "host/electron.js",
|
||||
"build": {
|
||||
|
@ -125,7 +125,7 @@
|
|||
"css-loader": "6.7.1",
|
||||
"css-minimizer-webpack-plugin": "3.4.1",
|
||||
"electron": "18.0.0",
|
||||
"electron-builder": "23.0.4",
|
||||
"electron-builder": "23.3.3",
|
||||
"enzyme": "3.11.0",
|
||||
"enzyme-adapter-react-16": "1.15.1",
|
||||
"enzyme-to-json": "3.3.5",
|
||||
|
|
|
@ -23,7 +23,7 @@ describe('getIotHubKeySaga', () => {
|
|||
const params = {hubId: 'hubid', hubName: 'test'};
|
||||
const authRules = [{
|
||||
keyName: 'iothubowner',
|
||||
primaryKey: 'key12345',
|
||||
primaryKey: '',
|
||||
rights: 'RegistryWrite, ServiceConnect, DeviceConnect'
|
||||
}]
|
||||
const sagaGenerator = cloneableGenerator(getIotHubKeySaga)(getIoTHubKeyAction.started(params));
|
||||
|
|
|
@ -48,7 +48,6 @@ exports[`AuthenticationSelection matches snapshot 1`] = `
|
|||
}
|
||||
}
|
||||
onClick={[Function]}
|
||||
secondaryText="authentication.autheSelection.selection.comingSoon"
|
||||
>
|
||||
authentication.autheSelection.selection.azureActiveDirectory
|
||||
</CustomizedCompoundButton>
|
||||
|
|
|
@ -40,7 +40,6 @@ export const AuthenticationSelection: React.FC = () => {
|
|||
iconProps={{ iconName: 'AADLogo' }}
|
||||
className="auth-selection-tile"
|
||||
onClick={loginViaAad}
|
||||
secondaryText={t(ResourceKeys.authentication.autheSelection.selection.comingSoon)}
|
||||
>
|
||||
{t(ResourceKeys.authentication.autheSelection.selection.azureActiveDirectory)}
|
||||
</CompoundButton>
|
||||
|
|
|
@ -964,8 +964,7 @@
|
|||
"subText": "Choose an authentication method and connect to an Azure IoT hub",
|
||||
"selection": {
|
||||
"azureActiveDirectory": "Connect via Azure Active Directory",
|
||||
"connectionString": "Connect via IoT Hub connection string",
|
||||
"comingSoon": "Coming soon"
|
||||
"connectionString": "Connect via IoT Hub connection string"
|
||||
},
|
||||
"switchAuthType": "Switch authentication method"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче