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

@markprompt/web

Package Overview
Dependencies
Maintainers
1
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markprompt/web - npm Package Compare versions

Comparing version 0.12.2 to 0.13.0

4

package.json
{
"name": "@markprompt/web",
"version": "0.12.2",
"version": "0.13.0",
"description": "A web component for adding GPT-4 powered search using the Markprompt API.",

@@ -32,3 +32,3 @@ "repository": {

"@markprompt/core": "0.8.2",
"@markprompt/react": "0.14.0"
"@markprompt/react": "0.15.0"
},

@@ -35,0 +35,0 @@ "devDependencies": {

@@ -90,3 +90,3 @@ # `@markprompt/web`

* Label for the prompt input
* @default "Ask me anything…"
* @default "Ask AI"
**/

@@ -96,11 +96,5 @@ label?: string;

* Placeholder for the prompt input
* @default "Ask me anything…"
* @default "Ask AI…"
**/
placeholder?: string;
/**
* When search is enabled, this label is used for the CTA button
* that opens the prompt.
* @default "Ask Docs AI…"
**/
cta?: string;
};

@@ -158,3 +152,3 @@ references?: {

* Text for the title
* @default "Ask me anything"
* @default "Ask AI"
**/

@@ -217,5 +211,4 @@ text?: string;

- `prompt` (`object`): Options for the prompt
- `prompt.label` (`string`): Label for the prompt input (Default: `Ask me anything…`)
- `prompt.placeholder` (`string`): Placeholder for the prompt input (Default: `Ask me anything…`)
- `prompt.cta` (`string`): When search is enabled, this label is used for the CTA button that opens the prompt (Default: `Ask Docs AI…`)
- `prompt.label` (`string`): Label for the prompt input (Default: `Ask AI`)
- `prompt.placeholder` (`string`): Placeholder for the prompt input (Default: `Ask AI…`)
- `prompt.apiUrl` (`string`): URL at which to fetch completions. (Default: `https://api.markprompt.com/v1/completions`)

@@ -250,3 +243,3 @@ - `prompt.iDontKnowMessage` (`string`): Message returned when the model does not have an answer. (Default: `Sorry, I am not sure how to answer that.`)

- `title.hide` (`boolean`): Visually hide the title (Default: `true`)
- `title.text` (`string`): Title text (Default: `Ask me anything`)
- `title.text` (`string`): Title text (Default: `Ask AI`)

@@ -253,0 +246,0 @@ When rendering the Markprompt component, it will render a search input-like button by default. You have two other options:

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