@stackfactor/client-api 1.1.100 → 1.1.101

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.
Files changed (2) hide show
  1. package/lib/security.js +4 -4
  2. package/package.json +1 -1
package/lib/security.js CHANGED
@@ -5,7 +5,7 @@ import { client } from "./axiosClient.js";
5
5
  * @param {String} authToken - Authorization token
6
6
  * @returns {Promise<Object>}
7
7
  */
8
- const getAuthConnection = (authToken) => {
8
+ const getAuthConnections = (authToken) => {
9
9
  return new Promise(function (resolve, reject) {
10
10
  const getConfigInformationRequest = client.get(
11
11
  `api/v1/security/getauthconnection`,
@@ -26,7 +26,7 @@ const getAuthConnection = (authToken) => {
26
26
  * @param {Object} data - the object containing the updated configuration
27
27
  * @param {String} authToken - Authorization token
28
28
  */
29
- const setAuthConnection = (data, authToken) => {
29
+ const setAuthConnections = (data, authToken) => {
30
30
  return new Promise(function (resolve, reject) {
31
31
  const setConfigInformationRequest = client.post(
32
32
  `api/v1/security/setauthconnection`,
@@ -44,6 +44,6 @@ const setAuthConnection = (data, authToken) => {
44
44
  };
45
45
 
46
46
  export default {
47
- getAuthConnection,
48
- setAuthConnection,
47
+ getAuthConnections,
48
+ setAuthConnections,
49
49
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.100",
3
+ "version": "1.1.101",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {