@builder.io/sdk 1.1.30 → 1.1.31-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/index.esm.js CHANGED
@@ -123,7 +123,7 @@ function assertAllowedPropertyName(name) {
123
123
  throw new Error("Property name \"".concat(name, "\" is not allowed"));
124
124
  }
125
125
 
126
- var version = "1.1.30-1";
126
+ var version = "1.1.31-1";
127
127
 
128
128
  var Subscription = /** @class */ (function () {
129
129
  function Subscription(listeners, listener) {
@@ -2184,6 +2184,9 @@ var Builder = /** @class */ (function () {
2184
2184
  }
2185
2185
  return observable;
2186
2186
  };
2187
+ Builder.prototype.requestUrl = function (url, options) {
2188
+ return fetch(url, options).then(function (res) { return res.json(); });
2189
+ };
2187
2190
  Object.defineProperty(Builder.prototype, "host", {
2188
2191
  get: function () {
2189
2192
  switch (this.env) {