@builder.io/sdk 1.2.0 → 2.0.0

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.1.35";
155
+ var version = "1.3.0";
156
156
 
157
157
  var Subscription = /** @class */ (function () {
158
158
  function Subscription(listeners, listener) {
@@ -2625,7 +2625,7 @@
2625
2625
  if (options === void 0) { options = {}; }
2626
2626
  var instance = this;
2627
2627
  if (!Builder.isBrowser) {
2628
- instance = new Builder(options.apiKey || this.apiKey, options.req, options.res, false, null, options.apiVersion);
2628
+ instance = new Builder(options.apiKey || this.apiKey, options.req, options.res, false, null, options.apiVersion || this.apiVersion);
2629
2629
  instance.setUserAttributes(this.getUserAttributes());
2630
2630
  }
2631
2631
  else {