Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@outreach/extensibility-sdk

Package Overview
Dependencies
Maintainers
197
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@outreach/extensibility-sdk - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

dist/sdk/messages/DecorationUpdateType.js

11

dist/index.js

@@ -67,2 +67,3 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

var ConfigureMessage_1 = require("./sdk/messages/ConfigureMessage");
var DecorationUpdateType_1 = require("./sdk/messages/DecorationUpdateType");
var NavigationMessage_1 = require("./sdk/messages/NavigationMessage");

@@ -107,3 +108,3 @@ var EnvironmentMessage_1 = require("./sdk/messages/EnvironmentMessage");

__exportStar(require("./sdk/messages/DecorationMessage"), exports);
__exportStar(require("./sdk/messages/DecorationType"), exports);
__exportStar(require("./sdk/messages/DecorationUpdateType"), exports);
__exportStar(require("./sdk/messages/EnvironmentInfo"), exports);

@@ -227,7 +228,7 @@ __exportStar(require("./sdk/messages/EnvironmentMessage"), exports);

* @param {string} value The new decoration value being requested to be shown by the host
* @param {DecorationType} [type='text'] Type of decoration update (text by default)
* @param {DecorationUpdateType} [type=DecorationUpdateType.TEXT] Type of decoration update (text by default)
* @memberof ExtensibilitySdk
*/
this.decorate = function (value, type) {
if (type === void 0) { type = 'text'; }
if (type === void 0) { type = DecorationUpdateType_1.DecorationUpdateType.TEXT; }
return __awaiter(_this, void 0, void 0, function () {

@@ -240,4 +241,4 @@ var message;

_a.sent();
message = new DecorationMessage_1.DecorationMessage();
message.decorationText = value;
message = new DecorationMessage_1.DecorationUpdateMessage();
message.value = value;
message.decorationType = type;

@@ -244,0 +245,0 @@ this.sendMessage(message, true);

@@ -17,17 +17,17 @@ var __extends = (this && this.__extends) || (function () {

Object.defineProperty(exports, "__esModule", { value: true });
exports.DecorationMessage = void 0;
exports.DecorationUpdateMessage = void 0;
var Message_1 = require("./Message");
var MessageType_1 = require("./MessageType");
var DecorationMessage = /** @class */ (function (_super) {
__extends(DecorationMessage, _super);
var DecorationUpdateMessage = /** @class */ (function (_super) {
__extends(DecorationUpdateMessage, _super);
/**
*Creates an instance of InitMessage.
* @memberof DecorationMessage
*/
function DecorationMessage() {
*Creates an instance of InitMessage.
* @memberof DecorationMessage
*/
function DecorationUpdateMessage() {
return _super.call(this, MessageType_1.MessageType.REQUEST_DECORATION_UPDATE) || this;
}
return DecorationMessage;
return DecorationUpdateMessage;
}(Message_1.Message));
exports.DecorationMessage = DecorationMessage;
exports.DecorationUpdateMessage = DecorationUpdateMessage;
//# sourceMappingURL=DecorationMessage.js.map
{
"name": "@outreach/extensibility-sdk",
"license": "MIT",
"version": "0.3.5",
"version": "0.3.6",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc