@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.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.2.0";
132
+ var version = "2.0.0";
133
133
 
134
134
  var Subscription = /** @class */ (function () {
135
135
  function Subscription(listeners, listener) {
@@ -969,7 +969,7 @@ function toError(err) {
969
969
  return new Error(String(err));
970
970
  }
971
971
 
972
- var DEFAULT_API_VERSION = 'v1';
972
+ var DEFAULT_API_VERSION = 'v3';
973
973
 
974
974
  function datePlusMinutes(minutes) {
975
975
  if (minutes === void 0) { minutes = 30; }
@@ -2339,11 +2339,6 @@ var Builder = /** @class */ (function () {
2339
2339
  }
2340
2340
  }
2341
2341
  }
2342
- if (!Builder.isReact) {
2343
- // TODO: remove me once v1 page editors converted to v2
2344
- // queryParams.extractCss = true;
2345
- queryParams.prerender = true;
2346
- }
2347
2342
  for (var _i = 0, queue_2 = queue; _i < queue_2.length; _i++) {
2348
2343
  var options = queue_2[_i];
2349
2344
  if (options.format) {