diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0ee8c01..816df2d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.0" + ".": "0.3.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 582faba..3e28021 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.3.1 (2025-10-06) + +Full Changelog: [v0.3.0...v0.3.1](https://github.com/meta-llama/llama-api-typescript/compare/v0.3.0...v0.3.1) + +### Chores + +* **internal:** use npm pack for build uploads ([f82fb97](https://github.com/meta-llama/llama-api-typescript/commit/f82fb9739fa19f31a1caf7209b7c17d726799f4d)) +* **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the packageā€˜s public interface ([5e80fb3](https://github.com/meta-llama/llama-api-typescript/commit/5e80fb3d9d408d750b4d2fc0e0b288b62e6e451c)) + ## 0.3.0 (2025-10-01) Full Changelog: [v0.2.3...v0.3.0](https://github.com/meta-llama/llama-api-typescript/compare/v0.2.3...v0.3.0) diff --git a/package.json b/package.json index c0eabfd..741c4bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "llama-api-client", - "version": "0.3.0", + "version": "0.3.1", "description": "The official TypeScript library for the Llama API Client API", "author": "Llama API Client ", "types": "dist/index.d.ts", diff --git a/scripts/utils/upload-artifact.sh b/scripts/utils/upload-artifact.sh index 3a19413..f45a96f 100755 --- a/scripts/utils/upload-artifact.sh +++ b/scripts/utils/upload-artifact.sh @@ -12,9 +12,11 @@ if [[ "$SIGNED_URL" == "null" ]]; then exit 1 fi -UPLOAD_RESPONSE=$(tar "${BASE_PATH:+-C$BASE_PATH}" -cz "${ARTIFACT_PATH:-dist}" | curl -v -X PUT \ +TARBALL=$(cd dist && npm pack --silent) + +UPLOAD_RESPONSE=$(curl -v -X PUT \ -H "Content-Type: application/gzip" \ - --data-binary @- "$SIGNED_URL" 2>&1) + --data-binary "@dist/$TARBALL" "$SIGNED_URL" 2>&1) if echo "$UPLOAD_RESPONSE" | grep -q "HTTP/[0-9.]* 200"; then echo -e "\033[32mUploaded build to Stainless storage.\033[0m" diff --git a/src/internal/to-file.ts b/src/internal/to-file.ts index 245e849..30eada3 100644 --- a/src/internal/to-file.ts +++ b/src/internal/to-file.ts @@ -73,7 +73,7 @@ export type ToFileInput = /** * Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats - * @param value the raw content of the file. Can be an {@link Uploadable}, {@link BlobLikePart}, or {@link AsyncIterable} of {@link BlobLikePart}s + * @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts * @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible * @param {Object=} options additional properties * @param {string=} options.type the MIME type of the content diff --git a/src/version.ts b/src/version.ts index 88f4d40..99a66ad 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.3.0'; // x-release-please-version +export const VERSION = '0.3.1'; // x-release-please-version