promptgun 0.11.0 → 0.11.1

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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,7 +22,8 @@ const count /* type: number */ = await ai
22
22
  .chat('How many countries are in the EU')
23
23
  .getNumber()
24
24
  ```
25
- Promptgun will both tell the LLM what shape its output data should be, parse that data to JS types and –if you use Typescript– return the matching Typescript type.
25
+ Promptgun will both tell the LLM what shape its output data should be, parse that data to JS types
26
+ and correctly Typescript-type the output!
26
27
 
27
28
  You can do this for types of any complexity:
28
29
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptgun",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "type": "module",
5
5
  "exports": "./build/index.js",
6
6
  "types": "./build/index.d.ts",