@riocrypto/common 1.0.1166 → 1.0.1168

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.
@@ -13,7 +13,6 @@ exports.RioClient = void 0;
13
13
  class RioClient {
14
14
  constructor(axios) {
15
15
  this.axios = axios;
16
- console.log("process.env.NEXT_PUBLIC_RUNNING_LOCAL", process.env.NEXT_PUBLIC_RUNNING_LOCAL);
17
16
  if (process.env.NEXT_PUBLIC_RUNNING_LOCAL === "true") {
18
17
  this.axios.defaults.baseURL = "https://dev.riotransfer.co";
19
18
  }
@@ -186,7 +185,9 @@ class RioClient {
186
185
  }
187
186
  getSecurityQuestion() {
188
187
  return __awaiter(this, void 0, void 0, function* () {
189
- const response = yield this.axios.get(`/api/auth/security-question`);
188
+ const response = yield this.axios.get(`/api/auth/security-question`, {
189
+ withCredentials: true,
190
+ });
190
191
  return response.data.securityQuestion;
191
192
  });
192
193
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1166",
3
+ "version": "1.0.1168",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",