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

@promptbook/core

Package Overview
Dependencies
Maintainers
1
Versions
580
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/core - npm Package Compare versions

Comparing version

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/core",
"version": "0.40.0-1",
"version": "0.40.0-2",
"description": "Library to supercharge your use of large language models",

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

"n12": "1.8.18",
"spacetrim": "0.11.0"
"spacetrim": "0.11.2"
},

@@ -41,0 +41,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 @@ /**

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