@stackfactor/client-api 1.0.99 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/skill.js CHANGED
@@ -445,7 +445,6 @@ export const setSkillInformationFromTemplate = (id, data, token) => {
445
445
  export const validateSkill = (id, token) => {
446
446
  return new Promise(function (resolve, reject) {
447
447
  const requestData = {
448
- data: data,
449
448
  id: id,
450
449
  };
451
450
  let confirmationRequest = client.post(
@@ -250,10 +250,9 @@ export const setTemplateTags = (id, tags, token) => {
250
250
  * @param {String} token Authorization token
251
251
  * @returns {Promise}
252
252
  */
253
- export const validateSkill = (id, token) => {
253
+ export const validateTemplate = (id, token) => {
254
254
  return new Promise(function (resolve, reject) {
255
255
  const requestData = {
256
- data: data,
257
256
  id: id,
258
257
  };
259
258
  let confirmationRequest = client.post(
@@ -312,6 +311,7 @@ const skillTemplate = {
312
311
  publishTemplate,
313
312
  setTemplateInformation,
314
313
  setTemplateTags,
314
+ validateTemplate,
315
315
  watchSkillTemplate,
316
316
  };
317
317
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.0.99",
3
+ "version": "1.1.1",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {