@builder.io/sdk 1.1.26 → 1.1.27-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.esm.js CHANGED
@@ -123,7 +123,7 @@ function assertAllowedPropertyName(name) {
123
123
  throw new Error("Property name \"" + name + "\" is not allowed");
124
124
  }
125
125
 
126
- var version = "1.1.25";
126
+ var version = "1.1.26";
127
127
 
128
128
  var Subscription = /** @class */ (function () {
129
129
  function Subscription(listeners, listener) {
@@ -2092,6 +2092,8 @@ var Builder = /** @class */ (function () {
2092
2092
  module
2093
2093
  .get(requestOptions, function (resp) {
2094
2094
  var data = '';
2095
+ // We are collecting textual data
2096
+ resp.setEncoding('utf8');
2095
2097
  // A chunk of data has been recieved.
2096
2098
  resp.on('data', function (chunk) {
2097
2099
  data += chunk;