Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/config.json

This file was deleted.

15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Development",
"image": "mcr.microsoft.com/devcontainers/typescript-node:latest",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},
"postCreateCommand": "yarn install",
"customizations": {
"vscode": {
"extensions": ["esbenp.prettier-vscode"]
}
}
}
10 changes: 0 additions & 10 deletions .env

This file was deleted.

84 changes: 84 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/img-processing-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Bootstrap
run: ./scripts/bootstrap

- name: Check types
run: ./scripts/lint

build:
timeout-minutes: 5
name: build
runs-on: ${{ github.repository == 'stainless-sdks/img-processing-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Bootstrap
run: ./scripts/bootstrap

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

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/img-processing-typescript'
id: github-oidc
uses: actions/github-script@v6
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/img-processing-typescript'
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
run: ./scripts/utils/upload-artifact.sh
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/img-processing-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Bootstrap
run: ./scripts/bootstrap

- name: Build
run: ./scripts/build

- name: Run tests
run: ./scripts/test
20 changes: 20 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release Doctor
on:
pull_request:
branches:
- master
workflow_dispatch:

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'img-processing/node-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.prism.log
node_modules
yarn-error.log
codegen.log
Brewfile.lock.json
dist
.env.keys
dist-deno
/*.tgz
.idea/

7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CHANGELOG.md
/ecosystem-tests/*/**
/node_modules
/deno

# don't format tsc output, will break source maps
dist
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"arrowParens": "always",
"experimentalTernaries": true,
"printWidth": 110,
"singleQuote": true,
"trailingComma": "all"
}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.5.0"
}
4 changes: 4 additions & 0 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
configured_endpoints: 21
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/img-processing%2Fimg-processing-2de16cb63c6e31ae917f726c2e0b8bab9436e89a456ef3f9636651e903d511bf.yml
openapi_spec_hash: f188c6f08bb6b11749c2e76727e27d21
config_hash: f76843b9793565b154c995d2302551ff
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
brew "node"
138 changes: 70 additions & 68 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,70 @@
# img-processing-sdk

## 1.3.0

### Minor Changes

- db57b93: - Added `extractText` method to the client.
- Added new params for `watermark` and `imagine` methods.
- Removed wrong parameter `background_color` from `rotate`.

## 1.2.0

### Minor Changes

- f61d583: Added blur and visualize methods

## 1.1.0

### Minor Changes

- 3f7ecbd: Add delete method

## 1.0.0

### Major Changes

- fedd857: First release

## 0.5.0

### Minor Changes

- 62e496e: Early preview

## 0.4.0

### Minor Changes

- 9272f36: Tested library methods

## 0.3.0

### Minor Changes

- db5aec6: Changed package name
- db5aec6: Initial package

### Patch Changes

- db5aec6: Optional remove background param

## 0.2.0

### Minor Changes

- Changed package name
- Initial package

### Patch Changes

- Optional remove background param

## 0.1.0

### Minor Changes

- Changed package name
- Initial package
# Changelog

## 1.5.0 (2025-06-15)

