@sipgate/integration-bridge 0.19.8 → 0.19.9
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.
|
@@ -25,7 +25,7 @@ const cache_item_state_model_1 = require("./cache-item-state.model");
|
|
|
25
25
|
const integration_error_model_1 = require("./integration-error.model");
|
|
26
26
|
const pubsub_client_model_1 = require("./pubsub-client.model");
|
|
27
27
|
const pubsub_contacts_message_model_1 = require("./pubsub-contacts-message.model");
|
|
28
|
-
const CONTACT_FETCH_TIMEOUT =
|
|
28
|
+
const CONTACT_FETCH_TIMEOUT = 5000;
|
|
29
29
|
function sanitizeContact(contact, locale) {
|
|
30
30
|
const result = Object.assign(Object.assign({}, contact), { phoneNumbers: contact.phoneNumbers.map((phoneNumber) => (0, phone_number_utils_1.parsePhoneNumber)(phoneNumber, locale)) });
|
|
31
31
|
return result;
|