New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@formsort/custom-question-api

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formsort/custom-question-api - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

12

lib/index.js

@@ -6,3 +6,3 @@ "use strict";

exports.setQuestionSize = function (width, height) {
utils_1.sendMessageToWindowParent(constants_1.SET_QUESTION_SIZE_MSG, {
utils_1.sendMessageToWindowParent(constants_1.CustomQuestionMessage.SET_QUESTION_SIZE_MSG, {
width: width,

@@ -13,15 +13,15 @@ height: height,

exports.getAnswerValue = function () {
return utils_1.getValueFromWindowParent(constants_1.REQUEST_ANSWER_VALUE_MSG, constants_1.SET_ANSWER_VALUE_MSG);
return utils_1.getValueFromWindowParent(constants_1.CustomQuestionMessage.REQUEST_ANSWER_VALUE_MSG, constants_1.CustomQuestionMessage.SET_ANSWER_VALUE_MSG);
};
exports.getAnswers = function () {
return utils_1.getValueFromWindowParent(constants_1.REQUEST_ANSWERS_MSG, constants_1.SET_ANSWERS_MSG);
return utils_1.getValueFromWindowParent(constants_1.CustomQuestionMessage.REQUEST_ANSWERS_MSG, constants_1.CustomQuestionMessage.SET_ANSWERS_MSG);
};
exports.getResponderUuid = function () {
return utils_1.getValueFromWindowParent(constants_1.REQUEST_RESPONDER_UUID_MSG, constants_1.SET_RESPONDER_UUID_MSG);
return utils_1.getValueFromWindowParent(constants_1.CustomQuestionMessage.REQUEST_RESPONDER_UUID_MSG, constants_1.CustomQuestionMessage.SET_RESPONDER_UUID_MSG);
};
exports.clearAnswerValue = function () {
utils_1.sendMessageToWindowParent(constants_1.CLEAR_ANSWER_VALUE_MSG);
utils_1.sendMessageToWindowParent(constants_1.CustomQuestionMessage.CLEAR_ANSWER_VALUE_MSG);
};
exports.setAnswerValue = function (value) {
utils_1.sendMessageToWindowParent(constants_1.SET_ANSWER_VALUE_MSG, value);
utils_1.sendMessageToWindowParent(constants_1.CustomQuestionMessage.SET_ANSWER_VALUE_MSG, value);
};

@@ -18,3 +18,6 @@ "use strict";

var constants_1 = require("@formsort/constants");
var EVENTS_TO_EMIT = new Set([constants_1.SET_ANSWERS_MSG, constants_1.SET_ANSWER_VALUE_MSG]);
var EVENTS_TO_EMIT = new Set([
constants_1.CustomQuestionMessage.SET_ANSWERS_MSG,
constants_1.CustomQuestionMessage.SET_ANSWER_VALUE_MSG,
]);
var WindowMessageEventsEmitter = /** @class */ (function (_super) {

@@ -21,0 +24,0 @@ __extends(WindowMessageEventsEmitter, _super);

{
"name": "@formsort/custom-question-api",
"version": "0.0.7",
"version": "0.0.8",
"description": "Helpers for implementing custom questions in Formsort",

@@ -44,5 +44,5 @@ "main": "lib/index.js",

"dependencies": {
"@formsort/constants": "0.0.5",
"@formsort/constants": "0.0.8",
"events": "^3.0.0"
}
}
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