@builder.io/sdk-qwik 0.14.27 → 0.14.29
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/lib/browser/index.qwik.cjs +6 -3
- package/lib/browser/index.qwik.mjs +6 -3
- package/lib/edge/index.qwik.cjs +6 -3
- package/lib/edge/index.qwik.mjs +6 -3
- package/lib/node/index.qwik.cjs +6 -3
- package/lib/node/index.qwik.mjs +6 -3
- package/package.json +1 -1
- package/types/src/constants/sdk-version.d.ts +1 -1
- package/types/src/functions/extract-css-var-default-value.d.ts +1 -0
|
@@ -2771,7 +2771,8 @@ const componentInfo$d = {
|
|
|
2771
2771
|
"jpeg",
|
|
2772
2772
|
"jpg",
|
|
2773
2773
|
"png",
|
|
2774
|
-
"svg"
|
|
2774
|
+
"svg",
|
|
2775
|
+
"webp"
|
|
2775
2776
|
],
|
|
2776
2777
|
required: true,
|
|
2777
2778
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -3451,7 +3452,7 @@ const componentInfo$6 = {
|
|
|
3451
3452
|
const url = options.get("url");
|
|
3452
3453
|
if (url) {
|
|
3453
3454
|
options.set("content", "Loading...");
|
|
3454
|
-
const apiKey =
|
|
3455
|
+
const apiKey = _iframelyApiKey;
|
|
3455
3456
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
3456
3457
|
if (options.get("url") === url) {
|
|
3457
3458
|
if (data.html)
|
|
@@ -5096,10 +5097,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5096
5097
|
"qa.builder.io"
|
|
5097
5098
|
];
|
|
5098
5099
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5100
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5101
|
+
return false;
|
|
5099
5102
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5100
5103
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5101
5104
|
}
|
|
5102
|
-
const SDK_VERSION = "0.14.
|
|
5105
|
+
const SDK_VERSION = "0.14.29";
|
|
5103
5106
|
const registry = {};
|
|
5104
5107
|
function register(type, info) {
|
|
5105
5108
|
let typeList = registry[type];
|
|
@@ -2769,7 +2769,8 @@ const componentInfo$d = {
|
|
|
2769
2769
|
"jpeg",
|
|
2770
2770
|
"jpg",
|
|
2771
2771
|
"png",
|
|
2772
|
-
"svg"
|
|
2772
|
+
"svg",
|
|
2773
|
+
"webp"
|
|
2773
2774
|
],
|
|
2774
2775
|
required: true,
|
|
2775
2776
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -3449,7 +3450,7 @@ const componentInfo$6 = {
|
|
|
3449
3450
|
const url = options.get("url");
|
|
3450
3451
|
if (url) {
|
|
3451
3452
|
options.set("content", "Loading...");
|
|
3452
|
-
const apiKey =
|
|
3453
|
+
const apiKey = _iframelyApiKey;
|
|
3453
3454
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
3454
3455
|
if (options.get("url") === url) {
|
|
3455
3456
|
if (data.html)
|
|
@@ -5094,10 +5095,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5094
5095
|
"qa.builder.io"
|
|
5095
5096
|
];
|
|
5096
5097
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5098
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5099
|
+
return false;
|
|
5097
5100
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5098
5101
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5099
5102
|
}
|
|
5100
|
-
const SDK_VERSION = "0.14.
|
|
5103
|
+
const SDK_VERSION = "0.14.29";
|
|
5101
5104
|
const registry = {};
|
|
5102
5105
|
function register(type, info) {
|
|
5103
5106
|
let typeList = registry[type];
|
package/lib/edge/index.qwik.cjs
CHANGED
|
@@ -5995,7 +5995,8 @@ const componentInfo$d = {
|
|
|
5995
5995
|
"jpeg",
|
|
5996
5996
|
"jpg",
|
|
5997
5997
|
"png",
|
|
5998
|
-
"svg"
|
|
5998
|
+
"svg",
|
|
5999
|
+
"webp"
|
|
5999
6000
|
],
|
|
6000
6001
|
required: true,
|
|
6001
6002
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -6675,7 +6676,7 @@ const componentInfo$6 = {
|
|
|
6675
6676
|
const url = options.get("url");
|
|
6676
6677
|
if (url) {
|
|
6677
6678
|
options.set("content", "Loading...");
|
|
6678
|
-
const apiKey =
|
|
6679
|
+
const apiKey = _iframelyApiKey;
|
|
6679
6680
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
6680
6681
|
if (options.get("url") === url) {
|
|
6681
6682
|
if (data.html)
|
|
@@ -8320,10 +8321,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
8320
8321
|
"qa.builder.io"
|
|
8321
8322
|
];
|
|
8322
8323
|
function isFromTrustedHost(trustedHosts, e) {
|
|
8324
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
8325
|
+
return false;
|
|
8323
8326
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
8324
8327
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
8325
8328
|
}
|
|
8326
|
-
const SDK_VERSION = "0.14.
|
|
8329
|
+
const SDK_VERSION = "0.14.29";
|
|
8327
8330
|
const registry = {};
|
|
8328
8331
|
function register(type, info) {
|
|
8329
8332
|
let typeList = registry[type];
|
package/lib/edge/index.qwik.mjs
CHANGED
|
@@ -5993,7 +5993,8 @@ const componentInfo$d = {
|
|
|
5993
5993
|
"jpeg",
|
|
5994
5994
|
"jpg",
|
|
5995
5995
|
"png",
|
|
5996
|
-
"svg"
|
|
5996
|
+
"svg",
|
|
5997
|
+
"webp"
|
|
5997
5998
|
],
|
|
5998
5999
|
required: true,
|
|
5999
6000
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -6673,7 +6674,7 @@ const componentInfo$6 = {
|
|
|
6673
6674
|
const url = options.get("url");
|
|
6674
6675
|
if (url) {
|
|
6675
6676
|
options.set("content", "Loading...");
|
|
6676
|
-
const apiKey =
|
|
6677
|
+
const apiKey = _iframelyApiKey;
|
|
6677
6678
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
6678
6679
|
if (options.get("url") === url) {
|
|
6679
6680
|
if (data.html)
|
|
@@ -8318,10 +8319,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
8318
8319
|
"qa.builder.io"
|
|
8319
8320
|
];
|
|
8320
8321
|
function isFromTrustedHost(trustedHosts, e) {
|
|
8322
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
8323
|
+
return false;
|
|
8321
8324
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
8322
8325
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
8323
8326
|
}
|
|
8324
|
-
const SDK_VERSION = "0.14.
|
|
8327
|
+
const SDK_VERSION = "0.14.29";
|
|
8325
8328
|
const registry = {};
|
|
8326
8329
|
function register(type, info) {
|
|
8327
8330
|
let typeList = registry[type];
|
package/lib/node/index.qwik.cjs
CHANGED
|
@@ -2903,7 +2903,8 @@ const componentInfo$d = {
|
|
|
2903
2903
|
"jpeg",
|
|
2904
2904
|
"jpg",
|
|
2905
2905
|
"png",
|
|
2906
|
-
"svg"
|
|
2906
|
+
"svg",
|
|
2907
|
+
"webp"
|
|
2907
2908
|
],
|
|
2908
2909
|
required: true,
|
|
2909
2910
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -3583,7 +3584,7 @@ const componentInfo$6 = {
|
|
|
3583
3584
|
const url = options.get("url");
|
|
3584
3585
|
if (url) {
|
|
3585
3586
|
options.set("content", "Loading...");
|
|
3586
|
-
const apiKey =
|
|
3587
|
+
const apiKey = _iframelyApiKey;
|
|
3587
3588
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
3588
3589
|
if (options.get("url") === url) {
|
|
3589
3590
|
if (data.html)
|
|
@@ -5228,10 +5229,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5228
5229
|
"qa.builder.io"
|
|
5229
5230
|
];
|
|
5230
5231
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5232
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5233
|
+
return false;
|
|
5231
5234
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5232
5235
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5233
5236
|
}
|
|
5234
|
-
const SDK_VERSION = "0.14.
|
|
5237
|
+
const SDK_VERSION = "0.14.29";
|
|
5235
5238
|
const registry = {};
|
|
5236
5239
|
function register(type, info) {
|
|
5237
5240
|
let typeList = registry[type];
|
package/lib/node/index.qwik.mjs
CHANGED
|
@@ -2901,7 +2901,8 @@ const componentInfo$d = {
|
|
|
2901
2901
|
"jpeg",
|
|
2902
2902
|
"jpg",
|
|
2903
2903
|
"png",
|
|
2904
|
-
"svg"
|
|
2904
|
+
"svg",
|
|
2905
|
+
"webp"
|
|
2905
2906
|
],
|
|
2906
2907
|
required: true,
|
|
2907
2908
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -3581,7 +3582,7 @@ const componentInfo$6 = {
|
|
|
3581
3582
|
const url = options.get("url");
|
|
3582
3583
|
if (url) {
|
|
3583
3584
|
options.set("content", "Loading...");
|
|
3584
|
-
const apiKey =
|
|
3585
|
+
const apiKey = _iframelyApiKey;
|
|
3585
3586
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
3586
3587
|
if (options.get("url") === url) {
|
|
3587
3588
|
if (data.html)
|
|
@@ -5226,10 +5227,12 @@ const DEFAULT_TRUSTED_HOSTS = [
|
|
|
5226
5227
|
"qa.builder.io"
|
|
5227
5228
|
];
|
|
5228
5229
|
function isFromTrustedHost(trustedHosts, e) {
|
|
5230
|
+
if (!e.origin.startsWith("http") && !e.origin.startsWith("https"))
|
|
5231
|
+
return false;
|
|
5229
5232
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5230
5233
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5231
5234
|
}
|
|
5232
|
-
const SDK_VERSION = "0.14.
|
|
5235
|
+
const SDK_VERSION = "0.14.29";
|
|
5233
5236
|
const registry = {};
|
|
5234
5237
|
function register(type, info) {
|
|
5235
5238
|
let typeList = registry[type];
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.29";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function extractCssVarDefaultValue(value: string): string;
|