@lightdash/query-sdk 1.5.1 → 1.7.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.7.0";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/generateSdkVersion.mjs (prebuild) — do not edit.
|
|
2
|
-
export const SDK_VERSION = '1.
|
|
2
|
+
export const SDK_VERSION = '1.7.0';
|
package/dist/manifest.js
CHANGED
|
@@ -18,11 +18,13 @@ export function announceSdkManifest(targetWindow) {
|
|
|
18
18
|
sdkVersion: SDK_VERSION,
|
|
19
19
|
features: SDK_FEATURE_KEYS,
|
|
20
20
|
};
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
// Wildcard on purpose — do NOT "fix" this to an origin. Cloud serves
|
|
22
|
+
// bundles from {customer}.lightdash.app while the host page runs on
|
|
23
|
+
// {customer}.lightdash.cloud, so the bundle cannot derive the parent's
|
|
24
|
+
// origin, and a mismatched targetOrigin silently drops the manifest
|
|
25
|
+
// (every app then shows as legacy/upgradeable). Matches every other
|
|
26
|
+
// bridge message; the payload is public constants from this package.
|
|
27
|
+
const post = () => targetWindow.postMessage(message, '*');
|
|
26
28
|
activeCleanup?.();
|
|
27
29
|
const handler = (event) => {
|
|
28
30
|
if (event.source !== targetWindow)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/query-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "SDK for building custom data apps against the Lightdash semantic layer",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"typescript": "npm:@typescript/typescript6@6.0.1",
|
|
36
36
|
"typescript-7": "npm:typescript@7.0.1-rc",
|
|
37
37
|
"vitest": "4.1.6",
|
|
38
|
-
"@lightdash/common": "1.
|
|
38
|
+
"@lightdash/common": "1.7.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"prebuild": "node ./scripts/generateSdkVersion.mjs",
|