@lightdash/sdk 0.2762.0 → 0.2764.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
|
@@ -147517,7 +147517,7 @@ var import_fetch_npm_browserify, LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY$1,
|
|
|
147517
147517
|
let ta = getFromInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY$2), na = {
|
|
147518
147518
|
"Content-Type": "application/json",
|
|
147519
147519
|
[LightdashRequestMethodHeader]: ta ? RequestMethod.SDK : RequestMethod.WEB_APP,
|
|
147520
|
-
[LightdashVersionHeader]: "0.
|
|
147520
|
+
[LightdashVersionHeader]: "0.2764.0"
|
|
147521
147521
|
};
|
|
147522
147522
|
return ta && (na[LightdashSdkVersionHeader] = ta), na;
|
|
147523
147523
|
}, isSafeToAddEmbedHeader = (ta) => ta ? !Object.keys(ta).some((ta) => ta.toLowerCase() === JWT_HEADER_NAME.toLowerCase()) : !0, finalizeHeaders = (ta, na, ra) => {
|
|
@@ -515912,7 +515912,7 @@ var LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY = "__lightdash_sdk_instance_url
|
|
|
515912
515912
|
signature: oa
|
|
515913
515913
|
};
|
|
515914
515914
|
}, persistInstanceUrl = (ta) => {
|
|
515915
|
-
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.
|
|
515915
|
+
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.2764.0");
|
|
515916
515916
|
}, SdkProviders = ({ children: ta, styles: na }) => {
|
|
515917
515917
|
let ra = {
|
|
515918
515918
|
fontFamily: na?.fontFamily,
|