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

@formbricks/js

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formbricks/js - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

dist/js/src/components/BackButton.d.ts

5

dist/js/src/components/ConsentQuestion.d.ts

@@ -9,4 +9,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: string | null;
goToNextQuestion: (answer: TResponseData) => void;
goToPreviousQuestion?: (answer?: TResponseData) => void;
}
export default function ConsentQuestion({ question, onSubmit, lastQuestion, brandColor, }: ConsentQuestionProps): h.JSX.Element;
export default function ConsentQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: ConsentQuestionProps): h.JSX.Element;
export {};

@@ -9,4 +9,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: number | null;
goToNextQuestion: (answer: TResponseData) => void;
goToPreviousQuestion?: (answer?: TResponseData) => void;
}
export default function CTAQuestion({ question, onSubmit, lastQuestion, brandColor }: CTAQuestionProps): h.JSX.Element;
export default function CTAQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: CTAQuestionProps): h.JSX.Element;
export {};

@@ -9,4 +9,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: string[] | null;
goToNextQuestion: (answer: TResponseData) => void;
goToPreviousQuestion?: (answer: TResponseData) => void;
}
export default function MultipleChoiceMultiQuestion({ question, onSubmit, lastQuestion, brandColor, }: MultipleChoiceMultiProps): h.JSX.Element;
export default function MultipleChoiceMultiQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: MultipleChoiceMultiProps): h.JSX.Element;
export {};

@@ -9,4 +9,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: string | null;
goToNextQuestion: (answer: TResponseData) => void;
goToPreviousQuestion?: (answer: TResponseData) => void;
}
export default function MultipleChoiceSingleQuestion({ question, onSubmit, lastQuestion, brandColor, }: MultipleChoiceSingleProps): h.JSX.Element;
export default function MultipleChoiceSingleQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: MultipleChoiceSingleProps): h.JSX.Element;
export {};

@@ -9,4 +9,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: number | null;
goToNextQuestion: (answer: TResponseData) => void;
goToPreviousQuestion?: (answer?: TResponseData) => void;
}
export default function NPSQuestion({ question, onSubmit, lastQuestion, brandColor }: NPSQuestionProps): h.JSX.Element;
export default function NPSQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: NPSQuestionProps): h.JSX.Element;
export {};

@@ -9,4 +9,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: string | null;
goToNextQuestion: (answer: TResponseData) => void;
goToPreviousQuestion?: (answer: TResponseData) => void;
}
export default function OpenTextQuestion({ question, onSubmit, lastQuestion, brandColor, }: OpenTextQuestionProps): h.JSX.Element;
export default function OpenTextQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: OpenTextQuestionProps): h.JSX.Element;
export {};

@@ -10,4 +10,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: any;
goToNextQuestion: (answer: any) => void;
goToPreviousQuestion?: (answer: any) => void;
}
export default function QuestionConditional({ question, onSubmit, lastQuestion, brandColor, }: QuestionConditionalProps): h.JSX.Element;
export default function QuestionConditional({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: QuestionConditionalProps): h.JSX.Element;
export {};

@@ -9,4 +9,7 @@ import { h } from "preact";

brandColor: string;
storedResponseValue: number | null;
goToNextQuestion: (answer: TResponseData) => void;
goToPreviousQuestion?: (answer?: TResponseData) => void;
}
export default function RatingQuestion({ question, onSubmit, lastQuestion, brandColor, }: RatingQuestionProps): h.JSX.Element;
export default function RatingQuestion({ question, onSubmit, lastQuestion, brandColor, storedResponseValue, goToNextQuestion, goToPreviousQuestion, }: RatingQuestionProps): h.JSX.Element;
export {};

2

dist/types/js.d.ts

@@ -33,3 +33,3 @@ import { Question } from "./questions";

data: {
[name: string]: string | number | string[] | number[] | undefined;
[name: string]: string | number | string[] | number[] | undefined | null;
};

@@ -36,0 +36,0 @@ }

{
"name": "@formbricks/js",
"license": "MIT",
"version": "1.0.1",
"version": "1.0.2",
"description": "Formbricks-js allows you to connect your app to Formbricks, display surveys and trigger events.",

@@ -59,5 +59,5 @@ "keywords": [

"regenerator-runtime": "^0.13.11",
"@formbricks/api": "0.1.0",
"@formbricks/types": "0.0.0",
"eslint-config-formbricks": "1.0.0",
"@formbricks/api": "0.1.0"
"eslint-config-formbricks": "1.0.0"
},

@@ -64,0 +64,0 @@ "jest": {

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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