@builder.io/sdk 2.0.0 → 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/CHANGELOG.md +3 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.js +4 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +4 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -2
- package/dist/src/builder.class.js +3 -5
- package/dist/src/builder.class.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -2
- package/coverage/clover.xml +0 -155
- package/coverage/coverage-final.json +0 -3
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -131
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/src/classes/index.html +0 -116
- package/coverage/lcov-report/src/classes/query-string.class.ts.html +0 -328
- package/coverage/lcov-report/src/index.html +0 -116
- package/coverage/lcov-report/src/url.ts.html +0 -253
- package/coverage/lcov.info +0 -238
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 = "
|
|
155
|
+
var version = "2.0.1";
|
|
156
156
|
|
|
157
157
|
var Subscription = /** @class */ (function () {
|
|
158
158
|
function Subscription(listeners, listener) {
|
|
@@ -2373,6 +2373,9 @@
|
|
|
2373
2373
|
var queryParams = __assign(__assign({
|
|
2374
2374
|
// TODO: way to force a request to be in a separate queue. or just lower queue limit to be 1 by default
|
|
2375
2375
|
omit: queue[0].omit || 'meta.componentsUsed', apiKey: this.apiKey }, queue[0].options), this.queryOptions);
|
|
2376
|
+
if (queue[0].locale) {
|
|
2377
|
+
queryParams.locale = queue[0].locale;
|
|
2378
|
+
}
|
|
2376
2379
|
if (queue[0].fields) {
|
|
2377
2380
|
queryParams.fields = queue[0].fields;
|
|
2378
2381
|
}
|
|
@@ -2430,11 +2433,6 @@
|
|
|
2430
2433
|
}
|
|
2431
2434
|
}
|
|
2432
2435
|
}
|
|
2433
|
-
if (!Builder.isReact) {
|
|
2434
|
-
// TODO: remove me once v1 page editors converted to v2
|
|
2435
|
-
// queryParams.extractCss = true;
|
|
2436
|
-
queryParams.prerender = true;
|
|
2437
|
-
}
|
|
2438
2436
|
for (var _i = 0, queue_2 = queue; _i < queue_2.length; _i++) {
|
|
2439
2437
|
var options = queue_2[_i];
|
|
2440
2438
|
if (options.format) {
|