@microsoft/omnichannel-chat-sdk
Advanced tools
Comparing version 0.3.1-main.5dd7ae3 to 0.3.1-main.c474307
@@ -6,2 +6,10 @@ # Changelog | ||
### Changed | ||
- Uptake [@microsoft/ocsdk@0.3.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.0) | ||
- Use `lockfileVersion: 2` in `package-lock.json` via npm v7 | ||
### Fixed | ||
- `onNewMessage` with `rehydrate` flag set to `true` crashing when `getMessages` returns `undefined` | ||
- Fix `AriaTelemetry` unable to read property `logEvent` of undefined on `React Native` | ||
## [0.3.0] - 2021-09-03 | ||
@@ -8,0 +16,0 @@ ### Added |
@@ -41,2 +41,3 @@ "use strict"; | ||
AriaTelemetry.info = function (properties, scenarioType) { | ||
var _a; | ||
if (scenarioType === void 0) { scenarioType = ScenarioType_1.default.EVENTS; } | ||
@@ -68,5 +69,6 @@ var event = { | ||
this._debug && console.log(event.properties.Event); | ||
!AriaTelemetry._disable && AriaTelemetry.logger.logEvent(event); | ||
!AriaTelemetry._disable && ((_a = AriaTelemetry.logger) === null || _a === void 0 ? void 0 : _a.logEvent(event)); | ||
}; | ||
AriaTelemetry.debug = function (properties, scenarioType) { | ||
var _a; | ||
if (scenarioType === void 0) { scenarioType = ScenarioType_1.default.EVENTS; } | ||
@@ -98,5 +100,6 @@ var event = { | ||
this._debug && console.log(event.properties.Event); | ||
!AriaTelemetry._disable && AriaTelemetry.logger.logEvent(event); | ||
!AriaTelemetry._disable && ((_a = AriaTelemetry.logger) === null || _a === void 0 ? void 0 : _a.logEvent(event)); | ||
}; | ||
AriaTelemetry.warn = function (properties, scenarioType) { | ||
var _a; | ||
if (scenarioType === void 0) { scenarioType = ScenarioType_1.default.EVENTS; } | ||
@@ -128,5 +131,6 @@ var event = { | ||
this._debug && console.log(event.properties.Event); | ||
!AriaTelemetry._disable && AriaTelemetry.logger.logEvent(event); | ||
!AriaTelemetry._disable && ((_a = AriaTelemetry.logger) === null || _a === void 0 ? void 0 : _a.logEvent(event)); | ||
}; | ||
AriaTelemetry.error = function (properties, scenarioType) { | ||
var _a; | ||
if (scenarioType === void 0) { scenarioType = ScenarioType_1.default.EVENTS; } | ||
@@ -158,5 +162,6 @@ var event = { | ||
this._debug && console.log(event.properties.Event); | ||
!AriaTelemetry._disable && AriaTelemetry.logger.logEvent(event); | ||
!AriaTelemetry._disable && ((_a = AriaTelemetry.logger) === null || _a === void 0 ? void 0 : _a.logEvent(event)); | ||
}; | ||
AriaTelemetry.log = function (properties, scenarioType) { | ||
var _a; | ||
if (scenarioType === void 0) { scenarioType = ScenarioType_1.default.EVENTS; } | ||
@@ -188,3 +193,3 @@ var event = { | ||
this._debug && console.log(event.properties.Event); | ||
!AriaTelemetry._disable && AriaTelemetry.logger.logEvent(event); | ||
!AriaTelemetry._disable && ((_a = AriaTelemetry.logger) === null || _a === void 0 ? void 0 : _a.logEvent(event)); | ||
}; | ||
@@ -191,0 +196,0 @@ Object.defineProperty(AriaTelemetry, "logger", { |
{ | ||
"name": "@microsoft/omnichannel-chat-sdk", | ||
"version": "0.3.1-main.5dd7ae3", | ||
"version": "0.3.1-main.c474307", | ||
"description": "Microsoft Omnichannel Chat SDK", | ||
@@ -41,5 +41,5 @@ "files": [ | ||
"dependencies": { | ||
"@microsoft/ocsdk": "^0.2.0", | ||
"@microsoft/ocsdk": "^0.3.0", | ||
"@microsoft/omnichannel-ic3core": "^0.1.1" | ||
} | ||
} |
@@ -5,2 +5,3 @@ # Omnichannel Chat SDK | ||
![Release CI](https://github.com/microsoft/omnichannel-chat-sdk/workflows/Release%20CI/badge.svg) | ||
![npm](https://img.shields.io/npm/dm/@microsoft/omnichannel-chat-sdk) | ||
@@ -7,0 +8,0 @@ Headless Chat SDK to build your own chat widget against Dynamics 365 Omnichannel Services. |
Sorry, the diff of this file is too big to display
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
749751
9169
687
+ Added@microsoft/ocsdk@0.3.4(transitive)
- Removed@microsoft/ocsdk@0.2.0(transitive)
Updated@microsoft/ocsdk@^0.3.0