Skip to content

Commit d0011b5

Browse files
Merge pull request #107 from renderforest/stage
release 0.1.2
2 parents 812fb04 + 5486c24 commit d0011b5

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@renderforest/sdk-node",
33
"description": "Renderforest SDK for Node.js",
4-
"version": "0.1.1",
4+
"version": "0.1.2",
55
"author": "RenderForest LLC",
66
"bugs": {
77
"url": "https://github.com/renderforest/renderforest-sdk-node/issues"

src/classes/project-data.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,7 @@ class ProjectData {
277277
area.webpPath = webpPath
278278
area.fileType = fileType
279279
area.thumbnailPath = thumbnailPath
280-
area.imageCropParams = {
281-
transform: `rotate(${transform}deg)`,
282-
top: `${top}px`,
283-
left: `${left}px`,
284-
width,
285-
height
286-
}
280+
area.imageCropParams = { transform, top, left, width, height }
287281
}
288282

289283
/**

src/lib/resources/project-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ class ProjectData {
4646
}
4747
}
4848

49-
ProjectData.API_PREFIX = '/api/v3'
49+
ProjectData.API_PREFIX = '/api/v4'
5050

5151
module.exports = ProjectData

0 commit comments

Comments
 (0)