Huge News!Announcing our $40M Series B led by Abstract Ventures.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.6 to 0.0.7

11

lib/index.d.ts

@@ -0,6 +1,11 @@

declare type AnswerPrimitiveType = number | string | boolean;
declare type AnswerType = AnswerPrimitiveType | AnswerPrimitiveType[];
export declare const setQuestionSize: (width?: number | undefined, height?: number | undefined) => void;
export declare const getAnswerValue: () => Promise<unknown>;
export declare const getAnswers: () => Promise<unknown>;
export declare const getResponderUuid: () => Promise<unknown>;
export declare const getAnswerValue: () => Promise<AnswerType>;
export declare const getAnswers: () => Promise<{
[key: string]: AnswerType;
}>;
export declare const getResponderUuid: () => Promise<string>;
export declare const clearAnswerValue: () => void;
export declare const setAnswerValue: (value: string | number | boolean) => void;
export {};
import WindowMessageEventsEmitter from './WindowMessageEmitter';
export declare const getEmitter: () => WindowMessageEventsEmitter;
export declare const sendMessageToWindowParent: (type: string, payload?: any) => void;
export declare const getValueFromWindowParent: (requestEventType: string, responseEventType: string) => Promise<unknown>;
export declare const getValueFromWindowParent: <T>(requestEventType: string, responseEventType: string) => Promise<T>;
{
"name": "@formsort/custom-question-api",
"version": "0.0.6",
"version": "0.0.7",
"description": "Helpers for implementing custom questions in Formsort",

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

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