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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fable",
3
- "version": "3.0.107",
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.27",
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