roboto-js 1.3.14 → 1.3.15
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
|
@@ -494,7 +494,7 @@ var RbtApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
494
494
|
return this.load('<@filekit.file>', id);
|
|
495
495
|
case 3:
|
|
496
496
|
response = _context11.sent;
|
|
497
|
-
record = response.
|
|
497
|
+
record = response.toRecord();
|
|
498
498
|
return _context11.abrupt("return", new _rbt_file["default"](record, this.axios, this.localDb));
|
|
499
499
|
case 8:
|
|
500
500
|
_context11.prev = 8;
|
package/dist/esm/rbt_api.js
CHANGED
|
@@ -229,7 +229,7 @@ export default class RbtApi {
|
|
|
229
229
|
//return this.create('<@filekit.file>', dataHash);
|
|
230
230
|
try {
|
|
231
231
|
const response = await this.load('<@filekit.file>', id);
|
|
232
|
-
const record = response.
|
|
232
|
+
const record = response.toRecord();
|
|
233
233
|
return new RbtFile(record, this.axios, this.localDb);
|
|
234
234
|
} catch (e) {
|
|
235
235
|
return this._handleError(e);
|
package/package.json
CHANGED
package/src/rbt_api.js
CHANGED
|
@@ -283,7 +283,7 @@ export default class RbtApi {
|
|
|
283
283
|
//return this.create('<@filekit.file>', dataHash);
|
|
284
284
|
try {
|
|
285
285
|
const response = await this.load('<@filekit.file>', id);
|
|
286
|
-
const record = response.
|
|
286
|
+
const record = response.toRecord();
|
|
287
287
|
return new RbtFile(record, this.axios, this.localDb);
|
|
288
288
|
|
|
289
289
|
} catch (e) {
|