@stackfactor/client-api 1.1.16 → 1.1.18

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/exports.js CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  getErrorType,
7
7
  shouldReturnError,
8
8
  } from "./lib/axiosClient.js";
9
+ import aiAssistant from "./lib/aiAssistant.js";
9
10
  import address from "./lib/address.js";
10
11
  import config from "./lib/config.js";
11
12
  import {
@@ -38,6 +39,7 @@ import users from "./lib/users.js";
38
39
  export {
39
40
  actionNotifications,
40
41
  address,
42
+ aiAssistant,
41
43
  client,
42
44
  config,
43
45
  contentGenerator,
@@ -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/conversation/${elementId}/${userId}`,
77
+ `/api/v1/aiasistant/conversation/${elementId}`,
78
78
  {
79
79
  headers: { authorization: token },
80
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {