-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5de7753
commit e1a6688
Showing
49 changed files
with
398 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
node_modules | ||
yarn-error.log | ||
codegen.log | ||
Brewfile.lock.json | ||
dist | ||
/deno | ||
/*.tgz | ||
.idea/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CHANGELOG.md | ||
/ecosystem-tests | ||
/ecosystem-tests/*/** | ||
/node_modules | ||
/deno | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
configured_endpoints: 6 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-0a3089666368ff1ff668f2a73ea3b40d8b20420d8403a18579a1168dd67f2220.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
brew "node" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Security Policy | ||
|
||
## Reporting Security Issues | ||
|
||
This SDK is generated by [Stainless Software Inc](http://stainlessapi.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken. | ||
|
||
To report a security issue, please contact the Stainless team at [email protected]. | ||
|
||
## Responsible Disclosure | ||
|
||
We appreciate the efforts of security researchers and individuals who help us maintain the security of | ||
SDKs we generate. If you believe you have found a security vulnerability, please adhere to responsible | ||
disclosure practices by allowing us a reasonable amount of time to investigate and address the issue | ||
before making any information public. | ||
|
||
## Reporting Non-SDK Related Security Issues | ||
|
||
If you encounter security issues that are not directly related to SDKs but pertain to the services | ||
or products provided by Groq please follow the respective company's security reporting guidelines. | ||
|
||
### Groq Terms and Policies | ||
|
||
Please contact [email protected] for any questions or concerns regarding security of our services. | ||
|
||
--- | ||
|
||
Thank you for helping us keep the SDKs and systems they interact with secure. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,34 +8,35 @@ | |
"type": "commonjs", | ||
"repository": "github:groq/groq-typescript", | ||
"license": "Apache-2.0", | ||
"packageManager": "[email protected].21", | ||
"packageManager": "[email protected].22", | ||
"files": [ | ||
"*" | ||
], | ||
"private": false, | ||
"scripts": { | ||
"test": "bin/check-test-server && yarn jest", | ||
"build": "bash ./build", | ||
"test": "./scripts/test", | ||
"build": "./scripts/build", | ||
"prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", | ||
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", | ||
"format": "prettier --write --cache --cache-strategy metadata . !dist", | ||
"prepare": "if ./scripts/check-is-in-git-install.sh; then npm run build; fi", | ||
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build; fi", | ||
"tsn": "ts-node -r tsconfig-paths/register", | ||
"lint": "eslint --ext ts,js .", | ||
"lint": "./scripts/lint", | ||
"fix": "eslint --fix --ext ts,js ." | ||
}, | ||
"dependencies": { | ||
"@types/node": "^18.11.18", | ||
"@types/node-fetch": "^2.6.4", | ||
"abort-controller": "^3.0.0", | ||
"agentkeepalive": "^4.2.1", | ||
"digest-fetch": "^1.3.0", | ||
"form-data-encoder": "1.7.2", | ||
"formdata-node": "^4.3.2", | ||
"node-fetch": "^2.6.7", | ||
"web-streams-polyfill": "^3.2.1" | ||
}, | ||
"devDependencies": { | ||
"@swc/core": "^1.3.102", | ||
"@swc/jest": "^0.2.29", | ||
"@types/jest": "^29.4.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
"@typescript-eslint/parser": "^6.7.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then | ||
brew bundle check >/dev/null 2>&1 || { | ||
echo "==> Installing Homebrew dependencies…" | ||
brew bundle | ||
} | ||
fi | ||
|
||
echo "==> Installing Node dependencies…" | ||
|
||
PACKAGE_MANAGER=$(command -v yarn >/dev/null 2>&1 && echo "yarn" || echo "npm") | ||
|
||
$PACKAGE_MANAGER install |
Oops, something went wrong.