@builder.io/sdk 2.0.1 → 2.0.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.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/builder.class.js +3 -0
- package/dist/src/builder.class.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -123,7 +123,7 @@ function assertAllowedPropertyName(name) {
|
|
|
123
123
|
throw new Error("Property name \"".concat(name, "\" is not allowed"));
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
var version = "2.0.
|
|
126
|
+
var version = "2.0.1";
|
|
127
127
|
|
|
128
128
|
var Subscription = /** @class */ (function () {
|
|
129
129
|
function Subscription(listeners, listener) {
|
|
@@ -2276,6 +2276,9 @@ var Builder = /** @class */ (function () {
|
|
|
2276
2276
|
var queryParams = __assign(__assign({
|
|
2277
2277
|
// TODO: way to force a request to be in a separate queue. or just lower queue limit to be 1 by default
|
|
2278
2278
|
omit: queue[0].omit || 'meta.componentsUsed', apiKey: this.apiKey }, queue[0].options), this.queryOptions);
|
|
2279
|
+
if (queue[0].locale) {
|
|
2280
|
+
queryParams.locale = queue[0].locale;
|
|
2281
|
+
}
|
|
2279
2282
|
if (queue[0].fields) {
|
|
2280
2283
|
queryParams.fields = queue[0].fields;
|
|
2281
2284
|
}
|