@lightdash/common 1.124.0 → 1.125.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.
@@ -2,6 +2,7 @@ import { RequestMethod } from '../types/api';
2
2
  export declare const LightdashRequestMethodHeader = "Lightdash-Request-Method";
3
3
  export declare const LightdashVersionHeader = "Lightdash-Version";
4
4
  export declare const LightdashSdkVersionHeader = "Lightdash-SDK-Version";
5
+ export declare const LightdashBuildHashHeader = "Lightdash-Build-Hash";
5
6
  export declare const LightdashCliVersionHeader = "Lightdash-CLI-Version";
6
7
  export declare const LightdashAppUuidHeader = "Lightdash-App-Uuid";
7
8
  export declare const LightdashAppPreviewTokenHeader = "Lightdash-App-Preview-Token";
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/utils/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,eAAO,MAAM,4BAA4B,6BAA6B,CAAC;AACvE,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAC1D,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AACjE,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AAIjE,eAAO,MAAM,sBAAsB,uBAAuB,CAAC;AAC3D,eAAO,MAAM,8BAA8B,gCAAgC,CAAC;AAC5E,eAAO,MAAM,2CAA2C,QAAU,CAAC;AAQnE,eAAO,MAAM,6BAA6B,8BAA8B,CAAC;AAEzE,eAAO,MAAM,gBAAgB,gBACZ,MAAM,GAAG,SAAS,KAChC,aACmE,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/utils/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,eAAO,MAAM,4BAA4B,6BAA6B,CAAC;AACvE,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAC1D,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AACjE,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AAIjE,eAAO,MAAM,sBAAsB,uBAAuB,CAAC;AAC3D,eAAO,MAAM,8BAA8B,gCAAgC,CAAC;AAC5E,eAAO,MAAM,2CAA2C,QAAU,CAAC;AAQnE,eAAO,MAAM,6BAA6B,8BAA8B,CAAC;AAEzE,eAAO,MAAM,gBAAgB,gBACZ,MAAM,GAAG,SAAS,KAChC,aACmE,CAAC"}
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRequestMethod = exports.LightdashSignedDownloadHeader = exports.LIGHTDASH_APP_PREVIEW_TOKEN_MAX_AGE_SECONDS = exports.LightdashAppPreviewTokenHeader = exports.LightdashAppUuidHeader = exports.LightdashCliVersionHeader = exports.LightdashSdkVersionHeader = exports.LightdashVersionHeader = exports.LightdashRequestMethodHeader = void 0;
3
+ exports.getRequestMethod = exports.LightdashSignedDownloadHeader = exports.LIGHTDASH_APP_PREVIEW_TOKEN_MAX_AGE_SECONDS = exports.LightdashAppPreviewTokenHeader = exports.LightdashAppUuidHeader = exports.LightdashCliVersionHeader = exports.LightdashBuildHashHeader = exports.LightdashSdkVersionHeader = exports.LightdashVersionHeader = exports.LightdashRequestMethodHeader = void 0;
4
4
  const api_1 = require("../types/api");
5
5
  exports.LightdashRequestMethodHeader = 'Lightdash-Request-Method';
6
6
  exports.LightdashVersionHeader = 'Lightdash-Version';
7
7
  exports.LightdashSdkVersionHeader = 'Lightdash-SDK-Version';
8
+ exports.LightdashBuildHashHeader = 'Lightdash-Build-Hash';
8
9
  exports.LightdashCliVersionHeader = 'Lightdash-CLI-Version';
9
10
  // Attaches the originating data app to a request so warehouse queries can be
10
11
  // tagged with `app_uuid`. Self-reported provenance for tracking only — not
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/utils/api.ts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