@builder.io/sdk 2.1.1-0 → 2.1.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 +23 -17
- package/dist/index.browser.js +8 -2
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.js +8 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +8 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/builder.class.d.ts +39 -8
- package/dist/src/builder.class.js +7 -1
- package/dist/src/builder.class.js.map +1 -1
- package/dist/src/classes/cookies.class.d.ts +1 -1
- package/dist/src/functions/server-only-require.function.d.ts +1 -1
- package/dist/src/url.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -3
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.1.
|
|
155
|
+
var version = "2.1.1";
|
|
156
156
|
|
|
157
157
|
var Subscription = /** @class */ (function () {
|
|
158
158
|
function Subscription(listeners, listener) {
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
expiresString +
|
|
1150
1150
|
'; path=/' +
|
|
1151
1151
|
"; domain=".concat(getTopLevelDomain(location.hostname)) +
|
|
1152
|
-
(secure ? ';secure
|
|
1152
|
+
(secure ? '; secure; SameSite=None' : '');
|
|
1153
1153
|
}
|
|
1154
1154
|
catch (err) {
|
|
1155
1155
|
console.warn('Could not set cookie', err);
|
|
@@ -2401,6 +2401,12 @@
|
|
|
2401
2401
|
if ('noTraverse' in queue[0]) {
|
|
2402
2402
|
queryParams.noTraverse = queue[0].noTraverse;
|
|
2403
2403
|
}
|
|
2404
|
+
if ('includeUnpublished' in queue[0]) {
|
|
2405
|
+
queryParams.includeUnpublished = queue[0].includeUnpublished;
|
|
2406
|
+
}
|
|
2407
|
+
if (queue[0].sort) {
|
|
2408
|
+
queryParams.sort = queue[0].sort;
|
|
2409
|
+
}
|
|
2404
2410
|
var pageQueryParams = typeof location !== 'undefined'
|
|
2405
2411
|
? QueryString.parseDeep(location.search.substr(1))
|
|
2406
2412
|
: {}; // TODO: WHAT about SSR (this.request) ?
|