diff --git a/package-lock.json b/package-lock.json index 2ffe8c8c..60d699e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@nethesis/nethesis-brands-svg-icons": "github:nethesis/Font-Awesome#ns-brands", "@nethesis/nethesis-light-svg-icons": "github:nethesis/Font-Awesome#ns-light", "@nethesis/nethesis-solid-svg-icons": "github:nethesis/Font-Awesome#ns-solid", - "@nethesis/phone-island": "^0.14.1", + "@nethesis/phone-island": "^0.14.2", "@tailwindcss/forms": "^0.5.7", "@types/lodash": "^4.14.202", "@types/node": "^18.19.9", @@ -5639,10 +5639,11 @@ } }, "node_modules/@nethesis/phone-island": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/@nethesis/phone-island/-/phone-island-0.14.1.tgz", - "integrity": "sha512-QNgMcLRY7EtwaB40GlShNY5YVRmHIlkTADrIxFwB1Yhym6QRB1gPTGB+KDQCbkHugUkGyLyGn8vTHdIRrsfMmg==", + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/@nethesis/phone-island/-/phone-island-0.14.2.tgz", + "integrity": "sha512-/nKZNUMDgF41LlmTtCL3857UPCVmurQRzd6x/hdeJi2/5YRBW1zvRxMV9u6RB1merYy1XgcgVK88srscoV+n4Q==", "dev": true, + "license": "GPL-3.0-or-later", "dependencies": { "@fortawesome/free-solid-svg-icons": "^6.2.1", "@fortawesome/react-fontawesome": "^0.2.0", diff --git a/package.json b/package.json index fe10fbc7..cca862ca 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@nethesis/nethesis-brands-svg-icons": "github:nethesis/Font-Awesome#ns-brands", "@nethesis/nethesis-light-svg-icons": "github:nethesis/Font-Awesome#ns-light", "@nethesis/nethesis-solid-svg-icons": "github:nethesis/Font-Awesome#ns-solid", - "@nethesis/phone-island": "^0.14.1", + "@nethesis/phone-island": "^0.14.2", "@tailwindcss/forms": "^0.5.7", "@types/lodash": "^4.14.202", "@types/node": "^18.19.9", diff --git a/src/shared/useNethVoiceAPI.ts b/src/shared/useNethVoiceAPI.ts index 5c4d4741..b2050189 100644 --- a/src/shared/useNethVoiceAPI.ts +++ b/src/shared/useNethVoiceAPI.ts @@ -128,7 +128,7 @@ export const useNethVoiceAPI = (loggedAccount: Account | undefined = undefined) }) }, phoneIslandTokenLogin: async (): Promise<{ username: string, token: string }> => - await _POST('/webrest/authentication/phone_island_token_login'), + await _POST('/webrest/authentication/phone_island_token_login', { subtype: 'nethlink'}), } const CustCard = {}