@builder.io/sdk-svelte 5.2.13 → 5.2.15

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.
@@ -88,7 +88,6 @@ onMount(() => { });
88
88
  fetchpriority={highPriority ? "high" : "auto"}
89
89
  alt={altText || ""}
90
90
  {title}
91
- role={altText ? undefined : "presentation"}
92
91
  class={"builder-image" + (className ? " " + className : "") + " img"}
93
92
  src={image}
94
93
  srcset={srcSetToUse()}
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.2.13";
1
+ export declare const SDK_VERSION = "5.2.15";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.2.13";
1
+ export const SDK_VERSION = "5.2.15";
@@ -65,7 +65,9 @@ export const generateContentUrl = (options) => {
65
65
  };
66
66
  const flattened = flatten(queryOptions);
67
67
  for (const key in flattened) {
68
- url.searchParams.set(key, String(flattened[key]));
68
+ if (key !== 'apiKey') {
69
+ url.searchParams.set(key, String(flattened[key]));
70
+ }
69
71
  }
70
72
  if (Object.keys(finalUserAttributes).length > 0) {
71
73
  url.searchParams.set('userAttributes', JSON.stringify(finalUserAttributes));
@@ -88,7 +88,6 @@ onMount(() => { });
88
88
  fetchpriority={highPriority ? "high" : "auto"}
89
89
  alt={altText || ""}
90
90
  {title}
91
- role={altText ? undefined : "presentation"}
92
91
  class={"builder-image" + (className ? " " + className : "") + " img"}
93
92
  src={image}
94
93
  srcset={srcSetToUse()}
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.2.13";
1
+ export declare const SDK_VERSION = "5.2.15";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.2.13";
1
+ export const SDK_VERSION = "5.2.15";
@@ -65,7 +65,9 @@ export const generateContentUrl = (options) => {
65
65
  };
66
66
  const flattened = flatten(queryOptions);
67
67
  for (const key in flattened) {
68
- url.searchParams.set(key, String(flattened[key]));
68
+ if (key !== 'apiKey') {
69
+ url.searchParams.set(key, String(flattened[key]));
70
+ }
69
71
  }
70
72
  if (Object.keys(finalUserAttributes).length > 0) {
71
73
  url.searchParams.set('userAttributes', JSON.stringify(finalUserAttributes));
@@ -88,7 +88,6 @@ onMount(() => { });
88
88
  fetchpriority={highPriority ? "high" : "auto"}
89
89
  alt={altText || ""}
90
90
  {title}
91
- role={altText ? undefined : "presentation"}
92
91
  class={"builder-image" + (className ? " " + className : "") + " img"}
93
92
  src={image}
94
93
  srcset={srcSetToUse()}
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.2.13";
1
+ export declare const SDK_VERSION = "5.2.15";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.2.13";
1
+ export const SDK_VERSION = "5.2.15";
@@ -65,7 +65,9 @@ export const generateContentUrl = (options) => {
65
65
  };
66
66
  const flattened = flatten(queryOptions);
67
67
  for (const key in flattened) {
68
- url.searchParams.set(key, String(flattened[key]));
68
+ if (key !== 'apiKey') {
69
+ url.searchParams.set(key, String(flattened[key]));
70
+ }
69
71
  }
70
72
  if (Object.keys(finalUserAttributes).length > 0) {
71
73
  url.searchParams.set('userAttributes', JSON.stringify(finalUserAttributes));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-svelte",
3
3
  "description": "Builder.io SDK for Svelte",
4
- "version": "5.2.13",
4
+ "version": "5.2.15",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "lib",
@@ -97,7 +97,6 @@
97
97
  fetchpriority={highPriority ? "high" : "auto"}
98
98
  alt={altText || ""}
99
99
  {title}
100
- role={altText ? undefined : "presentation"}
101
100
  class={"builder-image" + (className ? " " + className : "") + " img"}
102
101
  src={image}
103
102
  srcset={srcSetToUse()}
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.2.13"
1
+ export const SDK_VERSION = "5.2.15"
@@ -87,7 +87,9 @@ export const generateContentUrl = (options: GetContentOptions): URL => {
87
87
  };
88
88
  const flattened = flatten(queryOptions);
89
89
  for (const key in flattened) {
90
- url.searchParams.set(key, String(flattened[key]));
90
+ if (key !== 'apiKey') {
91
+ url.searchParams.set(key, String(flattened[key]));
92
+ }
91
93
  }
92
94
  if (Object.keys(finalUserAttributes).length > 0) {
93
95
  url.searchParams.set('userAttributes', JSON.stringify(finalUserAttributes));