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.2.1 to 0.3.0

index.ts

12

package.json
{
"name": "@markprompt/core",
"version": "0.2.1",
"version": "0.3.0",
"license": "MIT",

@@ -11,10 +11,10 @@ "repository": {

"type": "module",
"main": "index.js",
"module": "index.js",
"types": "index.d.ts",
"typings": "index.d.ts",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"sideEffects": false,
"scripts": {
"declaration": "tsc -b tsconfig.json"
"prepack": "tsc --build",
"build": "tsc --build",
"dev": "tsc --build --watch"
}
}

@@ -7,4 +7,2 @@ # `@markprompt/core`

Currently,
## Installation

@@ -45,2 +43,7 @@

// called when submitPrompt encounters an error
const onError(error) {
// handle errors
}
// optional options, defaults displayed

@@ -53,3 +56,3 @@ const options = {

await submitPrompt(prompt, projectKey, onAnswerChunk, onReferences, options);
await submitPrompt(prompt, projectKey, onAnswerChunk, onReferences, onError, options);
```
{
"compilerOptions": {
"lib": ["ESNext", "DOM"],
"module": "ESNext",
"allowJs": true,
"checkJs": true,
"emitDeclarationOnly": true,
"lib": ["esnext", "dom"],
"module": "node16",
"target": "es2021",
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"moduleResolution": "node",
"incremental": true
},
"exclude": ["./index.d.ts", "./index.d.ts.map"]
"incremental": true,
"outDir": "dist/",
"strict": true,
"isolatedModules": true,
"skipLibCheck": true
}
}
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