@builder.io/sdk-qwik 0.18.9 → 0.18.10

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.
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.18.9";
3
+ const SDK_VERSION = "0.18.10";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.18.9";
1
+ const SDK_VERSION = "0.18.10";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -32,7 +32,7 @@ const generateContentUrl = (options) => {
32
32
  }
33
33
  if (enrich)
34
34
  url.searchParams.set("enrich", String(enrich));
35
- url.searchParams.set("omit", omit || "meta.componentsUsed");
35
+ url.searchParams.set("omit", omit ?? "meta.componentsUsed");
36
36
  if (fields)
37
37
  url.searchParams.set("fields", fields);
38
38
  if (Number.isFinite(offset) && offset > -1)
@@ -30,7 +30,7 @@ const generateContentUrl = (options) => {
30
30
  }
31
31
  if (enrich)
32
32
  url.searchParams.set("enrich", String(enrich));
33
- url.searchParams.set("omit", omit || "meta.componentsUsed");
33
+ url.searchParams.set("omit", omit ?? "meta.componentsUsed");
34
34
  if (fields)
35
35
  url.searchParams.set("fields", fields);
36
36
  if (Number.isFinite(offset) && offset > -1)
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.18.9";
3
+ const SDK_VERSION = "0.18.10";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.18.9";
1
+ const SDK_VERSION = "0.18.10";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -32,7 +32,7 @@ const generateContentUrl = (options) => {
32
32
  }
33
33
  if (enrich)
34
34
  url.searchParams.set("enrich", String(enrich));
35
- url.searchParams.set("omit", omit || "meta.componentsUsed");
35
+ url.searchParams.set("omit", omit ?? "meta.componentsUsed");
36
36
  if (fields)
37
37
  url.searchParams.set("fields", fields);
38
38
  if (Number.isFinite(offset) && offset > -1)
@@ -30,7 +30,7 @@ const generateContentUrl = (options) => {
30
30
  }
31
31
  if (enrich)
32
32
  url.searchParams.set("enrich", String(enrich));
33
- url.searchParams.set("omit", omit || "meta.componentsUsed");
33
+ url.searchParams.set("omit", omit ?? "meta.componentsUsed");
34
34
  if (fields)
35
35
  url.searchParams.set("fields", fields);
36
36
  if (Number.isFinite(offset) && offset > -1)
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SDK_VERSION = "0.18.9";
3
+ const SDK_VERSION = "0.18.10";
4
4
  exports.SDK_VERSION = SDK_VERSION;
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.18.9";
1
+ const SDK_VERSION = "0.18.10";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -32,7 +32,7 @@ const generateContentUrl = (options) => {
32
32
  }
33
33
  if (enrich)
34
34
  url.searchParams.set("enrich", String(enrich));
35
- url.searchParams.set("omit", omit || "meta.componentsUsed");
35
+ url.searchParams.set("omit", omit ?? "meta.componentsUsed");
36
36
  if (fields)
37
37
  url.searchParams.set("fields", fields);
38
38
  if (Number.isFinite(offset) && offset > -1)
@@ -30,7 +30,7 @@ const generateContentUrl = (options) => {
30
30
  }
31
31
  if (enrich)
32
32
  url.searchParams.set("enrich", String(enrich));
33
- url.searchParams.set("omit", omit || "meta.componentsUsed");
33
+ url.searchParams.set("omit", omit ?? "meta.componentsUsed");
34
34
  if (fields)
35
35
  url.searchParams.set("fields", fields);
36
36
  if (Number.isFinite(offset) && offset > -1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.18.9",
3
+ "version": "0.18.10",
4
4
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.18.9";
1
+ export declare const SDK_VERSION = "0.18.10";
@@ -1,7 +1,6 @@
1
1
  import type { BuilderContent } from '../../types/builder-content';
2
- export declare function postPreviewContent({ key, value }: {
2
+ export declare function postPreviewContent(_opts: {
3
3
  key: string;
4
4
  value: BuilderContent;
5
- }): Promise<{
6
- [x: string]: BuilderContent;
7
- }>;
5
+ url: string;
6
+ }): Promise<null>;