roboto-js 1.4.8 → 1.4.9

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.
@@ -203,7 +203,7 @@ var RbtApi = exports["default"] = /*#__PURE__*/function () {
203
203
  _context4.prev = 0;
204
204
  debugger;
205
205
  _context4.next = 4;
206
- return this.post('/registerOrSigninOauth', userData);
206
+ return this.post('/api/account/registerOrSigninOauth', userData);
207
207
  case 4:
208
208
  response = _context4.sent;
209
209
  if (!(response.ok === false)) {
@@ -96,7 +96,7 @@ export default class RbtApi {
96
96
  async loginWithOauth(userData) {
97
97
  try {
98
98
  debugger;
99
- const response = await this.post('/registerOrSigninOauth', userData);
99
+ const response = await this.post('/api/account/registerOrSigninOauth', userData);
100
100
  if (response.ok === false) {
101
101
  return this._handleError(response);
102
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roboto-js",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.cjs",
package/src/rbt_api.js CHANGED
@@ -115,7 +115,7 @@ export default class RbtApi {
115
115
 
116
116
  try {
117
117
  debugger;
118
- const response = await this.post('/registerOrSigninOauth', userData );
118
+ const response = await this.post('/api/account/registerOrSigninOauth', userData );
119
119
 
120
120
  if (response.ok === false) {
121
121
  return this._handleError(response);