@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.cjs.js CHANGED
@@ -129,7 +129,7 @@ function assertAllowedPropertyName(name) {
129
129
  throw new Error("Property name \"".concat(name, "\" is not allowed"));
130
130
  }
131
131
 
132
- var version = "1.1.30-1";
132
+ var version = "1.1.31-1";
133
133
 
134
134
  var Subscription = /** @class */ (function () {
135
135
  function Subscription(listeners, listener) {
@@ -2190,6 +2190,9 @@ var Builder = /** @class */ (function () {
2190
2190
  }
2191
2191
  return observable;
2192
2192
  };
2193
+ Builder.prototype.requestUrl = function (url, options) {
2194
+ return fetch(url, options).then(function (res) { return res.json(); });
2195
+ };
2193
2196
  Object.defineProperty(Builder.prototype, "host", {
2194
2197
  get: function () {
2195
2198
  switch (this.env) {