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

@markprompt/core

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markprompt/core - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

dist/index.test.d.ts

8

dist/index.d.ts

@@ -6,12 +6,4 @@ import type { OpenAIModelId } from './types.js';

completionsUrl?: string;
/** The placeholder for the text input */
placeholder?: string;
/** Message returned when the model does not have an answer */
iDontKnowMessage?: string;
/** The heading of the references section */
referencesHeading?: string;
/** The loading heading of the references section */
loadingHeading?: string;
/** If true, include the branding footer */
includeBranding?: boolean;
/** The OpenAI model to use */

@@ -18,0 +10,0 @@ model?: OpenAIModelId;

6

dist/index.js

@@ -85,7 +85,9 @@ export const MARKPROMPT_COMPLETIONS_URL = 'https://api.markprompt.com/v1/completions';

}
onAnswerChunk(parts[1]);
if (parts[1]) {
onAnswerChunk(parts[1]);
}
didHandleHeader = true;
}
}
else {
else if (chunkValue) {
const shouldContinue = onAnswerChunk(chunkValue);

@@ -92,0 +94,0 @@ if (!shouldContinue) {

{
"name": "@markprompt/core",
"version": "0.4.5",
"version": "0.4.6",
"repository": {

@@ -15,3 +15,2 @@ "type": "git",

"files": [
"README.md",
"dist"

@@ -18,0 +17,0 @@ ],

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