@hasura/promptql 2.0.0-alpha.1 → 2.0.0-alpha.2

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.
@@ -0,0 +1,16 @@
1
+ $ tsup src/index.ts --minify --clean --format cjs,esm --dts
2
+ CLI Building entry: src/index.ts
3
+ CLI Using tsconfig: tsconfig.json
4
+ CLI tsup v8.5.1
5
+ CLI Target: es2022
6
+ CLI Cleaning output folder
7
+ CJS Build start
8
+ ESM Build start
9
+ ESM dist/index.mjs 20.78 KB
10
+ ESM ⚡️ Build success in 108ms
11
+ CJS dist/index.js 22.94 KB
12
+ CJS ⚡️ Build success in 112ms
13
+ DTS Build start
14
+ DTS ⚡️ Build success in 5181ms
15
+ DTS dist/index.d.ts 149.48 KB
16
+ DTS dist/index.d.mts 149.48 KB
package/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # PromptQL TypeScript SDK
2
2
 
3
- A TypeScript SDK for interacting with the [PromptQL API](https://promptql.hasura.io) by Hasura. PromptQL enables natural language querying of your data through an AI-powered interface.
3
+ The PromptQL TypeScript SDK is a general-purpose SDK that interacts with the [PromptQL API](https://promptql.hasura.io) by Hasura. PromptQL enables natural language querying of your data through an AI-powered interface.
4
+
5
+ > [!NOTE]
6
+ > This SDK supports PromptQL v2. Please install [@hasura/promptql@1.0.0](https://www.npmjs.com/package/@hasura/promptql/v/1.0.0) if you wants to integrate PromptQL v1.
4
7
 
5
8
  ## Features
6
9
 
@@ -21,20 +24,20 @@ A TypeScript SDK for interacting with the [PromptQL API](https://promptql.hasura
21
24
  ## Installation
22
25
 
23
26
  ```bash
24
- npm install @hasura/promptql
27
+ npm install @hasura/promptql@latest
25
28
  ```
26
29
 
27
30
  Or with your preferred package manager:
28
31
 
29
32
  ```bash
30
33
  # Yarn
31
- yarn add @hasura/promptql
34
+ yarn add @hasura/promptql@latest
32
35
 
33
36
  # pnpm
34
- pnpm add @hasura/promptql
37
+ pnpm add @hasura/promptql@latest
35
38
 
36
39
  # Bun
37
- bun add @hasura/promptql
40
+ bun add @hasura/promptql@latest
38
41
  ```
39
42
 
40
43
  ## Quick Start