Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
406
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.21.1 to 0.22.0

esm/typings/utils/isValidJsonString.d.ts

3

esm/typings/_packages/utils.index.d.ts
import { EMOJIS, EMOJIS_IN_CATEGORIES } from '../utils/emojis';
import { isValidJsonString } from '../utils/isValidJsonString';
import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown';

@@ -12,2 +13,2 @@ import { extractBlocksFromMarkdown } from '../utils/markdown/extractBlocksFromMarkdown';

import { unwrapResult } from '../utils/unwrapResult';
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };

@@ -11,5 +11,1 @@ import { string_template } from '.././types/typeAliases';

export declare function replaceParameters(template: string_template, parameters: Parameters): string;
/**
* TODO: [🧠] More advanced templating
* TODO: [🧠] Maybe use some template engine / library not own simple implementation
*/
{
"name": "@promptbook/remote-client",
"version": "0.21.1",
"version": "0.22.0",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.21.1"
"@promptbook/core": "0.22.0"
},

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

import { EMOJIS, EMOJIS_IN_CATEGORIES } from '../utils/emojis';
import { isValidJsonString } from '../utils/isValidJsonString';
import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown';

@@ -12,2 +13,2 @@ import { extractBlocksFromMarkdown } from '../utils/markdown/extractBlocksFromMarkdown';

import { unwrapResult } from '../utils/unwrapResult';
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };

@@ -11,5 +11,1 @@ import { string_template } from '.././types/typeAliases';

export declare function replaceParameters(template: string_template, parameters: Parameters): string;
/**
* TODO: [🧠] More advanced templating
* TODO: [🧠] Maybe use some template engine / library not own simple implementation
*/
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