roboto-js 1.4.19 → 1.4.20

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.
@@ -141,7 +141,7 @@ var RbtApi = exports["default"] = /*#__PURE__*/function () {
141
141
  case 0:
142
142
  _context3.prev = 0;
143
143
  _context3.next = 3;
144
- return this.axios.post('/doctree_service/registerTypedefs', [{
144
+ return this.axios.post('/api/doctree/registerTypedefs', [{
145
145
  typedefs: typedefs
146
146
  }]);
147
147
  case 3:
@@ -62,7 +62,7 @@ export default class RbtApi {
62
62
  }
63
63
  async registerTypedefs(typedefs) {
64
64
  try {
65
- const response = await this.axios.post('/doctree_service/registerTypedefs', [{
65
+ const response = await this.axios.post('/api/doctree/registerTypedefs', [{
66
66
  typedefs: typedefs
67
67
  }]);
68
68
  return response.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roboto-js",
3
- "version": "1.4.19",
3
+ "version": "1.4.20",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.cjs",
package/src/rbt_api.js CHANGED
@@ -74,7 +74,7 @@ export default class RbtApi {
74
74
 
75
75
  try {
76
76
 
77
- const response = await this.axios.post('/doctree_service/registerTypedefs', [{ typedefs: typedefs }]);
77
+ const response = await this.axios.post('/api/doctree/registerTypedefs', [{ typedefs: typedefs }]);
78
78
  return response.data;
79
79
 
80
80
  } catch (e) {