@stackfactor/client-api 1.1.20 → 1.1.21

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.
@@ -21,7 +21,7 @@ export const askQuestion = (
21
21
  updatedContext: updatedContext,
22
22
  };
23
23
  let confirmationRequest = client.post(
24
- "/api/v1/aiasistant/askquestion",
24
+ "/api/v1/aiassistant/askquestion",
25
25
  { data: data },
26
26
  {
27
27
  headers: { authorization: token },
@@ -49,7 +49,7 @@ export const endConversation = (conversationId, token) => {
49
49
  conversationId: conversationId,
50
50
  };
51
51
  let confirmationRequest = client.post(
52
- "/api/v1/aiasistant/endconversation",
52
+ "/api/v1/aiassistant/endconversation",
53
53
  { data: data },
54
54
  {
55
55
  headers: { authorization: token },
@@ -74,7 +74,7 @@ export const endConversation = (conversationId, token) => {
74
74
  const getConversationByElementId = (elementId, token) => {
75
75
  return new Promise(function (resolve, reject) {
76
76
  let confirmationRequest = client.get(
77
- `/api/v1/aiasistant/getconversation/${elementId}`,
77
+ `/api/v1/aiassistant/getconversation/${elementId}`,
78
78
  {
79
79
  headers: { authorization: token },
80
80
  }
@@ -113,7 +113,7 @@ const startConversation = (
113
113
  elementType: elementType,
114
114
  };
115
115
  let confirmationRequest = client.post(
116
- "/api/v1/aiasistant/startconversation",
116
+ "/api/v1/aiassistant/startconversation",
117
117
  { data: data },
118
118
  {
119
119
  headers: { authorization: token },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {