@promptbook/openai 0.44.0-16 → 0.44.0-17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,11 +50,12 @@ export { splitIntoSentences };
50
50
  export declare const normalizeTo: {
51
51
  camelCase: typeof normalizeTo_camelCase;
52
52
  PascalCase: typeof normalizeTo_PascalCase;
53
- 'SCREAMING-CASE': typeof normalizeTo_SCREAMING_CASE;
53
+ SCREAMING_CASE: typeof normalizeTo_SCREAMING_CASE;
54
54
  snake_case: typeof normalizeTo_snake_case;
55
55
  'kebab-case': typeof normalizeToKebabCase;
56
56
  };
57
57
  export { capitalize, decapitalize, DIACRITIC_VARIANTS_LETTERS, IKeywords, isValidKeyword, nameToUriPart, nameToUriParts, normalizeTo_camelCase, normalizeTo_PascalCase, normalizeTo_SCREAMING_CASE, normalizeTo_snake_case, normalizeToKebabCase, normalizeWhitespaces, parseKeywords, parseKeywordsFromString, removeDiacritics, searchKeywords, string_keyword, };
58
58
  /**
59
59
  * TODO: [🧠] Maybe create some indipendent package like `markdown-tools` from both here exported and @private utilities
60
+ * Note: [🕙] It does not make sence to have simple lower / UPPER case normalization
60
61
  */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Converts anything to string that can be used for debugging and logging
3
+ *
4
+ * @param value String value for logging
5
+ * @private Internal util
6
+ */
7
+ export declare function unknownToString(value: unknown): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/openai",
3
- "version": "0.44.0-16",
3
+ "version": "0.44.0-17",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -38,7 +38,7 @@
38
38
  "openai": "4.2.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@promptbook/core": "0.44.0-16"
41
+ "@promptbook/core": "0.44.0-17"
42
42
  },
43
43
  "main": "./umd/index.umd.js",
44
44
  "module": "./esm/index.es.js",
@@ -50,11 +50,12 @@ export { splitIntoSentences };
50
50
  export declare const normalizeTo: {
51
51
  camelCase: typeof normalizeTo_camelCase;
52
52
  PascalCase: typeof normalizeTo_PascalCase;
53
- 'SCREAMING-CASE': typeof normalizeTo_SCREAMING_CASE;
53
+ SCREAMING_CASE: typeof normalizeTo_SCREAMING_CASE;
54
54
  snake_case: typeof normalizeTo_snake_case;
55
55
  'kebab-case': typeof normalizeToKebabCase;
56
56
  };
57
57
  export { capitalize, decapitalize, DIACRITIC_VARIANTS_LETTERS, IKeywords, isValidKeyword, nameToUriPart, nameToUriParts, normalizeTo_camelCase, normalizeTo_PascalCase, normalizeTo_SCREAMING_CASE, normalizeTo_snake_case, normalizeToKebabCase, normalizeWhitespaces, parseKeywords, parseKeywordsFromString, removeDiacritics, searchKeywords, string_keyword, };
58
58
  /**
59
59
  * TODO: [🧠] Maybe create some indipendent package like `markdown-tools` from both here exported and @private utilities
60
+ * Note: [🕙] It does not make sence to have simple lower / UPPER case normalization
60
61
  */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Converts anything to string that can be used for debugging and logging
3
+ *
4
+ * @param value String value for logging
5
+ * @private Internal util
6
+ */
7
+ export declare function unknownToString(value: unknown): string;