@lightdash/sdk 0.2776.0 → 0.2777.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
|
@@ -147525,7 +147525,7 @@ var import_fetch_npm_browserify, LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY$1,
|
|
|
147525
147525
|
let ta = getFromInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY$2), na = {
|
|
147526
147526
|
"Content-Type": "application/json",
|
|
147527
147527
|
[LightdashRequestMethodHeader]: ta ? RequestMethod.SDK : RequestMethod.WEB_APP,
|
|
147528
|
-
[LightdashVersionHeader]: "0.
|
|
147528
|
+
[LightdashVersionHeader]: "0.2777.0"
|
|
147529
147529
|
};
|
|
147530
147530
|
return ta && (na[LightdashSdkVersionHeader] = ta), na;
|
|
147531
147531
|
}, isSafeToAddEmbedHeader = (ta) => ta ? !Object.keys(ta).some((ta) => ta.toLowerCase() === JWT_HEADER_NAME.toLowerCase()) : !0, finalizeHeaders = (ta, na, ra) => {
|
|
@@ -516196,7 +516196,7 @@ var LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY = "__lightdash_sdk_instance_url
|
|
|
516196
516196
|
signature: oa
|
|
516197
516197
|
};
|
|
516198
516198
|
}, persistInstanceUrl = (ta) => {
|
|
516199
|
-
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.
|
|
516199
|
+
ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.2777.0");
|
|
516200
516200
|
}, SdkProviders = ({ children: ta, styles: na }) => {
|
|
516201
516201
|
let ra = {
|
|
516202
516202
|
fontFamily: na?.fontFamily,
|