fable 3.0.107 → 3.0.109
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/fable.compatible.js +3 -2
- package/dist/fable.compatible.min.js +2 -2
- package/dist/fable.compatible.min.js.map +1 -1
- package/dist/fable.js +3 -2
- package/dist/fable.min.js +2 -2
- package/dist/fable.min.js.map +1 -1
- package/package.json +2 -2
- package/source/services/Fable-Service-RestClient.js +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fable",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.109",
|
|
4
4
|
"description": "An entity behavior management and API bundling library.",
|
|
5
5
|
"main": "source/Fable.js",
|
|
6
6
|
"scripts": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"fable-serviceproviderbase": "^3.0.12",
|
|
65
65
|
"fable-settings": "^3.0.9",
|
|
66
66
|
"fable-uuid": "^3.0.6",
|
|
67
|
-
"manyfest": "^1.0.
|
|
67
|
+
"manyfest": "^1.0.28",
|
|
68
68
|
"simple-get": "^4.0.1"
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -54,6 +54,13 @@ class FableServiceRestClient extends libFableServiceBase
|
|
|
54
54
|
{
|
|
55
55
|
// Validate the options object
|
|
56
56
|
let tmpOptions = this.prepareCookies(pOptions);
|
|
57
|
+
|
|
58
|
+
// Prepend a string to the URL if it exists in the Fable Config
|
|
59
|
+
if (this.fable.settings.hasOwnProperty('RestClientURLPrefix'))
|
|
60
|
+
{
|
|
61
|
+
tmpOptions.url = this.fable.settings.RestClientURLPrefix + tmpOptions.url;
|
|
62
|
+
}
|
|
63
|
+
|
|
57
64
|
return this.prepareRequestOptions(tmpOptions);
|
|
58
65
|
}
|
|
59
66
|
|