From 13c74eb7f4c84a95e2df4c62fe04af9704d400e4 Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:04:39 +0400 Subject: [PATCH 1/8] lib: in project-data implement returnProjectData and save for area and screen. - fixes #176 - fixes #177 --- lib/project-data.js | 45 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/lib/project-data.js b/lib/project-data.js index ed47030..4d0ae1d 100644 --- a/lib/project-data.js +++ b/lib/project-data.js @@ -298,9 +298,11 @@ class ProjectData { * @returns {Object} */ constructScreen (screen) { + const self = this const { id, characterBasedDuration, compositionName, duration, extraVideoSecond, gifBigPath, gifPath, gifThumbnailPath, - hidden, iconAdjustable, isFull, maxDuration, order, path, tags, title, type, areas + hidden, iconAdjustable, isFull, maxDuration, order, path, tags, title, type, areas, + lowerThirdStart, lowerThirdDuration, lowerThirdAdjustable } = screen return { @@ -316,6 +318,9 @@ class ProjectData { iconAdjustable, isFull, maxDuration, + lowerThirdStart, + lowerThirdDuration, + lowerThirdAdjustable, order, path, tags, @@ -382,7 +387,8 @@ class ProjectData { } if (characterBasedDuration) { - this.selectedDuration = duration + screen.selectedDuration = duration + self.patchProperties.push('screens') } return this @@ -398,7 +404,8 @@ class ProjectData { throw new IconAdjustableError('Icon position is not adjustable.') } - this.iconAdjustable ^= 3 + screen.iconAdjustable ^= 3 + self.patchProperties.push('screens') return this }, /** @@ -413,10 +420,21 @@ class ProjectData { throw new LowerThirdAdjustableError('Lower third settings are not adjustable.') } - this.lowerThirdStart = start - this.lowerThirdDuration = duration + screen.lowerThirdStart = start + screen.lowerThirdDuration = duration + self.patchProperties.push('screens') return this - } + }, + /** + * Returns project data object for further chain + * @returns {ProjectData} + */ + returnProjectData: () => self, + /** + * Call Project data's save method from screen object. + * @returns {Promise} + */ + save: () => self.save() } } @@ -426,11 +444,11 @@ class ProjectData { * @returns {Object} */ constructArea (area) { + const self = this const { id, fileName, height, width, value, cords, title, wordCount, originalHeight, originalWidth, order, type, mimeType, webpPath, fileType, thumbnailPath, imageCropParams, videoCropParams, font } = area - const self = this const result = { id, @@ -471,6 +489,7 @@ class ProjectData { throw new InvalidTextScaleValue('The text scale value must be between 80 and 120.') } font.scale = scale + self.patchProperties.push('screens') return this }, /** @@ -507,7 +526,17 @@ class ProjectData { }) ProjectData.setAreaVideo(area, video) this.patchProperties.push('screens') - } + }, + /** + * Returns project data instance for further development. + * @return {ProjectData} Project data instance. + */ + returnProjectData: () => this, + /** + * Calls project data's save method from area object. + * @return {Promise} + */ + save: () => this.save() } return result From 22006abefd53ec8a95076bc61e3972daaec6166b Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:05:11 +0400 Subject: [PATCH 2/8] samples: in project data lower third settings use new pattern. --- samples/project-data/lower-third-settings.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/samples/project-data/lower-third-settings.js b/samples/project-data/lower-third-settings.js index 05b6127..9144702 100644 --- a/samples/project-data/lower-third-settings.js +++ b/samples/project-data/lower-third-settings.js @@ -11,12 +11,10 @@ const RenderforestClient = require('../../lib/client') const Renderforest = new RenderforestClient({ signKey: '', clientId: -1 }) Renderforest.getProjectData(15220886) - .then((projectDataInstance) => { - const screen = projectDataInstance.getScreen(0) - - screen - .setLowerThirdSettings(2, 5) - - return projectDataInstance.save() - }) + .then((projectDataInstance) => + projectDataInstance.getScreen(0) + .setLowerThirdSettings(2, 6) + .save() + ) + .then(console.log) .catch(console.error) From d61fee6b1ab645b4d7857fea0af80132ce34c19b Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:05:26 +0400 Subject: [PATCH 3/8] samples: in project data duration and toggle use new pattern. --- samples/project-data/screen-duration-and-icon-toggle.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/samples/project-data/screen-duration-and-icon-toggle.js b/samples/project-data/screen-duration-and-icon-toggle.js index 39ea8cf..0e122df 100644 --- a/samples/project-data/screen-duration-and-icon-toggle.js +++ b/samples/project-data/screen-duration-and-icon-toggle.js @@ -10,7 +10,7 @@ const RenderforestClient = require('../../lib/client') const Renderforest = new RenderforestClient({ signKey: '', clientId: -1 }) -Renderforest.getProjectData(15220886) +Renderforest.getProjectData(16165971) .then((projectDataInstance) => { const screen = projectDataInstance.getScreen(0) // these steps are not necessary @@ -19,7 +19,12 @@ Renderforest.getProjectData(15220886) const maxDuration = screen.getMaxPossibleDuration() console.log(maxDuration) - return screen.setDuration(5) + return projectDataInstance + .getScreen(0) + .setDuration(5) + .returnProjectData() + .getScreen(1) .toggleIconPosition() + .save() }) .catch(console.error) From dded184a89e0b8f8c07c847d0ddd6cddfb62fbca Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:05:42 +0400 Subject: [PATCH 4/8] samples: in project data set area use new pattern. --- samples/project-data/set-text-image-video.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/samples/project-data/set-text-image-video.js b/samples/project-data/set-text-image-video.js index 0b40cd7..79ff88b 100644 --- a/samples/project-data/set-text-image-video.js +++ b/samples/project-data/set-text-image-video.js @@ -11,15 +11,13 @@ const RenderforestClient = require('../../lib/client') const Renderforest = new RenderforestClient({ signKey: '', clientId: -1 }) Renderforest.getProjectData(16165971) - .then((projectDataInstance) => { - // check area type - console.log(projectDataInstance.getScreen(0).getArea(0).getAreaType()) + .then((projectDataInstance) => projectDataInstance.getScreen(0) .getArea(0) .setText('sample-text') .setTextScale(120) - - projectDataInstance.getScreen(1) + .returnProjectData() + .getScreen(1) .getArea(0) .setImage({ fileName: 'sample file name', // optional @@ -36,8 +34,8 @@ Renderforest.getProjectData(16165971) height: 456 } }) - - projectDataInstance.getScreen(2) + .returnProjectData() + .getScreen(2) .getArea(0) .setVideo({ fileName: 'sample file name', // optional @@ -57,7 +55,6 @@ Renderforest.getProjectData(16165971) } } }) - - return projectDataInstance.save() - }) + .save() + ) .catch(console.error) From 781f4769d33d53ddc290b3e9c403e10663e21cb9 Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:06:08 +0400 Subject: [PATCH 5/8] doc: update areas api doc according to new pattern. --- docs/project-data-api/AREAS_API.md | 136 ++++++++++++++++++----------- 1 file changed, 84 insertions(+), 52 deletions(-) diff --git a/docs/project-data-api/AREAS_API.md b/docs/project-data-api/AREAS_API.md index 58bcfd0..b0674c5 100644 --- a/docs/project-data-api/AREAS_API.md +++ b/docs/project-data-api/AREAS_API.md @@ -1,25 +1,31 @@ -## Areas API +# Areas API - * [Getters](#getters) +## Table of Contents + +- [Areas API](#areas-api) + - [Table of Contents](#table-of-contents) + - [Getters](#getters) - [Get area type](#get-area-type) - [Get recommended character count](#get-recommended-character-count) - * [Setters](#setters) + - [Setters](#setters) - [Set text](#set-text) - [Set text scale](#set-text-scale) - [Set image](#set-image) - [Set video](#set-video) + - [Return project data](#return-project-data) + - [Save](#save) ## Getters ### Get area type -Gets area type. Possible values are: `text`, `image`, `video`. +Gets area type. Possible values for area types are: `text`, `image`, `video`. ```js -const secondScreen = projectDataInstance.getScreen(1) -const firstAreaSecondScreen = secondScreen.getArea(0) - -firstAreaSecondScreen.getAreaType() +console.log(projectDataInstance.getScreen(1) + .getArea(0) + .getAreaType() +) ``` ### Get recommended character count @@ -27,10 +33,10 @@ firstAreaSecondScreen.getAreaType() Gets recommended character count for `text` areas. On other types throws error. ```js -const firstScreen = projectDataInstance.getScreen(0) -const firstAreaFirstScreen = firstScreen.getArea(0) - -firstAreaFirstScreen.getRecommendedCharacterCount() +console.log(projectDataInstance.getScreen(1) + .getArea(0) + .getRecommendedCharacterCount() +) ``` ## Setters @@ -42,10 +48,9 @@ If area is `text`, then sets given value, otherwise throws error. ```js Renderforest.getProjectData(15220886) .then((projectDataInstance) => { - const firstScreen = projectDataInstance.getScreen(0) - const firstAreaFirstScreen = firstScreen.getArea(0) - - firstAreaFirstScreen.setText('sample-text') + projectDataInstance.getScreen(0) + .getArea(0) + .setText('sample-text') }) ``` @@ -66,23 +71,22 @@ If area is `image`, then sets given image params, otherwise throws error. ```js Renderforest.getProjectData(15220886) .then((projectDataInstance) => { - const secondScreen = projectDataInstance.getScreen(1) - const firstAreaSecondScreen = secondScreen.getArea(0) - - firstAreaSecondScreen.setImage({ - fileName: 'sample file name', // optional - mime: 'image/png', // optional - filePath: 'https://example.com/sample.png', - webpPath: 'https://example.com/sample.webp', // optional - fileType: 'image', // optional - thumbnailPath: 'https://example.com/sample-thumbnail.png', // optional - imageCropParams: { - transform: 0, - top: 11, - left: 0, - width: 798, - height: 456 - } + projectDataInstance.getScreen(1) + .getArea(0) + .setImage({ + fileName: 'sample file name', // optional + mime: 'image/png', // optional + filePath: 'https://example.com/sample.png', + webpPath: 'https://example.com/sample.webp', // optional + fileType: 'image', // optional + thumbnailPath: 'https://example.com/sample-thumbnail.png', // optional + imageCropParams: { + transform: 0, + top: 11, + left: 0, + width: 798, + height: 456 + } }) }) ``` @@ -94,30 +98,58 @@ If area is `video`, then sets given video params, otherwise throws error. ```js Renderforest.getProjectData(15220886) .then((projectDataInstance) => { - const thirdScreen = projectDataInstance.getScreen(2) - const firstAreaThirdScreen = thirdScreen.getArea(0) - - firstAreaThirdScreen.setVideo({ - fileName: 'sample file name', // optional - mime: 'video/mp4', // optional - filePath: 'https://example.com/sample.png', - webpPath: 'https://example.com/sample.webp', // optional - fileType: 'video', // optional - videoCropParams: { - duration: 6, - mime: 'video/mp4', - thumbnail: 'https://example.com/sample-thumbnail.png', - thumbnailVideo: 'https://example.com/sample-thumbnail-video.mp4', - trims: [0, 2, 3, 5], - volume: { - music: 10, - video: 100 + projectDataInstance.getScreen(2) + .getArea(0) + .setVideo({ + fileName: 'sample file name', // optional + mime: 'video/mp4', // optional + filePath: 'https://example.com/sample.png', + webpPath: 'https://example.com/sample.webp', // optional + fileType: 'video', // optional + videoCropParams: { + duration: 6, + mime: 'video/mp4', + thumbnail: 'https://example.com/sample-thumbnail.png', + thumbnailVideo: 'https://example.com/sample-thumbnail-video.mp4', + trims: [0, 2, 3, 5], + volume: { + music: 10, + video: 100 + } } - } }) }) ``` +## Return project data + +For project data manipulation sometimes there is need to step back from +area object to project data for further development. + +```js +projectDataInstance.getScreen(0) + .getArea(1) + .setText('sample-text') + .setTextScale(100) + .returnProjectData() + .getScreen(1) + .getArea(0) + .setText('mock-text') +``` + +## Save + +Save method works with the same logic as the project data one. +From the hood it steps back to project data then calls save method. + +```js +projectDataInstance.getScreen(0) + .getArea(1) + .setText('sample-text') + .setTextScale(100) + .save() +``` + [See advanced example for areas](/samples/project-data/set-text-image-video.js) **[⬆ back to the top](#areas-api)** From cc865f459e9512d6a7932dec657d7734bcf362aa Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:06:20 +0400 Subject: [PATCH 6/8] doc: update project data api doc according to new pattern. --- docs/project-data-api/PROJECT_DATA_API.md | 104 ++++++++++------------ 1 file changed, 46 insertions(+), 58 deletions(-) diff --git a/docs/project-data-api/PROJECT_DATA_API.md b/docs/project-data-api/PROJECT_DATA_API.md index 55ba127..aebadf8 100644 --- a/docs/project-data-api/PROJECT_DATA_API.md +++ b/docs/project-data-api/PROJECT_DATA_API.md @@ -1,31 +1,36 @@ -## Projects-data API - - - [Get Project-data](#get-project-data) - - [Update Project-data](#update-project-data) - * [Getters](#getters) - - [Get project id](#get-project-id) - - [Get template id](#get-template-id) - - [Check if project is Equalizer](#check-if-project-is-equalizer) - - [Check if project is Lego](#check-if-project-is-lego) - - [Get project title](#get-project-title) - - [Get mute music](#get-mute-music) - - [Get project sounds](#get-project-sounds) - - [Get project styles](#get-project-styles) - - [Get project voice over](#get-project-voice-over) - - [Get project fonts](#get-project-fonts) - - [Get project colors](#get-project-colors) - - [Get project duration](#get-project-duration) - - [Get screen](#get-screen) - - [Get screens](#get-screens) - * [Setters](#setters) - - [Set mute music](#set-mute-music) - - [Set project styles](#set-project-styles) - - [Set project voice over](#set-project-voice-over) - - [Set project sounds](#set-project-sounds) - - [Set project colors](#set-project-colors) - - [Set project fonts](#set-project-fonts) - - [Reset project fonts](#reset-project-fonts) - * [Save changes](#save-changes) +# Projects-data API + +## Table of Contents + +- [Projects-data API](#projects-data-api) + - [Table of Contents](#table-of-contents) + - [Get Project-data](#get-project-data) + - [Getters and Setters of Project-data Instance](#getters-and-setters-of-project-data-instance) + - [Getters](#getters) + - [Get project id](#get-project-id) + - [Get template id](#get-template-id) + - [Check if project is Equalizer](#check-if-project-is-equalizer) + - [Check if project is Lego](#check-if-project-is-lego) + - [Get project title](#get-project-title) + - [Get mute music](#get-mute-music) + - [Get project sounds](#get-project-sounds) + - [Get project styles](#get-project-styles) + - [Get project voice over](#get-project-voice-over) + - [Get project fonts](#get-project-fonts) + - [Get project colors](#get-project-colors) + - [Get project duration](#get-project-duration) + - [Get screen](#get-screen) + - [Get screens](#get-screens) + - [Setters](#setters) + - [Set mute music](#set-mute-music) + - [Set project styles](#set-project-styles) + - [Set project voice over](#set-project-voice-over) + - [Set project sounds](#set-project-sounds) + - [Set project colors](#set-project-colors) + - [Set project fonts](#set-project-fonts) + - [Reset project fonts](#reset-project-fonts) + - [Push screen](#push-screen) + - [Save changes](#save-changes) ### Get Project-data @@ -57,36 +62,7 @@ Renderforest.getProjectData(7096113) }) .catch(console.error) // handle the error ``` -[See example](/samples/project-data/get-project-data.js) - -### Update project data - -```js -const RenderforestClient = require('@renderforest/sdk-node') - -const Renderforest = new RenderforestClient({ signKey: '', clientId: -1 }) - -Renderforest.getProjectData(7125672) - .then((projectDataInstance) => - projectDataInstance.setMuteMusic(true) - .setStyles({ theme: '1', transition: '2' }) - .setVoiceOver({ path: 'https://example.com/voice-ower.mp3' }) - .save() - ) - .catch(console.error) -``` - -- You can update the following list of properties: `currentScreenId, duration, generator, muteMusic, themeVariableName, - themeVariableValue, projectColors, simple, sounds, screens, voiceSoundId`. -- Any top-level properties (writable) can be updated separately (except `themeVariableName` & `themeVariableValue`), as - well as all of them at the same time. -- The `themeVariableName` & `themeVariableValue` are related to the template theme and both should be updated at the same - time. Possible values you can get in the template theme section - (https://developers.renderforest.com/#get-theme-of-the-template). -- The `iconAdjustable` field of the screen takes one of the 0, 1 or 2 values. If iconAdjustable is 0, then the icon is - not adjustable. The value 1 indicates that the icon is on the left side, and the value 2 indicates that the icon is on - the right side. You can update 1 <-> 2 to change the icon from left <-> right. -- No blob data accepted for the value field of a screen area. +[See get project data example](/samples/project-data/get-project-data.js) ### Getters and Setters of Project-data Instance @@ -321,6 +297,18 @@ Renderforest.getProjectData(15220886) .catch(console.error) ``` +- You can update the following list of properties: `currentScreenId, duration, generator, muteMusic, themeVariableName, + themeVariableValue, projectColors, simple, sounds, screens, voiceSoundId`. +- Any top-level properties (writable) can be updated separately (except `themeVariableName` & `themeVariableValue`), as + well as all of them at the same time. +- The `themeVariableName` & `themeVariableValue` are related to the template theme and both should be updated at the same + time. Possible values you can get in the template theme section + (https://developers.renderforest.com/#get-theme-of-the-template). +- The `iconAdjustable` field of the screen takes one of the 0, 1 or 2 values. If iconAdjustable is 0, then the icon is + not adjustable. The value 1 indicates that the icon is on the left side, and the value 2 indicates that the icon is on + the right side. You can update 1 <-> 2 to change the icon from left <-> right. +- No blob data accepted for the value field of a screen area. + - [See update project data example](/samples/project-data/update-project-data-partial.js) **[⬆ back to the top](#projects-data-api)** From a71349f861f7f3741df49587d64ad5c75e9d2e88 Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:06:29 +0400 Subject: [PATCH 7/8] doc: update screens api doc according to new pattern. --- docs/project-data-api/SCREENS_API.md | 97 ++++++++++++++++------------ 1 file changed, 56 insertions(+), 41 deletions(-) diff --git a/docs/project-data-api/SCREENS_API.md b/docs/project-data-api/SCREENS_API.md index 8e3f5ba..2a775f0 100644 --- a/docs/project-data-api/SCREENS_API.md +++ b/docs/project-data-api/SCREENS_API.md @@ -1,35 +1,37 @@ -## Screens API +# Screens API - * [Getters](#getters) +## Table of Contents + +- [Screens API](#screens-api) + - [Table of Contents](#table-of-contents) + - [Getters](#getters) - [Get areas](#get-areas) - [Get area](#get-area) - [Calculate screen duration](#calculate-screen-duration) - [Get max possible duration](#get-max-possible-duration) - * [Setters](#setters) + - [Setters](#setters) - [Set duration](#set-duration) - [Toggle icon position](#toggle-icon-position) - [Set lower third settings](#set-lower-third-settings) + - [Return project data](#return-project-data) + - [Save](#save) ## Getters ### Get areas -Maps through `areas` array and adds it's methods. +Gets areas for current screen. ```js -const firstScreen = projectDataInstance.getScreen(0) - -firstScreen.getAreas() // array of areas object +console.log(projectDataInstance.getScreen(0).getAreas()) // array of areas object ``` ### Get area -Gets area with given `index`. +Gets area with given `index` for current screen. ```js -const firstScreen = projectDataInstance.getScreen(0) - -firstScreen.getArea(0) // gets area with index 0 (first area) +console.log(projectDataInstance.getScreen(0).getArea(0)) // gets area with index 0 (first area) ``` ### Calculate screen duration @@ -37,9 +39,7 @@ firstScreen.getArea(0) // gets area with index 0 (first area) Calculates screen duration. It's useful when there is need to manually set screen duration. ```js -const screen = projectDataInstance.getScreen(0) - -screen.calculateScreenDuration() +console.log(projectDataInstance.getScreen(0).calculateScreenDuration()) ``` ### Get max possible duration @@ -48,14 +48,12 @@ Filters areas to find only video ones. Checks if count of video areas is more th Otherwise returns `maxDuration` if there is one, or `duration`. ```js -const screen = projectDataInstance.getScreen(0) - -screen.getMaxPossibleDuration() +console.log(projectDataInstance.getScreen(0).getMaxPossibleDuration()) ``` ## Setters -All the setters of screen instance can be called with chaining. +All the setters of screen instance can be called in chain. ### Set duration @@ -64,16 +62,11 @@ then also throws error. Otherwise sets given value. ```js Renderforest.getProjectData(15220886) - .then((projectDataInstance) => { - const screen = projectDataInstance.getScreen(0) - // these steps are not necessary - const screenDuration = screen.calculateScreenDuration() - console.log(screenDuration) - const maxDuration = screen.getMaxPossibleDuration() - console.log(maxDuration) - - return screen.setDuration(5) - }) + .then((projectDataInstance) => + projectDataInstance.getScreen(0) + .setDuration(5) + .save() + ) ``` ### Toggle icon position @@ -82,12 +75,11 @@ If screen does not have icon adjustment, then throws error. Otherwise toggles ic ```js Renderforest.getProjectData(15220886) - .then((projectDataInstance) => { - const screen = projectDataInstance.getScreen(0) - - return screen.setDuration(5) + .then((projectDataInstance) => + projectDataInstance.setDuration(5) .toggleIconPosition() - }) + .save() + ) ``` [See screen duration and toggle icon position adjustment example](/samples/project-data/screen-duration-and-icon-toggle.js) @@ -99,17 +91,40 @@ Otherwise sets `start` and `duration` params for lower third settings. ```js Renderforest.getProjectData(15220886) - .then((projectDataInstance) => { - const screen = projectDataInstance.getScreen(0) + .then((projectDataInstance) => + projectDataInstance.getScreen(0) + .setLowerThirdSettings(2, 5) + .save() + ) +``` + +[See lower third settings adjustment example](/samples/project-data/lower-third-settings.js) + +## Return project data - screen - .setLowerThirdSettings(2, 5) +For project data manipulation sometimes there is need to step back from +area object to project data for further development. - return projectDataInstance.save() - }) - .catch(console.error) +```js +projectDataInstance.getScreen(0) + .setLowerThirdSettings(2, 5) + .returnProjectData() + .getScreen(1) + .setDuration(8) ``` -[See lower third settings adjustment example](/samples/project-data/lower-third-settings.js) +## Save + +Save method works with the same logic as the project data one. +From the hood it steps back project data then calls save method. + +```js +projectDataInstance.getScreen(0) + .setLowerThirdSettings(2, 5) + .returnProjectData() + .getScreen(1) + .setDuration(8) + .save() +``` **[⬆ back to the top](#screens-api)** From c416941d06b468ed86a749b7a16d01137f612210 Mon Sep 17 00:00:00 2001 From: narekhovhannisyan Date: Tue, 11 Jun 2019 15:07:15 +0400 Subject: [PATCH 8/8] =?UTF-8?q?=E2=9C=A8=20release=200.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 43c5d87..4a3cf5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@renderforest/sdk-node", - "version": "0.4.2", + "version": "0.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5ddbc21..809bc93 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@renderforest/sdk-node", "description": "Renderforest SDK for Node.js", - "version": "0.4.2", + "version": "0.5.0", "author": "RenderForest LLC", "bugs": { "url": "https://github.com/renderforest/renderforest-sdk-node/issues"