@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.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 = "2.0.
|
|
132
|
+
var version = "2.0.1";
|
|
133
133
|
|
|
134
134
|
var Subscription = /** @class */ (function () {
|
|
135
135
|
function Subscription(listeners, listener) {
|
|
@@ -2282,6 +2282,9 @@ var Builder = /** @class */ (function () {
|
|
|
2282
2282
|
var queryParams = tslib.__assign(tslib.__assign({
|
|
2283
2283
|
// TODO: way to force a request to be in a separate queue. or just lower queue limit to be 1 by default
|
|
2284
2284
|
omit: queue[0].omit || 'meta.componentsUsed', apiKey: this.apiKey }, queue[0].options), this.queryOptions);
|
|
2285
|
+
if (queue[0].locale) {
|
|
2286
|
+
queryParams.locale = queue[0].locale;
|
|
2287
|
+
}
|
|
2285
2288
|
if (queue[0].fields) {
|
|
2286
2289
|
queryParams.fields = queue[0].fields;
|
|
2287
2290
|
}
|