Skip to content

Commit 6176a97

Browse files
stainless-app[bot]Stainless Bot
and
Stainless Bot
authored
release: 0.8.0 (#123)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Stainless Bot <[email protected]>
1 parent ab82c0a commit 6176a97

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+545
-275
lines changed

.devcontainer/Dockerfile

100755100644
File mode changed.

.devcontainer/devcontainer.json

100755100644
File mode changed.

.eslintrc.js

100755100644
File mode changed.

.github/workflows/ci.yml

100755100644
+4-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
with:
2323
node-version: '18'
2424

25-
- name: Install dependencies
26-
run: yarn install
25+
- name: Bootstrap
26+
run: ./scripts/bootstrap
2727

2828
- name: Check types
2929
run: ./scripts/lint
@@ -41,8 +41,8 @@ jobs:
4141
with:
4242
node-version: '18'
4343

44-
- name: Install dependencies
45-
run: yarn install
44+
- name: Bootstrap
45+
run: ./scripts/bootstrap
4646

4747
- name: Check build
4848
run: ./scripts/build

.github/workflows/publish-npm.yml

100755100644
File mode changed.

.github/workflows/release-doctor.yml

100755100644
File mode changed.

.gitignore

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ yarn-error.log
44
codegen.log
55
Brewfile.lock.json
66
dist
7-
/deno
7+
dist-deno
88
/*.tgz
99
.idea/
1010

.prettierignore

100755100644
File mode changed.

.prettierrc.json

100755100644
File mode changed.

.release-please-manifest.json

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.7.0"
2+
".": "0.8.0"
33
}

.stats.yml

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-1f0d266ba97b03672f10d33a6dc6e324af9a95646f978ffbff6a31f3907bbfe7.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-2e2427d7a1c97af4cb989c736fabccf1531532dd3487d330c851db96d6c5da1c.yml

Brewfile

100755100644
File mode changed.

CHANGELOG.md

100755100644
+22

CODEOWNERS

100755100644
File mode changed.

CONTRIBUTING.md

100755100644
+27-27

LICENSE

100755100644
File mode changed.

README.md

100755100644
+12-2

SECURITY.md

100755100644
File mode changed.

api.md

100755100644
File mode changed.

bin/check-release-environment

100755100644
File mode changed.

bin/publish-npm

100755100644
File mode changed.

examples/.keep

100755100644
File mode changed.

examples/chat_completion.js

100755100644
File mode changed.

examples/chat_completion_stop.js

100755100644
File mode changed.

examples/chat_completion_streaming.js

100755100644
File mode changed.

jest.config.ts

100755100644
File mode changed.

package.json

100755100644
+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "groq-sdk",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "The official TypeScript library for the Groq API",
55
"author": "Groq <[email protected]>",
66
"types": "dist/index.d.ts",
@@ -10,7 +10,7 @@
1010
"license": "Apache-2.0",
1111
"packageManager": "[email protected]",
1212
"files": [
13-
"*"
13+
"**/*"
1414
],
1515
"private": false,
1616
"scripts": {
@@ -41,6 +41,7 @@
4141
"eslint": "^8.49.0",
4242
"eslint-plugin-prettier": "^5.0.1",
4343
"eslint-plugin-unused-imports": "^3.0.0",
44+
"iconv-lite": "^0.6.3",
4445
"jest": "^29.4.0",
4546
"prettier": "^3.0.0",
4647
"ts-jest": "^29.1.0",

release-please-config.json

100755100644
File mode changed.

scripts/build

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ node scripts/utils/postprocess-files.cjs
5050
(cd dist && node -e 'require("groq-sdk")')
5151
(cd dist && node -e 'import("groq-sdk")' --input-type=module)
5252

53-
if command -v deno &> /dev/null && [ -e ./scripts/build-deno ]
53+
if [ -e ./scripts/build-deno ]
5454
then
5555
./scripts/build-deno
5656
fi

scripts/lint

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ cd "$(dirname "$0")/.."
66

77
echo "==> Running eslint"
88
ESLINT_USE_FLAT_CONFIG="false" ./node_modules/.bin/eslint --ext ts,js .
9+
10+
echo "==> Running tsc"
11+
./node_modules/.bin/tsc --noEmit

scripts/utils/check-version.cjs

100755100644
File mode changed.

scripts/utils/fix-index-exports.cjs

100755100644
File mode changed.

scripts/utils/make-dist-package-json.cjs

100755100644
File mode changed.

scripts/utils/postprocess-files.cjs

100755100644
File mode changed.

src/_shims/MultipartBody.ts

100755100644
File mode changed.

src/_shims/README.md

100755100644
File mode changed.

src/_shims/auto/runtime-bun.ts

100755100644
File mode changed.

src/_shims/auto/runtime-deno.ts

100755100644
File mode changed.

src/_shims/auto/runtime-node.ts

100755100644
File mode changed.

src/_shims/auto/runtime.ts

100755100644
File mode changed.

src/_shims/auto/types-deno.ts

100755100644
File mode changed.

src/_shims/auto/types-node.ts

100755100644
File mode changed.

src/_shims/auto/types.d.ts

100755100644
File mode changed.

src/_shims/auto/types.js

100755100644
File mode changed.

src/_shims/auto/types.mjs

100755100644
File mode changed.

src/_shims/bun-runtime.ts

100755100644
File mode changed.

src/_shims/index-deno.ts

100755100644
File mode changed.

src/_shims/index.d.ts

100755100644
File mode changed.

src/_shims/index.js

100755100644
File mode changed.

src/_shims/index.mjs

100755100644
File mode changed.

src/_shims/manual-types.d.ts

100755100644
File mode changed.

src/_shims/manual-types.js

100755100644
File mode changed.

src/_shims/manual-types.mjs

100755100644
File mode changed.

src/_shims/node-runtime.ts

100755100644
File mode changed.

src/_shims/node-types.d.ts

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as fd from 'formdata-node';
77
export { type Agent } from 'node:http';
88
export { type Readable } from 'node:stream';
99
export { type ReadStream as FsReadStream } from 'node:fs';
10-
export { ReadableStream } from 'web-streams-polyfill';
10+
export { ReadableStream } from 'node:stream/web';
1111

1212
export const fetch: typeof nf.default;
1313

src/_shims/node-types.js

100755100644
File mode changed.

src/_shims/node-types.mjs

100755100644
File mode changed.

src/_shims/registry.ts

100755100644
File mode changed.

src/_shims/web-runtime.ts

100755100644
File mode changed.

src/_shims/web-types.d.ts

100755100644
File mode changed.

src/_shims/web-types.js

100755100644
File mode changed.

src/_shims/web-types.mjs

100755100644
File mode changed.

0 commit comments

Comments
 (0)