Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v6.11.0 #503

Merged
merged 6 commits into from
Nov 30, 2023
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
REST_CLIENT_DEFAULT_PUBLIC_KEY: ${{ secrets.REST_CLIENT_DEFAULT_PUBLIC_KEY }}
REST_CLIENT_DEFAULT_SECRET_KEY: ${{ secrets.REST_CLIENT_DEFAULT_SECRET_KEY }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: 16
- uses: dorny/paths-filter@v2
id: changes
with:
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# [6.11.0](https://github.com/uploadcare/uploadcare-js-api-clients/compare/v6.10.0...v6.11.0) (2023-11-15)


### Features

* **rest-client:** add AWS Rekognition Moderation addon ([67a01dc](https://github.com/uploadcare/uploadcare-js-api-clients/commit/67a01dcd759509261180d01cc938e71021971a8d))


# [6.10.0](https://github.com/uploadcare/uploadcare-js-api-clients/compare/v6.9.0...v6.10.0) (2023-11-14)


Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@uploadcare/api-clients",
"private": true,
"type": "module",
"version": "6.10.0",
"version": "6.11.0",
"license": "MIT",
"workspaces": [
"packages/api-client-utils",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uploadcare/api-client-utils",
"version": "6.10.0",
"version": "6.11.0",
"type": "module",
"main": "./dist/cjs/index.browser.cjs",
"module": "./dist/esm/index.browser.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client-utils/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '6.10.0'
export default '6.11.0'
4 changes: 2 additions & 2 deletions packages/rest-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uploadcare/rest-client",
"version": "6.10.0",
"version": "6.11.0",
"description": "Library for work with Uploadcare Rest API",
"type": "module",
"main": "./dist/cjs/index.node.cjs",
Expand Down Expand Up @@ -56,7 +56,7 @@
"devDependencies": {
"@types/blueimp-md5": "^2.18.0",
"@types/node-fetch": "^2.6.2",
"@uploadcare/upload-client": "^6.10.0",
"@uploadcare/upload-client": "^6.11.0",
"ts-node": "^10.8.1"
},
"dependencies": {
Expand Down
8 changes: 6 additions & 2 deletions packages/rest-client/src/tools/addonJobPoller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ describe('addonJobPoller', () => {
testSettings
)

expect(result.error).toBeFalse()
expect(result.result?.data).toBeTruthy()
if (result.error) {
expect(result.result).toBe(null)
} else {
expect(result.error).toBeFalse()
expect(result.result?.data).toBeTruthy()
}
})

it('should accept onRun and onStatus callbacks', async () => {
Expand Down
1 change: 1 addition & 0 deletions packages/rest-client/src/tools/addonJobPoller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const addonJobPoller = async <T extends ValueOf<typeof AddonName>>(
},
isJobFinished: (statusResponse) =>
statusResponse.status === AddonExecutionStatus.DONE,
// TODO: handle unknown status
isJobFailed: (statusResponse) =>
statusResponse.status === AddonExecutionStatus.ERROR,
getResult: async (job) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-client/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '6.10.0'
export default '6.11.0'
2 changes: 1 addition & 1 deletion packages/signed-uploads/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uploadcare/signed-uploads",
"version": "6.10.0",
"version": "6.11.0",
"description": "Library for work with Uploadcare Signed Uploads",
"type": "module",
"main": "./dist/cjs/index.node.cjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/upload-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uploadcare/upload-client",
"version": "6.10.0",
"version": "6.11.0",
"description": "Library for work with Uploadcare Upload API",
"type": "module",
"module": "./dist/esm/index.node.mjs",
Expand Down Expand Up @@ -90,7 +90,7 @@
"koa-body": "5.0.0",
"mock-socket": "9.0.3",
"start-server-and-test": "1.14.0",
"@uploadcare/api-client-utils": "^6.10.0",
"@uploadcare/api-client-utils": "^6.11.0",
"chalk": "^4.1.2"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-client/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '6.10.0'
export default '6.11.0'
Loading