Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.40.0-1 to 0.40.0-2

8

esm/typings/_packages/types.index.d.ts

@@ -1,6 +0,1 @@

import { ExpectError } from '../errors/ExpectError';
import { NotFoundError } from '../errors/NotFoundError';
import { PromptbookExecutionError } from '../errors/PromptbookExecutionError';
import { PromptbookLogicError } from '../errors/PromptbookLogicError';
import { PromptbookSyntaxError } from '../errors/PromptbookSyntaxError';
import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions';

@@ -29,6 +24,5 @@ import type { ExecutionTools } from '../execution/ExecutionTools';

export { CommonExecutionToolsOptions, EXPECTATION_UNITS, ExecutionReportJson, ExecutionTools, ExecutionType, ExpectationAmount, ExpectationUnit, FromtoItems, ModelRequirements, ModelVariant, NaturalExecutionTools, Parameters, Prompt, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptTemplateJson, PromptTemplateParameterJson, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptLanguage, TaskProgress, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, client_id, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, };
export { ExpectError, NotFoundError, PromptbookExecutionError, PromptbookLogicError, PromptbookSyntaxError };
/**
* TODO: [🧠] Is this the best package to export custom errors from?
* TODO: [🧠][🆔] Is this the best package to export custom errors from?
* TODO: Delete type aliases (from ../types/typeAliases) that are not exported here
*/

2

esm/typings/library/SimplePromptbookLibrary.d.ts

@@ -25,3 +25,3 @@ import { CreatePromptbookExecutorSettings } from '../execution/createPromptbookExecutor';

*/
static fromSources(promptbookSources: Record<string_promptbook_url, PromptbookJson | PromptbookString>, settings?: Partial<CreatePromptbookExecutorSettings>): SimplePromptbookLibrary;
static fromSources(promptbookSources: Array<PromptbookJson | PromptbookString>, settings?: Partial<CreatePromptbookExecutorSettings>): SimplePromptbookLibrary;
private constructor();

@@ -28,0 +28,0 @@ /**

{
"name": "@promptbook/remote-client",
"version": "0.40.0-1",
"version": "0.40.0-2",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.40.0-1"
"@promptbook/core": "0.40.0-2"
},

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

@@ -1,6 +0,1 @@

import { ExpectError } from '../errors/ExpectError';
import { NotFoundError } from '../errors/NotFoundError';
import { PromptbookExecutionError } from '../errors/PromptbookExecutionError';
import { PromptbookLogicError } from '../errors/PromptbookLogicError';
import { PromptbookSyntaxError } from '../errors/PromptbookSyntaxError';
import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions';

@@ -29,6 +24,5 @@ import type { ExecutionTools } from '../execution/ExecutionTools';

export { CommonExecutionToolsOptions, EXPECTATION_UNITS, ExecutionReportJson, ExecutionTools, ExecutionType, ExpectationAmount, ExpectationUnit, FromtoItems, ModelRequirements, ModelVariant, NaturalExecutionTools, Parameters, Prompt, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptTemplateJson, PromptTemplateParameterJson, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptLanguage, TaskProgress, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, client_id, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, };
export { ExpectError, NotFoundError, PromptbookExecutionError, PromptbookLogicError, PromptbookSyntaxError };
/**
* TODO: [🧠] Is this the best package to export custom errors from?
* TODO: [🧠][🆔] Is this the best package to export custom errors from?
* TODO: Delete type aliases (from ../types/typeAliases) that are not exported here
*/

@@ -25,3 +25,3 @@ import { CreatePromptbookExecutorSettings } from '../execution/createPromptbookExecutor';

*/
static fromSources(promptbookSources: Record<string_promptbook_url, PromptbookJson | PromptbookString>, settings?: Partial<CreatePromptbookExecutorSettings>): SimplePromptbookLibrary;
static fromSources(promptbookSources: Array<PromptbookJson | PromptbookString>, settings?: Partial<CreatePromptbookExecutorSettings>): SimplePromptbookLibrary;
private constructor();

@@ -28,0 +28,0 @@ /**

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