Skip to content

Commit 3a48970

Browse files
committed
fix: File rename
1 parent 5394d67 commit 3a48970

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"lint": "npx eslint 'src/**/*.{ts,tsx}' --no-ignore",
1919
"format": "prettier --write \"src/**/*.ts\"",
2020
"prepare": "npm run build",
21-
"example": "npx tsx src/script.ts"
21+
"example": "npx tsx src/example.ts"
2222
},
2323
"files": [
2424
"dist"

src/script.ts renamed to src/example.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { AI21 } from './Client';
22

3+
/*
4+
This is a temporary example to test the API streaming/non-streaming functionality.
5+
*/
36
async function main() {
47
const client = new AI21('L40MQGXxfbtQVnCRqNTTKaojD8Snt7nQ');
58

0 commit comments

Comments
 (0)