@stackfactor/client-api 1.1.71 → 1.1.73

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.
@@ -27,8 +27,8 @@ const getTalentTransformationStepsForCurrentUser = (authToken) => {
27
27
 
28
28
  /**
29
29
  * Set talent transformation step data
30
- * @param {String} id The id of the skill to be updated
31
- * @param {Object} data Data used to update the skill
30
+ * @param {String} id The id of the talent transformation step to be updated
31
+ * @param {Object} data Data used to update the talent transformation step
32
32
  * @param {Boolean} returnAllStepsStatuses If true, return all steps statuses
33
33
  * @param {String} token Authorization token
34
34
  * @returns {Promise}
@@ -46,7 +46,7 @@ const setTalentTransformationStepData = (
46
46
  returnAllStepsStatuses: returnAllStepsStatuses,
47
47
  };
48
48
  let confirmationRequest = client.post(
49
- `api/v1/talenttransformation/setstep/`,
49
+ `api/v1/talenttransformation/setdata/`,
50
50
  requestData,
51
51
  {
52
52
  headers: { authorization: token },
package/lib/utils.js CHANGED
@@ -28,6 +28,8 @@ const getBaseUrl = () => {
28
28
  return "https://qaapi.stackfactor.ai/";
29
29
  case "production":
30
30
  return "https://api.stackfactor.ai/";
31
+ case "security":
32
+ return "https://csapi.stackfactor.ai/";
31
33
  default:
32
34
  throw new Error("Invalid environment");
33
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.71",
3
+ "version": "1.1.73",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {