@lightdash/sdk 0.2780.0 → 0.2780.1

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.es.js CHANGED
@@ -147526,7 +147526,7 @@ var import_fetch_npm_browserify, LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY$1,
147526
147526
  let ta = getFromInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY$2), na = {
147527
147527
  "Content-Type": "application/json",
147528
147528
  [LightdashRequestMethodHeader]: ta ? RequestMethod.SDK : RequestMethod.WEB_APP,
147529
- [LightdashVersionHeader]: "0.2780.0"
147529
+ [LightdashVersionHeader]: "0.2780.1"
147530
147530
  };
147531
147531
  return ta && (na[LightdashSdkVersionHeader] = ta), na;
147532
147532
  }, isSafeToAddEmbedHeader = (ta) => ta ? !Object.keys(ta).some((ta) => ta.toLowerCase() === JWT_HEADER_NAME.toLowerCase()) : !0, finalizeHeaders = (ta, na, ra) => {
@@ -516197,7 +516197,7 @@ var LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY = "__lightdash_sdk_instance_url
516197
516197
  signature: oa
516198
516198
  };
516199
516199
  }, persistInstanceUrl = (ta) => {
516200
- ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.2780.0");
516200
+ ta.endsWith("/") || (ta = `${ta}/`), sessionStorage.setItem(LIGHTDASH_SDK_INSTANCE_URL_LOCAL_STORAGE_KEY, ta), setToInMemoryStorage(LIGHTDASH_SDK_VERSION_LOCAL_STORAGE_KEY, "0.2780.1");
516201
516201
  }, SdkProviders = ({ children: ta, styles: na }) => {
516202
516202
  let ra = {
516203
516203
  fontFamily: na?.fontFamily,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/sdk",
3
- "version": "0.2780.0",
3
+ "version": "0.2780.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,6 +18,10 @@
18
18
  "default": "./dist/sdk.cjs.js"
19
19
  }
20
20
  },
21
+ "dependencies": {
22
+ "moment": "2.29.4",
23
+ "moment-timezone": "0.5.45"
24
+ },
21
25
  "peerDependencies": {
22
26
  "react": "^18.x || ^19.x",
23
27
  "react-dom": "^18.x || ^19.x"