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.
- package/dist/cjs/rbt_api.cjs +1 -1
- package/dist/esm/rbt_api.js +1 -1
- package/package.json +1 -1
- package/src/rbt_api.js +1 -1
package/dist/cjs/rbt_api.cjs
CHANGED
|
@@ -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('/
|
|
144
|
+
return this.axios.post('/api/doctree/registerTypedefs', [{
|
|
145
145
|
typedefs: typedefs
|
|
146
146
|
}]);
|
|
147
147
|
case 3:
|
package/dist/esm/rbt_api.js
CHANGED
|
@@ -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('/
|
|
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
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('/
|
|
77
|
+
const response = await this.axios.post('/api/doctree/registerTypedefs', [{ typedefs: typedefs }]);
|
|
78
78
|
return response.data;
|
|
79
79
|
|
|
80
80
|
} catch (e) {
|