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

@promptbook/remote-server

Package Overview
Dependencies
Maintainers
1
Versions
564
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-server - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0

2

esm/typings/types/TaskProgress.d.ts

@@ -18,3 +18,3 @@ import { ExecutionType } from './ExecutionTypes';

* Note: This is supposed to be displayed to the user.
* Note: This is trimmed and stripped of HTML tags and emojis with "🖋" prefix
* Note: This is trimmed and stripped of HTML tags and emojis
*/

@@ -21,0 +21,0 @@ readonly title: string_title;

/**
* Additional options for `unwrapResult`
*/
interface UnwrapResultOptions {
/**
* If true, the text is trimmed before processing
*/
isTrimmed?: boolean;
/**
* If true, the introduce sentence is removed
*
* For example:
* - If `true`> 'Hello, "world"' -> 'world'
* - If `false`> 'Hello, "world"' -> 'Hello, "world"'
*
* @default true
*/
isIntroduceSentenceRemoved?: boolean;
}
/**
* Removes quotes and optional introduce text from a string

@@ -13,2 +32,6 @@ *

*/
export declare function unwrapResult(text: string): string;
export declare function unwrapResult(text: string, options?: UnwrapResultOptions): string;
export {};
/**
* TODO: [🧠] Should this also unwrap the (parenthesis)
*/
{
"name": "@promptbook/remote-server",
"version": "0.15.0",
"version": "0.16.0",
"description": "Library to supercharge your use of large language models",

@@ -41,3 +41,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.15.0"
"@promptbook/core": "0.16.0"
},

@@ -44,0 +44,0 @@ "main": "./umd/index.umd.js",

@@ -18,3 +18,3 @@ import { ExecutionType } from './ExecutionTypes';

* Note: This is supposed to be displayed to the user.
* Note: This is trimmed and stripped of HTML tags and emojis with "🖋" prefix
* Note: This is trimmed and stripped of HTML tags and emojis
*/

@@ -21,0 +21,0 @@ readonly title: string_title;

/**
* Additional options for `unwrapResult`
*/
interface UnwrapResultOptions {
/**
* If true, the text is trimmed before processing
*/
isTrimmed?: boolean;
/**
* If true, the introduce sentence is removed
*
* For example:
* - If `true`> 'Hello, "world"' -> 'world'
* - If `false`> 'Hello, "world"' -> 'Hello, "world"'
*
* @default true
*/
isIntroduceSentenceRemoved?: boolean;
}
/**
* Removes quotes and optional introduce text from a string

@@ -13,2 +32,6 @@ *

*/
export declare function unwrapResult(text: string): string;
export declare function unwrapResult(text: string, options?: UnwrapResultOptions): string;
export {};
/**
* TODO: [🧠] Should this also unwrap the (parenthesis)
*/
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