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

@promptbook/anthropic-claude

Package Overview
Dependencies
Maintainers
0
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/anthropic-claude - npm Package Compare versions

Comparing version 0.61.0-24 to 0.61.0-25

11

esm/index.es.js

@@ -543,2 +543,3 @@ import Anthropic from '@anthropic-ai/sdk';

deepFreeze([
'content',
'context',

@@ -556,2 +557,6 @@ 'knowledge',

var RESERVED_PARAMETER_MISSING_VALUE = 'MISSING-' + REPLACING_NONCE;
/**
* @@@
*/
var RESERVED_PARAMETER_RESTRICTED = 'RESTRICTED-' + REPLACING_NONCE;
/*

@@ -595,2 +600,6 @@ TODO: !!! Just testing false-negative detection of [๐ŸŸก][๐ŸŸข][๐Ÿ”ต][โšช] leak

}
else if (parameterValue === RESERVED_PARAMETER_RESTRICTED) {
// TODO: [๐Ÿต]
throw new UnexpectedError("Parameter {".concat(parameterName, "} is restricted to use"));
}
}

@@ -955,3 +964,3 @@ }

*/
var PROMPTBOOK_VERSION = '0.61.0-23';
var PROMPTBOOK_VERSION = '0.61.0-24';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -958,0 +967,0 @@

@@ -46,3 +46,3 @@ /**

*/
export declare const RESERVED_PARAMETER_NAMES: readonly ["context", "knowledge", "samples", "modelName", "currentDate"];
export declare const RESERVED_PARAMETER_NAMES: readonly ["content", "context", "knowledge", "samples", "modelName", "currentDate"];
/**

@@ -55,2 +55,6 @@ * @@@

*/
export declare const RESERVED_PARAMETER_RESTRICTED: string;
/**
* @@@
*/
export declare const DEBUG_ALLOW_PAYED_TESTING: boolean;

@@ -57,0 +61,0 @@ /**

2

esm/typings/src/conversion/utils/extractParametersFromPromptTemplate.d.ts

@@ -10,5 +10,5 @@ import type { PromptTemplateJson } from '../../types/PipelineJson/PromptTemplateJson';

*/
export declare function extractParametersFromPromptTemplate(promptTemplate: Pick<PromptTemplateJson, 'title' | 'description' | 'blockType' | 'content' | 'jokerParameterNames'>): Set<string_parameter_name>;
export declare function extractParametersFromPromptTemplate(promptTemplate: Pick<PromptTemplateJson, 'title' | 'description' | 'blockType' | 'content' | 'preparedContent' | 'jokerParameterNames'>): Set<string_parameter_name>;
/**
* TODO: [๐Ÿ”ฃ] If script require contentLanguage
*/

@@ -50,2 +50,4 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson';

/**
* TODO: !!!! return `preparedPipeline` from execution
* TODO: !!!! `isNotPreparedWarningSupressed`
* TODO: Use isVerbose here (not only pass to `preparePipeline`)

@@ -52,0 +54,0 @@ * TODO: [๐Ÿช‚] Use maxParallelCount here (not only pass to `preparePipeline`)

@@ -7,3 +7,3 @@ import type { PrepareOptions } from '../../../prepare/PrepareOptions';

*/
export declare function prepareKnowledgeFromMarkdown(content: string_markdown, options: PrepareOptions): Promise<Array<Omit<KnowledgePiecePreparedJson, 'sources' | 'preparationIds'>>>;
export declare function prepareKnowledgeFromMarkdown(knowledgeContent: string_markdown, options: PrepareOptions): Promise<Array<Omit<KnowledgePiecePreparedJson, 'sources' | 'preparationIds'>>>;
/**

@@ -10,0 +10,0 @@ * TODO: [๐Ÿ][๐Ÿ”ผ] !!! Export via `@promptbook/markdown`

@@ -10,1 +10,4 @@ import type { string_parameter_name } from '../types/typeAliases';

export declare function extractParameters(template: string_template): Set<string_parameter_name>;
/**
* TODO: !!!!! Rename to extractParameterNames
*/
{
"name": "@promptbook/anthropic-claude",
"version": "0.61.0-24",
"version": "0.61.0-25",
"description": "Supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.61.0-24"
"@promptbook/core": "0.61.0-25"
},

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

@@ -227,3 +227,3 @@ # ![Promptbook logo - cube with letters P and B](./other/design/logo-h1.png) Promptbook

> - INPUTโ€ฏโ€ฏPARAM `{rawAssigment}` Automatically generated site entry from image recognition
> - OUTPUTโ€ฏPARAM `{content}` Web content
> - OUTPUTโ€ฏPARAM `{websiteContent}` Web content
> - OUTPUTโ€ฏPARAM `{keywords}` Keywords

@@ -387,3 +387,3 @@ >

>
> `-> {content}`
> `-> {websiteContent}`

@@ -428,3 +428,3 @@

templateCombineTheContent--"{content}"-->output
templateCombineTheContent--"{websiteContent}"-->output
output((Output)):::output

@@ -431,0 +431,0 @@

@@ -551,2 +551,3 @@ (function (global, factory) {

deepFreeze([
'content',
'context',

@@ -564,2 +565,6 @@ 'knowledge',

var RESERVED_PARAMETER_MISSING_VALUE = 'MISSING-' + REPLACING_NONCE;
/**
* @@@
*/
var RESERVED_PARAMETER_RESTRICTED = 'RESTRICTED-' + REPLACING_NONCE;
/*

@@ -603,2 +608,6 @@ TODO: !!! Just testing false-negative detection of [๐ŸŸก][๐ŸŸข][๐Ÿ”ต][โšช] leak

}
else if (parameterValue === RESERVED_PARAMETER_RESTRICTED) {
// TODO: [๐Ÿต]
throw new UnexpectedError("Parameter {".concat(parameterName, "} is restricted to use"));
}
}

@@ -963,3 +972,3 @@ }

*/
var PROMPTBOOK_VERSION = '0.61.0-23';
var PROMPTBOOK_VERSION = '0.61.0-24';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -966,0 +975,0 @@

@@ -46,3 +46,3 @@ /**

*/
export declare const RESERVED_PARAMETER_NAMES: readonly ["context", "knowledge", "samples", "modelName", "currentDate"];
export declare const RESERVED_PARAMETER_NAMES: readonly ["content", "context", "knowledge", "samples", "modelName", "currentDate"];
/**

@@ -55,2 +55,6 @@ * @@@

*/
export declare const RESERVED_PARAMETER_RESTRICTED: string;
/**
* @@@
*/
export declare const DEBUG_ALLOW_PAYED_TESTING: boolean;

@@ -57,0 +61,0 @@ /**

@@ -10,5 +10,5 @@ import type { PromptTemplateJson } from '../../types/PipelineJson/PromptTemplateJson';

*/
export declare function extractParametersFromPromptTemplate(promptTemplate: Pick<PromptTemplateJson, 'title' | 'description' | 'blockType' | 'content' | 'jokerParameterNames'>): Set<string_parameter_name>;
export declare function extractParametersFromPromptTemplate(promptTemplate: Pick<PromptTemplateJson, 'title' | 'description' | 'blockType' | 'content' | 'preparedContent' | 'jokerParameterNames'>): Set<string_parameter_name>;
/**
* TODO: [๐Ÿ”ฃ] If script require contentLanguage
*/

@@ -50,2 +50,4 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson';

/**
* TODO: !!!! return `preparedPipeline` from execution
* TODO: !!!! `isNotPreparedWarningSupressed`
* TODO: Use isVerbose here (not only pass to `preparePipeline`)

@@ -52,0 +54,0 @@ * TODO: [๐Ÿช‚] Use maxParallelCount here (not only pass to `preparePipeline`)

@@ -7,3 +7,3 @@ import type { PrepareOptions } from '../../../prepare/PrepareOptions';

*/
export declare function prepareKnowledgeFromMarkdown(content: string_markdown, options: PrepareOptions): Promise<Array<Omit<KnowledgePiecePreparedJson, 'sources' | 'preparationIds'>>>;
export declare function prepareKnowledgeFromMarkdown(knowledgeContent: string_markdown, options: PrepareOptions): Promise<Array<Omit<KnowledgePiecePreparedJson, 'sources' | 'preparationIds'>>>;
/**

@@ -10,0 +10,0 @@ * TODO: [๐Ÿ][๐Ÿ”ผ] !!! Export via `@promptbook/markdown`

@@ -10,1 +10,4 @@ import type { string_parameter_name } from '../types/typeAliases';

export declare function extractParameters(template: string_template): Set<string_parameter_name>;
/**
* TODO: !!!!! Rename to extractParameterNames
*/

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