@riocrypto/common 1.0.1166 → 1.0.1167

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
  }
@@ -206,6 +205,8 @@ class RioClient {
206
205
  yield this.axios.post("/api/auth/verify-code", {
207
206
  phoneNumber,
208
207
  code,
208
+ }, {
209
+ withCredentials: true,
209
210
  });
210
211
  });
211
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1166",
3
+ "version": "1.0.1167",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",