@outreach/extensibility-sdk
Advanced tools
Comparing version 0.5.52 to 0.5.53
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isNotificationMessage = exports.isNavigationMessage = exports.isEnvironmentMessage = exports.isDecorationMessage = void 0; | ||
exports.isReadyMessage = exports.isNotificationMessage = exports.isNavigationMessage = exports.isEnvironmentMessage = exports.isDecorationMessage = void 0; | ||
var MessageType_1 = require("./MessageType"); | ||
@@ -63,2 +63,12 @@ var isDecorationMessage = function (messageInfo) { | ||
exports.isNotificationMessage = isNotificationMessage; | ||
var isReadyMessage = function (messageInfo) { | ||
if (!Object.prototype.hasOwnProperty.call(messageInfo, 'type') || typeof messageInfo.type !== 'string') { | ||
return false; | ||
} | ||
if (messageInfo.type !== MessageType_1.MessageType.READY) { | ||
return false; | ||
} | ||
return true; | ||
}; | ||
exports.isReadyMessage = isReadyMessage; | ||
//# sourceMappingURL=MessageGuards.js.map |
{ | ||
"name": "@outreach/extensibility-sdk", | ||
"license": "MIT", | ||
"version": "0.5.52", | ||
"version": "0.5.53", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1649467
17258