@builder.io/sdk 1.3.0 → 2.0.1

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.umd.js CHANGED
@@ -152,7 +152,7 @@
152
152
  throw new Error("Property name \"".concat(name, "\" is not allowed"));
153
153
  }
154
154
 
155
- var version = "1.2.0";
155
+ var version = "2.0.0";
156
156
 
157
157
  var Subscription = /** @class */ (function () {
158
158
  function Subscription(listeners, listener) {
@@ -1060,7 +1060,7 @@
1060
1060
  return new Error(String(err));
1061
1061
  }
1062
1062
 
1063
- var DEFAULT_API_VERSION = 'v1';
1063
+ var DEFAULT_API_VERSION = 'v3';
1064
1064
 
1065
1065
  function datePlusMinutes(minutes) {
1066
1066
  if (minutes === void 0) { minutes = 30; }
@@ -2430,11 +2430,6 @@
2430
2430
  }
2431
2431
  }
2432
2432
  }
2433
- if (!Builder.isReact) {
2434
- // TODO: remove me once v1 page editors converted to v2
2435
- // queryParams.extractCss = true;
2436
- queryParams.prerender = true;
2437
- }
2438
2433
  for (var _i = 0, queue_2 = queue; _i < queue_2.length; _i++) {
2439
2434
  var options = queue_2[_i];
2440
2435
  if (options.format) {