@microsoft/omnichannel-chat-sdk
Advanced tools
Comparing version 1.9.3-main.81cb938 to 1.9.3-main.e6d51f2
@@ -7,5 +7,9 @@ # Changelog | ||
### Added | ||
- Add `crm9` as part of `CoreServicesGeoNamesMapping` | ||
### Changed | ||
- Log `error` object on failures on sending message and send typing | ||
- Update `retrieveCollectorUri()` to detect `GCCDomainPatterns` to return `GCCCollectorUri` | ||
@@ -12,0 +16,0 @@ ## [1.9.2] - 2024-06-25 |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var EUDomainNames_1 = require("./EUDomainNames"); | ||
var GCCDomainPatterns_1 = require("./GCCDomainPatterns"); | ||
var retrieveCollectorUri = function (orgUrl) { | ||
var defaultCollectorUri = "https://browser.pipe.aria.microsoft.com/Collector/3.0/"; | ||
var EUCollectorUri = "https://eu-mobile.events.data.microsoft.com/Collector/3.0/"; | ||
var GCCCollectorUri = "https://tb.pipe.aria.microsoft.com/Collector/3.0/"; | ||
var url = orgUrl; | ||
@@ -16,2 +18,7 @@ if (orgUrl.endsWith("/")) { | ||
} | ||
for (var i = 0; i < GCCDomainPatterns_1.default.length; i++) { | ||
if (url.includes(GCCDomainPatterns_1.default[i])) { | ||
return GCCCollectorUri; | ||
} | ||
} | ||
return defaultCollectorUri; | ||
@@ -18,0 +25,0 @@ }; |
@@ -13,2 +13,3 @@ "use strict"; | ||
"crm8": "in", | ||
"crm9": "gov", | ||
"crm10": "preprod", | ||
@@ -15,0 +16,0 @@ "crm11": "uk", |
{ | ||
"name": "@microsoft/omnichannel-chat-sdk", | ||
"version": "1.9.3-main.81cb938", | ||
"version": "1.9.3-main.e6d51f2", | ||
"description": "Microsoft Omnichannel Chat SDK", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1356163
342
14495