@riocrypto/common 1.0.1167 → 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.
@@ -185,7 +185,9 @@ class RioClient {
185
185
  }
186
186
  getSecurityQuestion() {
187
187
  return __awaiter(this, void 0, void 0, function* () {
188
- 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
+ });
189
191
  return response.data.securityQuestion;
190
192
  });
191
193
  }
@@ -205,8 +207,6 @@ class RioClient {
205
207
  yield this.axios.post("/api/auth/verify-code", {
206
208
  phoneNumber,
207
209
  code,
208
- }, {
209
- withCredentials: true,
210
210
  });
211
211
  });
212
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1167",
3
+ "version": "1.0.1168",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",