diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5e39b941..513fac0e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.18.0" + ".": "0.18.1" } diff --git a/.stats.yml b/.stats.yml index fd89ab9f..21a1b4e0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,3 +1,3 @@ configured_endpoints: 18 openapi_spec_hash: 153617b7252b1b12f21043b2a1246f8b -config_hash: 17273d9cdf0ccee9058e7cb737fa8539 +config_hash: 6dcf08c4324405f152d1da9fc11ab04a diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e7447a4..4832762f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.18.1 (2025-10-07) + +Full Changelog: [v0.18.0...v0.18.1](https://github.com/openlayer-ai/openlayer-ts/compare/v0.18.0...v0.18.1) + +### Chores + +* **internal:** use npm pack for build uploads ([fca405f](https://github.com/openlayer-ai/openlayer-ts/commit/fca405ff655d33d21ea2eb9097f969574fed46da)) +* **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the packageā€˜s public interface ([2acf567](https://github.com/openlayer-ai/openlayer-ts/commit/2acf5677a5ec1a312ea6dcdefd962f02510480de)) + ## 0.18.0 (2025-10-02) Full Changelog: [v0.17.1...v0.18.0](https://github.com/openlayer-ai/openlayer-ts/compare/v0.17.1...v0.18.0) diff --git a/package-lock.json b/package-lock.json index 1a7c61f0..aa824521 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openlayer", - "version": "0.18.0", + "version": "0.18.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "openlayer", - "version": "0.18.0", + "version": "0.18.1", "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-bedrock-agent-runtime": "^3.862.0", diff --git a/package.json b/package.json index 6b9e436c..58c1512a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openlayer", - "version": "0.18.0", + "version": "0.18.1", "description": "The official TypeScript library for the Openlayer API", "author": "Openlayer ", "types": "dist/index.d.ts", diff --git a/scripts/utils/upload-artifact.sh b/scripts/utils/upload-artifact.sh index a38bd555..555276dc 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 245e8493..30eada32 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 74131f9d..53b4ff42 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.18.0'; // x-release-please-version +export const VERSION = '0.18.1'; // x-release-please-version