๐Ÿ“… You're Invited: Meet the Socket team at RSAC (April 28 โ€“ May 1).RSVP โ†’

@promptbook/browser

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/browser - npm Package Compare versions

Comparing version

to
0.89.0-33

@@ -19,3 +19,3 @@ import spaceTrim$1, { spaceTrim } from 'spacetrim';

*/
const PROMPTBOOK_ENGINE_VERSION = '0.89.0-32';
const PROMPTBOOK_ENGINE_VERSION = '0.89.0-33';
/**

@@ -22,0 +22,0 @@ * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine

@@ -213,2 +213,3 @@ import type { PipelineCollection } from '../collection/PipelineCollection';

import type { string_protocol } from '../types/typeAliases';
import type { string_ip_address } from '../types/typeAliases';
import type { string_email } from '../types/typeAliases';

@@ -509,2 +510,3 @@ import type { string_emails } from '../types/typeAliases';

export type { string_protocol };
export type { string_ip_address };
export type { string_email };

@@ -511,0 +513,0 @@ export type { string_emails };

import type { LlmToolsConfiguration } from '../../../llm-providers/_common/register/LlmToolsConfiguration';
import type { string_ip_address } from '../../../types/typeAliases';
import type { string_user_id } from '../../../types/typeAliases';

@@ -10,3 +11,8 @@ import type { ApplicationRemoteServerClientOptions } from '../../types/RemoteServerOptions';

*/
export type Identification<TCustomOptions> = ApplicationModeIdentification<TCustomOptions> | AnonymousModeIdentification;
export type Identification<TCustomOptions> = (ApplicationModeIdentification<TCustomOptions> | AnonymousModeIdentification) & {
/**
* Identifier of the IP address of the client
*/
readonly ipAddress?: string_ip_address;
};
/**

@@ -13,0 +19,0 @@ * Application mode is situation when you run known and well-defined books with your own api keys

@@ -11,2 +11,3 @@ import type { Request, Response } from 'express';

import type { string_password } from '../../types/typeAliases';
import type { string_token } from '../../types/typeAliases';
import type { string_user_id } from '../../types/typeAliases';

@@ -105,3 +106,3 @@ import type { ApplicationModeIdentification } from '../socket-types/_subtypes/Identification';

*/
readonly userToken?: string_user_id;
readonly userToken?: string_token;
/**

@@ -108,0 +109,0 @@ * Additional arbitrary options to identify the client or to pass custom metadata

@@ -420,2 +420,9 @@ import type { TupleToUnion } from 'type-fest';

*
* For example `"192.168.1.1"` (IPv4)
* For example `"2001:0db8:85a3:0000:0000:8a2e:0370:7334"` (IPv6)
*/
export type string_ip_address = string;
/**
* Semantic helper
*
* For example `"pavol@hejny.org"`

@@ -422,0 +429,0 @@ */

{
"name": "@promptbook/browser",
"version": "0.89.0-32",
"version": "0.89.0-33",
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",

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

"peerDependencies": {
"@promptbook/core": "0.89.0-32"
"@promptbook/core": "0.89.0-33"
},

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

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

*/
const PROMPTBOOK_ENGINE_VERSION = '0.89.0-32';
const PROMPTBOOK_ENGINE_VERSION = '0.89.0-33';
/**

@@ -28,0 +28,0 @@ * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine