@microsoft/omnichannel-chat-sdk 1.9.3-main.81cb938 → 1.9.3
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/CHANGELOG.md +6 -0
- package/lib/telemetry/GCCDomainPatterns.d.ts +2 -0
- package/lib/telemetry/GCCDomainPatterns.js +8 -0
- package/lib/telemetry/GCCDomainPatterns.js.map +1 -0
- package/lib/telemetry/retrieveCollectorUri.js +7 -0
- package/lib/telemetry/retrieveCollectorUri.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +16 -3
- package/lib/utils/CoreServicesUtils.js +1 -0
- package/lib/utils/CoreServicesUtils.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
|
+
## [1.9.3] - 2024-07-12
|
8
|
+
|
9
|
+
### Added
|
10
|
+
- Add `crm9` as part of `CoreServicesGeoNamesMapping`
|
11
|
+
|
7
12
|
### Changed
|
8
13
|
|
9
14
|
- Log `error` object on failures on sending message and send typing
|
15
|
+
- Update `retrieveCollectorUri()` to detect `GCCDomainPatterns` to return `GCCCollectorUri`
|
10
16
|
|
11
17
|
## [1.9.2] - 2024-06-25
|
12
18
|
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"GCCDomainPatterns.js","sourceRoot":"","sources":["../../src/telemetry/GCCDomainPatterns.ts"],"names":[],"mappings":";;AAAA,IAAM,iBAAiB,GAAG;IACtB,kCAAkC;IAClC,OAAO;CACV,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
var EUDomainNames_1 = require("./EUDomainNames");
|
4
|
+
var GCCDomainPatterns_1 = require("./GCCDomainPatterns");
|
4
5
|
var retrieveCollectorUri = function (orgUrl) {
|
5
6
|
var defaultCollectorUri = "https://browser.pipe.aria.microsoft.com/Collector/3.0/";
|
6
7
|
var EUCollectorUri = "https://eu-mobile.events.data.microsoft.com/Collector/3.0/";
|
8
|
+
var GCCCollectorUri = "https://tb.pipe.aria.microsoft.com/Collector/3.0/";
|
7
9
|
var url = orgUrl;
|
8
10
|
if (orgUrl.endsWith("/")) {
|
9
11
|
url = orgUrl.replace("/", "");
|
@@ -13,6 +15,11 @@ var retrieveCollectorUri = function (orgUrl) {
|
|
13
15
|
return EUCollectorUri;
|
14
16
|
}
|
15
17
|
}
|
18
|
+
for (var i = 0; i < GCCDomainPatterns_1.default.length; i++) {
|
19
|
+
if (url.includes(GCCDomainPatterns_1.default[i])) {
|
20
|
+
return GCCCollectorUri;
|
21
|
+
}
|
22
|
+
}
|
16
23
|
return defaultCollectorUri;
|
17
24
|
};
|
18
25
|
exports.default = retrieveCollectorUri;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"retrieveCollectorUri.js","sourceRoot":"","sources":["../../src/telemetry/retrieveCollectorUri.ts"],"names":[],"mappings":";;AAAA,iDAA4C;
|
1
|
+
{"version":3,"file":"retrieveCollectorUri.js","sourceRoot":"","sources":["../../src/telemetry/retrieveCollectorUri.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAC5C,yDAAoD;AAEpD,IAAM,oBAAoB,GAAG,UAAC,MAAc;IACxC,IAAM,mBAAmB,GAAG,wDAAwD,CAAC;IACrF,IAAM,cAAc,GAAG,4DAA4D,CAAC;IACpF,IAAM,eAAe,GAAG,mDAAmD,CAAC;IAE5E,IAAI,GAAG,GAAG,MAAM,CAAC;IACjB,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;QACtB,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;KACjC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,uBAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC3C,IAAI,GAAG,CAAC,QAAQ,CAAC,uBAAa,CAAC,CAAC,CAAC,CAAC,EAAE;YAChC,OAAO,cAAc,CAAC;SACzB;KACJ;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,2BAAiB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC/C,IAAI,GAAG,CAAC,QAAQ,CAAC,2BAAiB,CAAC,CAAC,CAAC,CAAC,EAAE;YACpC,OAAO,eAAe,CAAC;SAC1B;KACJ;IAED,OAAO,mBAAmB,CAAC;AAC/B,CAAC,CAAC;AAEF,kBAAe,oBAAoB,CAAC"}
|
package/lib/tsconfig.tsbuildinfo
CHANGED
@@ -1566,8 +1566,13 @@
|
|
1566
1566
|
"signature": "7bc60275a805bb51a928f2902647d2f6fe5e24ec80265c7f23755b09d2374d9a",
|
1567
1567
|
"affectsGlobalScope": false
|
1568
1568
|
},
|
1569
|
+
"../src/telemetry/GCCDomainPatterns.ts": {
|
1570
|
+
"version": "4f1a3560ea9687791d46ae625e5753e43189159e81e4a67aeea8f4c444f9514d",
|
1571
|
+
"signature": "51f3d7d7a6dbb380621d22b7dd37d4a2404f661148302ea8327f23dc8e4a5856",
|
1572
|
+
"affectsGlobalScope": false
|
1573
|
+
},
|
1569
1574
|
"../src/telemetry/retrieveCollectorUri.ts": {
|
1570
|
-
"version": "
|
1575
|
+
"version": "846251fc21608d1af329745a7c2f3dfc287102d74051917fb18bb0b3c467b624",
|
1571
1576
|
"signature": "eabc77b209b840050d1cf22f84b6df5ee56c3e58d4f404b9a10bb1dcb2546e05",
|
1572
1577
|
"affectsGlobalScope": false
|
1573
1578
|
},
|
@@ -1577,7 +1582,7 @@
|
|
1577
1582
|
"affectsGlobalScope": false
|
1578
1583
|
},
|
1579
1584
|
"../src/utils/CoreServicesUtils.ts": {
|
1580
|
-
"version": "
|
1585
|
+
"version": "51bde3fd9e7d37a9ac92cfb603f3bd5c2169f23021e4cf867bb1fd22b68875cf",
|
1581
1586
|
"signature": "650ecec767e798500a807c863fbe5cd4395355d95159e147c045f8a9ee258b32",
|
1582
1587
|
"affectsGlobalScope": false
|
1583
1588
|
},
|
@@ -4546,6 +4551,12 @@
|
|
4546
4551
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
4547
4552
|
"../node_modules/@types/node/util.d.ts"
|
4548
4553
|
],
|
4554
|
+
"../src/telemetry/GCCDomainPatterns.ts": [
|
4555
|
+
"../node_modules/@types/node/fs.d.ts",
|
4556
|
+
"../node_modules/@types/node/ts3.2/fs.d.ts",
|
4557
|
+
"../node_modules/@types/node/ts3.2/util.d.ts",
|
4558
|
+
"../node_modules/@types/node/util.d.ts"
|
4559
|
+
],
|
4549
4560
|
"../src/telemetry/LogLevel.ts": [
|
4550
4561
|
"../node_modules/@types/node/fs.d.ts",
|
4551
4562
|
"../node_modules/@types/node/ts3.2/fs.d.ts",
|
@@ -4587,7 +4598,8 @@
|
|
4587
4598
|
"../node_modules/@types/node/ts3.2/fs.d.ts",
|
4588
4599
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
4589
4600
|
"../node_modules/@types/node/util.d.ts",
|
4590
|
-
"../src/telemetry/EUDomainNames.ts"
|
4601
|
+
"../src/telemetry/EUDomainNames.ts",
|
4602
|
+
"../src/telemetry/GCCDomainPatterns.ts"
|
4591
4603
|
],
|
4592
4604
|
"../src/utils/CoreServicesUtils.ts": [
|
4593
4605
|
"../node_modules/@types/node/fs.d.ts",
|
@@ -7459,6 +7471,7 @@
|
|
7459
7471
|
"../src/telemetry/AriaTelemetry.ts",
|
7460
7472
|
"../src/telemetry/EUDomainNames.ts",
|
7461
7473
|
"../src/telemetry/EventMarker.ts",
|
7474
|
+
"../src/telemetry/GCCDomainPatterns.ts",
|
7462
7475
|
"../src/telemetry/LogLevel.ts",
|
7463
7476
|
"../src/telemetry/ScenarioMarker.ts",
|
7464
7477
|
"../src/telemetry/ScenarioType.ts",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CoreServicesUtils.js","sourceRoot":"","sources":["../../src/utils/CoreServicesUtils.ts"],"names":[],"mappings":";;;AAAa,QAAA,2BAA2B,GAAQ;IAC5C,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,MAAM,CAAC,OAAO;CAC5B,CAAA;AAEY,QAAA,wBAAwB,GAAG,YAAY,CAAC;AAExC,QAAA,gBAAgB,GAAG,uCAAuC,CAAC;AAE3D,QAAA,iCAAiC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AAEzD,QAAA,sBAAsB,GAAG,UAAC,oBAA4B;;IAC/D,aAAO,mCAA2B,CAAC,oBAAoB,CAAC,mCAAI,EAAE,CAAC;AACnE,CAAC,CAAC;AAEW,QAAA,wBAAwB,GAAG,UAAC,KAAa,EAAE,OAAe;IACnE,OAAO,eAAa,KAAK,SAAI,OAAO,kCAA+B,CAAC;AACxE,CAAC,CAAC;AAEW,QAAA,oBAAoB,GAAG,UAAC,MAAc;IAC/C,OAAO,MAAM,CAAC,UAAU,CAAC,gCAAwB,CAAC,CAAC;AACvD,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"CoreServicesUtils.js","sourceRoot":"","sources":["../../src/utils/CoreServicesUtils.ts"],"names":[],"mappings":";;;AAAa,QAAA,2BAA2B,GAAQ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