@outreach/extensibility-sdk
Advanced tools
Comparing version 0.4.67 to 0.4.68
@@ -586,3 +586,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
_this.resolveInitPromise(context); | ||
_this.onInit(context); | ||
break; | ||
@@ -821,12 +820,2 @@ } | ||
}; | ||
this.onInit = function (context) { | ||
Logger_1.default.current.log({ | ||
origin: EventOrigin_1.EventOrigin.HOST, | ||
type: EventType_1.EventType.MESSAGE, | ||
messageType: MessageType_1.MessageType.INIT, | ||
level: LogLevel_1.LogLevel.Info, | ||
message: '[CXT] addon.onInit received initialization context', | ||
context: ["context: " + JSON.stringify(context, null, 2)], | ||
}); | ||
}; | ||
this.onMessage = function (message) { | ||
@@ -833,0 +822,0 @@ Logger_1.default.current.log({ |
@@ -196,2 +196,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
} | ||
var userKey = _this.getEnumKeyByEnumValue(__1.UserContextKeys, ctx); | ||
if (userKey) { | ||
return __1.UserContextKeys[userKey]; | ||
} | ||
var clientKey = _this.getEnumKeyByEnumValue(__1.ClientContextKeys, ctx); | ||
if (clientKey) { | ||
return __1.ClientContextKeys[clientKey]; | ||
} | ||
return 'NAN'; | ||
@@ -198,0 +206,0 @@ }); |
{ | ||
"name": "@outreach/extensibility-sdk", | ||
"license": "MIT", | ||
"version": "0.4.67", | ||
"version": "0.4.68", | ||
"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
683622
11767