Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
3b95a96
chore: sync repo
stainless-app[bot] Aug 30, 2025
9ea85e3
chore: update SDK settings
stainless-app[bot] Aug 30, 2025
ace1909
feat(api): manual updates
stainless-app[bot] Aug 30, 2025
693e3cf
feat(api): manual updates
stainless-app[bot] Aug 30, 2025
8986981
feat(api): manual updates
stainless-app[bot] Aug 30, 2025
4d7286a
feat(api): manual updates
stainless-app[bot] Aug 31, 2025
c1bc59b
feat(api): manual updates
stainless-app[bot] Aug 31, 2025
6a0ff10
base
manu4543 Aug 31, 2025
76fedd8
Add unit tests for image transformations and overlays
manu4543 Aug 31, 2025
ef30e9c
refactor(tests): remove redundant helper tests
manu4543 Aug 31, 2025
e4adc14
refactor(transformation-utils): replace safeBtoa implementation with …
manu4543 Aug 31, 2025
788885c
chore: lint and format fix
manu4543 Aug 31, 2025
cc1a4c0
refactor(helper): remove console error logging in Helper class
manu4543 Aug 31, 2025
a18331d
refactor(tests): update URL generation test to include new aiEdit tra…
manu4543 Aug 31, 2025
2e7211e
refactor(tests): remove unused imports from URL generation test files
manu4543 Sep 1, 2025
55d2dd1
feat(api): add signed URL options with expiration settings to enhance…
stainless-app[bot] Sep 1, 2025
b1594d8
feat: add url signing and test cases
manu4543 Sep 1, 2025
297bb95
feat(helper): implement getAuthenticationParameters method and test c…
manu4543 Sep 1, 2025
7a2bc8f
feat(docs): add URL generation examples and authentication parameters…
manu4543 Sep 1, 2025
21caa93
fix(docs): add missing commas in URL generation examples for clarity
manu4543 Sep 1, 2025
dd98040
feat(api): add new webhook events for upload transformations to enhan…
stainless-app[bot] Sep 1, 2025
cfce32f
feat: implement serializeUploadOptions function for upload option ser…
manu4543 Sep 1, 2025
96c640d
feat(api): add ai-auto-description field with status options to compo…
stainless-app[bot] Sep 1, 2025
188eeee
feat(tests): add tests for transformation handling with absolute URLs…
manu4543 Sep 1, 2025
2f37641
feat(tests): add test for transformationPosition as path in signed UR…
manu4543 Sep 1, 2025
7ab6b37
feat(docs): improve descriptions for private API key and password fie…
stainless-app[bot] Sep 1, 2025
8b0bb87
codegen metadata
stainless-app[bot] Sep 1, 2025
636a5a9
feat(api): manual updates
stainless-app[bot] Sep 1, 2025
1b740df
feat(api): manual updates
stainless-app[bot] Sep 1, 2025
3d0571d
feat(webhooks): use toBase64 for webhook key in verification
manu4543 Sep 1, 2025
8c90b73
codegen metadata
stainless-app[bot] Sep 1, 2025
f243bc9
codegen metadata
stainless-app[bot] Sep 1, 2025
13c716e
fix(webhooks): revert toBase64 conversion for webhook key
manu4543 Sep 2, 2025
433eb44
feat(webhooks): use toBase64 for webhook key in verification
manu4543 Sep 2, 2025
dac30e1
feat(api): add BaseWebhookEvent
stainless-app[bot] Sep 2, 2025
174eee8
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
e86ea59
codegen metadata
stainless-app[bot] Sep 2, 2025
4efbfee
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
f70d1c2
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
64fc454
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
5977b77
codegen metadata
stainless-app[bot] Sep 2, 2025
1d0423a
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
50c8520
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
dc932e3
feat(api): manual updates
stainless-app[bot] Sep 3, 2025
679d877
codegen metadata
stainless-app[bot] Sep 3, 2025
9d913fa
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
01bdaa0
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
76f3ed7
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
d208673
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
e865520
codegen metadata
stainless-app[bot] Sep 4, 2025
c6a7e04
codegen metadata
stainless-app[bot] Sep 4, 2025
4928227
release: 7.0.0-alpha.1
stainless-app[bot] Sep 4, 2025
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
9 changes: 0 additions & 9 deletions .babelrc

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"]
}
}
}
88 changes: 88 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
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/imagekit-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
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/imagekit-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/imagekit-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/imagekit-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4

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

- name: Bootstrap
run: ./scripts/bootstrap

- name: Run tests
run: ./scripts/test
28 changes: 0 additions & 28 deletions .github/workflows/nodejs.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/npmpublish.yml

This file was deleted.

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 == 'imagekit-developer/imagekit-nodejs' && (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:
21 changes: 8 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
.prism.log
node_modules
.vscode
.nyc_output
coverage.lcov
coverage
.DS_Store
dist*
tests/e2e/node-js/package.json
tests/e2e/node-js/yarn.lock
tests/e2e/typescript/package.json
tests/e2e/typescript/yarn.lock
tests/e2e/typescript/index.js
.cache
yarn-error.log
*.tgz
codegen.log
Brewfile.lock.json
dist
dist-deno
/*.tgz
.idea/

5 changes: 0 additions & 5 deletions .mocharc.json

This file was deleted.

19 changes: 0 additions & 19 deletions .npmignore

This file was deleted.

4 changes: 0 additions & 4 deletions .nycrc

This file was deleted.

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 @@
{
".": "7.0.0-alpha.1"
}
4 changes: 4 additions & 0 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
configured_endpoints: 42
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-bc7c0d27962b30c19c778656988e154b54696819389289f34420a5e5fdfbd3b8.yml
openapi_spec_hash: 1bfde02a63416c036e9545927f727459
config_hash: a652d68098d82eaf611a49507fb4b831
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
brew "node"
Loading