@lightdash/sdk 0.2784.0 → 0.2785.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
|
@@ -147575,7 +147575,7 @@ var import_fetch_npm_browserify, LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY$1,
|
|
|
147575
147575
|
let ta = getFromInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY$2), na = {
|
|
147576
147576
|
"Content-Type": "application/json",
|
|
147577
147577
|
[LightdashRequestMethodHeader]: ta ? RequestMethod.SDK : RequestMethod.WEB_APP,
|
|
147578
|
-
[LightdashVersionHeader]: "0.
|
|
147578
|
+
[LightdashVersionHeader]: "0.2785.0"
|
|
147579
147579
|
};
|
|
147580
147580
|
return ta && (na[LightdashSdkVersionHeader] = ta), na;
|
|
147581
147581
|
}, isSafeToAddEmbedHeader = (ta) => ta ? !Object.keys(ta).some((ta) => ta.toLowerCase() === JWT_HEADER_NAME.toLowerCase()) : !0, finalizeHeaders = (ta, na, ra) => {
|
|
@@ -516281,7 +516281,7 @@ var LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY = "__lightdash_sdk_instance_url
|
|
|
516281
516281
|
signature: oa
|
|
516282
516282
|
};
|
|
516283
516283
|
}, persistInstanceUrl = (ta) => {
|
|
516284
|
-
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.
|
|
516284
|
+
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.2785.0");
|
|
516285
516285
|
}, SdkProviders = ({ children: ta, styles: na }) => {
|
|
516286
516286
|
let ra = {
|
|
516287
516287
|
fontFamily: na?.fontFamily,
|