bruce-models 4.1.0 → 4.1.2
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/bruce-models.es5.js +6 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +6 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/api/abstract-api.js +5 -2
- package/dist/lib/api/abstract-api.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/project/project-view-bookmark.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/project/project-view-bookmark.d.ts +38 -0
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -296,8 +296,11 @@
|
|
|
296
296
|
if (text && typeof text == "string") {
|
|
297
297
|
text = text.trim();
|
|
298
298
|
}
|
|
299
|
-
if (text
|
|
300
|
-
|
|
299
|
+
if (text) {
|
|
300
|
+
if ((text.startsWith("{") && text.endsWith("}")) ||
|
|
301
|
+
(text.startsWith("[") && text.endsWith("]"))) {
|
|
302
|
+
return JSON.parse(text);
|
|
303
|
+
}
|
|
301
304
|
}
|
|
302
305
|
return text;
|
|
303
306
|
});
|
|
@@ -11662,7 +11665,7 @@
|
|
|
11662
11665
|
})(exports.DataSource || (exports.DataSource = {}));
|
|
11663
11666
|
|
|
11664
11667
|
// This is updated with the package.json version on build.
|
|
11665
|
-
const VERSION = "4.1.
|
|
11668
|
+
const VERSION = "4.1.2";
|
|
11666
11669
|
|
|
11667
11670
|
exports.VERSION = VERSION;
|
|
11668
11671
|
exports.AbstractApi = AbstractApi;
|