@lightdash/sdk 0.2799.0 → 0.2800.0
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/dist/sdk.cjs.js +2 -2
- package/dist/sdk.es.js +2 -2
- package/package.json +1 -1
package/dist/sdk.es.js
CHANGED
|
@@ -147618,7 +147618,7 @@ var import_fetch_npm_browserify, LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY$1,
|
|
|
147618
147618
|
let ta = getFromInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY$2), na = {
|
|
147619
147619
|
"Content-Type": "application/json",
|
|
147620
147620
|
[LightdashRequestMethodHeader]: ta ? RequestMethod.SDK : RequestMethod.WEB_APP,
|
|
147621
|
-
[LightdashVersionHeader]: "0.
|
|
147621
|
+
[LightdashVersionHeader]: "0.2800.0"
|
|
147622
147622
|
};
|
|
147623
147623
|
return ta && (na[LightdashSdkVersionHeader] = ta), na;
|
|
147624
147624
|
}, isSafeToAddEmbedHeader = (ta) => ta ? !Object.keys(ta).some((ta) => ta.toLowerCase() === JWT_HEADER_NAME.toLowerCase()) : !0, finalizeHeaders = (ta, na, ra) => {
|
|
@@ -501603,7 +501603,7 @@ var LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY = "__lightdash_sdk_instance_url
|
|
|
501603
501603
|
signature: oa
|
|
501604
501604
|
};
|
|
501605
501605
|
}, persistInstanceUrl = (ta) => {
|
|
501606
|
-
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.
|
|
501606
|
+
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.2800.0");
|
|
501607
501607
|
}, SdkProviders = ({ children: ta, styles: na }) => {
|
|
501608
501608
|
let ra = {
|
|
501609
501609
|
fontFamily: na?.fontFamily,
|