Full Changelog: [v1.4.0...v1.5.0](https://github.com/img-processing/node-sdk/compare/v1.4.0...v1.5.0)

### Features

* access methods ([d8c8ca4](https://github.com/img-processing/node-sdk/commit/d8c8ca4f840a2cdabf0091f9cf1e5e37782cb882))
* added biome ([6e1f718](https://github.com/img-processing/node-sdk/commit/6e1f718146eeda46fc873c1dbf019ae6f78a9baf))
* added blur ([7314cf9](https://github.com/img-processing/node-sdk/commit/7314cf9f5192ff916cb5b3457aba4c23c48c159f))
* added blur ([4c050fe](https://github.com/img-processing/node-sdk/commit/4c050feef16a21fbd0977313ed80ec6cbc066101))
* added changesets ([fd0f355](https://github.com/img-processing/node-sdk/commit/fd0f3559fd8bc713175d7dd8ca2da198165463b4))
* added changesets ([6743a73](https://github.com/img-processing/node-sdk/commit/6743a73c48280284b1a1bf40bd223f8175f38672))
* added delete method ([76fadb3](https://github.com/img-processing/node-sdk/commit/76fadb31bdbbf309c982b03d790f6fc808ec4830))
* added extract formatted text ([#3](https://github.com/img-processing/node-sdk/issues/3)) ([4dfa9eb](https://github.com/img-processing/node-sdk/commit/4dfa9eb446d82d4e4fdbf00d9289d2adec946345))
* added prepublish script ([d377a5a](https://github.com/img-processing/node-sdk/commit/d377a5a4c1c30bed79b4bec47965da164e9f8028))
* analysis ([f68098a](https://github.com/img-processing/node-sdk/commit/f68098aa1ab1662a4f27617cb3df6ea732c4ade9))
* analysis function ([21ffa3c](https://github.com/img-processing/node-sdk/commit/21ffa3cf4e12c501d675f6b89170cdc4300510f1))
* changed package name ([77f4aa7](https://github.com/img-processing/node-sdk/commit/77f4aa72beb46bde9568c9fd70a6f45c515f1e0f))
* changed package name ([fceb5c9](https://github.com/img-processing/node-sdk/commit/fceb5c96e4db021c845c6499f47ad693a4f25273))
* creation methods ([225696e](https://github.com/img-processing/node-sdk/commit/225696e56f74e76bcf7ae89beec21f852f1ad4e3))
* download ([e834148](https://github.com/img-processing/node-sdk/commit/e83414866210c41f8d87e190825feef2f6e89eab))
* edition methods ([79bf2b7](https://github.com/img-processing/node-sdk/commit/79bf2b796642303534d57a2c6114c47bab0eb507))
* edition methods ([6c61103](https://github.com/img-processing/node-sdk/commit/6c61103ade656f8f20eb8c490df353597d95b133))
* finished image creation ([c4ef375](https://github.com/img-processing/node-sdk/commit/c4ef3755677372b706e9318d216b849d5bf207f7))
* finished transformation endpoints ([596d089](https://github.com/img-processing/node-sdk/commit/596d089a631affbed5972786570bbb39219af75c))
* finished upload ([4aa3255](https://github.com/img-processing/node-sdk/commit/4aa3255567c663d297d9388744a2702dd68b1554))
* optional params on remove image background ([0bed71b](https://github.com/img-processing/node-sdk/commit/0bed71b6f47ed52d1f65a1a62c7e468a3b8f32a7))
* paginated results ([72d389c](https://github.com/img-processing/node-sdk/commit/72d389c19c4ab6d40719fbc4dd25cc220b4f8ade))
* publish and unpublish ([99ced0a](https://github.com/img-processing/node-sdk/commit/99ced0a22e43b166c78382876bd9fe1267cad497))
* resize ([fd283b2](https://github.com/img-processing/node-sdk/commit/fd283b23f7e63be7bde1db3b90cb7b189d96dc11))
* starting client ([dabfb17](https://github.com/img-processing/node-sdk/commit/dabfb17134a083b6dfc32c4d5d68f76494ae2b34))
* starting package ([70a11f4](https://github.com/img-processing/node-sdk/commit/70a11f463521ce69b9a42c3291a8a2fa48947e38))
* starting sdk documentation ([1840ccb](https://github.com/img-processing/node-sdk/commit/1840ccb4fe5a0a9961aec03f92be35719cef976d))
* transformation ([05a935d](https://github.com/img-processing/node-sdk/commit/05a935d2c813447d24eda76be84e0a7abbcd688f))
* transformation tests 1 ([1c87cf5](https://github.com/img-processing/node-sdk/commit/1c87cf5ec22aeb43030534e4c5f4bfb3a29f01db))
* transformation tests 2 ([f7054f1](https://github.com/img-processing/node-sdk/commit/f7054f12c708c1a0aab7c9e9b38ed4a6ea1d1aad))


### Bug Fixes

* imagine ([141b14a](https://github.com/img-processing/node-sdk/commit/141b14aee604c3b41d185478c32cd6439ee0fac6))
* imports ([3ce4619](https://github.com/img-processing/node-sdk/commit/3ce46196dc6fb97ef8649c5a155c340aa565689f))
* readme ([efe1942](https://github.com/img-processing/node-sdk/commit/efe19428c36dddd7705ef7daf31e20075ae6b675))
* tests ([cecc9b1](https://github.com/img-processing/node-sdk/commit/cecc9b16924456beb5284a46051faf947518b98e))
* watermark ([0526b54](https://github.com/img-processing/node-sdk/commit/0526b541ffa86ff37494316cb162bd8aeb9b1fa9))
* watermark ([4417b4c](https://github.com/img-processing/node-sdk/commit/4417b4cd3f794f2152ed6d72af663e161d6b7b94))
* wrong parameter on mirror ([a26b46b](https://github.com/img-processing/node-sdk/commit/a26b46b94463b63caf4e9ae5026c0c1978706502))


### Chores

* contributing guidelines ([042355a](https://github.com/img-processing/node-sdk/commit/042355a6530ebb8e2879eea0f405c7d21de80906))
* first release ([ddbfaf3](https://github.com/img-processing/node-sdk/commit/ddbfaf33b7b11ee9e5f8dd23b357572bbfd8d11f))
* npm publish ([28c4744](https://github.com/img-processing/node-sdk/commit/28c474436a2ca58263e1792cb23d962e61501613))
* publish ([9819ab8](https://github.com/img-processing/node-sdk/commit/9819ab80281f1cc7265ff98db42296a02e4dbbf7))
* run linter ([66fab36](https://github.com/img-processing/node-sdk/commit/66fab36e646c3e7d4a9ad14e1858eff06a6fdc7b))
* sync repo ([5d7b1d6](https://github.com/img-processing/node-sdk/commit/5d7b1d689e62db4c81f972519ecc69cb3944c773))
* update SDK settings ([d884c24](https://github.com/img-processing/node-sdk/commit/d884c2441a0e957fb4c6c69aa7df3b46ffdde346))
* update SDK settings ([f6461a9](https://github.com/img-processing/node-sdk/commit/f6461a9cba9c7fff945449e47de02b576a93fee1))
* update SDK settings ([45e10d8](https://github.com/img-processing/node-sdk/commit/45e10d8a8415d4c43898e504502dd71a489bb9d0))


### Documentation

* **changeset:** - Added `extractText` method to the client. ([db57b93](https://github.com/img-processing/node-sdk/commit/db57b9376b123cd056ff9374e10b3fea5252a708))
* **changeset:** Changed package name ([96586bb](https://github.com/img-processing/node-sdk/commit/96586bbb38512cc98dca4be88038dc996a876245))
* **changeset:** Initial package ([70aae6d](https://github.com/img-processing/node-sdk/commit/70aae6d204b65d0cacf8840b51f7d33a0e258ab1))
* **changeset:** Optional remove background param ([e6107e7](https://github.com/img-processing/node-sdk/commit/e6107e7a1c33e23538af56174412df6c07f42a91))
Loading