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

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
0
Versions
457
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.69.0-19 to 0.69.0-20

2

esm/index.es.js

@@ -8,3 +8,3 @@ import { io } from 'socket.io-client';

*/
var PROMPTBOOK_VERSION = '0.69.0-18';
var PROMPTBOOK_VERSION = '0.69.0-19';
// TODO:[main] !!!! List here all the versions and annotate + put into script

@@ -11,0 +11,0 @@

@@ -13,10 +13,34 @@ import { ExpectError } from '../../errors/ExpectError';

export type $OngoingTemplateResult = {
/**
* @@@
*/
$prompt?: Prompt;
/**
* @@@
*/
$chatResult?: ChatPromptResult;
/**
* @@@
*/
$completionResult?: CompletionPromptResult;
/**
* @@@
*/
$embeddingResult?: EmbeddingPromptResult;
/**
* @@@
*/
$result: PromptResult | null;
/**
* @@@
*/
$resultString: string | null;
/**
* @@@
*/
$expectError: ExpectError | null;
/**
* @@@
*/
$scriptPipelineExecutionErrors: Array<Error>;
};

@@ -36,3 +36,3 @@ import type { ReadonlyDeep } from 'type-fest';

*/
readonly parameters: ReadonlyDeep<Parameters>;
readonly parameters: Readonly<Parameters>;
/**

@@ -39,0 +39,0 @@ * @@@

@@ -18,3 +18,3 @@ import { ReadonlyDeep } from 'type-fest';

*/
readonly outputParameters: Parameters;
readonly outputParameters: Readonly<Parameters>;
/**

@@ -27,15 +27,15 @@ * Whether the execution was successful, details are aviable in `executionReport`

*/
readonly usage: PromptResultUsage;
readonly usage: ReadonlyDeep<PromptResultUsage>;
/**
* Errors that occured during the execution, details are aviable in `executionReport`
*/
readonly errors: Array<ErrorJson>;
readonly errors: ReadonlyDeep<Array<ErrorJson>>;
/**
* Warnings that occured during the execution, details are aviable in `executionReport`
*/
readonly warnings: Array<ErrorJson>;
readonly warnings: ReadonlyDeep<Array<ErrorJson>>;
/**
* The report of the execution with all details
*/
readonly executionReport: ExecutionReportJson;
readonly executionReport: ReadonlyDeep<ExecutionReportJson>;
/**

@@ -50,5 +50,4 @@ * The prepared pipeline that was used for the execution

/**
* TODO: !!!!!! Maybe add ReadonlyDeep< to all
* TODO: [🧠] Should this file be in /execution or /types folder?
* TODO: [🧠] Maybe constrain `ErrorJson` -> `ErrorJson & { name: 'PipelineExecutionError' | 'Error' }`
*/
{
"name": "@promptbook/remote-client",
"version": "0.69.0-19",
"version": "0.69.0-20",
"description": "Supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.69.0-19"
"@promptbook/core": "0.69.0-20"
},

@@ -57,0 +57,0 @@ "dependencies": {

@@ -15,3 +15,3 @@ (function (global, factory) {

*/
var PROMPTBOOK_VERSION = '0.69.0-18';
var PROMPTBOOK_VERSION = '0.69.0-19';
// TODO:[main] !!!! List here all the versions and annotate + put into script

@@ -18,0 +18,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