@builder.io/sdk 2.0.1 → 2.0.3
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/coverage/clover.xml +155 -0
- package/coverage/coverage-final.json +3 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +131 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/classes/index.html +116 -0
- package/coverage/lcov-report/src/classes/query-string.class.ts.html +328 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov-report/src/url.ts.html +253 -0
- package/coverage/lcov.info +238 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.js +6 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +6 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/builder.class.d.ts +12 -3
- package/dist/src/builder.class.js +5 -2
- package/dist/src/builder.class.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
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 = "2.0.
|
|
155
|
+
var version = "2.0.2";
|
|
156
156
|
|
|
157
157
|
var Subscription = /** @class */ (function () {
|
|
158
158
|
function Subscription(listeners, listener) {
|
|
@@ -1874,8 +1874,8 @@
|
|
|
1874
1874
|
this.setUserAttributes(userAttributes);
|
|
1875
1875
|
}
|
|
1876
1876
|
if (options) {
|
|
1877
|
-
// picking only locale and
|
|
1878
|
-
this.queryOptions = __assign(__assign({}, (options.locale && { locale: options.locale })), (options.includeRefs && { includeRefs: options.includeRefs }));
|
|
1877
|
+
// picking only locale, includeRefs, and enrich for now
|
|
1878
|
+
this.queryOptions = __assign(__assign(__assign({}, (options.locale && { locale: options.locale })), (options.includeRefs && { includeRefs: options.includeRefs })), (options.enrich && { enrich: options.enrich }));
|
|
1879
1879
|
}
|
|
1880
1880
|
if (overrides) {
|
|
1881
1881
|
this.overrides = overrides;
|
|
@@ -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
|
}
|