roboto-js 1.8.10 → 1.8.11

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.
@@ -60,7 +60,8 @@ var RbtApi = exports["default"] = /*#__PURE__*/function () {
60
60
  baseURL: baseUrl,
61
61
  headers: {
62
62
  'accesskey': accesskey
63
- }
63
+ },
64
+ withCredentials: true // Enable sending cookies in cross-origin requests
64
65
  });
65
66
  this.axios.__rbtApiInstance = this;
66
67
  if (localStorageAdaptor) {
@@ -53,7 +53,8 @@ var RbtApi = /*#__PURE__*/function () {
53
53
  baseURL: baseUrl,
54
54
  headers: {
55
55
  'accesskey': accesskey
56
- }
56
+ },
57
+ withCredentials: true // Enable sending cookies in cross-origin requests
57
58
  });
58
59
  this.axios.__rbtApiInstance = this;
59
60
  if (localStorageAdaptor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roboto-js",
3
- "version": "1.8.10",
3
+ "version": "1.8.11",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.cjs",
package/src/rbt_api.js CHANGED
@@ -27,7 +27,8 @@ export default class RbtApi {
27
27
  baseURL: baseUrl,
28
28
  headers: {
29
29
  'accesskey': accesskey
30
- }
30
+ },
31
+ withCredentials: true // Enable sending cookies in cross-origin requests
31
32
  });
32
33
  this.axios.__rbtApiInstance = this;
33
34